cadabra version 1.26-3 failed to build on i386

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

Bug Description

cadabra version 1.26-3 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2446864

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2446864/+files/buildlog_ubuntu-natty-i386.cadabra_1.26-3_FAILEDTOBUILD.txt.gz

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

  do g++ -g -O2 -Wall -I. -I../src `pkg-config modglue --cflags` -E -MM -MT `echo $i | sed -e 's/\.\///' -e 's/\.cc/\.o/'` -g -O2 $i >> .depend; \
  done
make[2]: Leaving directory `/build/buildd/cadabra-1.26/src'
make[2]: Entering directory `/build/buildd/cadabra-1.26/src'
g++ -g -O2 -Wall -I. -I../src `pkg-config modglue --cflags` -D"RELEASE=\"1.26\"" -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" -c -o preprocessor.o preprocessor.cc
g++ -g -O2 -Wall -I. -I../src `pkg-config modglue --cflags` -D"RELEASE=\"1.26\"" -D"DATETIME=\"`date | sed -e 's/ / /'`\"" -DHOSTNAME=\"`hostname`\" -c -o storage.o storage.cc
In file included from storage.hh:40:0,
                 from storage.cc:21:
tree.hh:92:13: error: 'ptrdiff_t' does not name a type
make[2]: *** [storage.o] Error 1
make[2]: Leaving directory `/build/buildd/cadabra-1.26/src'
make[1]: *** [program] Error 2
make[1]: Leaving directory `/build/buildd/cadabra-1.26'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110419-0935
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/cadabra-1.26

Tags: ftbfs oneiric
Matthias Klose (doko)
Changed in cadabra (Ubuntu):
importance: Undecided → High
Revision history for this message
Iulian Udrea (iulian) wrote :

I have just applied a patch which fixes this build failure and uploaded the new package to Debian.

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

This bug was fixed in the package cadabra - 1.26-4

---------------
cadabra (1.26-4) unstable; urgency=low

  * Ack Non-maintainer upload.
  * Add missing include. Closes: #625029 and LP: #765931.
    - Add "#include <cstddef>" to both src/{tree.h,youngtab.hh} because of
      "error: 'ptrdiff_t' does not name a type".
 -- Ubuntu Archive Auto-Sync <email address hidden> Sun, 15 May 2011 07:33:40 +0000

Changed in cadabra (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.