Weill attach relevant files here asap.
Created attachment 895834 [details] setup-trace.log
Created attachment 895835 [details] setup.sh.log
1.8 MB: tar -cvJpf /tmp/etc.tar.xz etc/ http://tinderbox.zwiebeltoralf.de:31560/23.0_desktop_gnome-20240614-130837/var/tmp/tb/etc.tar.xz
Created attachment 895836 [details] task.20240614-170815._world.log
zac: toralf managed to get a case where the Perl merge order was wrong w/ pango+help2man+locale-gettext. I spent a little while trying to extract it into a testcase and failed, even with scripting dumping the ebuilds out, because it'd become too slow to experiment then. If you have time, could you take a look and see if you can craft a testcase? If not, no worries, and I will try again. (Just writing this up given I clearly haven't figured it out by now so feel like I shouldn't sit on it.) If you end up having some-but-not-enough time, some hints would be welcome as well if you can. -- I've uploaded the stage toralf gave me at https://dev.gentoo.org/~sam/23.0_desktop_gnome-20240614-130837.tar.xz. chrooting in and running 'emerge -p -uvDU @world --ignore-default-opts' should show the bad order (perl, ..., locale-gettext, ..., pango, ..., help2man). It has a copy of ::gentoo in there already from June, I haven't tried changing that. ``` $ emerge -p -uvDU @world --ignore-default-opts --color=n | egrep "(dev-lang/perl|x11-libs/pango|sys-apps/help2man|dev-perl/Locale-gettext)" [ebuild U ] dev-lang/perl-5.40.0:0/5.40::gentoo [5.38.2-r3:0/5.38::gentoo] USE="berkdb* gdbm -doc -minimal" PERL_FEATURES="(-debug) -ithreads -quadmath" 118 KiB [ebuild N ] x11-libs/pango-1.52.2::gentoo USE="introspection sysprof -X -debug -test" ABI_X86="(64) -32 (-x32)" 0 KiB [ebuild rR ] dev-perl/Locale-gettext-1.70.0-r1::gentoo USE="-test" PERL_FEATURES="(-debug) -ithreads -quadmath" 0 KiB (dev-lang/perl-5.40.0:0/5.40::gentoo, ebuild scheduled for merge) causes rebuilds for: (dev-perl/Locale-gettext-1.70.0-r1:0/0::gentoo, ebuild scheduled for merge) ```
That GNOME stage has ~500 packages. toralf gave me another one which I've uploaded at https://dev.gentoo.org/~sam/23.0_no_multilib-20240616-154002.tar.xz which has ~200 packages in the list. The issue in that one is: perl, ..., po4a, ..., locale-gettext, but po4a DEPEND+RDEPENDs on locale-gettext, so po4a shouldn't be queued between them.