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

Bug 342713

Summary: --keep-going does not work in portage-2.2.0_alpha1
Product: Portage Development Reporter: dE <de.techno>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: major CC: caster, dschridde+gentoobugs, tamiko
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description dE 2010-10-26 06:54:57 UTC
emerge --keep-going app-cdr/xfburn media-gfx/inkscape media-gfx/gimp media-video/totem net-wireless/kbluetooth app-emulation/virtualbox-ose media-gfx/blender sys-boot/unetbootin sys-devel/gdb app-cdr/acetoneiso kde-base/kalgebra app-emulation/virtualbox-guest-additions app-emulation/virtualbox-ose net-p2p/frostwire media-sound/soundkonverter

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

Calculating dependencies    ... done!                    

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 82) app-emulation/virtualbox-modules-3.1.8
 * vbox-kernel-module-src-3.1.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                        [ ok ]
 * Package:    app-emulation/virtualbox-modules-3.1.8
 * Repository: gentoo
 * Maintainer: patrick@gentoo.org swapon@gmail.com,polynomial-c@gentoo.org
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.34-zen1/build
 * Found sources for kernel version:
 *     2.6.34-zen1
>>> Unpacking source...
>>> Unpacking vbox-kernel-module-src-3.1.8.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work
>>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work
>>> Preparing source in /var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work ...
ln: creating symbolic link `Module.symvers': File exists
 * Preparing vboxdrv module
make -j2 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.34-zen1/build all 
*** Building 'vboxdrv' module ***
make[1]: Entering directory `/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work/vboxdrv'
Makefile:179: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.  Stop.
make[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work/vboxdrv'
make: *** [all] Error 2
emake failed
 * ERROR: app-emulation/virtualbox-modules-3.1.8 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.34-zen1/build all
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3573:  Called linux-mod_src_compile
 *   environment, line 2734:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                            CROSS_COMPILE=${CHOST}-                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"       ${BUILD_FIXES}                                           ${BUILD_PARAMS}                              ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-modules-3.1.8',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-modules-3.1.8'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work'

>>> Failed to emerge app-emulation/virtualbox-modules-3.1.8
*** Resuming merge...
Calculating dependenc                            ... done!

 * Messages for package app-emulation/virtualbox-modules-3.1.8:

 * ERROR: app-emulation/virtualbox-modules-3.1.8 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.34-zen1/build all
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3573:  Called linux-mod_src_compile
 *   environment, line 2734:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                            CROSS_COMPILE=${CHOST}-                                          LDFLAGS=\"$(get_abi_LDFLAGS)\"       ${BUILD_FIXES}                                           ${BUILD_PARAMS}                              ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-modules-3.1.8',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-modules-3.1.8'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/virtualbox-modules-3.1.8/work'
 * One or more packages are either masked or have missing dependencies:
 * 
 *   ~app-emulation/virtualbox-modules-3.1.8 pulled in by:
 *     (app-emulation/virtualbox-ose-3.1.8::gentoo, ebuild scheduled for merge)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build or install:
 * 
 *  (app-emulation/virtualbox-modules-3.1.8::gentoo, ebuild scheduled for merge)
 * 

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






Case 2 as suggested by portage - 

emerge --skipfirst --keep-going app-cdr/xfburn media-gfx/inkscape media-gfx/gimp media-video/totem net-wireless/kbluetooth app-emulation/virtualbox-ose media-gfx/blender sys-boot/unetbootin sys-devel/gdb app-cdr/acetoneiso kde-base/kalgebra app-emulation/virtualbox-guest-additions app-emulation/virtualbox-ose net-p2p/frostwire media-sound/soundkonverter

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

Calculating dependencies     ... done!                       
 * One or more packages are either masked or have missing dependencies:
 * 
 *   ~app-emulation/virtualbox-modules-3.1.8 pulled in by:
 *     (app-emulation/virtualbox-ose-3.1.8::gentoo, ebuild scheduled for merge)
 * 
 *   ~app-emulation/virtualbox-modules-3.1.8 pulled in by:
 *     (app-emulation/virtualbox-ose-3.1.8::gentoo, ebuild scheduled for merge)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.

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

Reproducible: Always

Steps to Reproduce:




emerge --info 
Portage 2.2.0_alpha1 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.2-r0, 2.6.34-zen1 x86_64)
=================================================================
System uname: Linux-2.6.34-zen1-x86_64-AMD_Athlon-tm-_64_X2_Dual-Core_Processor_TK-55-with-gentoo-2.0.1
Timestamp of tree: Sun, 24 Oct 2010 01:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
Repositories: gentoo x11 java-overlay kde-sunset custum
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph --with-bdeps=n --binpkg-respect-use=y"
FEATURES="assume-digests binpkg-logs candy distlocks fail-clean fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/java-overlay /var/lib/layman/kde-sunset /usr/local/portage/manual"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a-like-o a52 aac acc acl acpi aften alib alsa amd64 amr amrnb amrr animation-rtl animgif apm asf bash-completion bazzar bcmath branding bzip2 cairo cdda cdparanoia cdr cli consolekit cracklib crypt css custom-optimization cxx darcs dbus dga djvu dri dts dv dvd dvdr encode exif fam ffmpeg fftw firefox flac fortran ftp gallium gif git gpm gsl gsm iconv jpeg jpeg2k kde lcms libnotify libsamplerate lzma lzo mad matroska matrox memlimit mercurial mikmod minimal mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses nptl nptlonly nsplugin ntfs oci8-instant-client offensive ogg openal opencore-amr openexr opengl openmp openmpi optimization pam pango pcre pdf plasma png policykit ppds pppd pth python qt3support qt4 quicktime rar raw readline reiserfs sdl session sharedmem shorten slang smp speex spell sse sse2 ssl startup-notification strong-optimization svg symlink sysfs taglib tcpd theora threads tiff truetype unicode vcd vorbis wav wavpack wmf x264 xcb xml xorg xpm xulrunner xv xvid zlib" 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" 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 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" 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 ubx" INPUT_DEVICES="evdev synaptics mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon r300" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabian Groffen gentoo-dev 2010-10-26 07:40:32 UTC
I noticed the same thing with latest prefix head (17086)
Comment 2 matt 2010-11-02 23:08:14 UTC
i have noticed too, and --skip-first lists remaining packages but fails to continue
Comment 3 Matthias Maier gentoo-dev 2011-02-13 12:51:59 UTC
I can confirm this bug with portage-2.2.0_alpha23:

bluebird privoxy # emerge -uDN @world 
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 155) net-fs/openafs-kernel-1.4.14
>>> Emerging (2 of 155) app-crypt/mit-krb5-1.8.3-r3
>>> Failed to emerge net-fs/openafs-kernel-1.4.14, Log file:
>>>  '/var/tmp/portage/net-fs/openafs-kernel-1.4.14/temp/build.log'
>>> Installing (2 of 155) app-crypt/mit-krb5-1.8.3-r3
>>> Jobs: 1 of 155 complete, 1 failed               Load avg: 2.00, 1.54, 1.30
*** Resuming merge...
Calculating dependencies... done!
[... snip ...]
 * One or more packages are either masked or have missing dependencies:
 * 
 *   ~net-fs/openafs-kernel-1.4.14 pulled in by:
 *     (net-fs/openafs-1.4.14-r1::gentoo, ebuild scheduled for merge)
 * 
 * The resume list contains packages that are either masked or have
 * unsatisfied dependencies. Please restart/continue the operation
 * manually, or use --skipfirst to skip the first package in the list and
 * any other packages that may be masked or have missing dependencies.
 * 
 * The following package has failed to build or install:
 * 
 *  (net-fs/openafs-kernel-1.4.14::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-fs/openafs-kernel-1.4.14/temp/build.log'
 * 

I would expect that emerge drops all packages with unsatisfied dependencies from the resume list.

There seem to be quite some duplicate bug reports for this issue, e.g. #312467 and #340287 .
Comment 4 Matthias Maier gentoo-dev 2011-02-13 13:00:52 UTC
Oh, not to speak of #263630
Comment 5 dE 2011-02-14 08:23:57 UTC
Nope, this is no longer reproducible with 2.2.0_alpha23_p16
Comment 6 Dennis Schridde 2011-06-19 09:24:50 UTC
Possible duplicates: bug #263630, bug #312467, bug #312789, bug #340287, bug #342713, bug #362355
Comment 7 dE 2011-06-19 14:20:42 UTC
This problem is very hard to reproduce, but this does happen.
Comment 8 Dennis Schridde 2011-07-02 10:15:28 UTC
Please have a look at the possible duplicates bug #263630, bug #312467, bug #312789, bug #340287, bug #342713, bug #362355, and then raise the priority of the appropriate bugs. This issue is really annoying me by now, because it prevents a proper update of @world since months.
Comment 9 dE 2011-07-02 17:44:00 UTC
Sounds like dupes.
Comment 11 Zac Medico gentoo-dev 2011-07-13 00:53:53 UTC
This seems close enough to bug 374583 to mark as a duplicate. Also see bug 312467 for an issue that is similar but not identical to bug 374583.

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