Debian Bug report logs -
#815056
libtesseract4: fails to upgrade from libtesseract3
Reported by: IOhannes m zmoelnig <umlaeute@debian.org>
Date: Thu, 18 Feb 2016 10:12:06 UTC
Severity: serious
Found in versions tesseract/3.04.01-1, tesseract/3.04.01-2
Fixed in version tesseract/3.04.01-3
Done: Jeff Breidenbach <jab@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>:
Bug#815056; Package libtesseract4.
(Thu, 18 Feb 2016 10:12:11 GMT) (full text, mbox, link).
Acknowledgement sent
to IOhannes m zmoelnig <umlaeute@debian.org>:
New Bug report received and forwarded. Copy sent to Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>.
(Thu, 18 Feb 2016 10:12:11 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: libtesseract4
Version: 3.04.01-1
Severity: serious
Justification: Policy 7.4
Dear Maintainer,
libtesseract4 provides at least one identical file as libtesseract3 without
declaring a "Conflicts" relationshipt, does breaking any upgrade:
> Preparing to unpack .../libtesseract4_3.04.01-1_amd64.deb ...
> Unpacking libtesseract4 (3.04.01-1) ...
> dpkg: error processing archive /var/cache/apt/archives/libtesseract4_3.04.01-1_amd64.deb (--unpack):
> trying to overwrite '/usr/lib/libtesseract.so.3.0.4', which is also in package libtesseract3 3.04.00-5+b2
> dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
> Errors were encountered while processing:
> /var/cache/apt/archives/libtesseract4_3.04.01-1_amd64.deb
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libtesseract4 depends on:
ii libc6 2.21-9
ii libgcc1 1:5.3.1-8
ii liblept4 1.71-2.1+b2
ii libstdc++6 5.3.1-8
libtesseract4 recommends no packages.
libtesseract4 suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>:
Bug#815056; Package libtesseract4.
(Fri, 19 Feb 2016 00:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>.
(Fri, 19 Feb 2016 00:33:04 GMT) (full text, mbox, link).
Message #10 received at 815056@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Thu, 18 Feb 2016 11:09:04 +0100 IOhannes m zmoelnig
<umlaeute@debian.org> wrote:
> Package: libtesseract4
> Version: 3.04.01-1
> Severity: serious
> Justification: Policy 7.4
>
> Dear Maintainer,
>
> libtesseract4 provides at least one identical file as libtesseract3 without
> declaring a "Conflicts" relationshipt, does breaking any upgrade:
>
Afaics, the real bug here is, that the libtesseract3 package was renamed
to libtesseract4 for no good reason.
The changelog in [1] doesn't make a lot of sense.
Michael
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742027
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[signature.asc (application/pgp-signature, attachment)]
Marked as found in versions tesseract/3.04.01-2.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Sun, 21 Feb 2016 02:57:10 GMT) (full text, mbox, link).
Added indication that 815056 affects tesseract-ocr and libtesseract-dev
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Tue, 23 Feb 2016 00:24:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>:
Bug#815056; Package libtesseract4.
(Thu, 25 Feb 2016 00:24:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Jeff Breidenbach <jeff@jab.org>:
Extra info received and forwarded to list. Copy sent to Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>.
(Thu, 25 Feb 2016 00:24:06 GMT) (full text, mbox, link).
Message #19 received at 815056@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Why? I was asked strongly by a Debian Developer in 794489 to
bump the libtesseract version. I suspect 742027 was related.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794489
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742027
I historically have a lot of trouble with transitions, and this one
sadly seems to be no exception. Advice is appreciated.
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>:
Bug#815056; Package libtesseract4.
(Thu, 25 Feb 2016 01:15:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Jeff Breidenbach <jeff@jab.org>:
Extra info received and forwarded to list. Copy sent to Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>.
(Thu, 25 Feb 2016 01:15:04 GMT) (full text, mbox, link).
Message #24 received at 815056@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
> There was an accidental ABI breakage a while ago
> And I thought that bumping to libtesseract4 was the right thing to do
...
<juliank> The important question is: How did this ABI break happen?
Upstream change or only an effect of the C++ transition?
> I had been assuming upstream change
> But actually I'm not sure how to tell
<olly> well, the symbol demangles to
tesseract::TessBaseAPI::AnalyseLayout() so look and see if there's anything
changed there between the versions
...
<juliank> jbreiden: Wait a mo. The problem is far easier to solve
<juliank> Just move the body from "PageIterator* AnalyseLayout() {
<juliank> + return AnalyseLayout(false);
<juliank> + }" from the header into the .cpp
<juliank> this function was accidentally inlined in the refactoring
<juliank> then you should have the old ABI again
<bremner> but incompatible with upstream
<juliank> Well, it is a change that can be done upstream
<juliank> All old code continues working
<juliank> even code built against the broken version, as those have that
function inlined
...
> Okay, I'll try it. I'll call the resulting package libtesseract3.
<juliank> Yes, then you could just rename it back entirely and all trouble
is gone
> Do I need to do something special to get rid of libtesseract4?
<olly> that's certainly the cleanest solution you could hope for
<juliank> jbreiden: You could break/replace that. not sure if worth the
trouble
[Message part 2 (text/html, inline)]
Reply sent
to Jeff Breidenbach <jab@debian.org>:
You have taken responsibility.
(Thu, 25 Feb 2016 01:51:05 GMT) (full text, mbox, link).
Notification sent
to IOhannes m zmoelnig <umlaeute@debian.org>:
Bug acknowledged by developer.
(Thu, 25 Feb 2016 01:51:06 GMT) (full text, mbox, link).
Message #29 received at 815056-close@bugs.debian.org (full text, mbox, reply):
Source: tesseract
Source-Version: 3.04.01-3
We believe that the bug you reported is fixed in the latest version of
tesseract, 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 815056@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeff Breidenbach <jab@debian.org> (supplier of updated tesseract 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: Thu, 25 Feb 2016 00:22:26 +0000
Source: tesseract
Binary: tesseract-ocr-dev libtesseract-dev libtesseract3 tesseract-ocr tesseract-ocr-all
Architecture: source amd64 all
Version: 3.04.01-3
Distribution: unstable
Urgency: medium
Maintainer: Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>
Changed-By: Jeff Breidenbach <jab@debian.org>
Description:
libtesseract-dev - Development files for the tesseract command line OCR tool
libtesseract3 - Tesseract OCR library
tesseract-ocr - Tesseract command line OCR tool
tesseract-ocr-all - Tesseract OCR with all language packages
tesseract-ocr-dev - transitional dummy package
Closes: 815056 815132
Changes:
tesseract (3.04.01-3) unstable; urgency=medium
.
* Fix leptonica dependency (closes: #815132)
* Drop back to libtesseract3, restore old ABI (closes: #815056)
Checksums-Sha1:
777b18755579334acfdf6639d72209d5232ff2e8 2128 tesseract_3.04.01-3.dsc
cee11296df09687c8d1acc99c6301522e87ee465 7798 tesseract_3.04.01-3.diff.gz
26c949007604fe051dec01d79d3d06fe1c2abb5f 1385742 libtesseract-dev_3.04.01-3_amd64.deb
f921c0153956e51ddd7e63d56d4981ed4d8c83f0 1134792 libtesseract3_3.04.01-3_amd64.deb
122c9da8eae891bf5b977c0ff963ee4b600f9e21 9614 tesseract-ocr-all_3.04.01-3_all.deb
ce58249897a99934e8ad7545c3ced14b499fff8e 11082 tesseract-ocr-dev_3.04.01-3_all.deb
3747b299e228ab56a5022f2cf556e8648052750e 142344 tesseract-ocr_3.04.01-3_amd64.deb
Checksums-Sha256:
f0f7ba1763ebefa6aa215d5f8a3b7a67295d8a7e28dca8f8659cf2ef8151e311 2128 tesseract_3.04.01-3.dsc
851feaf87c35b9b1f57257cd8c776e279596afd34d7ca2fca74c064ec43f352d 7798 tesseract_3.04.01-3.diff.gz
a51261331c64939eae02a35558a5b1e4fbb5f9a13a4ed98df2b00d3a92ffa829 1385742 libtesseract-dev_3.04.01-3_amd64.deb
0b1e0257f1f40b4120219b57a502e04154671c012bd711cf63bbc3008a795f50 1134792 libtesseract3_3.04.01-3_amd64.deb
cad276acb32663dd0ca287a7d53bbc0fd3ae4e75308aecdb7ab586d96017ee91 9614 tesseract-ocr-all_3.04.01-3_all.deb
46d66d14573acefca57611f4300684c302f167af31932bdb05518248611094f7 11082 tesseract-ocr-dev_3.04.01-3_all.deb
b782049581eb617e943a0eb0abd4f33c6b257cd66395d4f82e49cfdbff1c58e8 142344 tesseract-ocr_3.04.01-3_amd64.deb
Files:
375fa787bc1daf7f127f8d008b92ab86 2128 graphics optional tesseract_3.04.01-3.dsc
0bb1292dee8ed9c6caf8d183716af2a1 7798 graphics optional tesseract_3.04.01-3.diff.gz
7dbc1556a6046bfb2c089a9a232f534f 1385742 libdevel optional libtesseract-dev_3.04.01-3_amd64.deb
809aecb34787e21fcfac64836b3ce514 1134792 graphics optional libtesseract3_3.04.01-3_amd64.deb
8f9aef40020ab6437d18e4dd44195bec 9614 graphics optional tesseract-ocr-all_3.04.01-3_all.deb
2b19529aa04b356eb55c257ca85e6348 11082 oldlibs optional tesseract-ocr-dev_3.04.01-3_all.deb
535815d9a22cc3ace3fd28d93fa2e657 142344 graphics optional tesseract-ocr_3.04.01-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJWzlzLAAoJEKh2roMKSazToSwQANQujnMX2RmETfTljuWu/str
36u9sebtpgkl+Aue6AIMUlefGAEQMG0fTN+rWItL8Lf8siZmv3t/xJ67QtNmVWau
Gna1L99S9RyVgSTlxZPoh4M8Qq9Nn8lh5QdZ68UJlXOazInC1XN3OqoNBm8u264W
jTto66NacxdxJKGIyLJtUJ1ot9uoV87TUKoBF+s6Xt1vKikYlQxfnF5+iKegUful
LIKIQdwwtRdB1r2aN7YbrliZNMb2yvo14bWX1R8XVfuwWhHCS1VnfRGKfLS65jaq
/5cTyX7XSDuPbvPoLDC7SqqMtl3ot+aSxDzGrEIQzZlx4bQ4lu3IYcyK9Opndc6K
QygKxIT3XGHi9I5V23sMtUSli2Udb9TI6fi3cT/fhGrkqdsSTh6WYmWFFhAZdv83
T2i6QfkSLVHK3xFR0HEzRzCOCW6drdAqFusLTG6bZjI1PJLeC4ZfidyGj+Sq951N
WqeMLkAEIONNfahs0vGWRG95TG9PraLfAyE+j7v1KDmQGYEh5fY/Ge96W9JB51jl
vv+N83bAukq3MceI19MVjctZNV+04vJX0rq0A6+tjzULfWdcySCax2uti6aKLh1l
VnAkBbWP9T1zZff7awrRyKKdNvGqmYzb9BsgS2G3d0wbjIRJhWlqxfkJX36OFsJ8
oOWTrD7LhiBBdMkmw0bK
=Bmz4
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>:
Bug#815056; Package libtesseract4.
(Mon, 07 Mar 2016 15:39:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Philip Rinn <rinni@inventati.org>:
Extra info received and forwarded to list. Copy sent to Jeffrey Ratcliffe <Jeffrey.Ratcliffe@gmail.com>.
(Mon, 07 Mar 2016 15:39:06 GMT) (full text, mbox, link).
Message #34 received at 815056@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I just want to keep you in the loop: I filed a bug upstream to solve this at the
bottom of the problem:
https://github.com/tesseract-ocr/tesseract/issues/254
Best,
Philip
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 05 Apr 2016 07:35:37 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:
Sat Jan 6 11:39:06 2018;
Machine Name:
buxtehude
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.