libdecodeqr version 0.9.3-4 failed to build on i386

Bug #749058 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libdecodeqr (Debian)
Fix Released
Unknown
libdecodeqr (Ubuntu)
Fix Released
High
Fabrice Coutadeur
Oneiric
Fix Released
High
Fabrice Coutadeur

Bug Description

libdecodeqr version 0.9.3-4 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2399586

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2399586/+files/buildlog_ubuntu-natty-i386.libdecodeqr_0.9.3-4_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1489 lines into the build log:

  --mandir=\${prefix}/share/man \
  --infodir=\${prefix}/share/info \
  --sysconfdir=/etc
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for ld... ld
checking for ln... ln
checking for cvCreateImage in -lcv... no

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

configure: error: libcv.la not found.
make: *** [configure-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-0908
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/libdecodeqr-0.9.3

tags: added: oneiric
Changed in libdecodeqr (Ubuntu):
milestone: none → oneiric-alpha-1
Changed in libdecodeqr (Ubuntu Oneiric):
milestone: oneiric-alpha-1 → oneiric-alpha-2
Changed in libdecodeqr (Ubuntu Oneiric):
milestone: oneiric-alpha-2 → none
status: New → Confirmed
tags: added: universe
Matthias Klose (doko)
Changed in libdecodeqr (Ubuntu Oneiric):
importance: Undecided → High
Changed in libdecodeqr (Debian):
status: Unknown → Fix Committed
Changed in libdecodeqr (Ubuntu Oneiric):
assignee: nobody → Fabrice Coutadeur (fabricesp)
status: Confirmed → In Progress
Revision history for this message
Iain Lane (laney) wrote :

I pinged Iwamatsu (Debian maintainer) about this and he said he would "upload soon".

Changed in libdecodeqr (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

Thanks for he confirmation: I was waiting for 0.9.3-5 to be downloadable, as it was suppose to fix the bug.
I'm building it right now to see if it fixes the FTBFS.

Thanks,
Fabrice

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Still FTBFS, with undefined symbols:
...
g++ -Wl,-Bsymbolic-functions -L../../libdecodeqr -o libdecodeqr-simpletest simpletest.o -lcv -lhighgui -lcxcore -ldecodeqr
/usr/bin/ld: ../../libdecodeqr/libdecodeqr.a(imagereader.o): undefined reference to symbol 'cvApproxPoly'
/usr/bin/ld: note: 'cvApproxPoly' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/libcv.so so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6.1/../../../../lib/libcv.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [libdecodeqr-simpletest] Error 1

will open a new bug report to Debian for that.

Revision history for this message
Iain Lane (laney) wrote :

I already did, and patched it. Uploading now.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdecodeqr - 0.9.3-5ubuntu1

---------------
libdecodeqr (0.9.3-5ubuntu1) oneiric; urgency=low

  * debian/patches/04_fix_ftbfs_618132.dpatch: Reorder library linking so that
    -lcv comes after -ldecodeqr which references it.
  * Also fixes FTBFS (LP: #749058)

libdecodeqr (0.9.3-5) unstable; urgency=low

  * Change format to 3.0 (quilt).
    - Add source/format file.
  * Change build tools from CDBS to debhelper.
  * Update debian/rules.
    - Change to debhelper.
  * Update debian/control.
    - Bump up Standards-Version 3.9.2.
    - Update package description.
  * Dump debian/compat to 8.
  * Fix FTBFS with gold or ld --no-add-needed. (Closes: #618132).
    - Add patches/04_fix_ftbfs_618132.dpatch.
  * Fix FTBFS by -fpermissive of option.
    - Add patches/05_fix_ftbfs_permissive.dpatch.
 -- Iain Lane <email address hidden> Wed, 14 Sep 2011 10:41:41 +0100

Changed in libdecodeqr (Ubuntu Oneiric):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.