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: RESOLVED OBSOLETE
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-11-27 14:34 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.
Comment 4 Larry the Git Cow gentoo-dev 2024-11-27 14:34:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0fc85fbf71ff1ca32e749c9beba2cdf7780f91b0

commit 0fc85fbf71ff1ca32e749c9beba2cdf7780f91b0
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2024-11-26 20:14:44 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2024-11-26 20:22:30 +0000

    app-text/OCRmyPDF: add 16.6.2, drop 16.3.1
    
    Closes: https://bugs.gentoo.org/927724 (obsolete)
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 app-text/OCRmyPDF/Manifest                         |  2 +-
 ...RmyPDF-16.3.1.ebuild => OCRmyPDF-16.6.2.ebuild} | 44 ++++++++++------------
 app-text/OCRmyPDF/metadata.xml                     |  9 ++++-
 3 files changed, 29 insertions(+), 26 deletions(-)