sys-apps/portage-2.1.12.13 built with USE="(ipc) python3 xattr" PYTHON_TARGETS="python3_7 python3_3" is failing emerge @system -r and emerge @world -r with the following similar out put : Calculating dependencies... done! * Invalid resume list: * * ('ebuild', '/' '*package-atom-x.x.x', 'merge') :...etc Then follow up : emerge: It seems we have nothing to resume... : portage-2.1.12.13 build to completion, but I'll post the build.log Reproducible: Always
Created attachment 353550 [details] build.log
Created attachment 353552 [details] emerge-info
The --resume option is not intended to be used with arguments like @world or @system. It simply uses a merge list that was previously saved in /var/cache/edb/mtimedb. The merge list is considered invalid if it contains packages that are unavailable or have unsatisfied dependencies.
(In reply to Zac Medico from comment #3) > The --resume option is not intended to be used with arguments like @world or > @system. It simply uses a merge list that was previously saved in > /var/cache/edb/mtimedb. The merge list is considered invalid if it contains > packages that are unavailable or have unsatisfied dependencies. ? My emerge @world set fails 100+pkgs in and resume doesn't work. How is this not a bug?
Maybe there is a bug, but it looks like we also need to make emerge report an error when atoms or sets are given as arguments with --resume, since they are ignored anyway.
(In reply to Jason Mours from comment #4) > (In reply to Zac Medico from comment #3) > > The --resume option is not intended to be used with arguments like @world or > > @system. It simply uses a merge list that was previously saved in > > /var/cache/edb/mtimedb. The merge list is considered invalid if it contains > > packages that are unavailable or have unsatisfied dependencies. > > ? > > My emerge @world set fails 100+pkgs in and resume doesn't work. How is this > not a bug? O.K. On (-r) resume I am getting a dependency issue with dev-libs/ppl-0.12.1-r1 requiring glpk-4.48, which I am currently *masking*. BUT I have removed ppl from my @world set because of the following pickle: I have introduced sci-mathmatics/glpk-4.50 AFTER I built dev-libs/ppl-0.12.1-r1 USE="lpsol" WITHOUT sci-mathmatics/glpk-x.x.x . I have performed EXTENSIVE compiles as is & don't want to downgrade glpk to glpk-4.48, nor build ppl without lpsol. SO awaiting bug 473334 to be fixed, I have removed ppl from @world and worked around it. : So for some reason, portage is recalculating dependencies on resume and including ppl when it shouldn't...as I stated ppl is not included with the initial emerge @world. So if blockage is what your citing as reason for failure, it should not exist in recalculation.
(In reply to Zac Medico from comment #5) > Maybe there is a bug, but it looks like we also need to make emerge report > an error when atoms or sets are given as arguments with --resume, since they > are ignored anyway. If you read the ppl bug 473334 and my ramblings, I got caught in the in-between where glpk.4.48 was made a dependency for ppl USE="lpsol", where it was not before... I have my reasons for not downgrading glpk or rebuilding ppl without lpsol, but I think this bug underlines some other problem in portage and dependencies.
I apologize, I should have included what portage had to output on ppl / glpk in the failed resume.
(In reply to Jason Mours from comment #6) > So for some reason, portage is recalculating dependencies on resume and > including ppl when it shouldn't...as I stated ppl is not included with the > initial emerge @world. So if blockage is what your citing as reason for > failure, it should not exist in recalculation. It's supposed to include ppl because it was in the orginal emerge list. It pays no attention to the @world argument. I've fixed it to bail out if you give it any arguments like this, since they'll be ignored: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=6e66def727088b3322538444c582951243fc3741 It's possible to use --exclude to exclude packages from the --resume list. So, something like this should do what you wanted: emerge --resume --exclude ppl
(In reply to Zac Medico from comment #9) > (In reply to Jason Mours from comment #6) > > So for some reason, portage is recalculating dependencies on resume and > > including ppl when it shouldn't...as I stated ppl is not included with the > > initial emerge @world. So if blockage is what your citing as reason for > > failure, it should not exist in recalculation. > > It's supposed to include ppl because it was in the orginal emerge list. It > pays no attention to the @world argument. I've fixed it to bail out if you > give it any arguments like this, since they'll be ignored: > > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit; > h=6e66def727088b3322538444c582951243fc3741 > > It's possible to use --exclude to exclude packages from the --resume list. > So, something like this should do what you wanted: > > emerge --resume --exclude ppl No, ppl isn't in the original emerge list, I verified it 'emerge @world -p|grep ppl' and all that comes up is poppler, poppler-data, and cloog-ppl. The @system set is complaining in the same fashion after I kill it and try and emerge @system -r. emerge @system -r --exclude ppl : isn't working either.
Please post the whole emerge output.
Sorry got hung up last night. Here is a valid build list for system. : janice ~ # emerge @system These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-arch/bzip2-1.0.6-r3 USE="-static -static-libs" 0 kB [ebuild R ] app-arch/xz-utils-5.0.5 USE="nls threads -static-libs" 0 kB [ebuild R ] sys-devel/gnuconfig-20130516 0 kB [ebuild R ] app-arch/gzip-1.6 USE="-pic -static" 0 kB [ebuild R ] sys-apps/which-2.20-r1 0 kB [ebuild R ] virtual/os-headers-0 0 kB [ebuild R ] sys-apps/file-5.12-r1 USE="zlib -python -static-libs" 0 kB [ebuild R ] sys-devel/patch-2.7.1-r1 USE="xattr -static {-test}" 0 kB [ebuild R ] sys-apps/net-tools-1.60_p20130513023548 USE="nls -old-output (-selinux) -static" 0 kB [ebuild R ] sys-apps/coreutils-8.21 USE="acl gmp nls xattr -caps (-selinux) -static -vanilla" 0 kB [ebuild R ] virtual/modutils-0 0 kB [ebuild R ] virtual/libc-0 0 kB [ebuild R ] sys-apps/baselayout-2.2 USE="-build" 0 kB [ebuild R ] net-misc/rsync-3.0.9-r3 USE="acl iconv ipv6 xattr -static" 0 kB [ebuild R ] sys-process/procps-3.3.8 USE="ncurses nls unicode -static-libs" 0 kB [ebuild R ] app-shells/bash-4.2_p45 USE="mem-scramble net nls (readline) -afs -bashlogger -examples -plugins -vanilla" 0 kB [ebuild R ] virtual/editor-0 0 kB [ebuild R ] sys-apps/less-460 USE="pcre unicode" 0 kB [ebuild R ] virtual/pager-0 0 kB [ebuild R ] sys-apps/sed-4.2.2 USE="acl nls (-selinux) -static" 0 kB [ebuild R ] sys-apps/util-linux-2.23.1 USE="cramfs ncurses nls suid unicode -bash-completion -caps -cytune -fdformat -old-linux (-selinux) -slang -static-libs {-test} -tty-helpers -udev" 0 kB [ebuild R ] sys-apps/texinfo-5.1 USE="nls -static" 0 kB [ebuild R *] sys-devel/binutils-2.23.2 USE="cxx nls zlib -multislot -multitarget -static-libs {-test} -vanilla" 0 kB [ebuild R ] sys-process/psmisc-22.20 USE="X ipv6 nls (-selinux)" 0 kB [ebuild R ] app-arch/tar-1.26-r1 USE="nls xattr -minimal -static" 0 kB [ebuild R ] sys-apps/diffutils-3.3 USE="nls -static" 0 kB [ebuild R ] sys-apps/findutils-4.5.11 USE="nls (-selinux) -static" 0 kB [ebuild R ] net-misc/wget-1.14 USE="ipv6 nls pcre ssl zlib -debug -gnutls -idn -ntlm -static -uuid" 0 kB [ebuild R ] sys-apps/grep-2.14 USE="nls pcre" 0 kB [ebuild R ] sys-devel/make-3.82-r4 USE="nls -static" 0 kB [ebuild R ] sys-apps/gawk-4.1.0 USE="nls readline" 0 kB [ebuild R ] sys-devel/gcc-4.6.4:4.6 USE="cxx fortran gcj graphite mudflap (multilib) nls nptl openmp (-altivec) -doc (-fixed-point) -gtk (-hardened) (-libssp) -lto -multislot -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 0 kB [ebuild R ] sys-fs/e2fsprogs-1.42.7 USE="nls -static-libs" 0 kB [ebuild R ] virtual/man-0 0 kB [ebuild R ] sys-apps/man-pages-3.51 USE="nls" LINGUAS="-da -de -fr -it -ja -nl -pl -ro -ru -zh_CN" 0 kB [ebuild R ] virtual/package-manager-0 0 kB [ebuild R ] sys-apps/busybox-1.21.0 USE="ipv6 math pam static systemd -livecd -make-symlinks -mdev -savedconfig (-selinux) -sep-usr -syslog" 0 kB [ebuild R ] sys-apps/kbd-1.15.5-r1 USE="nls pam" 0 kB [ebuild R ] virtual/shadow-0 0 kB [ebuild R ] net-misc/iputils-20121221-r1 USE="filecaps ipv6 ssl -SECURITY_HAZARD -caps -doc -gnutls -idn -static" 0 kB [ebuild R ] virtual/ssh-0 USE="-minimal" 0 kB [ebuild R ] virtual/dev-manager-0 0 kB Total: 42 packages (42 reinstalls), Size of downloads: 0 kB >>> Verifying ebuild manifests ^C Exiting on signal 2
Here is a follow up resume that fails. : janice ~ # emerge @system -r These are the packages that would be merged, in order: Calculating dependencies... done! * Invalid resume list: * * ('ebuild', '/', 'app-arch/bzip2-1.0.6-r3', 'merge') * ('ebuild', '/', 'app-arch/xz-utils-5.0.5', 'merge') * ('ebuild', '/', 'sys-devel/gnuconfig-20130516', 'merge') * ('ebuild', '/', 'app-arch/gzip-1.6', 'merge') * ('ebuild', '/', 'sys-apps/which-2.20-r1', 'merge') * ('ebuild', '/', 'virtual/os-headers-0', 'merge') * ('ebuild', '/', 'sys-apps/file-5.12-r1', 'merge') * ('ebuild', '/', 'sys-devel/patch-2.7.1-r1', 'merge') * ('ebuild', '/', 'sys-apps/net-tools-1.60_p20130513023548', 'merge') * ('ebuild', '/', 'sys-apps/coreutils-8.21', 'merge') * ('ebuild', '/', 'virtual/modutils-0', 'merge') * ('ebuild', '/', 'virtual/libc-0', 'merge') * ('ebuild', '/', 'sys-apps/baselayout-2.2', 'merge') * ('ebuild', '/', 'net-misc/rsync-3.0.9-r3', 'merge') * ('ebuild', '/', 'sys-process/procps-3.3.8', 'merge') * ('ebuild', '/', 'app-shells/bash-4.2_p45', 'merge') * ('ebuild', '/', 'virtual/editor-0', 'merge') * ('ebuild', '/', 'sys-apps/less-460', 'merge') * ('ebuild', '/', 'virtual/pager-0', 'merge') * ('ebuild', '/', 'sys-apps/sed-4.2.2', 'merge') * ('ebuild', '/', 'sys-apps/util-linux-2.23.1', 'merge') * ('ebuild', '/', 'sys-apps/texinfo-5.1', 'merge') * ('ebuild', '/', 'sys-devel/binutils-2.23.2', 'merge') * ('ebuild', '/', 'sys-process/psmisc-22.20', 'merge') * ('ebuild', '/', 'app-arch/tar-1.26-r1', 'merge') * ('ebuild', '/', 'sys-apps/diffutils-3.3', 'merge') * ('ebuild', '/', 'sys-apps/findutils-4.5.11', 'merge') * ('ebuild', '/', 'net-misc/wget-1.14', 'merge') * ('ebuild', '/', 'sys-apps/grep-2.14', 'merge') * ('ebuild', '/', 'sys-devel/make-3.82-r4', 'merge') * ('ebuild', '/', 'sys-apps/gawk-4.1.0', 'merge') * ('ebuild', '/', 'sys-devel/gcc-4.6.4', 'merge') * ('ebuild', '/', 'sys-fs/e2fsprogs-1.42.7', 'merge') * ('ebuild', '/', 'virtual/man-0', 'merge') * ('ebuild', '/', 'sys-apps/man-pages-3.51', 'merge') * ('ebuild', '/', 'virtual/package-manager-0', 'merge') * ('ebuild', '/', 'sys-apps/busybox-1.21.0', 'merge') * ('ebuild', '/', 'sys-apps/kbd-1.15.5-r1', 'merge') * ('ebuild', '/', 'virtual/shadow-0', 'merge') * ('ebuild', '/', 'net-misc/iputils-20121221-r1', 'merge') * ('ebuild', '/', 'virtual/ssh-0', 'merge') * ('ebuild', '/', 'virtual/dev-manager-0', 'merge') * * One or more packages are either masked or have missing dependencies: * * <=sci-mathematics/glpk-4.48 pulled in by: * (dev-libs/ppl-0.12.1-r1::gentoo, installed) * * 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. : I know that ppl is not part of system, nor cloog-ppl.
So... gcc with USE="graphite" would be what pulls in cloog-ppl, but ppl w/ glpk? Along with masking glpk-4.48, I have also had to remove the USE="lpsol" flag from ppl in my package.use file. As I have previously stated, I have not rebuilt ppl. But this is my workaround... So portage (resume) seems to be ignoring package.use as well, or it would ask to rebuild ppl with USE="-lpsol".
(In reply to Jason Mours from comment #14) > So... gcc with USE="graphite" would be what pulls in cloog-ppl, but ppl w/ > glpk? Along with masking glpk-4.48, I have also had to remove the > USE="lpsol" flag from ppl in my package.use file. As I have previously > stated, I have not rebuilt ppl. But this is my workaround... So portage > (resume) seems to be ignoring package.use as well, or it would ask to > rebuild ppl with USE="-lpsol". The package.use has no effect until ppl is rebuilt, since USE flags for a package are frozen at build time. *** This bug has been marked as a duplicate of bug 285936 ***