Your message dated Wed, 30 Dec 2020 12:46:02 -0700
with message-id <87v9cj5b7p....@melete.silentflame.com>
and subject line Re: Bug#976092: ocrmypd fails autopkg tests in testing
has caused the Debian Bug report #976092,
regarding ocrmypd fails autopkg tests in testing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
976092: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976092
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ocrmypdf
Version: 10.3.1+dfsg-1
Severity: serious
Tags: sid bullseye

ocrmypd fails autopkg tests in testing, but not in unstable. Looks like a
missing break on some dependency?

see https://ci.debian.net/packages/o/ocrmypdf

[...]
resources =
PosixPath('/tmp/autopkgtest-lxc.fy1hic18/downtmp/build.Qgv/src/tests/resources')
outdir = PosixPath('/tmp/pytest-of-debci/pytest-0/test_rotate_deskew_timeout0')

    def test_rotate_deskew_timeout(resources, outdir):
        check_ocrmypdf(
            resources / 'rotated_skew.pdf',
            outdir / 'deskewed.pdf',
            '--rotate-pages',
            '--rotate-pages-threshold',
            '0',
            '--deskew',
            '--tesseract-timeout',
            '0',
            '--pdf-renderer',
            'sandwich',
        )

        correlation = check_monochrome_correlation(
            outdir,
            reference_pdf=resources / 'ccitt.pdf',
            reference_pageno=1,
            test_pdf=outdir / 'deskewed.pdf',
            test_pageno=1,
        )

        # Confirm that the page still got deskewed
>       assert correlation > 0.50
E       assert 0.0 > 0.5

tests/test_rotation.py:214: AssertionError
----------------------------- Captured stderr call -----------------------------

Scanning contents:   0%|          | 0/1 [00:00<?, ?page/s]
Scanning contents: 100%|██████████| 1/1 [00:00<00:00, 256.25page/s]

OCR:   0%|          | 0.0/1.0 [00:00<?, ?page/s]
OCR:  50%|█████     | 0.5/1.0 [00:00<00:00,  1.62page/s]
OCR: 100%|██████████| 1.0/1.0 [00:00<00:00,  3.19page/s]

JPEGs: 0image [00:00, ?image/s]
JPEGs: 0image [00:00, ?image/s]

JBIG2: 0item [00:00, ?item/s]
JBIG2: 0item [00:00, ?item/s]
------------------------------ Captured log call -------------------------------
INFO     ocrmypdf.builtin_plugins.tesseract_ocr:tesseract_ocr.py:136 Using
Tesseract OpenMP thread limit 2
ERROR    ocrmypdf._exec.ghostscript:ghostscript.py:134 jbig2dec FATAL ERROR
decoding image: incompatible jbig2dec header (0.18) and library (0.19) versions
                                                          **** Error reading a
content stream. The page may be incomplete.
                                                                      Output may
be incorrect.
                                                          **** Error: File did
not complete the page properly and may be damaged.
                                                                      Output may
be incorrect.
INFO     ocrmypdf._pipeline:_pipeline.py:401 with existing rotation ⇨, page is
facing ⇧, confidence 0.00 - rotation appears correct
ERROR    ocrmypdf._exec.ghostscript:ghostscript.py:134 jbig2dec FATAL ERROR
decoding image: incompatible jbig2dec header (0.18) and library (0.19) versions
                                                          **** Error reading a
content stream. The page may be incomplete.
                                                                      Output may
be incorrect.
                                                          **** Error: File did
not complete the page properly and may be damaged.
                                                                      Output may
be incorrect.
WARNING  ocrmypdf._pipeline:_pipeline.py:738 Some input metadata could not be
copied because it is not permitted in PDF/A. You may wish to examine the output
PDF's XMP metadata.
INFO     ocrmypdf.optimize:optimize.py:589 Optimize ratio: 1.00 savings: 0.0%
INFO     ocrmypdf._sync:_sync.py:381 Output file is a PDF/A-2B (as expected)
======== 4 failed, 240 passed, 37 skipped, 1 xfailed in 359.28 seconds =========
autopkgtest [08:20:25]: test test-suite: -----------------------]
autopkgtest [08:20:25]: test test-suite:  - - - - - - - - - - results - - - - - 
- -

--- End Message ---
--- Begin Message ---
Hello,

On Sun 29 Nov 2020 at 04:38PM +01, Matthias Klose wrote:

> Package: src:ocrmypdf
> Version: 10.3.1+dfsg-1
> Severity: serious
> Tags: sid bullseye
>
> ocrmypd fails autopkg tests in testing, but not in unstable. Looks like a
> missing break on some dependency?

The tests are passing now.  While there is in some sense still a non-RC
bug here as ocrmypdf does not have a version restriction to prevent the
tests running with a broken version of the broken dependency (which is
probably ghostscript -- thanks James), I'm closing the bug as that
broken version is no longer in the archive.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to