Your message dated Sun, 08 Jan 2012 00:47:12 +0000
with message-id <e1rjgum-0001xs...@franck.debian.org>
and subject line Bug#652854: fixed in libdecodeqr 0.9.3-6.2
has caused the Debian Bug report #652854,
regarding libdecodeqr FTBFS in unstable "configure: error: libcv.la not found."
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.)


-- 
652854: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652854
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
package: libdecodeqr
severity: serious
tags: patch
version: 0.9.3-6

libdecodeqr FTBFS in unstable with the following errors. This was initially seen on the armhf and s390x buildds
and I have reproduced it locally on amd64.

checking for ln... ln
checking for cvCreateImage in -lcv... no
configure: error: libcv.la not found.

If your system already has OpenCV, append place of the libcv.la
to your LDFLAGS environment variables. eg,

LDFLAGS="$LDFLAGS -L/usr/local/opencv/lib";export LDFLAGS

dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr 
--includedir=${prefix}/include --mandir=${prefix}/share/man 
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--libexecdir=${prefix}/lib/libdecodeqr --disable-maintainer-mode 
--disable-dependency-tracking returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory 
`/build/buildd-libdecodeqr_0.9.3-6-armhf-sT8VVJ/libdecodeqr-0.9.3'
make: *** [build] Error 2

It appears this is caused by restructuring of the opencv libraries.
The attatched patch to debian/rules and debian/control makes
the package build.
diff -ur libdecodeqr-0.9.3/debian/control libdecodeqr-0.9.3.new/debian/control
--- libdecodeqr-0.9.3/debian/control	2011-09-15 23:18:38.000000000 +0000
+++ libdecodeqr-0.9.3.new/debian/control	2011-12-21 01:58:14.000000000 +0000
@@ -1,7 +1,7 @@
 Source: libdecodeqr
 Priority: optional
 Maintainer: Nobuhiro Iwamatsu <iwama...@debian.org>
-Build-Depends: debhelper (>= 8), libhighgui-dev, quilt
+Build-Depends: debhelper (>= 8), libhighgui-dev, quilt, libcv-dev
 Standards-Version: 3.9.2
 Section: libs
 Homepage: http://trac.koka-in.org/libdecodeqr
diff -ur libdecodeqr-0.9.3/debian/rules libdecodeqr-0.9.3.new/debian/rules
--- libdecodeqr-0.9.3/debian/rules	2011-09-15 23:22:25.000000000 +0000
+++ libdecodeqr-0.9.3.new/debian/rules	2011-12-21 02:17:57.000000000 +0000
@@ -16,11 +16,16 @@
 	- $(MAKE) -C src distclean
 	rm -rf src/Makefile src/libdecodeqr/Makefile src/sample/Makefile src/sample/simple/Makefile src/sample/webcam/Makefile src/test/Makefile
 	rm -rf modules/python/src2/hdr_parser.pyc
-
+	rm -f src/config.log
 	dh_clean
 
+export CPPFLAGS += -I/usr/include/opencv
+
 override_dh_auto_configure:
-	dh_auto_configure --sourcedirectory=src
+	dh_auto_configure --sourcedirectory=src -- --with-cv=opencv_core --with-highgui=opencv_highgui 
+	sed -i s/cxcore/opencv_imgproc/ src/libdecodeqr/Makefile
+	sed -i s/cxcore/opencv_imgproc/ src/sample/simple/Makefile
+	sed -i s/cxcore/opencv_imgproc/ src/sample/webcam/Makefile
 
 override_dh_auto_build:
 	$(MAKE) -C src DESTDIR=$(CURDIR)/debian/tmp

--- End Message ---
--- Begin Message ---
Source: libdecodeqr
Source-Version: 0.9.3-6.2

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

libdecodeqr-dev_0.9.3-6.2_i386.deb
  to main/libd/libdecodeqr/libdecodeqr-dev_0.9.3-6.2_i386.deb
libdecodeqr-examples_0.9.3-6.2_i386.deb
  to main/libd/libdecodeqr/libdecodeqr-examples_0.9.3-6.2_i386.deb
libdecodeqr0_0.9.3-6.2_i386.deb
  to main/libd/libdecodeqr/libdecodeqr0_0.9.3-6.2_i386.deb
libdecodeqr_0.9.3-6.2.debian.tar.gz
  to main/libd/libdecodeqr/libdecodeqr_0.9.3-6.2.debian.tar.gz
libdecodeqr_0.9.3-6.2.dsc
  to main/libd/libdecodeqr/libdecodeqr_0.9.3-6.2.dsc



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 652...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libdecodeqr 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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 08 Jan 2012 01:35:19 +0100
Source: libdecodeqr
Binary: libdecodeqr-dev libdecodeqr0 libdecodeqr-examples
Architecture: source i386
Version: 0.9.3-6.2
Distribution: unstable
Urgency: low
Maintainer: Nobuhiro Iwamatsu <iwama...@debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Description: 
 libdecodeqr-dev - C/C++ library for decoding QR code
 libdecodeqr-examples - Sample program in C/C++ library for decoding QR code
 libdecodeqr0 - C/C++ library for decoding QR code
Closes: 652854
Changes: 
 libdecodeqr (0.9.3-6.2) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Add patch 06_fix_link_order.patch, again provided by peter green: reorder
     linking in Makefile.ins, otherwise the package FTBFS (without
     binutils-gold). Now hopefully really closes: #652854.
Checksums-Sha1: 
 968f28359f59fe974bb3cfce1bc0c654921fc259 1900 libdecodeqr_0.9.3-6.2.dsc
 1b655ae885dea5194aa6a2825a2c419e6c8b5ad0 6332 
libdecodeqr_0.9.3-6.2.debian.tar.gz
 566723ddee843a4d36b5e6c78064a87f64df1aec 40112 
libdecodeqr-dev_0.9.3-6.2_i386.deb
 196dd256039bf3b0b83708d3dd5baaae15374aa7 36730 libdecodeqr0_0.9.3-6.2_i386.deb
 6d7ddb357be159205683b035c77759426f388aee 142552 
libdecodeqr-examples_0.9.3-6.2_i386.deb
Checksums-Sha256: 
 b5a149d75ac48a890186e071f09821fd027a5087920c4f0b67a2186421b9107d 1900 
libdecodeqr_0.9.3-6.2.dsc
 f1103fad86a073ebfae4c9f1c18a0c14554294d383685130b891ece63b7e3a20 6332 
libdecodeqr_0.9.3-6.2.debian.tar.gz
 e5cfdc887dd29d06cb3f339900c0b438591f555d392e85c4907cbcdcd3354431 40112 
libdecodeqr-dev_0.9.3-6.2_i386.deb
 e846bd405240ee343bb9e142fd8636c1fb362bf4476a9b32bda91ef0d8d1113e 36730 
libdecodeqr0_0.9.3-6.2_i386.deb
 58cc5004da2b4caa25511597f61d6a0ae012739a267038e281dd8d8aa2cdac12 142552 
libdecodeqr-examples_0.9.3-6.2_i386.deb
Files: 
 532cc205f0ebfbaceda200665f7a6fc1 1900 libs optional libdecodeqr_0.9.3-6.2.dsc
 9c8f49932f77f8657198f832ce1bcb7f 6332 libs optional 
libdecodeqr_0.9.3-6.2.debian.tar.gz
 66d7d1bc4d619c7ae48c2062b1965efd 40112 libdevel optional 
libdecodeqr-dev_0.9.3-6.2_i386.deb
 3e4e214bf1ef619a655d416b95f9b15b 36730 libs optional 
libdecodeqr0_0.9.3-6.2_i386.deb
 65cec8461f94ab353bee0a441f7cd459 142552 libs optional 
libdecodeqr-examples_0.9.3-6.2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJPCOYNAAoJELs6aAGGSaoG/DMQAKWBPX6H5q756znCfHVjXh7X
4H0xdp+ta2FbCoF/HcBVofU8zd/7XymCUB0lNsuQbLlEtlOGq21NAihNiZBFZSua
U/K1CDZCoJ9rZVvzz+i2Qq/rvZ2xPne6HHdaF8DPhmdgJhMMclkAtL3ggklMgJly
7fqGEGvO+g/nVoisM99sVDyjcv7UJCcBsPb/S1VSI8txHVGJX64qO/sJH6oFDUXA
nqFGv6K94XJMlX3NZPnNvR2MYtvQMM7GtJewP5Jccqu0JU8qQuocP6MJJFhg9pZ+
t065UIOhm873xii3Sbw8KlNUXtQARrnFSP55a94te6oo49HjbUdnQryBi/GtsU3+
9QUyMwtQBfZ/LbYWV1jTN5mw8VX+ZLHguZ2qERqmW2uSipGPGro135W4+92eld7D
dEr74D6DvY2NQudtnJy8d+aHZCv9Tqg/VX/cNMcEkvuahUKi5BfeSlepSWUGt4JC
rK8vOyrqqYIRvLNX1ChXvd5JPoo1MpClon4r+NTttxwisCpr5/MbT6NNh/n9GGAE
KIUsEJtv6gLCTLq/KNfePJGQx/GAop+K8fArCMabsTyicbAEebqZUZCNoFS6mZJJ
EPGbUnkA4BYAKGVRksb5a8whzdMQzR7sWHfoda/ukf44YUQVxNBlmDizhn9spjlN
6+0BaFn0y3J8SYYNU8ol
=EwpQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to