Your message dated Fri, 16 Aug 2019 09:51:46 +0000
with message-id <e1hyyte-0008cf...@fasolo.debian.org>
and subject line Bug#934035: fixed in ocrmypdf 9.0.1+dfsg-1
has caused the Debian Bug report #934035,
regarding ocrmypdf: FTBFS in stretch (failing tests)
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.)


-- 
934035: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934035
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:ocrmypdf
Version: 4.3.5-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in stretch but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python3,sphinxdoc --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_autoreconf -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
I: pybuild base:184: python3.5 setup.py config 
Skipping external program tests because of --force
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p debian/.debhelper
cp -R ocrmypdf debian/.debhelper
sed -i debian/.debhelper/ocrmypdf/__init__.py -e \
        "s|^VERSION =.*|VERSION = \"4.3.5\"|"
PYTHONPATH=debian/.debhelper sphinx-build docs html
Running Sphinx v1.4.9
making output directory...
loading pickled environment... not yet created
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 7 source files that are out of date
updating environment: 7 added, 0 changed, 0 removed
reading sources... [ 14%] cookbook
reading sources... [ 28%] errors
reading sources... [ 42%] index
reading sources... [ 57%] installation
reading sources... [ 71%] introduction
reading sources... [ 85%] languages
reading sources... [100%] security

/<<PKGBUILDDIR>>/docs/installation.rst:2: WARNING: Duplicate explicit target 
name: "docker".
/<<PKGBUILDDIR>>/docs/installation.rst:2: WARNING: Duplicate explicit target 
name: "docker".
looking for now-outdated files... none found
pickling environment... done
checking consistency... /<<PKGBUILDDIR>>/docs/installation.rst:: WARNING: 
document isn't included in any toctree
done
preparing documents... done
writing output... [ 14%] cookbook
writing output... [ 28%] errors
writing output... [ 42%] index
writing output... [ 57%] installation
writing output... [ 71%] introduction
writing output... [ 85%] languages
writing output... [100%] security

generating indices... genindex
writing additional pages... search
copying images... [100%] bitmap_vs_svg.svg

copying static files... WARNING: html_static_path entry 
'/<<PKGBUILDDIR>>/docs/_static' does not exist
done
copying extra files... done
dumping search index in English (code: en) ... done
dumping object inventory... done
build succeeded, 4 warnings.
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python3 setup.py build 
Skipping external program tests because of --force
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/unpaper.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/hocrtransform.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/pdfa.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/ghostscript.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/leptonica.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/tesseract.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/main.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/qpdf.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/__main__.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
copying ocrmypdf/pageinfo.py -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf/data
copying ocrmypdf/data/sRGB.icc -> 
/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf/data
generating cffi module 
'/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf/lib/_leptonica.py'
creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ocrmypdf/lib
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
python3 setup.py test
Checking for tesseract >= 3.03...
Found tesseract 3.04.01
Checking for gs >= 9.15...
Found gs 9.26
Checking for unpaper >= 6.1...
Found unpaper 6.1
Checking for qpdf >= 5.0.0...
Found qpdf 6.0.0
running pytest
running egg_info
creating ocrmypdf.egg-info
writing requirements to ocrmypdf.egg-info/requires.txt
writing ocrmypdf.egg-info/PKG-INFO
writing top-level names to ocrmypdf.egg-info/top_level.txt
writing entry points to ocrmypdf.egg-info/entry_points.txt
writing dependency_links to ocrmypdf.egg-info/dependency_links.txt
writing manifest file 'ocrmypdf.egg-info/SOURCES.txt'
reading manifest file 'ocrmypdf.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 
'tests/output'
warning: no previously-included files matching '*' found under directory 
'tests/output_pageinfo'
warning: no previously-included files matching '*' found under directory 
'tests/resources/private'
warning: no previously-included files matching '*' found under directory 
'tests/cache'
warning: no previously-included files matching '*' found under directory 
'.github'
warning: no previously-included files matching '*' found under directory 
'docs/_build'
warning: no previously-included files found matching 'tasks.py'
warning: no previously-included files found matching 
'ocrmypdf/lib/_leptonica.py'
writing manifest file 'ocrmypdf.egg-info/SOURCES.txt'
running build_ext
generating cffi module 'ocrmypdf/lib/_leptonica.py'
============================= test session starts ==============================
platform linux -- Python 3.5.3, pytest-3.0.6, py-1.4.32, pluggy-0.4.0
rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini
collected 84 items

tests/test_hocrtransform.py .
tests/test_main.py 
........................F.ss...................................................
tests/test_pageinfo.py ....

=================================== FAILURES ===================================
_________________________ test_preserve_metadata[pdfa] _________________________

spoof_tesseract_noop = {'APT_CONFIG': '/var/lib/sbuild/apt.conf', 'CFLAGS': '-g 
-O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=...bug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security', ...}
output_type = 'pdfa'

    @pytest.mark.parametrize("output_type", [
        'pdfa', 'pdf'
        ])
    def test_preserve_metadata(spoof_tesseract_noop, output_type):
        pdf_before = pypdf.PdfFileReader(_infile('graph.pdf'))
    
        output = check_ocrmypdf('graph.pdf', 'test_metadata_preserve.pdf',
                                '--output-type', output_type,
                                env=spoof_tesseract_noop)
    
        pdf_after = pypdf.PdfFileReader(output)
    
        for key in ('/Title', '/Author'):
>           assert pdf_before.documentInfo[key] == pdf_after.documentInfo[key]

tests/test_main.py:245: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = {'/Producer': 'GPL Ghostscript 9.26', '/ModDate': 
"D:20170430232155Z00'00'", '/CreationDate': "D:20170430232155Z00'00'"}
key = '/Title'

    def __getitem__(self, key):
>       return dict.__getitem__(self, key).getObject()
E       KeyError: '/Title'

/usr/lib/python3/dist-packages/PyPDF2/generic.py:520: KeyError
----------------------------- Captured stdout call -----------------------------
   INFO - Output file is a PDF/A-2B (as expected)

=============== 1 failed, 81 passed, 2 skipped in 608.18 seconds ===============
debian/rules:44: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:15: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ocrmypdf.html

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: ocrmypdf
Source-Version: 9.0.1+dfsg-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 934...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Whitton <spwhit...@spwhitton.name> (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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Fri, 16 Aug 2019 10:36:12 +0100
Source: ocrmypdf
Architecture: source
Version: 9.0.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Sean Whitton <spwhit...@spwhitton.name>
Changed-By: Sean Whitton <spwhit...@spwhitton.name>
Closes: 934035
Changes:
 ocrmypdf (9.0.1+dfsg-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #934035).
     - Tighten build-dep on pikepdf to require 1.6.1.
     - Drop deps on ruffus.
     - Drop code in d/rules which passed --force to setup.py.
   * Add docs/images/logo* and misc/media/logo.afdesign to Files-Excluded.
     I cannot confirm that we can regenerate the files in docs/images/ from
     the .afdesign file using tools in Debian main, which latter is
     presumably the preferred form for modification.
   * Newly account for the following files in d/copyright:
     - misc/webservice.py
     - docs/images/bitmap_vs_svg.svg
     - tests/resources/link.pdf
   * Install new bash & fish completion.
     - New build-dep on dh-exec.
   * In response to upstream commit 56a56a4dcb:
     - drop d/rules code to prepare an importable copy of ocrmypdf for the
       docs build
     - patch docs/conf.py to use os.environ['DEB_VERSION_UPSTREAM'] instead
       of calling pkg_resources.get_distribution, which won't work before
       ocrmypdf is installed.
Checksums-Sha1:
 323d924e46b8dfed668cce10da44949d34f85507 2544 ocrmypdf_9.0.1+dfsg-1.dsc
 dbeef4fc952812ea1bd1ab0cff7e701d7a9cf161 6025808 
ocrmypdf_9.0.1+dfsg.orig.tar.xz
 1a7fdec6ae2148b9a7856c1c2285fd6ccd2f0387 38144 
ocrmypdf_9.0.1+dfsg-1.debian.tar.xz
Checksums-Sha256:
 45aa82a7c46c0ad7a41204080c5dc55386a6e7deaa81e3a57b51979c945bed3d 2544 
ocrmypdf_9.0.1+dfsg-1.dsc
 66ae05f800bd651425a48fcc94e86ca32cfb6bbc2f64a2ebfa59745d2cca64c7 6025808 
ocrmypdf_9.0.1+dfsg.orig.tar.xz
 f917dd70afdb028f3e54460c1660dfc51fd01c39876278552fe1092b80277aaa 38144 
ocrmypdf_9.0.1+dfsg-1.debian.tar.xz
Files:
 c158c3e6b34e1dd7cd5efc1d2c19201e 2544 graphics optional 
ocrmypdf_9.0.1+dfsg-1.dsc
 57f47d690820e33d367d42bf3bff8b2a 6025808 graphics optional 
ocrmypdf_9.0.1+dfsg.orig.tar.xz
 2789416450634c896431438e195b57cb 38144 graphics optional 
ocrmypdf_9.0.1+dfsg-1.debian.tar.xz

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

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAl1WeVQACgkQaVt65L8G
YkDI7w/+KZAS2Ohap/eGXTYmyJcFqlDo4/dpUUUKIKThybQUKo17+JIjU4OjEyng
ZE372zX6WvzhSS3Pb/y+rYoeatAh2pouvrR6nn9BZbs/8+eCbcRLhOB+aAzqQdCB
3vv7utzcMDTCVgvM02KlJ8Jd0zc8B2AtBMOUYVkkQBFAG0Q9B7VIPGyRfS9wdiiQ
CnSVlsI4oARWwoG8pHJqZRQ/ndA7lf/O3S0lOtMRaV9hxKfOwztNDQ5kKm0ua+1S
fVJMyi3VnRyBFzcTk+VkiveMsid2IcfXQQUrYKfZXrDFFqbj+0btvhWV4ByrvJ7m
e68DgsB8q2jAdhyLVsZ6JtUlENDgNmsqioQEbOwzlLNLDCqRv/lKPBySV3qy0mLK
xHtp29LGKgd2rn0c10+EErmaa2uGoMh7NUcMPO3BQtnzS1008dswl7WDX1DdWRsk
xNZ5Fsp+4z8YTJsTBlGMIhGOpGpm7ev2mJ2AGs6I4Am7n1MMhuxubumIwM4mYj6i
T5mVIFh2sZI/7Jfv/VuVmq9CSVuaQ2Ulk7BwHW7KDZ449bHHCZ4I+7mNu+83RQFt
QikmhV7N+3YXww1nL8PWJPcEIO9YGrRgWAImTMFVUeliGSSgxQbl+DVoijpTtoOH
Vl40e8NkaNdaQtnNmK8LncKiTtF1X0m5Nh4gb4buTG+KVF4+GcU=
=7zWo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to