Your message dated Fri, 06 Jan 2012 15:33:29 +0000
with message-id <[email protected]>
and subject line Bug#652854: fixed in libdecodeqr 0.9.3-6.1
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 [email protected]
immediately.)


-- 
652854: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652854
Debian Bug Tracking System
Contact [email protected] 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 <[email protected]>
-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.1

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.1_i386.deb
  to main/libd/libdecodeqr/libdecodeqr-dev_0.9.3-6.1_i386.deb
libdecodeqr-examples_0.9.3-6.1_i386.deb
  to main/libd/libdecodeqr/libdecodeqr-examples_0.9.3-6.1_i386.deb
libdecodeqr0_0.9.3-6.1_i386.deb
  to main/libd/libdecodeqr/libdecodeqr0_0.9.3-6.1_i386.deb
libdecodeqr_0.9.3-6.1.debian.tar.gz
  to main/libd/libdecodeqr/libdecodeqr_0.9.3-6.1.debian.tar.gz
libdecodeqr_0.9.3-6.1.dsc
  to main/libd/libdecodeqr/libdecodeqr_0.9.3-6.1.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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Wed, 04 Jan 2012 16:07:17 +0100
Source: libdecodeqr
Binary: libdecodeqr-dev libdecodeqr0 libdecodeqr-examples
Architecture: source i386
Version: 0.9.3-6.1
Distribution: unstable
Urgency: low
Maintainer: Nobuhiro Iwamatsu <[email protected]>
Changed-By: gregor herrmann <[email protected]>
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.1) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Fix "libdecodeqr FTBFS in unstable "configure: error: libcv.la not
     found."": apply patch from peter green that adjusts debian/{control,rules}
     to the restructured opencv libraries.
     Closes: #652854
Checksums-Sha1: 
 36b9aeddfd6b66499bb60c991d3df224cb4da638 1900 libdecodeqr_0.9.3-6.1.dsc
 b4f85e49ddc833820625e20c724dcab68a8a3f5d 5920 
libdecodeqr_0.9.3-6.1.debian.tar.gz
 dde52137d6a8aafda5986048b4a124872b5cefc9 39968 
libdecodeqr-dev_0.9.3-6.1_i386.deb
 46080a81fdab81f20d730b654ace145bb06f46f8 36986 libdecodeqr0_0.9.3-6.1_i386.deb
 bdcc0481e3b291ab6a1e49071f80c6ea2b913185 141670 
libdecodeqr-examples_0.9.3-6.1_i386.deb
Checksums-Sha256: 
 1a28c5d05f7ed10d8751b625ebd5679553325be40f3c7c0e165d8d94fdc1661e 1900 
libdecodeqr_0.9.3-6.1.dsc
 6048ca26a1921d704da147415ae0381fda760257ba74d4867c1d5c9e00cc22db 5920 
libdecodeqr_0.9.3-6.1.debian.tar.gz
 71378c17d1fa177568cfc9406ec922c4fc6c930c38f7d84827cd44ab7a3dc09c 39968 
libdecodeqr-dev_0.9.3-6.1_i386.deb
 d699a1c38c0b4262ab6dc67da4297bcb33758a64fde184627547991628c113ac 36986 
libdecodeqr0_0.9.3-6.1_i386.deb
 f39afad43c76443d4a760d84c234285a8129f99219d80a27656d561a6ab19657 141670 
libdecodeqr-examples_0.9.3-6.1_i386.deb
Files: 
 bd743b97356772e55ddfc3509160937d 1900 libs optional libdecodeqr_0.9.3-6.1.dsc
 ba049a1871117609ba97dc520d1d50a3 5920 libs optional 
libdecodeqr_0.9.3-6.1.debian.tar.gz
 085aabbc66ed584a643ba2ecbccea02c 39968 libdevel optional 
libdecodeqr-dev_0.9.3-6.1_i386.deb
 3310445ef657f44758c777ee0242860d 36986 libs optional 
libdecodeqr0_0.9.3-6.1_i386.deb
 1d6252ce6f4fb8a9efe65c644f79a8b7 141670 libs optional 
libdecodeqr-examples_0.9.3-6.1_i386.deb

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

iQIcBAEBCAAGBQJPBGwaAAoJELs6aAGGSaoGO2QQAI9/z1Zag/LK9XHvrQb394TS
phCsyDWu4wKdNayZYdZe4E9Ym5DF+r9nSbrIuQP91/+Mhn7DwVvhdhbw7qWNhCB7
Js9EOdYErnPQTVBtfSIuGL7+wLT0hLm4xBfjOh28LqhkTmJXFevj4aqUEQrxKWV5
Me4l6AQTp8gsITNT6FEGzsy0Nv7LBLD2+opQteYi1r4NcErImV5UN28uOyGpbIZI
lNmOHLNpDElMkIWEai2XUxRbL6ezzyFbnI95u3M/64qN4y9FTWG5QfoTEdOBqJHQ
BTY3bHNhJ5AEa+HzeUvnzFJYpUegV87qrchksT9NLi2aK1qTvsCXm9tPds8cD7az
dNukbQgmBp7TRmBsoVSx2bRk3g8haPJneDP/A89UhTIbVoakbBgS63hDKut38ch/
t0UxYbE/1+kUmIHWys0PTui6Ky1Pl8mCr7ZuseuXhVaRy5e1UpvsBrie583woXU9
zto3UkRXTxpKEg0Jodmhpw7NOrtEiabRWJwlO46PF+0lM9MjHcfR6dW4Ew7kgHuF
SQIoYiZ39z/mcDxhepWd6JszMSkfArHyZHXvg8o/JqJamajxyPep3+03+SGemX8t
BS/l43/lGKP9RfIyxdWzsK8q3Y5m1vgyasy21ayLFOifkhNZgmCOT+TT/oaATANY
zZHdcS7Lqd2jB7YsKijw
=GTqv
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to