x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/polkit-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -DDATADIR=\"/usr/share\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DLIBDIR=\""/usr/lib64"\" -DLIBEXECDIR=\""/usr/libexec"\" -DVERSION="\"1.1.5\"" -DPK_DATA=\"/usr/share/PackageKit\" -DLOCALSTATEDIR=\""/var"\" -DTESTDATADIR=\""/var/tmp/portage/app-admin/packagekit-base-1.1.5-r1/work/PackageKit-1.1.5/data/tests"\" -DPK_COMPILATION -DPOLKIT_LOCAL_I_KNOW_API_IS_SUBJECT_TO_CHANGE -DG_LOG_DOMAIN=\"PackageKit\" -I../lib -I../lib -DPK_BUILD_DAEMON=1 -DPK_DB_DIR=\""/var/lib/PackageKit"\" -fPIE -Wall -Wcast-align -Wno-uninitialized -Wmissing-declarations -Wpointer-arith -Wcast-align -Wwrite-strings -Winit-self -Wreturn-type -Wformat-nonliteral -Wformat-security -Wmissing-include-dirs -Wmissing-format-attribute -Wempty-body -Wsign-compare -Wuninitialized -Waggregate-return -Wdeclaration-after-statement -Wshadow -Wno-strict-aliasing -Winline -O2 -pipe -march=native -Wall -c -o packagekitd-pk-dbus.o `test -f 'pk-dbus.c' || echo './'`pk-dbus.c pk-dbus.c:31:31: fatal error: systemd/sd-login.h: No such file or directory #include <systemd/sd-login.h> ^ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome-libressl_20170611-103213 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) [3] pypy (fallback) [4] jython2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 7.2.6.10 [icedtea-7] 2) IcedTea JDK 7.2.6.10 [icedtea-bin-7] 3) IcedTea JDK 3.4.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-7 system-vm [2] icedtea-bin-7 [3] icedtea-bin-8
Created attachment 476878 [details] emerge-info.txt
Created attachment 476880 [details] app-admin:packagekit-base-1.1.5-r1:20170617-194122.log
Created attachment 476882 [details] emerge-history.txt
Created attachment 476884 [details] environment
Created attachment 476886 [details] etc.portage.tbz2
Created attachment 476888 [details] logs.tbz2
Created attachment 476890 [details] temp.tbz2
this is wonderful side-effect of following change: https://gitweb.gentoo.org/repo/gentoo.git/commit/app-admin/packagekit-base/packagekit-base-1.1.5-r1.ebuild?id=0ff341ef3feb313a8b512966e0972b2de9c3b88f
if test x$enable_elogind = xyes; then PKG_CHECK_MODULES(ELOGIND, [libelogind >= 229.4], [have_elogind=yes], have_elogind=no]) fi this is called when --enable-elogind is passed to configure, when result is negative and elogind not found, it sets have_elogind=no in turn, if --disable-elogind is passed, above mentioned check is not running, resulting in elogind to be unset.
fix is to set have_elogind=no, when --disable-elogind passed, somewhere earlier in this code check.
Hey Sven, CC'ing you FYI just in case you sent the current patch upstream already.
Thanks for noticing, temporary workaround that should fix the issue is in the new revbump.
Created attachment 478154 [details, diff] Updated elogind support patch Sorry for not noticing that elogind support wasn't truly opt-in. With this patch it now is, I just tested to build packagekit-base with USE="-elogind" on my system, and it worked. Again, sorry for the inconvenience!
This was fixed in app-admin/packagekit-base-1.1.5-r2, will include your updated patch while bumping to 1.1.6.