Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 950017

Summary: media-libs/leptonica-1.85.0 fails test ioformats_reg
Product: Gentoo Linux Reporter: Jonathan Lovelace <kingjon3377>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: UNCONFIRMED ---    
Severity: normal CC: kingjon3377
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: media-libs:leptonica-1.85.0:20250220-201949.log
test-suite.log
emerge-info.txt

Description Jonathan Lovelace 2025-02-21 00:21:50 UTC
Created attachment 919590 [details]
media-libs:leptonica-1.85.0:20250220-201949.log

While rebuilding as part of an "emerge --emptytree" on a new system, =media-libs/leptonica-1.85.0 fails its test suite, specifically the test ioformats_reg in the 'prog' directory. The output of the test is very verbose (I'll attach the test suite log), but grepping for 'error' suggests that there may be a missing USE flag on one of its dependencies: maybe it needs USE=lzma on media-libs/tiff, or something else?

---------------------
Error in pixReadFromTiffStream: spp = 1, read fail at line 4
Error in pixReadStream: tiff: no pix returned
Leptonica Error in pixRead: pix not read: /tmp/lept/format/file_zip.tif
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Error in pixReadMemJp2kCore: failed to read the header
Error in pixReadMemJp2k: pix not read
Error in pixReadStream: jp2: no pix returned
Leptonica Error in pixRead: pix not read: /tmp/lept/format/file.jp2
Error in pixCompareRGB: pix2 not defined or not ew bpp
Error in pixReadStream: tiff: no pix returned
Leptonica Error in pixRead: pix not read: /tmp/lept/format/file.tif
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Error in pixReadStream: Unknown format: no pix returned
Leptonica Error in pixRead: pix not read: /tmp/lept/format/file_lzw.tif
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Error in pixReadStream: Unknown format: no pix returned
Leptonica Error in pixRead: pix not read: /tmp/lept/format/file_zip.tif
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
Error in pixReadStreamPnm: read error type 6
Error in pixReadStream: pnm: no pix returned
Leptonica Error in pixRead: pix not read: /tmp/lept/format/file.pnm
Error in pixEqualWithAlpha: pix1 and pix2 not both defined
------------------------
Comment 1 Jonathan Lovelace 2025-02-21 00:22:40 UTC
Created attachment 919591 [details]
test-suite.log
Comment 2 Jonathan Lovelace 2025-02-21 00:24:52 UTC
Created attachment 919592 [details]
emerge-info.txt