Following upgrade fails to compile: [ebuild U ] net-print/hplip-3.20.9-r3::gentoo [3.20.6-r1::gentoo] USE="X hpcups libnotify snmp -doc -fax -hpijs -kde -libressl -libusb0 -minimal -parport -policykit -qt5 -scanner -static-ppds" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8" 0 KiB Related but different bugs seem to be #750116 and #750824 . I have following headers on my system, which indeed do not include avahi-client. $ find /usr/include/avahi* /usr/include/avahi-common /usr/include/avahi-common/alternative.h /usr/include/avahi-common/watch.h /usr/include/avahi-common/simple-watch.h /usr/include/avahi-common/cdecl.h /usr/include/avahi-common/timeval.h /usr/include/avahi-common/llist.h /usr/include/avahi-common/malloc.h /usr/include/avahi-common/gccmacro.h /usr/include/avahi-common/rlist.h /usr/include/avahi-common/domain.h /usr/include/avahi-common/address.h /usr/include/avahi-common/thread-watch.h /usr/include/avahi-common/strlst.h /usr/include/avahi-common/error.h /usr/include/avahi-common/defs.h /usr/include/avahi-core /usr/include/avahi-core/log.h /usr/include/avahi-core/core.h /usr/include/avahi-core/rr.h /usr/include/avahi-core/lookup.h /usr/include/avahi-core/publish.h /usr/include/avahi-glib /usr/include/avahi-glib/glib-malloc.h /usr/include/avahi-glib/glib-watch.h /usr/include/avahi-libevent /usr/include/avahi-libevent/libevent-watch.h In the avahi 'configure.ac' file, I see that client compilation depends on dbus, which is indeed not enabled for me: [ebuild R ] net-dns/avahi-0.8-r2::gentoo USE="gdbm gtk ipv6 -autoipd -bookmarks -dbus -doc -gtk2 -howl-compat -introspection -mdnsresponder-compat -mono -nls -python -qt5 (-selinux) -systemd -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB So I conclude that hplip should either exclude compiling the parts depending on avahi-client if avahi[dbus] is not set, or explicitly depend on avahi[dbus] instead on plain avahi. Reproducible: Always Steps to Reproduce: 1. emerge hplip-3.20.9-r3 Actual Results: Compilation failure. Expected Results: Compilation success.
Created attachment 671803 [details] build log
Of course hplip needs to depend on net-dns/avahi[dbus]. Thanks for noticing this!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ec60389fdecf506a2d4f539268002543fa4af2c commit 9ec60389fdecf506a2d4f539268002543fa4af2c Author: Daniel Pielmeier <billie@gentoo.org> AuthorDate: 2020-11-18 20:38:42 +0000 Commit: Daniel Pielmeier <billie@gentoo.org> CommitDate: 2020-11-18 20:38:42 +0000 net-print/hplip: Revision bump to hplip-3.20.9-r4. Thanks to ernsteiswuerfel and Thomas De Schampheleire for the reports. Closes: https://bugs.gentoo.org/754636 Closes: https://bugs.gentoo.org/755038 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Daniel Pielmeier <billie@gentoo.org> net-print/hplip/hplip-3.20.9-r4.ebuild | 286 +++++++++++++++++++++++++++++++++ 1 file changed, 286 insertions(+)