Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455344 - sub-slot atom not calculated properly after "emerge --keep-going resumes"
Summary: sub-slot atom not calculated properly after "emerge --keep-going resumes"
Status: RESOLVED DUPLICATE of bug 456340
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 21:01 UTC by Alan McKinnon
Modified: 2013-02-12 15:23 UTC (History)
0 users

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 Alan McKinnon 2013-02-03 21:01:03 UTC
Not sure if this really is a bug or not. I have read the subslot specs here:

http://devmanual.gentoo.org/ebuild-writing/eapi/index.html

Portage version here is portage-2.2.0_alpha161 on ~amd64

While attempting "emerge -e --keep-going @world" I twice encountered packages failing. Both times when the depgraph was recalculated I got vast amounts of error text like this, and the sub-slot error was both times with icu:

 *   (u'ebuild', u'/', u'x11-themes/tango-icon-theme-extras-0.1.0-r1', u'merge')
 *   (u'ebuild', u'/', u'x11-themes/nou-icon-theme-09.02.08', u'merge')
 *   (u'ebuild', u'/', u'www-plugins/kaffeine-mozilla-plugin-0.2', u'merge')
 *   (u'ebuild', u'/', u'media-video/lxdvdrip-1.76', u'merge')
 * 
 * One or more packages are either masked or have missing dependencies:
 * 
 *   >=dev-libs/icu-49:0/50= pulled in by:
 *     (x11-libs/qt-core-4.8.4-r1::gentoo, installed)

There were many more than 4 packages in the first part - basically everything that --keep-going picked up.

qt-core has this DEPEND:

        icu? ( >=dev-libs/icu-49:= )

My Qt is linked to this icu version:

        libicuuc.so.50 => /usr/lib64/libicuuc.so.50 (0x00007fa3a952c000)

But no version of icu in the tree provides that soname, as shown by eix:

     Available versions:  49.1.2 (~)50.1-r1(0/50.1) (~)50.1-r2(0/50.1) (~)50.1.1(0/50.1.1) {debug doc examples static-libs}
     Installed versions:  50.1.1(09:40:50 15/01/2013)(-debug -doc -examples -static-libs)

My understanding of sub-slots is that portage should have included icu in the depgraph to be rebuilt after --keep-going kicked in, somehow it did not do this.

qt-core at this stage had been built and merged, icu had not.

Reproducible: Always

Steps to Reproduce:
1. have installed qt-core-4.8.4-r1 and icu-50.1.1
2. emerge -e --keep-going @world
3. wait for qt-core to be emerged successfully then cause any old arbitrary ebuild to fail requiring --keep-going to work
Actual Results:  
Calculating dependencies failed

Expected Results:  
Calculating dependencies should have succeeded and remainder of @world should have been emerged

Portage 2.2.0_alpha161 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.6.11-gentoo x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:    16462636 total,   8049332 free
KiB Swap:    1000444 total,   1000444 free
Timestamp of tree: Sat, 02 Feb 2013 11:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: multimedia gentoo alan
Installed sets: @alan-claws, @alan-fonts, @alan-gkrellm, @alan-icon-themes, @alan-kde, @alan-qt, @alan-tools
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula PUEL googleearth google-talkplugin AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /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="-march=native -O2 -pipe"
DISTDIR="/var/distfiles/"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg collision-protect 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="/mnt/distfiles ftp://ftp.is.co.za/mirror/gentoo.org/ http://distfiles.gentoo.org"
LANG="en_ZA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/var/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/multimedia /var/portage /home/alanm/gentoo/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 ao apache2 archive audiofile avahi bash-completion berkdb bittorrent bluetooth bluray branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups curl curlwrappers cvs cxx dbus dbx declarative dga dirac djvu dri dts dv dvb dvd dvdr emotion encode evo exif expat ffmpeg flac fontconfig fortran freetds ftp fuse gallium gd gdbm gif gimp glib gnutls gpm gps graphviz gs gstreamer gtk handbook iconv icu id3tag ieee1394 imagemagick imap imlib innodb introspection ios ipc ipod iproute2 ipv6 irda jabber java java6 javascript jbig jce jpeg jpeg2k kde kdepim keyring kig-scripting kipi lame lcms ldap lesstif libass libc_glibc libcaca libnotify libsamplerate libv4l2 libwww lm_sensors lua lzma mad maildir mailwrapper man matroska mbox milter mime mms mmx mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musepack musicbrainz mysql mysqli ncurses netboot network nfs nls nptl nsplugin ntp odbc offensive ogg openexr opengl openmp openssl openvpn pam pango passwordsave pch pcre pdf perl phonon plasma plotutils pmu png policykit posix postscript ppds pppd projectm qt3support qt4 quicktime raw readline reflection resolvconf rtmp samba sasl scanner schroedinger sdl session slp smi sms solver speex spell spl sql sqlite sqlite3 sse sse2 sse3 sse41 sse42 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg symlink syslog sysvipc taglib tbb tcpd testbed theora threads thumbnail tidy tiff truetype udev udisks unicode upnp upower usb utempter v4l vaapi vcd video vim-syntax vnc vorbis vpx wavpack webkit wifi wma wmf x264 xattr xcb xcomposite xinerama xml xorg xpm xrender xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi krita sheets stage words" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" COLLECTD_PLUGINS="battery cpu cpufreq df disk hddtemp interface irq load memory ntpd processes rrdtool swap syslog uptime users wireless" 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 ubx" INPUT_DEVICES="evdev 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 en_ZA" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="radeon vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Zac Medico gentoo-dev 2013-02-11 06:55:22 UTC
This may have something in common with bug #456340, since these unresolved "built" slot-operator atoms tend to show up when dependency resolution fails due to other unresolved conflicts.
Comment 2 Alan McKinnon 2013-02-11 22:41:24 UTC
(In reply to comment #1)
> This may have something in common with bug #456340, since these unresolved
> "built" slot-operator atoms tend to show up when dependency resolution fails
> due to other unresolved conflicts.


I really couldn't say either way and I'm not really willing to jump into the code to have an opinion on it :-)

I'll go with your judgement on this.
Comment 3 Zac Medico gentoo-dev 2013-02-12 15:21:32 UTC

*** This bug has been marked as a duplicate of bug 456340 ***