ctemplate version 0.97-3 failed to build on amd64 with GCC-4.6/oneiric

Bug #771025 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ctemplate (Debian)
Fix Released
Unknown
ctemplate (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

ctemplate version 0.97-3 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2447938

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/2447938/+files/buildlog_ubuntu-natty-amd64.ctemplate_0.97-3_FAILEDTOBUILD.txt.gz

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

 g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -c src/base/arena.cc -o libctemplate_la-arena.o >/dev/null 2>&1
In file included from ./src/ctemplate/template.h:50:0,
                 from src/template.cc:64:
./src/ctemplate/template_dictionary.h:73:11: error: 'ptrdiff_t' does not name a type
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -c -o libctemplate_la-template_cache.lo `test -f 'src/template_cache.cc' || echo './'`src/template_cache.cc
make[2]: *** [libctemplate_la-template.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -c src/template_cache.cc -fPIC -DPIC -o .libs/libctemplate_la-template_cache.o
 g++ -DHAVE_CONFIG_H -I. -I. -I./src -I./src -pthread -DNDEBUG -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -g -O2 -c src/template_cache.cc -o libctemplate_la-template_cache.o >/dev/null 2>&1
make[2]: Leaving directory `/build/buildd/ctemplate-0.97'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/ctemplate-0.97'
dh_auto_build: make -j2 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110421-2249
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/ctemplate-0.97

Matthias Klose (doko)
Changed in ctemplate (Ubuntu):
importance: Undecided → High
Changed in ctemplate (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in ctemplate (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ctemplate - 0.97-3ubuntu1

---------------
ctemplate (0.97-3ubuntu1) oneiric; urgency=low

  * Add missing includes to build with g++-4.6. Closes: #625002, LP: #771025.
 -- Matthias Klose <email address hidden> Sun, 18 Sep 2011 15:04:02 +0200

Changed in ctemplate (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in ctemplate (Debian):
status: Unknown → New
Changed in ctemplate (Debian):
status: New → Fix Committed
Changed in ctemplate (Debian):
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.