Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516492 - dependency resolver blames the wrong reverse dependency
Summary: dependency resolver blames the wrong reverse dependency
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-06 10:25 UTC by Jens
Modified: 2018-10-16 19:16 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 Jens 2014-07-06 10:25:54 UTC
# emerge -uDNvp --with-bdeps y world says (among others):

[ebuild     U ~] dev-db/sqlite-3.8.5:3 [3.8.2:3] USE="icu readline secure-delete -debug -doc -static-libs -tcl {-test}" ABI_X86="(64%*) -32% (-x32)" 1,912 kB
[ebuild     U ~] www-client/firefox-30.0 [29.0.1] USE="alsa dbus jit libnotify minimal startup-notification system-cairo system-icu system-jpeg system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio (-selinux) {-test}" LINGUAS="de en_GB eo -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -el -en_ZA -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu" 0 kB
[ebuild     U ~] www-client/chromium-36.0.1985.103 [36.0.1985.67] USE="cups -bindist -custom-cflags -gnome -gnome-keyring -kerberos (-neon) -pulseaudio (-selinux) -tcmalloc {-test}" LINGUAS="de en_GB -am -ar -bg -bn -ca -cs -da -el -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 200,610 kB

Total: 25 packages (23 upgrades, 1 new, 1 reinstall), Size of downloads: 329,226 kB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-lang/python-2.7.6[sqlite,-build]
# required by www-client/chromium-36.0.1985.103
# required by @selected
# required by @world (argument)
=dev-db/sqlite-3.8.5 ~amd64

Please note that it says #required by www-client/chromium.
Problem is that this is wrong, the sqlite dependency is needed by firefox.

This is also confirmed by trying to emerge -uDN chromium or firefox instead of world (then it is correct: chromium does not show the dependency, firefox needs to do the keyword changes).

# emerge --info
# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    32833608 total,  25795728 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 06 Jul 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs 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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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=""
USE="X a52 aac accessibility ace acl acpi alsa amd64 archive aura bash-completion bbswitch berkdb bluetooth bluray bmp boost branding bzip2 bzr cairo cdda cdr cli consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fat ffmpeg fftw fingerprint firefox flac fontconfig fortran gdbm gif gphoto2 gpm gtk gzip hddtemp iconv icu ipv6 java jpeg kde kdm kipi lame lcms lha libnotify lm_sensors lzma lzo mad minizip mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ntfs nvidia ogg opengl openmp opus oscar pam pango pcre pdf pdfimport pgo plasma png policykit ppds python qt3support qt4 rar readline sdl semantic-desktop session spell sse sse2 sse4 sse4_1 ssl ssse3 startup-notification svg system-boost system-cairo system-crontab system-cxx-headers system-ffmpeg system-icu system-jpeg system-libs system-mupdf system-qt system-sqlite tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vdpau video videos vlc vnc vorbis webm wifi wxwidgets x264 xcb xcomposite xfs xinerama xml xorg xscreensaver xv xvfb xvid zip 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="canon" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US de de_DE eo" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" 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, SYNC, USE_PYTHON


Reproducible: Always
Comment 1 Jens 2014-07-06 15:54:52 UTC
Additional info:

# emerge -uDNv world
shows # required by chromium (means omitting the --with-bdeps y from the emerge world does not change the problem)

# emerge -uDNv chromium firefox
shows # required by firefox (means world is different than this)
Comment 2 Jens 2014-07-07 14:29:45 UTC
I did another emerge-delta-webrsync today, and it is gone. It says #required by firefox now.

So this is depending on some arbitrary state of the portage tree.

Now I don't know if this should be considered resolved, or someone still needs to look at it?
Comment 3 Jens 2014-07-10 17:22:45 UTC
After today's emerge-delta-webrsync the situation is more than funny:

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

Calculating dependencies... done!
[ebuild   R    ] dev-lang/python-exec-2.0.1-r1:2  PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy) (python2_7) (python3_2) (python3_3) (-python3_4) (-python2_6%*)" 0 kB
[ebuild     U  ] dev-libs/lzo-2.08:2 [2.06:2] USE="-examples -static-libs" ABI_X86="(64%*) (-32) (-x32)" 576 kB
[ebuild     U  ] sys-kernel/linux-firmware-20131230 [20130728] USE="-savedconfig" 20,717 kB
[ebuild   R    ] dev-lang/python-exec-0.3.1-r1  PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy) (python2_7) (python3_2) (python3_3) (-python3_4) (-python2_6%*)" 0 kB
[ebuild     U  ] dev-util/cppunit-1.13.2-r2 [1.13.1] USE="-doc -examples -static-libs" ABI_X86="(64%*) -32% (-x32)" 932 kB
[ebuild     U  ] app-emulation/emul-linux-x86-baselibs-20140508-r12 [20140406-r4] USE="development (-kerberos) (-ldap) (-pam)" ABI_X86="(-32)" 39,395 kB
[ebuild     U  ] app-emulation/emul-linux-x86-db-20140508-r1 [20140406] USE="development" ABI_X86="(-32)" 1,470 kB
[ebuild     U  ] media-libs/giflib-4.1.6-r3 [4.1.6-r2] USE="X -rle -static-libs" ABI_X86="(64%*) (-32) (-x32)" 0 kB
[ebuild     U  ] app-i18n/enca-1.14-r1 [1.13-r3] USE="recode -doc" ABI_X86="(64%*) -32% (-x32)" 548 kB
[ebuild     U  ] dev-util/pkgconfig-0.28-r1 [0.28] USE="-hardened -internal-glib" ABI_X86="(64%*) (-32) (-x32)" 0 kB
[ebuild     U  ] virtual/pkgconfig-0-r1 [0] ABI_X86="(64%*) (-32) (-x32)" 0 kB
[ebuild     U  ] virtual/perl-MIME-Base64-3.130.0-r3 [3.130.0-r2] 0 kB
[ebuild     U  ] virtual/perl-Locale-Maketext-Simple-0.210.0-r4 [0.210.0-r2] 0 kB
[ebuild     U  ] virtual/perl-JSON-PP-2.272.0-r2 [2.272.0-r1] 0 kB
[ebuild     U  ] virtual/perl-File-Temp-0.220.0-r3 [0.220.0-r2] 0 kB
[ebuild     U  ] virtual/perl-ExtUtils-Command-1.170.0-r4 [1.170.0-r3] 0 kB
[ebuild     U  ] virtual/perl-IO-Zlib-1.100.0-r4 [1.100.0-r2] 0 kB
[ebuild     U  ] virtual/perl-File-Spec-3.400.0-r1 [3.400.0] 0 kB
[ebuild     U  ] virtual/perl-Compress-Raw-Zlib-2.60.0-r1 [2.60.0] 0 kB
[ebuild     U  ] virtual/perl-CPAN-Meta-YAML-0.8.0-r1 [0.8.0] 0 kB
[ebuild     U  ] virtual/perl-Compress-Raw-Bzip2-2.60.0-r1 [2.60.0] 0 kB
[ebuild     U  ] virtual/perl-Digest-MD5-2.520.0-r1 [2.520.0] 0 kB
[ebuild     U  ] virtual/perl-CPAN-Meta-Requirements-2.122.0-r1 [2.122.0] 0 kB
[ebuild     U  ] virtual/perl-Archive-Tar-1.900.0-r1 [1.900.0] 0 kB
[ebuild     U  ] virtual/perl-ExtUtils-ParseXS-3.180.0-r1 [3.180.0] 0 kB
[ebuild     U  ] sys-devel/libtool-2.4.2-r1:2 [2.4.2:2] USE="-static-libs {-test} -vanilla" ABI_X86="(64%*) (-32) (-x32)" 0 kB
[ebuild     U ~] dev-libs/nspr-4.10.6-r1 [4.10.6] USE="-debug" ABI_X86="(64%*) -32% (-x32)" 0 kB
[ebuild     U  ] media-libs/libtheora-1.1.1-r1 [1.1.1] USE="encode -doc -examples -static-libs" ABI_X86="(64%*) (-32) (-x32)" 0 kB
[ebuild     U  ] virtual/perl-CPAN-Meta-2.120.921-r1 [2.120.921] 0 kB
[ebuild     U  ] virtual/perl-Module-Build-0.400.300-r1 [0.400.300] 0 kB
[ebuild     U  ] virtual/fam-0-r1 [0] ABI_X86="(64%*) (-32) (-x32)" 0 kB
[ebuild     U  ] sys-libs/readline-6.2_p5-r1 [6.2_p1] USE="-static-libs%" ABI_X86="(64%*) (-32) (-x32)" 9 kB
[ebuild     U  ] sys-libs/gpm-1.20.7-r2 [1.20.7-r1] USE="(-selinux) -static-libs" ABI_X86="(64%*) (-32) (-x32)" 0 kB
[ebuild     U ~] dev-db/sqlite-3.8.5:3 [3.8.2:3] USE="icu readline secure-delete -debug -doc -static-libs -tcl {-test}" ABI_X86="(64%*) -32% (-x32)" 1,912 kB
[ebuild     U  ] dev-libs/libpcre-8.35:3 [8.33:3] USE="bzip2 cxx jit readline recursion-limit (unicode) zlib -libedit -pcre16 -pcre32 -static-libs" ABI_X86="(64%*) (-32) (-x32)" 1,487 kB
[ebuild     U ~] dev-libs/nss-3.16.1 [3.16] USE="cacert nss-pem -utils" ABI_X86="(64%*) -32% (-x32)" 6,260 kB
[ebuild     U  ] net-dns/bind-tools-9.9.5 [9.9.4] USE="ipv6 readline ssl xml -doc -gost% -gssapi -idn -urandom" 7,549 kB
[ebuild     U  ] dev-python/pycurl-7.19.0-r4 [7.19.0-r3] USE="ssl -examples" CURL_SSL="openssl -gnutls -nss" PYTHON_TARGETS="python2_7 python3_3 -python3_2 (-python2_6%)" 0 kB
[ebuild     U  ] virtual/libusb-0-r2 [0-r1] ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild     U  ] app-emulation/emul-linux-x86-xlibs-20140508 [20140406] USE="(development) opengl" ABI_X86="(-32)" 2,704 kB
[ebuild     U  ] app-emulation/emul-linux-x86-opengl-20140508 [20140406] USE="development" ABI_X86="(-32)" 48,065 kB
[ebuild     U  ] app-emulation/emul-linux-x86-medialibs-20140508-r6 [20140406] USE="development" ABI_X86="(-32)" 11,058 kB
[ebuild     U  ] app-emulation/emul-linux-x86-soundlibs-20140508 [20140406-r1] USE="alsa development (-pulseaudio)" ABI_X86="(-32)" 7,090 kB
[ebuild     U  ] dev-java/icedtea-bin-6.1.13.3-r3:6 [6.1.13.3-r2:6] USE="X alsa cups nsplugin -cjk -doc -examples (-selinux) -source -webstart%" 0 kB
[ebuild  N     ] dev-java/icedtea-web-1.4.2  USE="nsplugin -doc -javascript {-test}" 1,362 kB
[ebuild     U  ] www-plugins/adobe-flash-11.2.202.394 [11.2.202.378] USE="kde sse2 (-debug) (-selinux)" ABI_X86="64 -32 (-x32)" 7,066 kB
[ebuild     U  ] sys-apps/man-pages-3.67 [3.63] USE="nls" LINGUAS="de -da -fr -it -ja -nl -pl -ro -ru -zh_CN" 1,219 kB
[ebuild     U  ] app-admin/perl-cleaner-2.15 [2.14] 7 kB
[ebuild     U  ] sys-apps/util-linux-2.24.1-r3 [2.24.1-r2] USE="bash-completion cramfs ncurses nls pam python suid udev unicode -caps -cytune -fdformat (-selinux) -slang -static-libs {-test} -tty-helpers" ABI_X86="(64%*) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3 (-python3_4)" PYTHON_TARGETS="python2_7 python3_3 -python3_2 (-python3_4)" 0 kB
[ebuild     U  ] sys-apps/acl-2.2.52-r1 [2.2.51] USE="nls -static-libs (-nfs%)" ABI_X86="(64%*) (-32) (-x32)" 378 kB
[ebuild     U  ] app-crypt/gnupg-2.0.25 [2.0.22] USE="bzip2 nls readline usb -adns -doc -ldap -mta (-selinux) -smartcard -static" 4,201 kB
[ebuild     U  ] sys-libs/e2fsprogs-libs-1.42.10 [1.42.7] USE="nls -static-libs" ABI_X86="(64%*) (-32) (-x32)" 563 kB
[ebuild     U  ] sys-fs/e2fsprogs-1.42.10 [1.42.7] USE="nls -static-libs" 6,022 kB
[ebuild     U  ] sys-apps/dbus-1.8.6 [1.8.4] USE="X -debug -doc (-selinux) -static-libs -systemd {-test}" ABI_X86="(64) (-32) (-x32)" 1,819 kB
[ebuild     U  ] net-libs/libproxy-0.4.11-r2 [0.4.11-r1] USE="kde python -gnome -mono -networkmanager -perl -spidermonkey {-test} -webkit" ABI_X86="(64%*) (-32) (-x32)" PYTHON_TARGETS="python2_7 (-python2_6%)" 0 kB
[ebuild     U ~] www-client/chromium-36.0.1985.103 [36.0.1985.67] USE="cups -bindist -custom-cflags -gnome -gnome-keyring -kerberos (-neon) -pulseaudio (-selinux) -tcmalloc {-test}" LINGUAS="de en_GB -am -ar -bg -bn -ca -cs -da -el -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW" 200,610 kB
[ebuild     U ~] www-client/firefox-30.0 [29.0.1] USE="alsa dbus jit libnotify minimal startup-notification system-cairo system-icu system-jpeg system-sqlite wifi -bindist -custom-cflags -custom-optimization -debug -gstreamer -hardened (-pgo) -pulseaudio (-selinux) {-test}" LINGUAS="de en_GB eo -af -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -el -en_ZA -es_AR -es_CL -es_ES -es_MX -et -eu -fa -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -or -pa_IN -pl -pt_BR -pt_PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -te -th -tr -uk -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total: 57 packages (54 upgrades, 1 new, 2 reinstalls), Size of downloads: 373,007 kB

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by dev-lang/python-2.7.6[sqlite,-build]
# required by net-libs/libproxy-0.4.11-r2[python,python_targets_python2_7]
# required by net-libs/glib-networking-2.38.2[libproxy]
# required by net-libs/libsoup-2.44.2
# required by media-plugins/gst-plugins-soup-0.10.31
# required by media-libs/phonon-gstreamer-4.6.3[network]
# required by media-libs/phonon-4.6.0-r1[gstreamer]
# required by kde-base/phonon-kde-4.12.5
# required by kde-base/kdebase-startkde-4.11.9
# required by kde-base/kdebase-meta-4.12.5
# required by @selected
# required by @world (argument)
=dev-db/sqlite-3.8.5 ~amd64


It does not even list python-2.7.6 as to be upgraded, but at least it seems to have an sqlite USE flag. Funny enough, my python is emerged with -sqlite ;-)
The # required by firefox is gone today.