Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764275 - media-gfx/gscan2pdf-2.10.2 fails tests
Summary: media-gfx/gscan2pdf-2.10.2 fails tests
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chris Mayo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-07 10:27 UTC by Agostino Sarubbo
Modified: 2021-01-07 19:34 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,435.62 KB, text/plain)
2021-01-07 10:27 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-01-07 10:27:15 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-07 10:27:18 UTC
Created attachment 681619 [details]
build.log

build log and emerge --info
Comment 2 Chris Mayo 2021-01-07 19:18:18 UTC
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.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-07 19:34:42 UTC
@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).