Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448176 - sys-apps/portage-2.2.0_alpha149: emerge drops all packages "due to unsatisfied dependencies" even if dependencies should be satisfied
Summary: sys-apps/portage-2.2.0_alpha149: emerge drops all packages "due to unsatisfie...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 449142 (view as bug list)
Depends on:
Blocks: 373807 445274
  Show dependency tree
 
Reported: 2012-12-22 12:56 UTC by Dennis Schridde
Modified: 2013-01-10 15:35 UTC (History)
7 users (show)

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


Attachments
emerge.log (emerge.log,59.32 KB, text/plain)
2012-12-22 12:58 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-12-22 12:56:44 UTC
When one package in -uDN @world fails, emerge will drop all package "due to unsatisfied dependencies", even if there is no relation at all between them.

For example (first package failed due to a build issue):
 * The following 35 packages have failed to build or install:
 * 
 *  (cross-x86_64-pc-mingw64/mingw64-runtime-2.0.1::local, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/cross-x86_64-pc-mingw64/mingw64-runtime-2.0.1/temp/build.log'
 *  (dev-python/pexpect-2.4-r1::gentoo, ebuild scheduled for merge)
 *  (net-misc/mirall-1.1.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/e_dbus-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-python/decorator-3.4.0-r1::gentoo, ebuild scheduled for merge)
 *  (sys-libs/cracklib-2.8.22::gentoo, ebuild scheduled for merge)
 *  (dev-python/pyxattr-0.5.1::gentoo, ebuild scheduled for merge)
 *  (dev-libs/efreet-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-python/setuptools-0.6.32::gentoo, ebuild scheduled for merge)
 *  (media-libs/evas-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-db/sqlite-3.7.15.1::gentoo, ebuild scheduled for merge)
 *  (x11-wm/enlightenment-0.17.0::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eet-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-python/pyparsing-1.5.6-r2::gentoo, ebuild scheduled for merge)
 *  (media-libs/edje-1.7.4::gentoo, ebuild scheduled for merge)
 *  (app-emulation/wine-1.5.20::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eina-1.7.4::gentoo, ebuild scheduled for merge)
 *  (net-misc/csync-0.60.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eeze-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-lang/nasm-2.10.06::gentoo, ebuild scheduled for merge)
 *  (sys-apps/portage-2.2.0_alpha149::gentoo, ebuild scheduled for merge)
 *  (net-p2p/bitcoin-qt-0.7.2_rc2::gentoo, ebuild scheduled for merge)
 *  (media-libs/emotion-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eio-1.7.4::gentoo, ebuild scheduled for merge)
 *  (media-libs/elementary-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-python/sphinx-1.1.3-r3::gentoo, ebuild scheduled for merge)
 *  (x11-base/xorg-server-1.13.0-r1::gentoo, ebuild scheduled for merge)
 *  (sys-auth/polkit-0.109-r1::gentoo, ebuild scheduled for merge)
 *  (net-nds/openldap-2.4.33-r1::gentoo, ebuild scheduled for merge)
 *  (app-shells/dash-0.5.7.3-r1::gentoo, ebuild scheduled for merge)
 *  (sys-devel/clang-3.2::gentoo, ebuild scheduled for merge)
 *  (app-text/iso-codes-3.40::gentoo, ebuild scheduled for merge)
 *  (sys-devel/llvm-3.2::gentoo, ebuild scheduled for merge)
 *  (dev-libs/embryo-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/ecore-1.7.4::gentoo, ebuild scheduled for merge)

Reproducible: Always




Portage 2.2.0_alpha149 (default/linux/amd64/10.0/desktop/kde, gcc-4.7.2, glibc-2.16.0, 3.7.1-gentoo x86_64)
=================================================================
System uname: Linux-3.7.1-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.2
Timestamp of tree: Sat, 22 Dec 2012 11:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p39-r1
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
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.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2
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: gentoo systemd ambro-cross local enlightenment kde sunrise g-ctan
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=athlon64-sse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/neatx/home"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /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="-pipe -O2 -march=athlon64-sse3"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--depclean-lib-check n --with-bdeps y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg 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="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
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/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/lib/layman/systemd /var/lib/layman/ambro-cross /var/cache/portage/local /var/cache/portage/overlays/enlightenment /var/cache/portage/overlays/kde /var/cache/portage/overlays/sunrise /var/lib/g-ctan"
[...]
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Dennis Schridde 2012-12-22 12:58:46 UTC
Created attachment 333032 [details]
emerge.log
Comment 2 Dennis Schridde 2012-12-22 15:21:44 UTC
Not solved my a --sync -- that just added more packages to the list:
 *  (cross-x86_64-pc-mingw64/mingw64-runtime-2.0.1::local, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/cross-x86_64-pc-mingw64/mingw64-runtime-2.0.1/temp/build.log'
 *  (dev-python/pexpect-2.4-r1::gentoo, ebuild scheduled for merge)
 *  (net-misc/mirall-1.1.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/e_dbus-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-python/decorator-3.4.0-r1::gentoo, ebuild scheduled for merge)
 *  (media-libs/elementary-1.7.4::gentoo, ebuild scheduled for merge)
 *  (app-emulation/virtualbox-modules-4.2.6::gentoo, ebuild scheduled for merge)
 *  (sys-libs/cracklib-2.8.22::gentoo, ebuild scheduled for merge)
 *  (dev-python/pyxattr-0.5.1::gentoo, ebuild scheduled for merge)
 *  (dev-libs/efreet-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-python/setuptools-0.6.32::gentoo, ebuild scheduled for merge)
 *  (media-libs/evas-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-db/sqlite-3.7.15.1::gentoo, ebuild scheduled for merge)
 *  (x11-wm/enlightenment-0.17.0::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eet-1.7.4::gentoo, ebuild scheduled for merge)
 *  (app-emulation/virtualbox-extpack-oracle-4.2.6::gentoo, ebuild scheduled for merge)
 *  (dev-python/pyparsing-1.5.6-r2::gentoo, ebuild scheduled for merge)
 *  (media-libs/edje-1.7.4::gentoo, ebuild scheduled for merge)
 *  (app-emulation/wine-1.5.20::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eina-1.7.4::gentoo, ebuild scheduled for merge)
 *  (net-misc/csync-0.60.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eeze-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-lang/nasm-2.10.06::gentoo, ebuild scheduled for merge)
 *  (sys-apps/portage-2.2.0_alpha149::gentoo, ebuild scheduled for merge)
 *  (net-p2p/bitcoin-qt-0.7.2_rc2::gentoo, ebuild scheduled for merge)
 *  (media-libs/emotion-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/eio-1.7.4::gentoo, ebuild scheduled for merge)
 *  (app-emulation/virtualbox-4.2.6::gentoo, ebuild scheduled for merge)
 *  (dev-python/sphinx-1.1.3-r3::gentoo, ebuild scheduled for merge)
 *  (x11-base/xorg-server-1.13.0-r1::gentoo, ebuild scheduled for merge)
 *  (sys-auth/polkit-0.109-r1::gentoo, ebuild scheduled for merge)
 *  (net-nds/openldap-2.4.33-r1::gentoo, ebuild scheduled for merge)
 *  (app-shells/dash-0.5.7.3-r1::gentoo, ebuild scheduled for merge)
 *  (sys-devel/clang-3.2::gentoo, ebuild scheduled for merge)
 *  (app-text/iso-codes-3.40::gentoo, ebuild scheduled for merge)
 *  (sys-devel/llvm-3.2::gentoo, ebuild scheduled for merge)
 *  (dev-libs/embryo-1.7.4::gentoo, ebuild scheduled for merge)
 *  (dev-libs/ecore-1.7.4::gentoo, ebuild scheduled for merge)
Comment 3 Zac Medico gentoo-dev 2012-12-22 20:45:40 UTC
You've probably got some unsatisfied dependency(s) of your installed packages triggering this. Does `emerge -p --depclean` also complain about unsatisfied deps?
Comment 4 Dennis Schridde 2012-12-22 23:42:54 UTC
Yes, depclean complains that the virtualbox "group" of packages was only partly emerged, making the newly installed version of one package block the other packages of the older version.
Comment 5 Graham Murray 2012-12-24 08:39:43 UTC
I am seeing this problem on 2 systems (~x86 and ~amd64 hardened) and "emerge -p --depclean" is not showing any problems.

gmdev ~ # emerge -p --depclean

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> Calculating removal order...

>>> These are the packages that would be unmerged:

 dev-java/sun-jce-bin
    selected: 1.6.0 
   protected: none 
     omitted: none 

 sys-kernel/gentoo-sources
    selected: 3.6.8 3.6.10 3.7.0 
   protected: none 
     omitted: 3.7.1 

All selected packages: sys-kernel/gentoo-sources-3.6.10 dev-java/sun-jce-bin-1.6.0 sys-kernel/gentoo-sources-3.7.0 sys-kernel/gentoo-sources-3.6.8

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed:   1550
Packages in world:    373
Packages in system:   42
Required packages:    1546
Number to remove:     4
gmdev ~ # emerge -uDv --reinstall changed-use  --keep-going  @world @system

These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild     U  ] dev-libs/gmp-5.1.0 [5.0.5] USE="cxx doc -static-libs" 0 kB
[ebuild     U  ] sys-process/atop-2.0.2 [1.27_p3] 0 kB
[ebuild     U  ] app-text/iso-codes-3.40 [3.37] 0 kB
[ebuild     U  ] app-accessibility/at-spi2-core-2.4.2-r1:2 [2.4.2:2] USE="introspection (-doc%*)" 0 kB
[ebuild   R    ] dev-python/setuptools-0.6.32  PYTHON_TARGETS="python2_6 python2_7 python3_1 python3_2 -pypy1_8 -pypy1_9 (-pypy2_0) -python2_5 (-python3_3) (-jython2_5%)" 0 kB
[ebuild     U  ] dev-python/pyxattr-0.5.1 [0.5.0] USE="{-test}" PYTHON_TARGETS="python2_6%* python2_7%* python3_1%* python3_2%* -pypy1_9% (-pypy2_0) -python2_5%" 0 kB
[ebuild     U  ] sys-devel/llvm-3.2 [3.1-r2] USE="doc%* libffi vim-syntax -debug -gold -multitarget -ocaml {-test} -udis86" 0 kB
[ebuild     U  ] sys-devel/clang-3.2 [3.1-r5] USE="static-analyzer -debug -multitarget {-test}" 10,028 kB
[ebuild     U  ] sys-apps/man-pages-3.45 [3.44] USE="nls" LINGUAS="-da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 1,730 kB
[ebuild     U  ] net-libs/gnutls-3.1.5-r1 [3.1.5] USE="cxx examples nls static-libs zlib -dane -doc -guile -pkcs11 {-test}" LINGUAS="en%* -cs% -de% -fi% -fr% -it% -ms% -nl% -pl% -sv% -uk% -vi% -zh_CN%" 0 kB
[ebuild     U  ] sys-auth/polkit-0.109-r1 [0.109] USE="examples gtk introspection kde nls pam (-selinux) (-systemd)" 0 kB

Total: 11 packages (10 upgrades, 1 reinstall), Size of downloads: 11,758 kB


>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 11) dev-libs/gmp-5.1.0
 * gmp-5.1.0.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                          [ ok ]
 * gmp-man-5.1.0.pdf SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                         [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking gmp-5.1.0.tar.xz to /var/tmp/portage/dev-libs/gmp-5.1.0/work
>>> Unpacking gmp-man-5.1.0.pdf to /var/tmp/portage/dev-libs/gmp-5.1.0/work
unpack gmp-man-5.1.0.pdf: file format not recognized. Ignoring.
 * Applying gmp-4.1.4-noexecstack.patch ...                                                                                                                                       [ ok ]
 * Applying gmp-5.0.5-x32-support.patch ...                                                                                                                                       [ ok ]
 * Applying gmp-5.0.1-x86-nopie-tests.patch ...

 * Failed Patch: gmp-5.0.1-x86-nopie-tests.patch !
 *  ( /usr/portage/dev-libs/gmp/files/gmp-5.0.1-x86-nopie-tests.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-libs/gmp-5.1.0/temp/gmp-5.0.1-x86-nopie-tests.patch.out

 * ERROR: dev-libs/gmp-5.1.0 failed (unpack phase):
 *   Failed Patch: gmp-5.0.1-x86-nopie-tests.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_unpack
 *   environment, line 2832:  Called epatch '/usr/portage/dev-libs/gmp/files/gmp-5.0.1-x86-nopie-tests.patch'
 *   environment, line 1489:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/gmp-5.1.0'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/gmp-5.1.0'`.
 * The complete build log is located at '/var/log/portage/dev-libs:gmp-5.1.0:20121224-083657.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/gmp-5.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gmp-5.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/gmp-5.1.0/work/gmp-5.1.0'
 * S: '/var/tmp/portage/dev-libs/gmp-5.1.0/work/gmp-5.1.0'

>>> Failed to emerge dev-libs/gmp-5.1.0, Log file:

>>>  '/var/log/portage/dev-libs:gmp-5.1.0:20121224-083657.log'
*** Resuming merge...

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

Calculating dependencies... done!
 * emerge --keep-going: dev-python/setuptools-0.6.32 dropped due to
 * unsatisfied dependency.
 * emerge --keep-going: net-libs/gnutls-3.1.5-r1 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: sys-process/atop-2.0.2 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: app-accessibility/at-spi2-core-2.4.2-r1 dropped due to
 * unsatisfied dependency.
 * emerge --keep-going: sys-auth/polkit-0.109-r1 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: sys-devel/clang-3.2 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: app-text/iso-codes-3.40 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: dev-python/pyxattr-0.5.1 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: sys-apps/man-pages-3.45 dropped due to unsatisfied
 * dependency.
 * emerge --keep-going: sys-devel/llvm-3.2 dropped due to unsatisfied
 * dependency.
Comment 6 Graham Murray 2012-12-24 08:48:08 UTC
To add, when I manually emerge the complete list of packages which were claimed to have unsatisfied dependencies, they all build OK.
Comment 7 Zac Medico gentoo-dev 2012-12-24 09:28:38 UTC
(In reply to comment #6)
> To add, when I manually emerge the complete list of packages which were
> claimed to have unsatisfied dependencies, they all build OK.

There's currently not way to see chain of dependencies that causes a given package to be dropped inside the resume_depgraph function. I'd like to make it save the dependency chain and include it in the elog message.
Comment 8 Duncan 2012-12-27 07:24:52 UTC
This bug is getting quite frustrating for me, since I'm running kde-4.10-rc1 (aka 4.9.95), and two packages are refusing to upgrade due to a different open bug.

With this bug, when portage hits those packages, it finishes the builds it was doing, and claims EVERYTHING left was kicked out due to unsatisfied dependencies, which aren't unsatisfied at all!  Only the two actual failed packages won't upgrade, and they're both "leaf" packages without anything depending on them, so they shouldn't trigger ANY failed-dep failures.

I had expected either a portage update or the kde bug fixed within a couple days, but it's nearing a week, and this bug's hitting me at EVERY update, making me more frustrated every time! =:^(  I guess I mask 149 and downgrade back to 148 (which I fortunately have binpkged).

FWIW, I religiously revdep-rebuild and depclean after upgrades, so if they weren't clean, I'd either clean them, or be filing a bug on whatever was triggering their problem as appropriate.
Comment 9 Dennis Schridde 2012-12-27 12:16:48 UTC
(In reply to comment #8)
> I guess I mask 149 and downgrade back to 148
Please report back, whether that fixes your issue.
Comment 10 Zac Medico gentoo-dev 2012-12-27 20:25:11 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > I guess I mask 149 and downgrade back to 148
> Please report back, whether that fixes your issue.

I doubt that it will. I don't recall any recent changes to the relevant code in portage, so I suspect that something has changed in gentoo-x86 that is triggering it.
Comment 11 Duncan 2012-12-27 21:43:59 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > I guess I mask 149 and downgrade back to 148
> Please report back, whether that fixes your issue.

Well, I manually applied the patch from upstream for the other bug (#448080, kde-4.9.95 related as I mentioned) in the mean time, tho I could unapply and test.  However, I'm also currently all upgraded, and I'll have to wait a day or two for other upgrades to accumulate (or figure out what upgrades I did and reverse them too) so I have some other stuff for portage to fail to merge along with it.

So I can try, but it'll probably be a couple days, and might be simpler for someone else to try, BEFORE they merge all their other updates, so they have something for emerge to quit early on after failing the bad package.


If Zac thinks it's in the tree it may well be, but I'm definitely curious to see what it ends up being.  I actually wonder if it might be a combination, with a corner-case bug in portage being tickled by some strange in-tree code as well, with one of them existing for awhile but only recently exposed by the other.

The most recent big change is obviously EAPI-5.  Portage was tested with it before it hit the tree, but I wonder if there's an ebuild or eclass using it incorrectly...  With luck that'll ring a bell in Zac's brain...

The only other remotely odd thing showing up here is a seamonkey manifest error in the mozilla overlay.  It has been broken for a few days, work-in-progress in the overlay based on the commit log comments.  But I don't have seamonkey installed (tho I DO have the firefox beta from the overlay installed) and I think that issue showed up a few days before this current bug, so I had been ignoring that one.  It's just the only other strange thing of note I'm aware of ATM, so I thought I'd mention it.

Do others seeing this have the mozilla overlay or anything else with manifest errors showing up on sync?  Maybe that's the trigger?
Comment 12 Helmut Jarausch 2012-12-28 10:09:09 UTC
The same here and as far as I remember for several of the lastest version of
portage.

My recent example (portage-2.2.0_alpha149)
 * The following 4 packages have failed to build or install:
 * 
 *  (mail-client/balsa-9999::local, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/mail-client/balsa-9999/temp/build.log'
 *  (sys-devel/clang-9999::gentoo, ebuild scheduled for merge)
 *  (app-text/zathura-djvu-9999::local, ebuild scheduled for merge)
 *  (app-text/zathura-pdf-9999::local, ebuild scheduled for merge)

The failure of balsa is related to gtk-3.6 and as expected.
But none of the 3 other packages have any connection to balsa.
And emerging these 3 packages by itself works just fine.

The only reason I can think of is parallel build. I always use emerge -j4 here.

Helmut.
Comment 13 Dennis Schridde 2012-12-28 13:18:30 UTC
(In reply to comment #11)
> Do others seeing this have the mozilla overlay or anything else with
> manifest errors showing up on sync?  Maybe that's the trigger?
I do not use the Mozilla overlay and neither do I see any Manifest errors.
Comment 14 Travis Hansen 2012-12-28 16:21:53 UTC
A couple contributions:

1. I get this same behavior and I'm running ~arch sys-apps/portage-2.1.11.38
2. The use of --jobs makes no difference for me.  It manifests with or without it.

I originally encountered this in the past couple weeks.  I have a persistent gcc build that fails (found out it was the 'go' use flag).  Whenever it failed, everything after it would fail with the unsatisfied dependencies.  Attempting a --resume --skipfirst or using --keep-going both fail as well.
Comment 15 Zac Medico gentoo-dev 2012-12-29 21:24:57 UTC
*** Bug 449142 has been marked as a duplicate of this bug. ***
Comment 16 Dennis Schridde 2012-12-30 12:34:50 UTC
I can also reproduce this by aborting an emerge @preserved-rebuild before the first package fails and then issuing a --skipfirst.

Exiting on signal 2
sandbox:stop  caught signal 2 in pid 31622
sandbox:stop  signal already caught and busy still cleaning up!

/var/cache/portage/gentoo/net-nds/openldap/openldap-2.4.33-r1.ebuild: src_configure aborted; exiting.

host ~ # emerge --skipfirst
Calculating dependencies... done!
!!! One or more packages have been dropped due to
!!! masking or unsatisfied dependencies:

  (www-client/google-chrome-24.0.1312.45_beta173848::gentoo, ebuild scheduled for merge)
  (net-im/ktp-call-ui-0.5.1::gentoo, ebuild scheduled for merge)

*** Resuming merge...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
Comment 17 Juergen Rose 2012-12-31 13:00:49 UTC
Besides the issues I described in Bug 449142 I have at the next system the following problem. 'emerge -vuDN world' wants to emerge 131 packages:

root@tiger:/root(11)#  emerge -vuDN world
These are the packages that would be merged, in order:
Calculating dependencies |^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[[D^[ \^[... done!
[ebuild  N     ] dev-java/gnu-classpath-0.98-r3:0.98::java-overlay  USE="alsa doc examples gmp gstreamer gtk qt4 xml -debug -dssi -gconf -gjdoc" 0 kB
...
[ebuild   R    ] gnome-extra/zeitgeist-datasources-0.8.0.1  USE="emacs gedit rhythmbox* -bzr -chromium -eog -geany -static-libs -telepathy -tomboy -totem -vim -xchat" 0 kB

Total: 131 packages (71 upgrades, 19 new, 8 in new slots, 33 reinstalls), Size of downloads: 0 kB

which fails for the first package due to Bug 449442. The next 'emerge -vuDN --resume --skipfirst world' fails then with:

root@tiger:/root(12)#  emerge -vuDN --resume --skipfirst world

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

Calculating dependencies... done!
!!! One or more packages have been dropped due to
!!! masking or unsatisfied dependencies:

  (dev-java/dom4j-1.6.1-r6::java-overlay, ebuild scheduled for merge)
  (app-misc/tracker-0.14.4::gentoo, ebuild scheduled for merge)
...
  (dev-java/fop-0.95::gentoo, ebuild scheduled for merge)
  (virtual/ffmpeg-0.10.3::gentoo, ebuild scheduled for merge)

emerge: It seems we have nothing to resume...
Comment 18 Manuel Nickschas 2013-01-01 22:15:29 UTC
I can reproduce this issue with portage-2.2.0_alpha142 as well as alpha149. Pretty annoying, as it's impossible to update my live KDE that way (there's always gonna be a few packages that fail...), I really don't want to manually specify 180 packages to rebuild...
Comment 19 Zac Medico gentoo-dev 2013-01-02 06:05:25 UTC
This should fix it, or at least display reasoning for dropped packages:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=06ed67fa3b6d0cbf106639e2911dd01e626363f2
Comment 20 Zac Medico gentoo-dev 2013-01-02 07:34:29 UTC
(In reply to comment #19)
> This should fix it, or at least display reasoning for dropped packages:
> 
> http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;
> h=06ed67fa3b6d0cbf106639e2911dd01e626363f2

I did a fixup on that commit:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=0b71fb2beedccfe7d2feeb1835b8e79eedc5ee7c
Comment 22 Zac Medico gentoo-dev 2013-01-10 15:35:44 UTC
This is fixed in 2.1.11.39 and 2.2.0_alpha150.