Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 558458

Summary: virtual/eject keeps trying to pull sys-block/eject even with >=sys-apps/util-linux-2.22 installed
Product: Gentoo Linux Reporter: Benjamin Schindler <beschindler>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, mackal.cook
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 300071    

Description Benjamin Schindler 2015-08-23 09:40:03 UTC
This seems to be the same issue as #554734, but I wasn't able to reopen that issue, so I opened a new one. 
virtual/eject pulls in sys-block/eject even though util-linux is provided. Adding sys-block/eject to package.provided makes the issue go away, but this is a mere workaround. 

metis benjamin # emerge -uDav --tree world

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

Calculating dependencies... done!
[ebuild     UD~] sys-apps/systemd-219_p112:0/2::gentoo [220-r2:0/2::gentoo] USE="acl curl gudev introspection kmod lz4 pam policykit python seccomp ssl -apparmor -audit -cryptsetup -doc -elfutils -gcrypt -http -idn -importd -kdbus -lzma -nat -qrcode (-selinux) -sysv-utils -terminal {-test} -vanilla -xkb (-gnuefi%)" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 7 KiB
[nomerge       ] media-sound/amarok-2.8.0-r3:4::gentoo  USE="embedded handbook ipod mtp opengl utils (-aqua) -cdda -debug -lastfm -mp3tunes -ofa {-test}" LINGUAS="-bs -ca -ca@valencia -cs -da -de -el -en_GB -es -et -eu -fi -fr -ga -gl -hu -it -ja -lt -lv -nb -nl -pa -pl -pt -pt_BR -ro -ru -sl -sr -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -tr -uk -zh_CN -zh_TW" 
[nomerge       ]  kde-apps/kdebase-kioslaves-4.14.3:4/4.14::gentoo  USE="bzip2 exif handbook openexr samba sftp (-aqua) -debug -lzma -minimal" 
[nomerge       ]   virtual/eject-0::gentoo 
[ebuild  N     ]    sys-block/eject-2.1.5-r2::gentoo  USE="nls" 121 KiB
[blocks B      ] sys-block/eject ("sys-block/eject" is blocking sys-apps/util-linux-2.25.2-r2)

Total: 2 packages (1 downgrade, 1 new), Size of downloads: 128 KiB
Conflict: 1 block (1 unsatisfied)

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

  (sys-apps/util-linux-2.25.2-r2:0/0::gentoo, installed) pulled in by
    >=sys-apps/util-linux-2.16 required by (dev-libs/apr-1.5.2:1/1::gentoo, installed)
    sys-apps/util-linux required by (sys-apps/gptfdisk-0.8.10:0/0::gentoo, installed)
    >=sys-apps/util-linux-2.16 required by (sys-fs/e2fsprogs-1.42.13:0/0::gentoo, installed)
    >=sys-apps/util-linux-2.25:0= required by (sys-apps/systemd-219_p112:0/2::gentoo, ebuild scheduled for merge)
    sys-apps/util-linux required by (app-text/build-docbook-catalog-1.19.1:0/0::gentoo, installed)
    >=sys-apps/util-linux-2.13 required by (sys-power/pm-utils-1.4.1-r6:0/0::gentoo, installed)
    sys-apps/util-linux required by (sys-block/partitionmanager-1.1.1:0/0::gentoo, installed)
    sys-apps/util-linux required by (net-misc/gupnp-tools-0.8.10:0/0::gentoo, installed)
    >=sys-apps/util-linux-2.20 required by (sys-block/gparted-0.22.0:0/0::gentoo, installed)
    >=sys-apps/util-linux-2.20.1-r2 required by (sys-fs/udisks-2.1.4:2/2::gentoo, installed)
    >=sys-apps/util-linux-2.19 required by (dev-libs/rasqal-0.9.29:0/0::gentoo, installed)
    sys-apps/util-linux required by @system
    sys-apps/util-linux required by (app-admin/testdisk-7.0-r2:0/0::gentoo, installed)
    sys-apps/util-linux required by (net-fs/nfs-utils-1.3.1-r5:0/0::gentoo, installed)
    >=sys-apps/util-linux-2.24.1-r3[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/util-linux-2.24.1-r3[abi_x86_32(-),abi_x86_64(-)]) required by (x11-libs/libSM-1.2.2-r1:0/0::gentoo, installed)
    >=sys-apps/util-linux-2.24.1-r3[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/util-linux-2.24.1-r3[abi_x86_64(-)]) required by (net-libs/gupnp-0.20.14:0/4::gentoo, installed)
    >=sys-apps/util-linux-2.22 required by (virtual/eject-0:0/0::gentoo, installed)

  (sys-block/eject-2.1.5-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    sys-block/eject required by (virtual/eject-0:0/0::gentoo, installed)


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

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


Here my emerge --info 

metis benjamin # emerge --info
Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.20-r2, 3.17.2-gentoo x86_64)
=================================================================
System uname: Linux-3.17.2-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.2
KiB Mem:    16433352 total,  12599452 free
KiB Swap:      80320 total,     80320 free
Timestamp of repository gentoo: Sun, 23 Aug 2015 09:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA ut2003 dlj-1.1 skype-eula googleearth AdobeFlash-10.3 Oracle-BCLA-JavaSE skype-4.0.0.7-copyright AdobeFlash-11.x NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
USE="X a52 aac accessibility acl acpi alsa amd64 avahi bash-completion berkdb bittorrent bzip2 cairo cdparanoia chm cli cmake colord consolekit cracklib crypt cscope cups curl cxx daap dbus declarative dri dvd dvdr dvdread egl enblend encode evdev exif fam ffmpeg fftw flac fontconfig fortran ftp gdbm geolocation gif gimp git gles2 glitz glsa gnome gnome-keyring gold gphoto2 graphite graphviz gstreamer gtk gtk2 gudev hal hddtemp history hwdb iconv icq icu imagemagick imap introspection ipod ipv6 jabber jpeg kde kpathsea latex lcms ldap lm_sensors lto mad mercurial mikmod mmx mmxext mng mod modules mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mplayer msn mtp multilib ncurses nls nogcj nptl nsplugin ogg oggvorbis openal opencl openexr opengl openmp pam pch pcre pdf perl plasma png policykit pulseaudio python qa qml qt3support qt4 readline resolvconf samba scanner sdl seccomp semantic-desktop session sift sql sse sse2 sse3 sse4_1 ssl subversion svg systemd tcpd theora threads tif tiff transcode truetype udev udisks unicode upnp usb v4l vim-syntax visualization vorbis webkit wlm wmf xcb xcomposite xetex xinerama xmp xpm xv xvid zeroconf 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" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nv nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-08-26 20:53:29 UTC
Might be a bug in portage dependency resolution logic.
Comment 2 Zac Medico gentoo-dev 2015-08-26 22:07:12 UTC
This might be triggered by conflicting USE flag settings for util-linux, or something like that. Please post the output of the following command:

   emerge -pv sys-apps/util-linux --verbose-conflicts
Comment 3 Benjamin Schindler 2015-08-27 06:11:11 UTC
metis benjamin #  emerge -pv sys-apps/util-linux --verbose-conflicts

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

Calculating dependencies... done!
[ebuild   R    ] sys-apps/util-linux-2.25.2-r2::gentoo  USE="cramfs ncurses nls pam python suid systemd udev unicode -caps -fdformat (-selinux) -slang -static-libs {-test} -tty-helpers" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 4 Mike Gilbert gentoo-dev 2018-01-22 00:16:58 UTC
*** Bug 645284 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2018-01-22 00:19:52 UTC
The bug has been closed via the following commit(s):

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

commit a077adc6a36ee2329c75d1f369c4420386e61ad8
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2018-01-22 00:18:51 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-01-22 00:18:51 +0000

    virtual/eject: revbump for multiple RDEPEND changes since 2012
    
    Closes: https://bugs.gentoo.org/558458
    Package-Manager: Portage-2.3.19_p11, Repoman-2.3.6_p45

 virtual/eject/{eject-0.ebuild => eject-0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)