Bug#671991: grass: FTBFS: mm.cc:259:32: error: declaration of 'void* operator new [](size_t)' has a different exception specifier

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 11:38:05 UTC 2012


Source: grass
Version: 6.4.1-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> c++ -I/«PKGBUILDDIR»/dist.x86_64-pc-linux-gnu/include  -g -O2   -D_FILE_OFFSET_BITS=64   -DPACKAGE=\""grasslibs"\"  -I/«PKGBUILDDIR»/dist.x86_64-pc-linux-gnu/include -o OBJ.x86_64-pc-linux-gnu/mm.o -c mm.cc
> mm.cc: In function 'void* operator new [](size_t)':
> mm.cc:259:32: error: declaration of 'void* operator new [](size_t)' has a different exception specifier
> In file included from mm.cc:29:0:
> /«PKGBUILDDIR»/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:114:17: error: from previous declaration 'void* operator new [](std::size_t) throw (std::bad_alloc)'
> mm.cc:310:30: error: declaration of 'void* operator new(size_t)' has a different exception specifier
> In file included from mm.cc:29:0:
> /«PKGBUILDDIR»/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:113:17: error: from previous declaration 'void* operator new(std::size_t) throw (std::bad_alloc)'
> mm.cc:362:32: error: declaration of 'void operator delete(void*)' has a different exception specifier
> In file included from mm.cc:29:0:
> /«PKGBUILDDIR»/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:115:15: error: from previous declaration 'void operator delete(void*) throw ()'
> mm.cc:402:34: error: declaration of 'void operator delete [](void*)' has a different exception specifier
> In file included from mm.cc:29:0:
> /«PKGBUILDDIR»/dist.x86_64-pc-linux-gnu/include/grass/iostream/mm.h:116:15: error: from previous declaration 'void operator delete [](void*) throw ()'
> make[4]: *** [OBJ.x86_64-pc-linux-gnu/mm.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/grass_6.4.1-2_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-grass-devel mailing list