late version 0.1.0-11 failed to build on amd64 with GCC-4.6/oneiric

Bug #770857 reported by Matthias Klose on 2011-04-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
late (Debian)
Fix Released
Unknown
late (Ubuntu)
High
Unassigned

Bug Description

late version 0.1.0-11 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2456019

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/2456019/+files/buildlog_ubuntu-natty-amd64.late_0.1.0-11_FAILEDTOBUILD.txt.gz

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

if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"late\" -DVERSION=\"0.1.0\" -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSTDC__=1 -I. -I. -Wall -DDATADIR=\"/usr/share/games/late\" -DLOCALSTATEDIR=\"/usr/var\" -Wall -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT init.o -MD -MP -MF ".deps/init.Tpo" \
   -c -o init.o `test -f 'init.cpp' || echo './'`init.cpp; \
 then mv -f ".deps/init.Tpo" ".deps/init.Po"; \
 else rm -f ".deps/init.Tpo"; exit 1; \
 fi
In file included from game.h:27:0,
                 from init.cpp:22:
ball.h: In destructor 'ball::~ball()':
ball.h:113:19: error: 'NULL' was not declared in this scope
make[2]: *** [init.o] Error 1
make[2]: Leaving directory `/build/buildd/late-0.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/buildd/late-0.1.0'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110424-0008
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/late-0.1.0

Related branches

Matthias Klose (doko) on 2011-04-26
Changed in late (Ubuntu):
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package late - 0.1.0-12

---------------
late (0.1.0-12) unstable; urgency=low

  * Team upload.
  * Include stddef.h in ball.h to define NULL.
    Closes: #624937
    LP: #770857
  * Drop /bin/ from post{inst,rm}, thanks lintian.
  * Fix copyright file, thanks lintian.
  * Add misc:Depends and improve Description, thanks lintian, again!
 -- Ubuntu Archive Auto-Sync <email address hidden> Sun, 08 May 2011 07:35:50 +0000

Changed in late (Ubuntu):
status: New → Fix Released
Changed in late (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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