libfann version 2.1.0~beta~dfsg-2build1 failed to build on amd64 with GCC-4.6/oneiric

Bug #770839 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libfann (Ubuntu)
Fix Released
High
Unassigned

Bug Description

libfann version 2.1.0~beta~dfsg-2build1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2457495

Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2457495/+files/buildlog_ubuntu-natty-amd64.libfann_2.1.0%7Ebeta%7Edfsg-2build1_FAILEDTOBUILD.txt.gz

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

pyfann/pyfann_wrap.cxx:4183:3: error: 'ptrdiff_t' was not declared in this scope
pyfann/pyfann_wrap.cxx:4183:3: note: suggested alternatives:
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
/usr/include/c++/4.6/x86_64-linux-gnu/bits/c++config.h:156:28: note: 'std::ptrdiff_t'
pyfann/pyfann_wrap.cxx:4183:13: error: expected ';' before 'result'
pyfann/pyfann_wrap.cxx:4199:3: error: 'result' was not declared in this scope
pyfann/pyfann_wrap.cxx:4199:59: error: 'const struct swig::SwigPyIterator' has no member named 'operator-'
pyfann/pyfann_wrap.cxx:4200:48: error: expected type-specifier before 'ptrdiff_t'
pyfann/pyfann_wrap.cxx:4200:48: error: expected '>' before 'ptrdiff_t'
pyfann/pyfann_wrap.cxx:4200:48: error: expected '(' before 'ptrdiff_t'
error: command 'gcc' failed with exit status 1
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/build/buildd/libfann-2.1.0~beta~dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110424-0243
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/libfann-2.1.0~beta~dfsg

Tags: ftbfs oneiric

Related branches

Matthias Klose (doko)
Changed in libfann (Ubuntu):
importance: Undecided → High
Revision history for this message
Christian Kastner (ckk) wrote :

The error comes from the build dependency on swig. Switching to swig2.0 resolves the issue; a fix has been committed for the Debian package.

Changed in libfann (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libfann - 2.1.0~beta~dfsg-4

---------------
libfann (2.1.0~beta~dfsg-4) unstable; urgency=low

  * debian/control:
    - Build-Depend on swig2.0 instead of swig; fixes FTBFS with gcc-4.6.
      Closes: #625123, LP: #770839
 -- Ubuntu Archive Auto-Sync <email address hidden> Mon, 09 May 2011 11:52:55 +0000

Changed in libfann (Ubuntu):
status: Fix Committed → 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.