Activity log for bug #2027528

Date Who What changed Old value New value Message
2023-07-12 02:28:46 David Imola bug added bug
2023-07-12 02:28:46 David Imola attachment added hplip-install_Tue-11-Jul-2023_20:07:48.log https://bugs.launchpad.net/bugs/2027528/+attachment/5685518/+files/hplip-install_Tue-11-Jul-2023_20%3A07%3A48.log
2023-07-12 02:32:01 David Imola description I was getting an error running hplip-3.23.5.run with the `make` command. So I ran the install script with debug output with the following command: `hplip-3.23.5/install.py -l debug`. Here's what that gave me: ``` ... mv -f .deps/libhpmud_la-musb.Tpo .deps/libhpmud_la-musb.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.5\" -DPACKAGE_BUGREPORT=\"3.23.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_10_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c -o libhpdiscovery_la-avahiDiscovery.lo `test -f 'protocol/discovery/avahiDiscovery.c' || echo './'`protocol/discovery/avahiDiscovery.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.5\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.23.5\"" -DPACKAGE_BUGREPORT=\"3.23.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_10_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c protocol/discovery/avahiDiscovery.c -fPIC -DPIC -o .libs/libhpdiscovery_la-avahiDiscovery.o mv -f .deps/libhpdiscovery_la-avahiDiscovery.Tpo .deps/libhpdiscovery_la-avahiDiscovery.Plo /bin/bash ./libtool --tag=CC --mode=link gcc -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -version-info 0:1:0 -L/usr/lib -o libhpdiscovery.la -rpath /usr/lib libhpdiscovery_la-avahiDiscovery.lo -lnetsnmp -lcrypto -lavahi-client -lavahi-core -lavahi-common -ldbus-1 -lavahi-common -lavahi-client -lcrypto libtool: link: gcc -shared -fPIC -DPIC .libs/libhpdiscovery_la-avahiDiscovery.o -L/usr/lib -lnetsnmp -lavahi-core -ldbus-1 -lavahi-common -lavahi-client -lcrypto -Wl,-soname -Wl,libhpdiscovery.so.0 -o .libs/libhpdiscovery.so.0.0.1 /usr/bin/ld: cannot find -lavahi-core: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:5540: libhpdiscovery.la] Errore 1 error: 'make' command failed with status code 2 ``` The line `/usr/bin/ld: cannot find -lavahi-core: No such file or directory` indicated a missing library, so I googled `lavahi-core` and got references to a package `libavahi-core-dev.` I ran `apt install libavahi-core-dev`, tried the install again, and it worked. Attached is the full log file. I was getting an error running hplip-3.23.5.run once it hit the `make` command. So I ran the install script with debug output with the following command: `hplip-3.23.5/install.py -l debug`. Here's what that gave me: ``` ... mv -f .deps/libhpmud_la-musb.Tpo .deps/libhpmud_la-musb.Plo /bin/bash ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.5\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.23.5\" -DPACKAGE_BUGREPORT=\"3.23.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_10_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c -o libhpdiscovery_la-avahiDiscovery.lo `test -f 'protocol/discovery/avahiDiscovery.c' || echo './'`protocol/discovery/avahiDiscovery.c libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.23.5\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.23.5\"" -DPACKAGE_BUGREPORT=\"3.23.5\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.23.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LIBAVAHI=1 -DHAVE_LIBAVAHI_CLIENT=1 -DHAVE_LIBAVAHI_COMMON=1 -DHAVE_AVAHI_CLIENT_CLIENT_H=1 -DHAVE_AVAHI_COMMON_MALLOC_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON3_10_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/ -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -MT libhpdiscovery_la-avahiDiscovery.lo -MD -MP -MF .deps/libhpdiscovery_la-avahiDiscovery.Tpo -c protocol/discovery/avahiDiscovery.c -fPIC -DPIC -o .libs/libhpdiscovery_la-avahiDiscovery.o mv -f .deps/libhpdiscovery_la-avahiDiscovery.Tpo .deps/libhpdiscovery_la-avahiDiscovery.Plo /bin/bash ./libtool --tag=CC --mode=link gcc -DCONFDIR=\"/etc/hp\" -I/usr/include/avahi-client -I/usr/include/avahi-core -I/usr/include/avahi-common -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -version-info 0:1:0 -L/usr/lib -o libhpdiscovery.la -rpath /usr/lib libhpdiscovery_la-avahiDiscovery.lo -lnetsnmp -lcrypto -lavahi-client -lavahi-core -lavahi-common -ldbus-1 -lavahi-common -lavahi-client -lcrypto libtool: link: gcc -shared -fPIC -DPIC .libs/libhpdiscovery_la-avahiDiscovery.o -L/usr/lib -lnetsnmp -lavahi-core -ldbus-1 -lavahi-common -lavahi-client -lcrypto -Wl,-soname -Wl,libhpdiscovery.so.0 -o .libs/libhpdiscovery.so.0.0.1 /usr/bin/ld: cannot find -lavahi-core: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:5540: libhpdiscovery.la] Errore 1 error: 'make' command failed with status code 2 ``` The line `/usr/bin/ld: cannot find -lavahi-core: No such file or directory` indicated a missing library, so I googled `lavahi-core` and got references to a package `libavahi-core-dev.` I ran `apt install libavahi-core-dev`, tried the install again, and it worked. Attached is the full log file.