Your message dated Tue, 30 Oct 2018 00:35:50 +0000
with message-id <[email protected]>
and subject line Bug#912001: fixed in ocrmypdf 6.2.5-1
has caused the Debian Bug report #912001,
regarding ocrmypdf: autopkgtest needs update for new version of tesseract
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 [email protected]
immediately.)


-- 
912001: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912001
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ocrmypdf
Version: 6.2.4-1
X-Debbugs-CC: [email protected], [email protected]
User: [email protected]
Usertags: needs-update
Control: affects -1 src:tesseract

Dear maintainers,

With a recent upload of tesseract the autopkgtest of ocrmypdf fails in
testing when that autopkgtest is run with the binary packages of
tesseract from unstable. It passes when run with only packages from
testing. In tabular form:
                       pass            fail
tesseract              from testing    4.00~git3241-1066f696-1
ocrmypdf               from testing    6.2.4-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. It seems
tesseract change the p into a P in the warning.

Currently this regression is contributing to the delay of the migration
of tesseract to testing [1]. Of course, tesseract shouldn't just break
your autopkgtest (or even worse, your package), but it seems to me that
the change in tesseract was intended and your package needs to update to
the new situation. If needed, please change the bug's severity.

If this is a real problem in your package (and not only in your
autopkgtest), the right binary package(s) from tesseract should really
add a versioned Breaks on the unfixed version of (one of your)
package(s). Note: the Breaks is nice even if the issue is only in the
autopkgtest as it helps the migration software to figure out the right
versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=tesseract

https://ci.debian.net/data/autopkgtest/testing/amd64/o/ocrmypdf/1209359/log.gz

=================================== FAILURES
===================================
_____________________ test_tesseract_config_invalid[hocr]
______________________

renderer = 'hocr'
resources =
PosixPath('/tmp/autopkgtest-lxc.n8pgwx8u/downtmp/build.pIk/src/tests/resources')
outdir =
PosixPath('/tmp/pytest-of-debci/pytest-0/test_tesseract_config_invalid_0')

    @pytest.mark.parametrize('renderer', RENDERERS)
    def test_tesseract_config_invalid(renderer, resources, outdir):
        cfg_file = outdir / 'test.cfg'
        with cfg_file.open('w') as f:
            f.write('''\
    THIS FILE IS INVALID
    ''')

        p, out, err = run_ocrmypdf(
            resources / 'ccitt.pdf', outdir / 'out.pdf',
            '--pdf-renderer', renderer,
            '--tesseract-config', cfg_file)
>       assert "parameter not found" in err, "No error message"
E       AssertionError: No error message
E       assert 'parameter not found' in 'WARNING -    1: [tesseract]
Warning: Parameter not found: THIS\n   INFO - Output file is a PDF/A-2B
(as expected)\n'

tests/test_main.py:737: AssertionError
___________________ test_tesseract_config_invalid[tesseract]
___________________

renderer = 'tesseract'
resources =
PosixPath('/tmp/autopkgtest-lxc.n8pgwx8u/downtmp/build.pIk/src/tests/resources')
outdir =
PosixPath('/tmp/pytest-of-debci/pytest-0/test_tesseract_config_invalid_1')

    @pytest.mark.parametrize('renderer', RENDERERS)
    def test_tesseract_config_invalid(renderer, resources, outdir):
        cfg_file = outdir / 'test.cfg'
        with cfg_file.open('w') as f:
            f.write('''\
    THIS FILE IS INVALID
    ''')

        p, out, err = run_ocrmypdf(
            resources / 'ccitt.pdf', outdir / 'out.pdf',
            '--pdf-renderer', renderer,
            '--tesseract-config', cfg_file)
>       assert "parameter not found" in err, "No error message"
E       AssertionError: No error message
E       assert 'parameter not found' in 'WARNING - The argument
--pdf-renderer=tesseract provides support for versions of tesseract
older than your version. F....\nWARNING -    1: [tesseract] Warning:
Parameter not found: THIS\n   INFO - Output file is a PDF/A-2B (as
expected)\n'

tests/test_main.py:737: AssertionError
___________________ test_tesseract_config_invalid[sandwich]
____________________

renderer = 'sandwich'
resources =
PosixPath('/tmp/autopkgtest-lxc.n8pgwx8u/downtmp/build.pIk/src/tests/resources')
outdir =
PosixPath('/tmp/pytest-of-debci/pytest-0/test_tesseract_config_invalid_2')

    @pytest.mark.parametrize('renderer', RENDERERS)
    def test_tesseract_config_invalid(renderer, resources, outdir):
        cfg_file = outdir / 'test.cfg'
        with cfg_file.open('w') as f:
            f.write('''\
    THIS FILE IS INVALID
    ''')

        p, out, err = run_ocrmypdf(
            resources / 'ccitt.pdf', outdir / 'out.pdf',
            '--pdf-renderer', renderer,
            '--tesseract-config', cfg_file)
>       assert "parameter not found" in err, "No error message"
E       AssertionError: No error message
E       assert 'parameter not found' in 'WARNING -    1: [tesseract]
Warning: Parameter not found: THIS\n   INFO - Output file is a PDF/A-2B
(as expected)\n'

tests/test_main.py:737: AssertionError

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ocrmypdf
Source-Version: 6.2.5-1

We believe that the bug you reported is fixed in the latest version of
ocrmypdf, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (supplier of updated ocrmypdf package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 29 Oct 2018 17:23:44 -0700
Source: ocrmypdf
Binary: ocrmypdf ocrmypdf-doc
Architecture: source
Version: 6.2.5-1
Distribution: unstable
Urgency: medium
Maintainer: Sean Whitton <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Description:
 ocrmypdf   - add an OCR text layer to PDF files
 ocrmypdf-doc - add an OCR text layer to PDF files - documentation
Closes: 912001
Changes:
 ocrmypdf (6.2.5-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #912001).
     Thank you to upstream for the fix.
Checksums-Sha1:
 e207a931cbe3d38e00b65451ab9afa6c69d6ad98 2467 ocrmypdf_6.2.5-1.dsc
 a9887de2525c851c0ea6ea999af02938711f4668 18342012 ocrmypdf_6.2.5.orig.tar.xz
 771e4b56643574aafa15b95f0777bd776a558cc6 27204 ocrmypdf_6.2.5-1.debian.tar.xz
Checksums-Sha256:
 1fd0589dc9cfbae05ffd20f9a18fb3495bc209743185240389cfe0a93b88a215 2467 
ocrmypdf_6.2.5-1.dsc
 0e1fcb69d27423a687549b4a9f993313dd6f78313ce9e0db0e6a2c08d11d7f5a 18342012 
ocrmypdf_6.2.5.orig.tar.xz
 5d778475c529eaa8c41e7228786e153c1291c0d5077a29f4846f9be5e9d39906 27204 
ocrmypdf_6.2.5-1.debian.tar.xz
Files:
 f64fbafa184517f17f8c9c20ee309bba 2467 graphics optional ocrmypdf_6.2.5-1.dsc
 8ec1fba78876299862a3acea53b30f6d 18342012 graphics optional 
ocrmypdf_6.2.5.orig.tar.xz
 a7a9368e2ac5547aa7683386fdeec04a 27204 graphics optional 
ocrmypdf_6.2.5-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlvXpLUACgkQaVt65L8G
YkBHJw/+OKMX8Sx0HS5+rYeyY1rxKVzENDDO6lVk4F+3yycJSdgFUUT1fIlKs9K0
yMvW5n2Fa9lO33QYijx0usHsGwfCvRtfGfa2LU9gbc2msUTctzq/wi0n24oWtfyw
71nhUIq8vbaYdHlqi9ZAZPnb7MHEX2yrBCwYlqt8aUD38aQ5PWmEnu2syB19uT8E
trjfCxnjcfSHawiHrdVz9+GF4BQO3U/kQXDBS7BmHnBrrG/5vwdqzKoWRAild2/V
ZrJ91Ru7jDZ1+G/p9AefMcBFcH7+aysYyM42GMp6MLcDRIJ/a6FFKvXx4q968Gy9
suVKaDdBbUshbtTQuhF8P9T4upxQToyqcCRd4h0ra7m0X6iUQEWdCzzOTrzVo4kH
9k3asKcjYHZ1m4v4hFKSKkpKNITgg2zBjOOYh9VFYhClzt+v8eJCGC3tM6pdxZwv
DYC2QB/Hzss7zKCierxrp/fz346HFvsKIojRIccu4xRzf14nprrD3GeIE8E1Up6e
a+UQLw+oobUk2b6rpcibOVuPsyFj9PeWghdf/fh/vWQkoO5uKUNZ0rgICTc2I14e
c2OQQcCTlBtNjt1LfQrynCd57gFPaat/OS6lZx/nXxejneDhmBHpKVRa2Ah3Vd72
ZSEWYR13xsCXI0HT2LCzgdVBrNtout/HC91RzPz6JB1mV1nhKpU=
=A/pD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to