Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535776 - sys-apps/systemd-216-r2 USE=sysv-utils should not depend on <sys-apps/sysvinit-2.88-r4
Summary: sys-apps/systemd-216-r2 USE=sysv-utils should not depend on <sys-apps/sysvini...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-06 10:45 UTC by Christian Roessner
Modified: 2015-01-06 19:11 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Roessner 2015-01-06 10:45:15 UTC
Enableing the USE flag sysv-utils in systemd, a world update will fail. Even if you uninstall sys-apps/sysvinit and openrc, an emerge -uD @world will try to merge openrc and sysvinit, which blocks systemd.

Reproducible: Always

Steps to Reproduce:
1. Enable USE flag sysv-utils for systemd
2. emerge -C sysvinit openrc
3. emerge systemd
4. emerge -uDp @world
Actual Results:  
emerge will try to emerge openrc and sysvinit again

Expected Results:  
Should not try to pull in openrc and sysvinit again.

This was my output from emerge:

emerge --tree -uDp @world

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

Calculating dependencies... done!
[nomerge       ] app-emulation/libvirt-1.2.10-r3
[binary     U  ]  dev-libs/yajl-2.0.4-r3 [2.0.3] USE="-static-libs%"
[nomerge       ] net-libs/gnutls-2.12.23-r6
[binary     U  ]  dev-libs/libtasn1-4.2 [3.6]
[binary     U  ] net-misc/ntp-4.2.8-r1 [4.2.6_p5-r10]
[binary     U  ] dev-db/redis-2.8.17-r1 [2.6.15-r1]
[ebuild     U  ] dev-vcs/subversion-1.8.11 [1.8.10]
[binary     U ~] net-misc/tlsdate-0.0.12-r1 [0.0.12]
[binary     U  ] app-admin/logrotate-3.8.8 [3.8.7]
[ebuild     U  ] dev-lang/php-5.5.20 [5.5.18]
[binary     U  ] dev-vcs/git-2.0.5 [2.0.4]
[ebuild     U  ] sys-process/procps-3.3.9-r2 [3.3.9] USE="systemd%* (-selinux)"
[nomerge       ] sys-devel/clang-3.5.0-r100 [3.3-r100]
[nomerge       ]  sys-devel/llvm-3.5.0 [3.3-r3] USE="ncurses%* -libedit%"
[blocks b      ]   <=sys-devel/clang-3.5.0-r99 ("<=sys-devel/clang-3.5.0-r99" is blocking sys-devel/llvm-3.5.0)
[ebuild     U  ]    sys-devel/clang-3.5.0-r100 [3.3-r100]
[ebuild     U  ]     sys-devel/llvm-3.5.0 [3.3-r3] USE="ncurses%* -libedit%"
[binary  N     ] sys-apps/openrc-0.12.4  USE="ncurses netifrc pam unicode -debug -newnet (-prefix) (-selinux) -static-libs -tools"
[nomerge       ] sys-apps/lm_sensors-3.3.3-r3
[nomerge       ]  net-analyzer/rrdtool-1.4.8-r1
[nomerge       ]   x11-libs/pango-1.36.8
[binary     U  ]    media-libs/fontconfig-2.11.1-r2 [2.10.92]
[nomerge       ] app-backup/bareos-13.2.3-r1
[binary     U  ]  dev-db/postgresql-9.3.5-r2 [9.3.5] USE="server%* -perl% (-selinux) -static-libs% -tcl% -uuid% -xml%"
[binary     U  ] sys-apps/elfix-0.9.0-r1 [0.8.4]
[binary     U  ]  dev-python/pypax-0.9.0 [0.8.4] PYTHON_TARGETS="python3_4%*"
[nomerge       ] net-analyzer/zabbix-2.2.7
[nomerge       ]  app-admin/webapp-config-1.52-r1
[nomerge       ]   sys-apps/portage-2.2.14
[binary     U  ]    dev-python/pyxattr-0.5.3 [0.5.2] USE="-doc%" PYTHON_TARGETS="python3_4%*"
[binary     U  ]     dev-lang/python-2.7.9-r1 [2.7.7]
[nomerge       ] app-emulation/libvirt-1.2.10-r3
[binary     U  ]  dev-libs/libnl-3.2.25 [3.2.23] PYTHON_TARGETS="python3_4%*"
[binary     U  ] sys-apps/man-pages-3.75 [3.72]
[binary     U  ] sys-process/psmisc-22.21 [22.20]
[nomerge       ] sys-apps/openrc-0.12.4  USE="ncurses netifrc pam unicode -debug -newnet (-prefix) (-selinux) -static-libs -tools"
[binary  N     ]  sys-apps/sysvinit-2.88-r7  USE="(-ibm) (-selinux) -static"
[binary     U  ] dev-util/ccache-3.1.9-r4 [3.1.9-r3]
[nomerge       ] dev-perl/RRD-Simple-1.440.0
[nomerge       ]  net-analyzer/rrdtool-1.4.8-r1
[nomerge       ]   x11-libs/cairo-1.12.16
[binary     U  ]    media-libs/libpng-1.6.16 [1.6.15]
[binary     U  ] sys-apps/file-5.21 [5.19]
[binary     U  ] app-arch/xz-utils-5.0.8 [5.0.5-r1]
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-218-r1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/sysvinit-2.88-r7:0/0::gentoo, binary scheduled for merge) pulled in by
    >=sys-apps/sysvinit-2.86-r6 required by (sys-apps/openrc-0.12.4:0/0::gentoo, binary scheduled for merge)

  (sys-apps/systemd-218-r1:0/2::gentoo, installed) pulled in by
    sys-apps/systemd required by (dev-lang/php-5.5.20:5.5/5.5::gentoo, ebuild scheduled for merge)
    >=sys-apps/systemd-44-r1[pam] required by (sys-auth/pambase-20120417-r3:0/0::gentoo, installed)
    sys-apps/systemd:0= required by (sys-apps/dbus-1.8.10:0/0::gentoo, installed)
    >=sys-apps/systemd-38 required by (virtual/logger-0:0/0::gentoo, installed)
    sys-apps/systemd required by (sys-fs/multipath-tools-0.5.0-r1:0/0::gentoo, installed)
    sys-apps/systemd:0/2= required by (sys-apps/dbus-1.8.10:0/0::gentoo, installed)
    sys-apps/systemd required by (app-emulation/libvirt-1.2.10-r3:0/1.2.10::gentoo, installed)
    sys-apps/systemd required by @selected
    sys-apps/systemd required by (sys-apps/util-linux-2.25.2-r1:0/0::gentoo, installed)
    >=sys-apps/systemd-208:0 required by (virtual/udev-215:0/0::gentoo, installed)
    sys-apps/systemd required by (net-misc/netctl-1.6:0/0::gentoo, installed)
    >=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-4:0/0::gentoo, installed)
    >=sys-apps/systemd-212-r5:0/2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-apps/systemd-212-r5:0/2[abi_x86_64(-)]) required by (virtual/libudev-215-r1:0/1::gentoo, installed)
    sys-apps/systemd required by (virtual/service-manager-0:0/0::gentoo, installed)
    >=sys-apps/systemd-209 required by (sys-process/procps-3.3.9-r2:0/0::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

emerge --info
Portage 2.2.14 (python 2.7.9-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.7-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.17.7-hardened-r1-x86_64-Intel-R-_Xeon-R-_CPU_L5520_@_2.27GHz-with-gentoo-2.2
KiB Mem:    24682100 total,   1641352 free
KiB Swap:    2097148 total,   2096548 free
Timestamp of tree: Mon, 05 Jan 2015 22:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --binpkg-respect-use=y --usepkg=y --rebuilt-binaries=y --rebuilt-binaries-timestamp=20140405050000"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ rsync://de-mirror.org/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j17"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl adns aio amd64 bacula-clientonly bacula-console bash-completion berkdb bindist btrfs bzip2 caps cli cracklib crypt curl cxx device-mapper dri gdbm hardened iconv ipv6 justify logrotate loop-aes lzo mmap mmx modules ncurses nls nptl nscd ntp openmp openssl pam pax_kernel pcre readline session sse sse2 ssl systemd tcpd threads unicode urandom vim-syntax xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset dav empty_gif fastcgi geo gzip headers_more limit_conn limit_req map memcached proxy referer rewrite scgi spdy split_clients ssi upstream_ip_hash userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby20 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Pacho Ramos gentoo-dev 2015-01-06 15:06:43 UTC
        || (
                >=sys-apps/util-linux-2.22
                <sys-apps/sysvinit-2.88-r4
        )

-> util-linux should break the block for people using sysv-utils USE :/
Comment 2 Mike Gilbert gentoo-dev 2015-01-06 15:52:54 UTC
Have you removed sys-apps/openrc from the system set?

mkdir -p /etc/portage/profile
echo "-*sys-apps/openrc" >> /etc/portage/profile/packages
Comment 3 Christian Roessner 2015-01-06 16:29:31 UTC
I tried this, but same problem:

emerge -uDp @world

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

Calculating dependencies... done!
[binary  N     ] sys-apps/sysvinit-2.88-r7  USE="(-ibm) (-selinux) -static"
[binary  N     ] sys-apps/openrc-0.12.4  USE="ncurses netifrc pam unicode -debug -newnet (-prefix) (-selinux) -static-libs -tools"
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-216-r2)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-apps/systemd-216-r2:0/2::gentoo, installed) pulled in by
    >=sys-apps/systemd-44-r1[pam] required by (sys-auth/pambase-20120417-r3:0/0::gentoo, installed)
    sys-apps/systemd:0= required by (sys-apps/dbus-1.8.10:0/0::gentoo, installed)
    >=sys-apps/systemd-38 required by (virtual/logger-0:0/0::gentoo, installed)
    sys-apps/systemd required by (sys-fs/multipath-tools-0.5.0-r1:0/0::gentoo, installed)
    sys-apps/systemd:0/2= required by (sys-apps/dbus-1.8.10:0/0::gentoo, installed)
    sys-apps/systemd required by (app-emulation/libvirt-1.2.10-r3:0/1.2.10::gentoo, installed)
    sys-apps/systemd required by @selected
    sys-apps/systemd required by (sys-apps/util-linux-2.25.2-r1:0/0::gentoo, installed)
    >=sys-apps/systemd-209 required by (sys-process/procps-3.3.9-r2:0/0::gentoo, installed)
    sys-apps/systemd required by (dev-lang/php-5.5.20:5.5/5.5::gentoo, installed)
    sys-apps/systemd required by (net-misc/netctl-1.6:0/0::gentoo, installed)
    >=sys-apps/systemd-207 required by (sys-apps/gentoo-systemd-integration-4:0/0::gentoo, installed)
    >=sys-apps/systemd-212-r5:0/2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-apps/systemd-212-r5:0/2[abi_x86_64(-)]) required by (virtual/libudev-215-r1:0/1::gentoo, installed)
    sys-apps/systemd required by (virtual/service-manager-0:0/0::gentoo, installed)
    >=sys-apps/systemd-208:0 required by (virtual/udev-215:0/0::gentoo, installed)

  (sys-apps/sysvinit-2.88-r7:0/0::gentoo, binary scheduled for merge) pulled in by
    >=sys-apps/sysvinit-2.86-r6 required by (sys-apps/openrc-0.12.4:0/0::gentoo, binary scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
Comment 4 Mike Gilbert gentoo-dev 2015-01-06 16:42:45 UTC
Please mask sys-apps/openrc so we can see what is trying to pull it in.
Comment 5 Christian Roessner 2015-01-06 16:58:00 UTC
I masked openrc, which led to netifrc, which led to lxc, which was an old version. I am currently building the newest version.

Just ready. The problem was app-emulation-0.8.0-r2.

I have now installed version 1.0.7 and this does no longer have dependencies to netifrc and openrc.

Thanks very much for tracking this problem! It is bad that there is no "stable" lxc. I had added the former version with =app-emulation/lxc-0.8.0-r2, so when this release was purged from the portage tree, I did not recognize this.
Comment 6 Mike Gilbert gentoo-dev 2015-01-06 17:09:43 UTC
No problem.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-06 18:55:32 UTC
A bit late to the party but maybe we can just remove the old sysvinit from the ||, and leave just util-linux? This should make a thing or two easier.
Comment 8 Mike Gilbert gentoo-dev 2015-01-06 19:03:31 UTC
(In reply to Michał Górny from comment #7)
> A bit late to the party but maybe we can just remove the old sysvinit from
> the ||, and leave just util-linux? This should make a thing or two easier.

This has already been done in >=sys-apps/systemd-217. Is it worth revbumping the stable ebuild for this?
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-06 19:11:03 UTC
Ah, ok then. Forget about me :).