Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934318 - Perl merge order incorrect (Perl dep issue at 23.0_desktop_gnome-20240614-130837)
Summary: Perl merge order incorrect (Perl dep issue at 23.0_desktop_gnome-20240614-130...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 21:01 UTC by Toralf Förster
Modified: 2024-10-29 03:38 UTC (History)
3 users (show)

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


Attachments
setup-trace.log (setup-trace.log,24.20 KB, text/plain)
2024-06-14 21:03 UTC, Toralf Förster
Details
setup.sh.log (setup.sh.log,28.18 KB, text/plain)
2024-06-14 21:03 UTC, Toralf Förster
Details
task.20240614-170815._world.log (task.20240614-170815._world.log,137.48 KB, text/plain)
2024-06-14 21:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-14 21:01:27 UTC
Weill attach relevant files here asap.
Comment 1 Toralf Förster gentoo-dev 2024-06-14 21:03:20 UTC
Created attachment 895834 [details]
setup-trace.log
Comment 2 Toralf Förster gentoo-dev 2024-06-14 21:03:34 UTC
Created attachment 895835 [details]
setup.sh.log
Comment 3 Toralf Förster gentoo-dev 2024-06-14 21:07:53 UTC
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
Comment 4 Toralf Förster gentoo-dev 2024-06-14 21:16:50 UTC
Created attachment 895836 [details]
task.20240614-170815._world.log
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-29 03:30:33 UTC
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)
```
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-29 03:38:09 UTC
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.