Your message dated Mon, 13 Feb 2017 22:21:19 +0000
with message-id <[email protected]>
and subject line Bug#842981: fixed in tesseract 3.04.01-6
has caused the Debian Bug report #842981,
regarding tesseract FTCBFS: uses build architecture pkg-config
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.)
--
842981: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842981
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: tesseract
Version: 3.04.01-4
Tags: patch
User: [email protected]
Usertags: rebootstrap
tesseract fails to cross build from source, because it uses plain
pkg-config rather than a host triplet-prefixed one. Thus it fails
finding e.g. pango. The solution is to use $PKG_CONFIG as initialized by
PKG_PROG_PKG_CONFIG. After applying the attached patch tesseract cross
builds. Please consider applying it.
Helmut
diff -u tesseract-3.04.01/debian/changelog tesseract-3.04.01/debian/changelog
--- tesseract-3.04.01/debian/changelog
+++ tesseract-3.04.01/debian/changelog
@@ -1,3 +1,10 @@
+tesseract (3.04.01-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: use triplet-prefixed pkg-config
+
+ -- Helmut Grohne <[email protected]> Wed, 02 Nov 2016 19:37:27 +0100
+
tesseract (3.04.01-4) unstable; urgency=medium
* switch to pbuilder (closes: #815882)
diff -u tesseract-3.04.01/debian/control tesseract-3.04.01/debian/control
--- tesseract-3.04.01/debian/control
+++ tesseract-3.04.01/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Jeffrey Ratcliffe <[email protected]>
Uploaders: Jeff Breidenbach <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), libleptonica-dev (>= 1.70~), automake,
libtool, libpango1.0-dev, libcairo2-dev, libicu-dev
+Build-Depends: debhelper (>= 7.0.50~), libleptonica-dev (>= 1.70~), automake,
libtool, libpango1.0-dev, libcairo2-dev, libicu-dev, pkg-config
Standards-Version: 3.9.6
Homepage: https://github.com/tesseract-ocr
--- tesseract-3.04.01.orig/configure.ac
+++ tesseract-3.04.01/configure.ac
@@ -76,6 +76,8 @@
AM_CONDITIONAL(OSX, false)
AM_CONDITIONAL(GRAPHICS_DISABLED, false)
+PKG_PROG_PKG_CONFIG
+
OPENCL_INC="/opt/AMDAPP/include"
OPENCL_LIBS="-lOpenCL"
#############################
@@ -472,7 +474,7 @@
AC_MSG_WARN(Training tools WILL NOT be built because of missing pango
library.)
AC_MSG_WARN(Try to install libpango1.0-dev package.)
else
- CPPFLAGS="$CPPFLAGS $(pkg-config --cflags pango)"
+ CPPFLAGS="$CPPFLAGS $($PKG_CONFIG --cflags pango)"
fi
AM_CONDITIONAL(ENABLE_TRAINING, $have_pango)
@@ -483,7 +485,7 @@
AC_MSG_WARN(Training tools WILL NOT be built because of missing cairo
library.)
AC_MSG_WARN(Try to install libcairo-dev?? package.)
else
- CPPFLAGS="$CPPFLAGS $(pkg-config --cflags cairo)"
+ CPPFLAGS="$CPPFLAGS $($PKG_CONFIG --cflags cairo)"
fi
AM_CONDITIONAL(ENABLE_TRAINING, $have_cairo)
--- End Message ---
--- Begin Message ---
Source: tesseract
Source-Version: 3.04.01-6
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeff Breidenbach <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 13 Feb 2017 10:56:36 -0800
Source: tesseract
Binary: tesseract-ocr-dev libtesseract-dev libtesseract-data libtesseract3
tesseract-ocr tesseract-ocr-all
Architecture: source all amd64
Version: 3.04.01-6
Distribution: unstable
Urgency: medium
Maintainer: Jeffrey Ratcliffe <[email protected]>
Changed-By: Jeff Breidenbach <[email protected]>
Description:
libtesseract-data - Development files for the tesseract command line OCR tool
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: 842981
Changes:
tesseract (3.04.01-6) unstable; urgency=medium
.
* Fix FTCBFS from Helmut Gruhne (closes: #842981)
Checksums-Sha1:
8d34f2a7c3a6157263f808c8ef96a273e74cccc1 2209 tesseract_3.04.01-6.dsc
88de3ceb313726a029c614644df58964e24a77dc 8529 tesseract_3.04.01-6.diff.gz
88cfc517c922429d9c702fc4a3484ff1031a6646 12280
libtesseract-data_3.04.01-6_all.deb
ce5d753da136d1abf9f2a653aa746db5533ee559 1347040
libtesseract-dev_3.04.01-6_amd64.deb
32267bc2e1abf963f0e09f1e8b510b6bd7fe9a43 11141608
libtesseract3-dbgsym_3.04.01-6_amd64.deb
b1936ac134a65b1119f7a1e3e5251baee466ce1a 1124494
libtesseract3_3.04.01-6_amd64.deb
99f4ef8d3c3e168b315a7aca32f6259897becb56 9936
tesseract-ocr-all_3.04.01-6_all.deb
994f369a8cd4a82f55a0d73c052a0cbc20444338 1923292
tesseract-ocr-dbgsym_3.04.01-6_amd64.deb
f74531fbd4d55e619e0cf075cec13885f8160cc7 11412
tesseract-ocr-dev_3.04.01-6_all.deb
bfbae536888da09945e86b71c6d19ff063d6bb86 142176
tesseract-ocr_3.04.01-6_amd64.deb
6c79d47607a15c928ee280be124ce020e2cff9bb 9741
tesseract_3.04.01-6_amd64.buildinfo
Checksums-Sha256:
841d8678d55d4e4e6a4a595d49fcc2fa512785e020614be4a2661c914bdacc05 2209
tesseract_3.04.01-6.dsc
2ac6b9bb99bb9ee6f9c032bccaa54b4a7cf5279dbffe2091158c572ce34e2012 8529
tesseract_3.04.01-6.diff.gz
71596910fcfef4b4d3a75128679e06fb332eeb99261e61f4240563738dd89dc2 12280
libtesseract-data_3.04.01-6_all.deb
e0dc7ffcd75829007ba5c6cb272438aec73205672930311a52fc3f8f564f8fa7 1347040
libtesseract-dev_3.04.01-6_amd64.deb
300a460056b50c39c64359cc18a9c9816470053ec43690ecd30f9e222d3dd3d0 11141608
libtesseract3-dbgsym_3.04.01-6_amd64.deb
cf44123f915a39d4c756efddf3d460b0d7390e6eafab5514e6dd9ed01f281e49 1124494
libtesseract3_3.04.01-6_amd64.deb
5008d054ce8f01c32143579fc19213768e10be9f27cf4534228971e1e797f20f 9936
tesseract-ocr-all_3.04.01-6_all.deb
f0673e3b294382f39e59339e3a0bcea21e2f52b82f42e8543b832127628a8efa 1923292
tesseract-ocr-dbgsym_3.04.01-6_amd64.deb
a8872746341a6cb4ad575557af836d258cbac9740191938efb236ed41efbb15c 11412
tesseract-ocr-dev_3.04.01-6_all.deb
9883200d158dd4d931f025619d9e43a7fae9207d6ea666d1efbd068760f4f0da 142176
tesseract-ocr_3.04.01-6_amd64.deb
097f26fb956f6652baeae715121fdaa4bd19c16c0065ad3f59f3bbbe4d4a6f31 9741
tesseract_3.04.01-6_amd64.buildinfo
Files:
4477741949b39e4e612d543ffc298c9e 2209 graphics optional tesseract_3.04.01-6.dsc
f259758c36f3173dc23e073da3e3571a 8529 graphics optional
tesseract_3.04.01-6.diff.gz
013736544afa14f0810d5bc32901d04d 12280 libdevel optional
libtesseract-data_3.04.01-6_all.deb
158a7a44e9342c891abb8acc0bf90ddb 1347040 libdevel optional
libtesseract-dev_3.04.01-6_amd64.deb
afa574fefd30b11bc052bf9b08d3e125 11141608 debug extra
libtesseract3-dbgsym_3.04.01-6_amd64.deb
adc8f121c946b8854f834cf02a156191 1124494 graphics optional
libtesseract3_3.04.01-6_amd64.deb
2e4fcab6ea0c1ea33086143b610dd8a0 9936 graphics optional
tesseract-ocr-all_3.04.01-6_all.deb
1fe1623fac03def035fbb777259c2627 1923292 debug extra
tesseract-ocr-dbgsym_3.04.01-6_amd64.deb
4aafd0616e49fb53362d8beb6381238c 11412 oldlibs optional
tesseract-ocr-dev_3.04.01-6_all.deb
07e6c06dd22fc613b7912e43bea224dd 142176 graphics optional
tesseract-ocr_3.04.01-6_amd64.deb
6117efba9e93116a03a543fdff6adf6f 9741 graphics optional
tesseract_3.04.01-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJYoirSAAoJEKh2roMKSazTVMMP/3wlS0oe9VC79KQPn+m5+Kuw
4FIZMUXRS97j7LPzYC8aJCXNHkzDSFpwEmMykPECOxuUoZ9Zt2PuWuLEFbHzsHzV
m5A7IAiwwcaegkjUyPX/2xJFSb8n2CYVbpvDJuxUvpMYtZ3qYdBBGs7yakjZnO73
rEqYViUevxzxrd+boIbCgfYm5Og6gu40sbesVKBK6Z8g1dkV8MvYw2MmJHFwlFP2
L1KWZWoJ/rP34RT1X8HPOqBO+3bv3aCf5tOY/gOTTCkbIPru3dzWe5URZg1EmdUl
7Lw1ms7B5Y0wR5aZfrKIhwEZPTPAONOL91ebDVzoHisjklgDStXEyBzGWOSYhVCV
aWxNsTsP6xnXPWCQAg+oC+0e1v5zfzOpHKE9I03fFZn9+MYNbyB+cG+uCnH+sUqC
zEOrd3gydD0aHbpJKjMd2wJGiecOJV8l+jpKwoX9AFMLrTl/n1oMp/78zF1IxLia
3mYGvacdSbjcBiiovJxZqP7/0PuH12wD5co5wjr8ygiMyUaItpEpMBQ+9ZBMpf/R
dC7i/5+gIWKtZf9LZWsczYne91IlqygBGQa0fQr7Qd5N0LLSTt8NI804OAj++di/
xl6JjyTNtrDCr899rEtIAStKiBAQNzgakWiNNSa2iEWo7r301+6LiY0HUZl78RJM
8Ku5eRITvTW8srt+WwPB
=6bwA
-----END PGP SIGNATURE-----
--- End Message ---