Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653942 - sys-apps/util-linux: cross build fails - configure: error: systemd expected but libsystemd not found
Summary: sys-apps/util-linux: cross build fails - configure: error: systemd expected b...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-24 05:53 UTC by Joe Harvell
Modified: 2020-03-30 11:13 UTC (History)
2 users (show)

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


Attachments
output of sudo armv7a-pip-linux-gnueabi-emerge --info (pip-emerge-info.txt,4.72 KB, text/plain)
2018-04-24 05:53 UTC, Joe Harvell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Harvell 2018-04-24 05:53:47 UTC
Created attachment 528402 [details]
output of sudo armv7a-pip-linux-gnueabi-emerge --info

This actually looks like it could be a bug in portage, because it seems portage attempted to emerge util-linux with "USE=-build systemd" even though sys-apps/systemd is not yet installed.


This is a cross build, but I think that is unrelated to the problem.  Here is the error message in the configure phase:

checking for SYSTEMD... no
checking for SYSTEMD_DAEMON... no
checking for SYSTEMD_JOURNAL... no
configure: error: systemd expected but libsystemd not found

!!! Please attach the following file when seeking support:
!!! /usr/armv7a-pip-linux-gnueabi/tmp/portage/sys-apps/util-linux-2.32-r3/work/util-linux-2.32-.arm/config.log
 * ERROR: sys-apps/util-linux-2.32-r3::gentoo failed (configure phase):
 *   econf failed


Here is the emerge command itself showing util-linux being emerged before systemd in violation of the RDEPEND:



joey@akita ~$ sudo armv7a-pip-linux-gnueabi-emerge -a1v --noreplace @system

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-apps/diffutils-3.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -static" 0 KiB
[ebuild  N     ] dev-python/pyblake2-1.1.2::gentoo to /usr/armv7a-pip-linux-gnueabi/ PYTHON_TARGETS="python2_7 python3_5 (-pypy) (-pypy3) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] dev-python/pyxattr-0.6.0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] app-crypt/pinentry-1.1.0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="caps ncurses -emacs -gnome-keyring -gtk -qt5 -static" 0 KiB
[ebuild  N     ] sys-devel/gcc-7.3.0-r1:7.3.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="cxx fortran nls nptl openmp pch sanitize ssp vtv (-altivec) (-awt) (-cilk) -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) (-mpx) (-multilib) -objc -objc++ -objc-gc -pgo (-pie) -regression-test -vanilla" 0 KiB
[ebuild  N     ] app-crypt/gnupg-2.2.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb -wks-server" 0 KiB
[ebuild  N     ] app-portage/gemato-13.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="blake2 bzip2 gpg -lzma -sha3 {-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] sys-apps/portage-2.3.31::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(ipc) native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev (-selinux)" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] virtual/package-manager-1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ] sys-apps/util-linux-2.32-r3::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="caps cramfs ncurses nls readline suid systemd unicode -build -fdformat -kill -pam -python (-selinux) -slang -static-libs {-test} -tty-helpers -udev" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB
[ebuild  N     ] sys-apps/systemd-238-r6:0/2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl gcrypt kmod lz4 pcre seccomp ssl sysv-utils (-apparmor) (-audit) -build -cryptsetup -curl -elfutils (-gnuefi) -http -idn -importd -libidn2 -lzma -nat -pam -policykit -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" 0 KiB
[ebuild  N     ] sys-process/procps-3.3.14:0/5::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="kill ncurses nls systemd unicode -elogind -modern-top (-selinux) -static-libs {-test}" 0 KiB
[ebuild  N     ] sys-apps/dbus-1.12.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd -X -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" 0 KiB
[ebuild  N     ] sys-apps/gentoo-systemd-integration-7::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ] virtual/udev-217::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd" 0 KiB
[ebuild  N     ] sys-apps/hwids-20180315::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="net pci udev usb" 0 KiB
[ebuild  N     ] sys-fs/udev-init-scripts-32::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ] virtual/dev-manager-0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ] virtual/service-manager-0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(-prefix)" 0 KiB
[ebuild  N     ] sys-fs/e2fsprogs-1.44.1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -fuse -static-libs" 0 KiB

Total: 20 packages (20 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-devel/gcc-7.3.0-r1
>>> Running pre-merge checks for sys-apps/systemd-238-r6
 * Determining the location of the kernel source code
 * Unable to find kernel sources at /usr/armv7a-pip-linux-gnueabi/usr/src/linux
 * Please ensure that the KERNEL_DIR environment variable points at full Linux sources of the kernel you wish to compile against.
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Unable to check for the following kernel config options due
 * to absence of any configured kernel sources or compiled
 * config:
 *  - AUTOFS4_FS
 *  - BLK_DEV_BSG
 *  - CGROUPS
 *  - CHECKPOINT_RESTORE
 *  - DEVTMPFS
 *  - EPOLL
 *  - FANOTIFY
 *  - FHANDLE
 *  - INOTIFY_USER
 *  - IPV6
 *  - NET
 *  - NET_NS
 *  - PROC_FS
 *  - SIGNALFD
 *  - SYSFS
 *  - TIMERFD
 *  - TMPFS_XATTR
 *  - UNIX
 *  - CRYPTO_HMAC
 *  - CRYPTO_SHA256
 *  - CRYPTO_USER_API_HASH
 *  - FW_LOADER_USER_HELPER_FALLBACK
 *  - GRKERNSEC_PROC
 *  - IDE
 *  - SYSFS_DEPRECATED
 *  - SYSFS_DEPRECATED_V2
 *  - TMPFS_POSIX_ACL
 *  - SECCOMP
 *  - SECCOMP_FILTER
 *  - CGROUP_BPF
 * You're on your own to make sure they are set if needed.
>>> Emerging (1 of 20) sys-apps/diffutils-3.6::gentoo for /usr/armv7a-pip-linux-gnueabi/
>>> Emerging (2 of 20) dev-python/pyblake2-1.1.2::gentoo for /usr/armv7a-pip-linux-gnueabi/
>>> Emerging (3 of 20) dev-python/pyxattr-0.6.0-r1::gentoo for /usr/armv7a-pip-linux-gnueabi/
>>> Emerging (4 of 20) app-crypt/pinentry-1.1.0-r1::gentoo for /usr/armv7a-pip-linux-gnueabi/
>>> Emerging (5 of 20) sys-devel/gcc-7.3.0-r1::gentoo for /usr/armv7a-pip-linux-gnueabi/
>>> Emerging (6 of 20) sys-apps/util-linux-2.32-r3::gentoo for /usr/armv7a-pip-linux-gnueabi/
>>> Failed to emerge dev-python/pyxattr-0.6.0-r1 for /usr/armv7a-pip-linux-gnueabi/, Log file:
>>>  '/usr/armv7a-pip-linux-gnueabi/tmp/portage/dev-python/pyxattr-0.6.0-r1/temp/build.log'
>>> Failed to emerge dev-python/pyblake2-1.1.2 for /usr/armv7a-pip-linux-gnueabi/, Log file:
>>>  '/usr/armv7a-pip-linux-gnueabi/tmp/portage/dev-python/pyblake2-1.1.2/temp/build.log'
>>> Failed to emerge app-crypt/pinentry-1.1.0-r1 for /usr/armv7a-pip-linux-gnueabi/, Log file:
>>>  '/usr/armv7a-pip-linux-gnueabi/tmp/portage/app-crypt/pinentry-1.1.0-r1/temp/build.log'
>>> Failed to emerge sys-apps/util-linux-2.32-r3 for /usr/armv7a-pip-linux-gnueabi/, Log file:
>>>  '/usr/armv7a-pip-linux-gnueabi/tmp/portage/sys-apps/util-linux-2.32-r3/temp/build.log'
>>> Failed to emerge sys-apps/diffutils-3.6 for /usr/armv7a-pip-linux-gnueabi/, Log file:
>>>  '/usr/armv7a-pip-linux-gnueabi/tmp/portage/sys-apps/diffutils-3.6/temp/build.log'
>>> Failed to emerge sys-devel/gcc-7.3.0-r1 for /usr/armv7a-pip-linux-gnueabi/, Log file:
>>>  '/usr/armv7a-pip-linux-gnueabi/tmp/portage/sys-devel/gcc-7.3.0-r1/temp/build.log'
>>> Jobs: 0 of 20 complete, 6 failed                Load avg: 3.35, 0.96, 0.38
Comment 1 Joe Harvell 2018-04-24 05:55:40 UTC
excerpt from ebuild showing RDEPEND that was not respected by portage.
Note the line "!build? ( systemd? ( sys-apps/systemd ) )

RDEPEND="caps? ( sys-libs/libcap-ng )
        cramfs? ( sys-libs/zlib:= )
        ncurses? ( >=sys-libs/ncurses-5.2-r2:0=[unicode?] )
        nls? ( virtual/libintl[${MULTILIB_USEDEP}] )
        pam? ( sys-libs/pam )
        python? ( ${PYTHON_DEPS} )
        readline? ( sys-libs/readline:0= )
        selinux? ( >=sys-libs/libselinux-2.2.2-r4[${MULTILIB_USEDEP}] )
        slang? ( sys-libs/slang )
        !build? ( systemd? ( sys-apps/systemd ) )
        udev? ( virtual/libudev:= )"
DEPEND="${RDEPEND}
        virtual/pkgconfig
        nls? ( sys-devel/gettext )
        test? ( sys-devel/bc )
        virtual/os-headers"
RDEPEND+="
        kill? (
                !sys-apps/coreutils[kill]
                !sys-process/procps[kill]
        )
        !net-wireless/rfkill
        !sys-process/schedutils
        !sys-apps/setarch
        !<sys-apps/sysvinit-2.88-r7
        !<sys-libs/e2fsprogs-libs-1.41.8
        !<sys-fs/e2fsprogs-1.41.8
        !<app-shells/bash-completion-2.7-r1"
Comment 2 Joe Harvell 2018-04-24 05:58:14 UTC
Wait.  I just realized portage is doing the right thing.  RDEPEND means util-linux needs systemd as a runtime dependency.  But it fails to list it as a build time DEPENDENCY (DEPEND).  emerge does have both util-linux and systemd in the same transaction, so the RDEPEND is being respected.

I wonder if the DEPEND=systemd should only be in case if the systemd use flag enabled....not sure what the build use flag is for
Comment 3 Joe Harvell 2018-04-24 06:09:17 UTC
(In reply to Joe Harvell from comment #2)
> Wait.  I just realized portage is doing the right thing.  RDEPEND means
> util-linux needs systemd as a runtime dependency.  But it fails to list it
> as a build time DEPENDENCY (DEPEND).  emerge does have both util-linux and
> systemd in the same transaction, so the RDEPEND is being respected.
> 
> I wonder if the DEPEND=systemd should only be in case if the systemd use
> flag enabled....not sure what the build use flag is for

Sorry.  I was mistaken.  In the ebuild, DEPEND includes all of RDPEND.  So I can't make sense of why portage would allow util-linux build to be attempted when sys-apps/systemd is not installed.
Comment 4 Joe Harvell 2018-04-24 06:14:51 UTC
The build of sys-process/procps-3.3.14 in this same emerge transaction failed for the same reason:

checking for SYSTEMD... no
configure: error: Package requirements (libsystemd) were not met:

No package 'libsystemd' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SYSTEMD_CFLAGS
and SYSTEMD_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /usr/armv7a-pip-linux-gnueabi/tmp/portage/sys-process/procps-3.3.14/work/procps-ng-3.3.14/config.log
 * ERROR: sys-process/procps-3.3.14::gentoo failed (configure phase):

Note that in several subsequent invocations of sudo armv7a-pip-linux-gnueabi-emerge -a1v --noreplace @system I could not get portage to try to compile either util-linux or procps before systemd.  Not sure why it did that one time.
Comment 5 Joe Harvell 2018-04-24 06:17:56 UTC
I spoke too soon.  I tried again and it tried and failed to build procps while systemd is not yet installed.
Comment 6 Mike Gilbert gentoo-dev 2018-04-24 17:41:02 UTC
cross-emerge passes --root-deps=rdeps by default. This means DEPEND is effectively ignored. See the last few lines of /usr/bin/cross-emerge and the emerge(1) man page.

What result do you see when you run the following?

CROSS_CMD="emerge" armv7a-pip-linux-gnueabi-emerge -p1v --noreplace @system

CROSS_CMD="emerge --root-deps" armv7a-pip-linux-gnueabi-emerge -p1v --noreplace @system
Comment 7 Joe Harvell 2018-04-24 18:18:55 UTC
joey@akita work$ CROSS_CMD="emerge" armv7a-pip-linux-gnueabi-emerge -p1v --noreplace @system

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-python/pyblake2-1.1.2::gentoo to /usr/armv7a-pip-linux-gnueabi/ PYTHON_TARGETS="python2_7 python3_5 (-pypy) (-pypy3) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] dev-python/pyxattr-0.6.0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] sys-devel/gcc-7.3.0-r1:7.3.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="cxx fortran nls nptl openmp pch sanitize ssp vtv (-altivec) (-awt) (-cilk) -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) (-mpx) (-multilib) -objc -objc++ -objc-gc -pgo (-pie) -regression-test -vanilla" 0 KiB
[ebuild  N     ] sys-apps/diffutils-3.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -static" 0 KiB
[ebuild  N     ] app-crypt/pinentry-1.1.0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="caps ncurses -emacs -gnome-keyring -gtk -qt5 -static" 0 KiB
[ebuild  N     ] app-crypt/gnupg-2.2.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb -wks-server" 0 KiB
[ebuild  N     ] app-portage/gemato-13.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="blake2 bzip2 gpg -lzma -sha3 {-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] sys-apps/portage-2.3.31::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(ipc) native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev (-selinux)" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] virtual/package-manager-1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ] sys-apps/util-linux-2.32-r3::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="caps cramfs ncurses nls readline suid systemd unicode -build -fdformat -kill -pam -python (-selinux) -slang -static-libs {-test} -tty-helpers -udev" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB
[ebuild  N     ] sys-process/procps-3.3.14:0/5::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="kill ncurses nls systemd unicode -elogind -modern-top (-selinux) -static-libs {-test}" 0 KiB
[ebuild  N     ] sys-apps/systemd-238-r6:0/2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl gcrypt kmod lz4 pcre seccomp ssl sysv-utils (-apparmor) (-audit) -build -cryptsetup -curl -elfutils (-gnuefi) -http -idn -importd -libidn2 -lzma -nat -pam -policykit -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" 0 KiB
[ebuild  N     ] sys-apps/gentoo-systemd-integration-7::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ] sys-apps/dbus-1.12.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd -X -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" 0 KiB
[ebuild  N     ] virtual/udev-217::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd" 0 KiB
[ebuild  N     ] sys-fs/udev-init-scripts-32::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ] sys-apps/hwids-20180315::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="net pci udev usb" 0 KiB
[ebuild  N     ] virtual/service-manager-0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(-prefix)" 0 KiB
[ebuild  N     ] sys-fs/e2fsprogs-1.44.1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -fuse -static-libs" 0 KiB
[ebuild  N     ] virtual/dev-manager-0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB

Total: 20 packages (20 new), Size of downloads: 0 KiB

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

joey@akita work$ CROSS_CMD="emerge --root-deps" armv7a-pip-linux-gnueabi-emerge -p1v --noreplace
emerge: command-line interface to the Portage system
Usage:
   emerge [ options ] [ action ] [ ebuild | tbz2 | file | @set | atom ] [ ... ]
   emerge [ options ] [ action ] < @system | @world >
   emerge < --sync | --metadata | --info >
   emerge --resume [ --pretend | --ask | --skipfirst ]
   emerge --help
Options: -[abBcCdDefgGhjkKlnNoOpPqrsStuvVw]
          [ --color < y | n >            ] [ --columns    ]
          [ --complete-graph             ] [ --deep       ]
          [ --jobs JOBS ] [ --keep-going ] [ --load-average LOAD            ]
          [ --newrepo   ] [ --newuse     ] [ --noconfmem  ] [ --nospinner   ]
          [ --oneshot   ] [ --onlydeps   ] [ --quiet-build [ y | n ]        ]
          [ --reinstall changed-use      ] [ --with-bdeps < y | n >         ]
Actions:  [ --depclean | --list-sets | --search | --sync | --version        ]

   For more help consult the man page.
joey@akita work$
Comment 8 Mike Gilbert gentoo-dev 2018-04-24 18:51:03 UTC
You forgot the @system on the second command.
Comment 9 Joe Harvell 2018-04-24 21:15:35 UTC
Ah!  Thanks.

Here you go....

joey@akita ~$ CROSS_CMD="emerge --root-deps" armv7a-pip-linux-gnueabi-emerge -p1v --noreplace @system

These are the packages that would be merged, in order:

Calculating dependencies... done!


[nomerge       ] virtual/service-manager-0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(-prefix)" 
[nomerge       ]  sys-apps/systemd-238-r6:0/2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl gcrypt kmod lz4 pcre seccomp ssl sysv-utils (-apparmor) (-audit) -build -cryptsetup -curl -elfutils (-gnuefi) -http -idn -importd -libidn2 -lzma -nat -pam -policykit -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" 
[nomerge       ]   sys-apps/hwids-20180315::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="net pci udev usb" 
[nomerge       ]    virtual/pkgconfig-0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/
[nomerge       ]     dev-util/pkgconfig-0.29.2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(-hardened) -internal-glib" 
[nomerge       ]      dev-libs/glib-2.52.3:2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="mime xattr -dbus -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 
[ebuild  N     ]       x11-misc/shared-mime-info-1.9::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="{-test}" 0 KiB
[ebuild  N     ]     dev-util/pkgconfig-0.29.2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(-hardened) -internal-glib" 0 KiB
[ebuild  N     ]      dev-libs/glib-2.52.3:2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="mime xattr -dbus -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ]   dev-python/lxml-4.2.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="threads -doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[nomerge       ] x11-misc/shared-mime-info-1.9::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="{-test}" 
[nomerge       ]  dev-libs/glib-2.52.3:2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="mime xattr -dbus -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" PYTHON_TARGETS="python2_7" 
[ebuild  N     ]   app-text/docbook-xml-dtd-4.1.2-r6:4.1.2::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[nomerge       ] virtual/dev-manager-0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/
[nomerge       ]  virtual/udev-217::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd" 
[nomerge       ]   sys-apps/systemd-238-r6:0/2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl gcrypt kmod lz4 pcre seccomp ssl sysv-utils (-apparmor) (-audit) -build -cryptsetup -curl -elfutils (-gnuefi) -http -idn -importd -libidn2 -lzma -nat -pam -policykit -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" 
[nomerge       ]    sys-apps/dbus-1.12.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd -X -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" 
[ebuild  N     ]     app-text/xmlto-0.0.28-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="-latex -text" 0 KiB
[ebuild  N     ]     app-text/docbook-xml-dtd-4.4-r2:4.4::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]    app-text/docbook-xml-dtd-4.5-r1:4.5::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]    app-text/docbook-xml-dtd-4.2-r2:4.2::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]    dev-libs/libxslt-1.1.32::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="crypt -debug -examples -python -static-libs" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ]    app-text/docbook-xsl-stylesheets-1.79.1-r2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="-ruby" 0 KiB
[ebuild  N     ]     app-text/build-docbook-catalog-1.21::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]      dev-libs/libxml2-2.9.8:2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="ipv6 readline -debug -examples -icu -lzma -python -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB
[ebuild  N     ]       dev-util/gtk-doc-am-1.25-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]        virtual/pkgconfig-0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[nomerge       ] sys-fs/e2fsprogs-1.44.1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -fuse -static-libs" 
[nomerge       ]  sys-apps/texinfo-6.5::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -static" 
[nomerge       ]   dev-perl/libintl-perl-1.280.0::gentoo to /usr/armv7a-pip-linux-gnueabi/
[nomerge       ]    virtual/perl-ExtUtils-MakeMaker-7.240.0::gentoo to /usr/armv7a-pip-linux-gnueabi/
[nomerge       ]     dev-lang/perl-5.26.1-r2:0/5.26::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="berkdb gdbm -debug -doc -ithreads" 
[ebuild  N     ]      app-admin/perl-cleaner-2.26-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]       app-portage/portage-utils-0.70::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -static" 0 KiB
[ebuild  N     ]        dev-libs/iniparser-3.1-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="-doc -examples -static-libs" 0 KiB
[ebuild  N     ]  sys-apps/texinfo-6.5::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -static" 0 KiB
[nomerge       ] sys-devel/gcc-7.3.0-r1:7.3.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="cxx fortran nls nptl openmp pch sanitize ssp vtv (-altivec) (-awt) (-cilk) -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) (-mpx) (-multilib) -objc -objc++ -objc-gc -pgo (-pie) -regression-test -vanilla" 
[ebuild  N     ]  sys-devel/bison-3.0.4-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -examples -static {-test}" 0 KiB
[nomerge       ] app-text/docbook-xml-dtd-4.5-r1:4.5::gentoo to /usr/armv7a-pip-linux-gnueabi/
[nomerge       ]  dev-libs/libxml2-2.9.8:2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="ipv6 readline -debug -examples -icu -lzma -python -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 
[ebuild  N     ]   sys-devel/libtool-2.4.6-r5:2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="-vanilla" 0 KiB
[ebuild  N     ]    sys-devel/automake-1.16.1-r1:1.16::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="{-test}" 0 KiB
[ebuild  N     ]     sys-apps/help2man-1.47.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls" 0 KiB
[ebuild  N     ]      dev-perl/Locale-gettext-1.70.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[nomerge       ] sys-devel/gcc-7.3.0-r1:7.3.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="cxx fortran nls nptl openmp pch sanitize ssp vtv (-altivec) (-awt) (-cilk) -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) (-mpx) (-multilib) -objc -objc++ -objc-gc -pgo (-pie) -regression-test -vanilla" 
[ebuild  N     ]  sys-devel/flex-2.6.4-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -static {-test}" 0 KiB
[nomerge       ] x11-misc/shared-mime-info-1.9::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="{-test}" 
[ebuild  N     ]  dev-util/intltool-0.51.0-r2::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]   sys-devel/gettext-0.19.8.1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl cxx ncurses nls openmp -cvs -doc -emacs -git (-java) -static-libs" 0 KiB
[ebuild  N     ] sys-apps/diffutils-3.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -static" 0 KiB
[ebuild  N     ] sys-devel/gcc-7.3.0-r1:7.3.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="cxx fortran nls nptl openmp pch sanitize ssp vtv (-altivec) (-awt) (-cilk) -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) (-mpx) (-multilib) -objc -objc++ -objc-gc -pgo (-pie) -regression-test -vanilla" 0 KiB
[ebuild  N     ] sys-fs/e2fsprogs-1.44.1::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="nls -fuse -static-libs" 0 KiB
[ebuild  N     ] sys-apps/dbus-1.12.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd -X -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" 0 KiB
[nomerge       ]  sys-apps/systemd-238-r6:0/2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl gcrypt kmod lz4 pcre seccomp ssl sysv-utils (-apparmor) (-audit) -build -cryptsetup -curl -elfutils (-gnuefi) -http -idn -importd -libidn2 -lzma -nat -pam -policykit -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" 
[ebuild  N     ]   sys-apps/gentoo-systemd-integration-7::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]   sys-apps/hwids-20180315::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="net pci udev usb" 0 KiB
[ebuild  N     ]   sys-process/procps-3.3.14:0/5::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="kill ncurses nls systemd unicode -elogind -modern-top (-selinux) -static-libs {-test}" 0 KiB
[nomerge       ] virtual/package-manager-1::gentoo to /usr/armv7a-pip-linux-gnueabi/
[nomerge       ]  sys-apps/portage-2.3.31::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(ipc) native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev (-selinux)" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 
[ebuild  N     ]   app-portage/gemato-13.0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="blake2 bzip2 gpg -lzma -sha3 {-test}" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ]    app-crypt/gnupg-2.2.6::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb -wks-server" 0 KiB
[ebuild  N     ] virtual/package-manager-1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]  sys-apps/portage-2.3.31::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(ipc) native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev (-selinux)" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 0 KiB
[ebuild  N     ] sys-apps/util-linux-2.32-r3::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="caps cramfs ncurses nls readline suid systemd unicode -build -fdformat -kill -pam -python (-selinux) -slang -static-libs {-test} -tty-helpers -udev" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4 -python3_6" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 0 KiB
[ebuild  N     ] virtual/service-manager-0::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="(-prefix)" 0 KiB
[ebuild  N     ] virtual/dev-manager-0-r1::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[nomerge       ] sys-apps/gentoo-systemd-integration-7::gentoo to /usr/armv7a-pip-linux-gnueabi/
[nomerge       ]  sys-apps/systemd-238-r6:0/2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl gcrypt kmod lz4 pcre seccomp ssl sysv-utils (-apparmor) (-audit) -build -cryptsetup -curl -elfutils (-gnuefi) -http -idn -importd -libidn2 -lzma -nat -pam -policykit -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" 
[ebuild  N     ]   sys-fs/udev-init-scripts-32::gentoo to /usr/armv7a-pip-linux-gnueabi/ 0 KiB
[ebuild  N     ]    virtual/udev-217::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="systemd" 0 KiB
[ebuild  N     ]     sys-apps/systemd-238-r6:0/2::gentoo to /usr/armv7a-pip-linux-gnueabi/ USE="acl gcrypt kmod lz4 pcre seccomp ssl sysv-utils (-apparmor) (-audit) -build -cryptsetup -curl -elfutils (-gnuefi) -http -idn -importd -libidn2 -lzma -nat -pam -policykit -qrcode (-selinux) {-test} -usrmerge -vanilla -xkb" 0 KiB

Total: 44 packages (44 new), Size of downloads: 0 KiB

 * Error: circular dependencies:

(sys-apps/systemd-238-r6:0/2::gentoo, ebuild scheduled for merge to '/usr/armv7a-pip-linux-gnueabi/') depends on
 (sys-process/procps-3.3.14:0/5::gentoo, ebuild scheduled for merge to '/usr/armv7a-pip-linux-gnueabi/') (runtime)
  (sys-apps/systemd-238-r6:0/2::gentoo, ebuild scheduled for merge to '/usr/armv7a-pip-linux-gnueabi/') (buildtime)

It might be possible to break this cycle
by applying any of the following changes:
- sys-process/procps-3.3.14 (Change USE: -systemd)
- sys-apps/systemd-238-r6 (Change USE: +build)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better option.

 * IMPORTANT: 4 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 10 Joe Harvell 2018-04-24 21:27:27 UTC
I don't see why this "circular" dependency is considered an error.  If I understand correctly, systemd has a runtime dependency on procps, which has a buildtime dependcy on systemd.

The systemd runtime-needs procps should be satisfied by requiring procps to be in the emerge-list if systemd is.

The procps buildtime-needs systemd should be satisfied by emerging systemd prior to procps.

Both of these conditions are satisfied together by including both systemd and procps in the emrge list with systemd being installed before attempting to build procps.

What gives?