https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-gfx/gscan2pdf-2.10.2 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 681619 [details] build.log build log and emerge --info
The tests failed because of Perl modules that could not be found, but they are included in BDEPEND for USE="test": dev-perl/HTML-Parser dev-perl/Locale-gettext I don't believe this is an ebuild bug. A clue is in the lines reporting missing modules, e.g: Can't locate HTML/TokeParser.pm in @INC (you may need to install the HTML::TokeParser module) (@INC contains: /var/tmp/portage/media-gfx/gscan2pdf-2.10.2/work/gscan2pdf-2.10.2/blib/lib /var/tmp/portage/media-gfx/gscan2pdf-2.10.2/work/gscan2pdf-2.10.2/blib/arch /etc/perl /usr/local/lib64/perl5/5.32/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.32 /usr/lib64/perl5/vendor_perl/5.32/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.32 /usr/lib64/perl5/5.32/x86_64-linux-thread-multi /usr/lib64/perl5/5.32 /usr/lib64/perl5/vendor_perl/5.30.3 .) at /var/tmp/portage/media-gfx/gscan2pdf-2.10.2/work/gscan2pdf-2.10.2/blib/lib/Gscan2pdf/Page.pm line 12. Perl 5.30 and Perl 5.32 paths are searched. And indeed above in the log (non-stable) Perl 5.32 is being installed. emerge history: ... 2021-01-07T10:50:47 >>> dev-lang/perl-5.32.0-r1 Presumably the starting point was Perl 5.30 with these modules.
@ago: I reckon you needed to flip the USE flag on dev-lang/perl for ithreads but didn't run perl-cleaner --all afterwards (I hit this too). I'm not sure how/if portage can handle this automatically - it might be worth adding some logic to your scripts for this (it is needed after any USE flag change on Perl, or at least most of them).