Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747358 - net-misc/networkmanager-1.26.2-r1 fail to compile with flag elogind ->configure: error: You must have libelogind
Summary: net-misc/networkmanager-1.26.2-r1 fail to compile with flag elogind ->configu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-09 02:18 UTC by jms
Modified: 2020-10-09 17:53 UTC (History)
3 users (show)

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


Attachments
build log (net-misc:networkmanager-1.26.2-r1:20201009-021055.log,16.19 KB, text/x-log)
2020-10-09 02:18 UTC, jms
Details
emerge --info (emerge--info.txt,7.97 KB, text/plain)
2020-10-09 02:25 UTC, jms
Details
emerge --info for Brian (emerge_info.txt,7.70 KB, text/plain)
2020-10-09 15:40 UTC, Brian McKee
Details
build.log for Brian (build.log,13.58 KB, text/x-log)
2020-10-09 15:41 UTC, Brian McKee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2020-10-09 02:18:07 UTC
Created attachment 664426 [details]
build log

checking for LIBUDEV... yes
checking for QT... no
checking for SYSTEMD_200... no
checking for LIBSYSTEMD... no
checking for SYSTEMD_LOGIN... no
checking for SYSTEMD_LOGIN... no
configure: error: You must have libelogind installed to build with elogind support.

net-misc/networkmanager-1.26.2-r1 fail to compile with flag elogind
and elogind is installed

eix elogind
[I] sys-auth/elogind
     Available versions:  243.7 {+acl debug doc +pam +policykit selinux KERNEL="linux"}
     Installed versions:  243.7(06:36:34 15/04/2020)(acl pam policykit -debug -doc -selinux KERNEL="linux")
     Homepage:            https://github.com/elogind/elogind
     Description:         The systemd project's logind, extracted to a standalone package


I currently have net-misc/networkmanager-1.26.2 installed with elogind 
eix net-misc/networkmanager
[U] net-misc/networkmanager
     Available versions:  1.18.4-r4^t 1.18.6-r1^t (~)1.20.12-r1^t (~)1.22.10-r12^t (~)1.22.14-r1^t (~)1.24.2-r1^t 1.26.0-r1^t (~)1.26.2-r1^t {audit bluetooth +concheck connection-sharing debug (+)dhclient dhcpcd elogind examples (+)gnutls gtk-doc (+)introspection iwd json libpsl lto (+)modemmanager ncurses (+)nss ofono ovs (+)policykit (+)ppp resolvconf selinux syslog systemd teamd test +tools vala (+)wext +wifi ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="linux"}
     Installed versions:  1.26.2^t(00:25:33 24/08/2020)(elogind introspection ncurses nss policykit ppp resolvconf wext wifi -audit -bluetooth -connection-sharing -consolekit -dhclient -dhcpcd -gnutls -iwd -json -modemmanager -ofono -ovs -selinux -systemd -teamd -test -vala ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="32 64 -x32" KERNEL="linux")
     Homepage:            https://wiki.gnome.org/Projects/NetworkManager
     Description:         A set of co-operative tools that make networking simple and straightforward
Comment 1 jms 2020-10-09 02:25:50 UTC
Created attachment 664429 [details]
emerge --info
Comment 2 email200202 2020-10-09 02:27:00 UTC
Same here.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 03:21:31 UTC
On it.
Comment 4 Larry the Git Cow gentoo-dev 2020-10-09 03:38:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90701330ab4b859f2e1d57124bd092a85ba7d8cb

commit 90701330ab4b859f2e1d57124bd092a85ba7d8cb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-10-09 03:38:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-10-09 03:38:19 +0000

    net-misc/networkmanager: drop USE=consolekit again
    
    Two problems with the initial draft PR:
    1) elogind does not have multilib, so...
    2) we must (ab)use 'consolekit' as a dummy option
       for the build system in the non-native multilib
       case.
    
    Fixes: 1b636741c5d5a793b49abfa914f2d11241fec178
    Closes: https://bugs.gentoo.org/747358
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 .../networkmanager/networkmanager-1.18.4-r4.ebuild    | 18 ++++++------------
 .../networkmanager/networkmanager-1.18.6-r1.ebuild    | 19 ++++++-------------
 .../networkmanager/networkmanager-1.20.12-r1.ebuild   | 19 ++++++-------------
 .../networkmanager/networkmanager-1.22.14-r1.ebuild   | 19 ++++++-------------
 .../networkmanager/networkmanager-1.24.2-r1.ebuild    | 19 ++++++-------------
 .../networkmanager/networkmanager-1.26.0-r1.ebuild    | 19 ++++++-------------
 .../networkmanager/networkmanager-1.26.2-r1.ebuild    | 19 ++++++-------------
 7 files changed, 42 insertions(+), 90 deletions(-)
Comment 5 Brian McKee 2020-10-09 14:46:56 UTC
I have the same issue. I did an emerge --sync, can see the latest changes in the ebuilds, but the latest commit did not fix the issue for me.

I'm getting a slightly different error message:

configure: error: You must have libelogind installed to build with elogind support.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/networkmanager-1.26.0-r1/work/NetworkManager-1.26.0-abi_x86_32.x86/config.log
 * ERROR: net-misc/networkmanager-1.26.0-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 5187:  Called multilib-minimal_src_configure
 *             environment, line 3657:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *             environment, line 3910:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 3587:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *             environment, line 3585:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *             environment, line  570:  Called multilib-minimal_abi_src_configure
 *             environment, line 3651:  Called multilib_src_configure
 *             environment, line 4150:  Called gnome2_src_configure '--disable-more-warnings' '--disable-static' '--localstatedir=/var' '--with-runstatedir=/run' '--disable-lto' '--disable-qt' '--without-netconfig' '--with-dbus-sys-dir=/etc/dbus-1/system.d' '--without-nmcli' '--with-udev-dir=/lib/udev' '--with-config-plugins-default=keyfile' '--with-iptables=/sbin/iptables' '--with-ebpf=yes' '--disable-concheck' '--with-nm-cloud-setup=no' '--with-crypto=gnutls' '--without-libaudit' '--disable-bluez5-dun' '--without-dhcpcanon' '--with-dhclient' '--without-dhcpcd' '--with-config-dhcp-default=internal' '--disable-introspection' '--disable-json-validation' '--disable-ppp' '--without-libpsl' '--without-modem-manager-1' '--without-nmtui' '--without-ofono' '--disable-ovs' '--disable-polkit' '--without-resolvconf' '--without-selinux' '--without-systemd-journal' '--disable-teamdctl' '--disable-tests' '--disable-vala' '--without-valgrind' '--without-iwd' '--without-wext' '--disable-wifi' '--with-session-tracking=elogind' '--with-suspend-resume=elogind' '--with-pppd-plugin-dir=/usr/lib/pppd/2.4.8'
 *             environment, line 2948:  Called econf '--disable-gtk-doc' '--disable-maintainer-mode' '--disable-more-warnings' '--disable-static' '--localstatedir=/var' '--with-runstatedir=/run' '--disable-lto' '--disable-qt' '--without-netconfig' '--with-dbus-sys-dir=/etc/dbus-1/system.d' '--without-nmcli' '--with-udev-dir=/lib/udev' '--with-config-plugins-default=keyfile' '--with-iptables=/sbin/iptables' '--with-ebpf=yes' '--disable-concheck' '--with-nm-cloud-setup=no' '--with-crypto=gnutls' '--without-libaudit' '--disable-bluez5-dun' '--without-dhcpcanon' '--with-dhclient' '--without-dhcpcd' '--with-config-dhcp-default=internal' '--disable-introspection' '--disable-json-validation' '--disable-ppp' '--without-libpsl' '--without-modem-manager-1' '--without-nmtui' '--without-ofono' '--disable-ovs' '--disable-polkit' '--without-resolvconf' '--without-selinux' '--without-systemd-journal' '--disable-teamdctl' '--disable-tests' '--disable-vala' '--without-valgrind' '--without-iwd' '--without-wext' '--disable-wifi' '--with-session-tracking=elogind' '--with-suspend-resume=elogind' '--with-pppd-plugin-dir=/usr/lib/pppd/2.4.8'
 *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=net-misc/networkmanager-1.26.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/networkmanager-1.26.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/networkmanager-1.26.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/networkmanager-1.26.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/networkmanager-1.26.0-r1/work/NetworkManager-1.26.0-abi_x86_32.x86'
 * S: '/var/tmp/portage/net-misc/networkmanager-1.26.0-r1/work/NetworkManager-1.26.0'


elogind is installed and is running.
Comment 6 jms 2020-10-09 15:12:10 UTC
works for me
Installed versions:  1.26.2-r1

Thanks



(In reply to Larry the Git Cow from comment #4)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=90701330ab4b859f2e1d57124bd092a85ba7d8cb
> 
> commit 90701330ab4b859f2e1d57124bd092a85ba7d8cb
> Author:     Sam James <sam@gentoo.org>
> AuthorDate: 2020-10-09 03:38:19 +0000
> Commit:     Sam James <sam@gentoo.org>
> CommitDate: 2020-10-09 03:38:19 +0000
> 
>     net-misc/networkmanager: drop USE=consolekit again
>     
>     Two problems with the initial draft PR:
>     1) elogind does not have multilib, so...
>     2) we must (ab)use 'consolekit' as a dummy option
>        for the build system in the non-native multilib
>        case.
>     
>     Fixes: 1b636741c5d5a793b49abfa914f2d11241fec178
>     Closes: https://bugs.gentoo.org/747358
>     Package-Manager: Portage-3.0.4, Repoman-3.0.1
>     Signed-off-by: Sam James <sam@gentoo.org>
> 
>  .../networkmanager/networkmanager-1.18.4-r4.ebuild    | 18
> ++++++------------
>  .../networkmanager/networkmanager-1.18.6-r1.ebuild    | 19
> ++++++-------------
>  .../networkmanager/networkmanager-1.20.12-r1.ebuild   | 19
> ++++++-------------
>  .../networkmanager/networkmanager-1.22.14-r1.ebuild   | 19
> ++++++-------------
>  .../networkmanager/networkmanager-1.24.2-r1.ebuild    | 19
> ++++++-------------
>  .../networkmanager/networkmanager-1.26.0-r1.ebuild    | 19
> ++++++-------------
>  .../networkmanager/networkmanager-1.26.2-r1.ebuild    | 19
> ++++++-------------
>  7 files changed, 42 insertions(+), 90 deletions(-)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 15:20:17 UTC
(In reply to Brian McKee from comment #5)
> I have the same issue. I did an emerge --sync, can see the latest changes in
> the ebuilds, but the latest commit did not fix the issue for me.
> 
> I'm getting a slightly different error message:
> 

This looks the same to me? Can you include emerge --info and the full build.log? Possibly the referenced config.log too.
Comment 8 Brian McKee 2020-10-09 15:40:57 UTC
Created attachment 664468 [details]
emerge --info for Brian
Comment 9 Brian McKee 2020-10-09 15:41:22 UTC
Created attachment 664471 [details]
build.log for Brian
Comment 10 Brian McKee 2020-10-09 15:41:55 UTC
I added emerge --info and build log.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 15:43:01 UTC
(In reply to Brian McKee from comment #10)
> I added emerge --info and build log.

Hmm.

>Timestamp of repository gentoo: Fri, 09 Oct 2020 00:30:01 +0000

This should be at least ~4AM to have the changes. Can you emerge --sync again..?

Thanks for uploading quickly btw.
Comment 12 Brian McKee 2020-10-09 16:47:29 UTC
It's really weird. I synced all three machines in sequence, but the first one didn't get the changes and the second and third did.

I've re-synced and I think it's going to build this time.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-09 17:53:49 UTC
(In reply to Brian McKee from comment #12)
> It's really weird. I synced all three machines in sequence, but the first
> one didn't get the changes and the second and third did.
> 
> I've re-synced and I think it's going to build this time.

Excellent, thank you for the follow up! It happens. :)