Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622104 - app-admin/packagekit-base-1.1.5-r1 : pk-dbus.c:31:31: fatal error: systemd/sd-login.h: No such file or directory
Summary: app-admin/packagekit-base-1.1.5-r1 : pk-dbus.c:31:31: fatal error: systemd/sd...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-18 14:29 UTC by Toralf Förster
Modified: 2017-09-03 09:56 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,6.24 KB, text/plain)
2017-06-18 14:29 UTC, Toralf Förster
Details
app-admin:packagekit-base-1.1.5-r1:20170617-194122.log (app-admin:packagekit-base-1.1.5-r1:20170617-194122.log,142.85 KB, text/plain)
2017-06-18 14:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,286.27 KB, text/plain)
2017-06-18 14:29 UTC, Toralf Förster
Details
environment (environment,158.86 KB, text/plain)
2017-06-18 14:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,28.17 KB, application/x-bzip)
2017-06-18 14:29 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.68 KB, application/x-bzip)
2017-06-18 14:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,44.59 KB, application/x-bzip)
2017-06-18 14:29 UTC, Toralf Förster
Details
Updated elogind support patch (packagekit-base-elogind-support.patch,5.68 KB, patch)
2017-06-27 08:37 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-06-18 14:29:01 UTC
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
Comment 1 Toralf Förster gentoo-dev 2017-06-18 14:29:04 UTC
Created attachment 476878 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-06-18 14:29:07 UTC
Created attachment 476880 [details]
app-admin:packagekit-base-1.1.5-r1:20170617-194122.log
Comment 3 Toralf Förster gentoo-dev 2017-06-18 14:29:10 UTC
Created attachment 476882 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-06-18 14:29:14 UTC
Created attachment 476884 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-06-18 14:29:17 UTC
Created attachment 476886 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-06-18 14:29:20 UTC
Created attachment 476888 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-06-18 14:29:24 UTC
Created attachment 476890 [details]
temp.tbz2
Comment 9 Oleh 2017-06-26 02:50:23 UTC
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.
Comment 10 Oleh 2017-06-26 03:15:34 UTC
fix is to set have_elogind=no, when --disable-elogind passed, somewhere earlier in this code check.
Comment 11 Michael Palimaka (kensington) gentoo-dev 2017-06-26 14:58:42 UTC
Hey Sven, CC'ing you FYI just in case you sent the current patch upstream already.
Comment 12 Ettore Di Giacinto (RETIRED) gentoo-dev 2017-06-26 21:24:59 UTC
Thanks for noticing, temporary workaround that should fix the issue is in the new revbump.
Comment 13 Sven Eden 2017-06-27 08:37:19 UTC
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!
Comment 14 Ettore Di Giacinto (RETIRED) gentoo-dev 2017-09-03 09:56:58 UTC
This was fixed in app-admin/packagekit-base-1.1.5-r2, will include your updated patch while bumping to 1.1.6.