Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907295 - media-libs/netpbm-11.2.0 fails tests (MUSL-SYSTEM)
Summary: media-libs/netpbm-11.2.0 fails tests (MUSL-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-28 12:18 UTC by Agostino Sarubbo
Modified: 2024-02-16 14:40 UTC (History)
0 users

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


Attachments
build.log (build.log,871.02 KB, text/plain)
2023-05-28 12:18 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 2023-05-28 12:18:12 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/netpbm-11.2.0 fails tests (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-28 12:18:15 UTC
Created attachment 862724 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-28 12:18:16 UTC
Error(s) that match a know pattern:


/var/tmp/portage/media-libs/netpbm-11.2.0/work/netpbm-11.2.0/test/pbmtext-utf8.test: line 27: locale: command not found
FAILURE 2
pamcat: Unable to open file '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/tmp.pDpZZtBdg2' for reading.  fopen() returns errno 2 (No such file or directory)
pamcat: Unable to open file '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/tmp.sDi3boQcuP' for reading.  fopen() returns errno 2 (No such file or directory)
pamundice: Unable to open file '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/netpbm.JN5TGxx7/part_00_00.pbm' for reading.  fopen() returns errno 2 (No such file or directory)
pamundice: Unable to open file '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/netpbm.JN5TGxx7/part_0_2.pbm' for reading.  fopen() returns errno 2 (No such file or directory)
pamundice: Unable to open file '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/netpbm.JN5TGxx7/part_5_0.pbm' for reading.  fopen() returns errno 2 (No such file or directory)
pamundice: Unable to open file 'aSsms8aRX9.0' for reading.  fopen() returns errno 2 (No such file or directory)
rm: cannot remove '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/netpbm.JN5TGxx7/pamdice_part*': No such file or directory
rm: cannot remove '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/netpbm.JN5TGxx7/rose.bluxx': No such file or directory
rm: cannot remove '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/netpbm.JN5TGxx7/rose.grnxx': No such file or directory
rm: cannot remove '/var/tmp/portage/media-libs/netpbm-11.2.0/temp/netpbm.JN5TGxx7/rose.redxx': No such file or directory
pbmtext: Unable to read line 0 from file.  fgetws(): conversion error: sequence is invalid for locale 'en_US.utf8'
Comment 3 Larry the Git Cow gentoo-dev 2024-02-16 14:40:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b824d1f9769dfa4f8fd1ed99ecd1d87ce4d4e9e

commit 8b824d1f9769dfa4f8fd1ed99ecd1d87ce4d4e9e
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-02-16 14:38:50 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-02-16 14:39:37 +0000

    media-libs/netpbm: fix tests on musl
    
    Apply a patch from upstream to fix one test.
    Disable the other broken tests on musl.
    Backport one test from netpbm-11.5.2 to netpbm-11.2.7.
    
    Closes: https://bugs.gentoo.org/907295
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../netpbm-11.2.7-fix-pnmcolormap2-test.patch      | 213 +++++++++++++++++++++
 .../files/netpbm-11.5.2-fix-tests-musl.patch       | 157 +++++++++++++++
 media-libs/netpbm/netpbm-11.2.7.ebuild             |   6 +-
 media-libs/netpbm/netpbm-11.5.2.ebuild             |   5 +
 4 files changed, 380 insertions(+), 1 deletion(-)