Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927724 - [guru] app-text/OCRmyPDF-14.2.1 fails tests: FAILED test_preprocessing.py::test_non_square_resolution[hocr] - assert <ExitCode.pdfa_conversion_failed: 10> == 0
Summary: [guru] app-text/OCRmyPDF-14.2.1 fails tests: FAILED test_preprocessing.py::te...
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alarig Le Lay
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-03-24 16:23 UTC by Agostino Sarubbo
Modified: 2024-06-17 19:33 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,171.41 KB, text/plain)
2024-03-24 16:23 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 2024-03-24 16:23:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/OCRmyPDF-14.2.1 fails tests.
Discovered on: amd64 (internal ref: guru_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-24 16:23:53 UTC
Created attachment 888448 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-24 16:23:53 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED tests/test_preprocessing.py::test_non_square_resolution[hocr] - assert <ExitCode.pdfa_conversion_failed: 10> == 0
FAILED tests/test_preprocessing.py::test_non_square_resolution[sandwich] - assert <ExitCode.pdfa_conversion_failed: 10> == 0
SKIPPED [4] tests/test_metadata.py:102: could not import 'fitz': No module named 'fitz'
tests/test_preprocessing.py::test_non_square_resolution[hocr] FAILED  [243/323]
tests/test_preprocessing.py::test_non_square_resolution[sandwich] FAILED [244/323]
Comment 3 bugs.gentoo 2024-06-17 19:33:32 UTC
This is due to a missing dependency, the muPDF Python bindings are not available as a package in Gentoo. In newer versions of OCRmyPDF this test is skipped when the fitz package is not found. So I consider this a non-issue with the updated ebuild I provided in bug 932296.