Debian Bug report logs -
#886306
python-pyocr: FTBFS: "Unable to parse Tesseract version"
Reported by: Chris Lamb <lamby@debian.org>
Date: Thu, 4 Jan 2018 08:51:01 UTC
Severity: serious
Tags: bullseye, buster, ftbfs, patch, sid
Found in version python-pyocr/0.3.0-1
Fixed in version python-pyocr/0.7.2-1
Done: Thomas Perret <thomas.perret@phyx.fr>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Paul Liétar <paul@lietar.net>:
Bug#886306; Package src:python-pyocr.
(Thu, 04 Jan 2018 08:51:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Lamb <lamby@debian.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Paul Liétar <paul@lietar.net>.
(Thu, 04 Jan 2018 08:51:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: python-pyocr
Version: 0.3.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
Tags: patch
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Dear Maintainer,
python-pyocr fails to build from source in unstable/amd64:
[…]
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/python-pyocr-0.3.0'
python run_tests.py
Traceback (most recent call last):
File "run_tests.py", line 12, in <module>
from tests import tests_tesseract
File "/build/1st/python-pyocr-0.3.0/tests/tests_tesseract.py", line 49, in <module>
class TestTxt(unittest.TestCase):
File "/build/1st/python-pyocr-0.3.0/tests/tests_tesseract.py", line 75, in TestTxt
@unittest.skipIf(tesseract.get_version() not in (
File "src/pyocr/tesseract.py", line 374, in get_version
% (ver_string)))
pyocr.tesseract.TesseractError: (0, u'Unable to parse Tesseract version (not a number): [tesseract 4.00.00alpha\n leptonica-1.74.4\n libgif 5.1.4 : libjpeg 6b (libjpeg-turbo 1.5.1) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.8 : libwebp 0.6.0 : libopenjp2 2.3.0\n\n Found AVX\n Found SSE\n]')
[…]
The full build log is attached or can be viewed here:
https://tests.reproducible-builds.org/debian/logs/unstable/amd64/python-pyocr_0.3.0-1.build1.log.gz
Patch is simple:
358 try:
359 els = ver_string.split(" ")[1].split(".")
360 els = [int(x.replace('alpha', '')) for x in els]
^^^^^^^^^^^^^^^^^^^^^
361 major = els[0]
362 minor = els[1]
Best wishes.
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
[python-pyocr.0.3.0-1.unstable.amd64.log.txt.gz (application/octet-stream, attachment)]
Added tag(s) buster and sid.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Tue, 09 Jan 2018 17:21:11 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Paul Liétar <paul@lietar.net>:
Bug#886306; Package src:python-pyocr.
(Sun, 15 Apr 2018 09:18:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Chris Lamb <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Paul Liétar <paul@lietar.net>.
(Sun, 15 Apr 2018 09:18:03 GMT) (full text, mbox, link).
Message #12 received at 886306@bugs.debian.org (full text, mbox, reply):
Chris Lamb wrote:
> Patch is simple:
Gentle ping on this? :)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Added tag(s) ftbfs.
Request was from Adrian Bunk <bunk@debian.org>
to control@bugs.debian.org.
(Fri, 22 Jun 2018 16:43:34 GMT) (full text, mbox, link).
Added tag(s) bullseye.
Request was from ivodd@debian.org
to control@bugs.debian.org.
(Mon, 08 Jul 2019 08:36:03 GMT) (full text, mbox, link).
Reply sent
to Thomas Perret <thomas.perret@phyx.fr>:
You have taken responsibility.
(Sun, 22 Sep 2019 19:36:16 GMT) (full text, mbox, link).
Notification sent
to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer.
(Sun, 22 Sep 2019 19:36:16 GMT) (full text, mbox, link).
Message #21 received at 886306-close@bugs.debian.org (full text, mbox, reply):
Source: python-pyocr
Source-Version: 0.7.2-1
We believe that the bug you reported is fixed in the latest version of
python-pyocr, 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 886306@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Perret <thomas.perret@phyx.fr> (supplier of updated python-pyocr 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 22 Sep 2019 16:25:46 +0200
Source: python-pyocr
Architecture: source
Version: 0.7.2-1
Distribution: unstable
Urgency: medium
Maintainer: Thomas Perret <thomas.perret@phyx.fr>
Changed-By: Thomas Perret <thomas.perret@phyx.fr>
Closes: 886306 916776 926353 938082
Changes:
python-pyocr (0.7.2-1) unstable; urgency=medium
.
* New maintainer by ITS (Closes: #916776)
* New upstream version 0.7.2 (Closes: #886306, Closes: #926353)
* debian/copyright:
+ fix url and GPL-3+ text and update contributors list
+ Move deprecated upstream metadata to copyright
* debian/patches: Drop patch applied upstream
* debian/control:
+ Update Standards-Version to 4.4.0 (no changes required)
+ Use debhelper-compat instead of debhelper as Build-Depends
+ Remove debian/compat
+ drop python2 package (Closes: #938082)
+ Add Rules-Requires-Root: no
* debian/rules: Enable test suite
* debian/tests: Add unittests as DEP-8 autopkgtest
Checksums-Sha1:
d38b3070503afcc7cda21a866061d3989ee71db7 2083 python-pyocr_0.7.2-1.dsc
fdf7d77c121ce7012fea5df3e10f0e4438b6e293 63864 python-pyocr_0.7.2.orig.tar.gz
1e3cc66cc8e3e109d4512f4977d2eb7da075e945 4016 python-pyocr_0.7.2-1.debian.tar.xz
e08e6f9ce26d6f7fe0cdefd801b1ee9615279823 6735 python-pyocr_0.7.2-1_amd64.buildinfo
Checksums-Sha256:
9942e405ef490bcb05640f49546ff4afb0e17764214d781ac86a524458b4a0a7 2083 python-pyocr_0.7.2-1.dsc
5e06f769887bfc264066086ccb814d54908aedcfc2f1708d9ef1eeb1aa64b035 63864 python-pyocr_0.7.2.orig.tar.gz
16c9a55342a848d951e53b0e1b8449fbb57baa50015746317220817c86b4249b 4016 python-pyocr_0.7.2-1.debian.tar.xz
798422b7c9331a05c0a70722c2fcf316a8461b11ae4c0c918282b1fe0304318c 6735 python-pyocr_0.7.2-1_amd64.buildinfo
Files:
f567c0e77e19e2b34bcc38d50585f284 2083 python optional python-pyocr_0.7.2-1.dsc
806b2a68eb1ebb93076b0c48db3b59a9 63864 python optional python-pyocr_0.7.2.orig.tar.gz
cff76ef56987ea9f575d2161efb5ea2f 4016 python optional python-pyocr_0.7.2-1.debian.tar.xz
3b20cf0f875d90be4ce469facb7663bc 6735 python optional python-pyocr_0.7.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAl2HyhgACgkQHpU+J9Qx
HljarA//bP6+OaNFk+gjHCN15r4TiIpr+2RLr6QmR5vj7zankFM74LL0nS2s8hoE
H3sinazyFRQTWGJHhA3QOQdNmuYEP/zl0zCVb8gSQygYmFGUIMBwfsXKqg3uP79z
o05zP645EtJQP3wVk59hG7K4Ed2kkVIWQy1fKyHXGt9yzazVqGiFJxutjWvFPUi9
2EOEcr6QNp8/7KCkE8IAaeJfRcepmk2PwKIVMXMRHywj6BUSnqoZK8JTl4ENks9e
zFtI/UNT2aCKn6rKyxHTbQpDg3mtn8Jm2fdkfNAztBSKVRBr0ARM87isHfGbI9ne
T2vaLF8fSlgAJ+FutF2DZ7LtgoGZr9j9UHauBJDgbCLfa1FWs8EXF31N8ENRLvP2
Lg1cBqTyYEyiL2ZVRlS7yH6yB/Za3MI6CsIKQ9Zxg3hpxtBhzXVsfrzX5UUsMC99
ohutqHAuIc4CF0Fn/vx5Z0yqJrRbqg4T3PDg0WrCi+lHTI6paQVe/UFc4ZvUtXad
Va2ODxTnhpFjsQST8X5/cfyFVDUsv0RxQYaabjpFmfmVv2RIlJwUfNnkuycshgj7
YZNTHCmN0IXOBKOYvSPVWg0kxgA++NEEyfuCP8LVy0ndhsWyyOTlvc5IQmdVSYGx
z9UOn45r040UoNuBKvcaAZP07zNiQfUHsamwqack7tQANWTDE/c=
=b+8J
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 26 Oct 2019 07:25:09 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 14:07:10 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.