Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869479 - media-gfx/gscan2pdf-2.12.8 fails tests (MUSL)
Summary: media-gfx/gscan2pdf-2.12.8 fails tests (MUSL)
Status: CONFIRMED
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: 2022-09-10 11:57 UTC by Agostino Sarubbo
Modified: 2022-09-11 16:27 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,166.84 KB, text/plain)
2022-09-10 11:57 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 2022-09-10 11:57:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/gscan2pdf-2.12.8 fails tests (MUSL).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-09-10 11:57:41 UTC
Created attachment 804445 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-09-10 11:57:42 UTC
Error(s) that match a know pattern:


t/172_open_session.t .......................... Could not open 'test.gs2p' for reading: No such file or directory at /var/tmp/portage/media-gfx/gscan2pdf-2.12.8/work/gscan2pdf-2.12.8/blib/lib/Gscan2pdf/Document.pm line 1870.
t/173_open_multiple_session.t ................. Could not open 'test2.gs2p' for reading: No such file or directory at /var/tmp/portage/media-gfx/gscan2pdf-2.12.8/work/gscan2pdf-2.12.8/blib/lib/Gscan2pdf/Document.pm line 1870.
t/177_open_session_bboxtree.t ................. Could not open 'test.gs2p' for reading: No such file or directory at /var/tmp/portage/media-gfx/gscan2pdf-2.12.8/work/gscan2pdf-2.12.8/blib/lib/Gscan2pdf/Document.pm line 1870.
Comment 3 Chris Mayo 2022-09-11 16:27:20 UTC
First (and repeated) error in the log:

t/052_Dialog_Save.t ........................... panic: locale.c: 932: Unexpected character in locale name '2E.

Google search suggests this is a Perl and musl problem.

Alpine Linux fixed by patching Perl [1], Void Linux by building Perl with -DNO_POSIX_2008_LOCALE [2].

cc'ing perl@gentoo.org.

[1] https://gitlab.alpinelinux.org/alpine/aports/-/issues/10459
[2] https://github.com/void-linux/void-packages/commit/4cc173e6a698f178b221b8eeb22c2dc1bf05d1d0