[pkg-firebird-general] Bug#542988: firebird2.1: FTBFS: new:95: error: declaration of 'void* operator new(size_t) throw (std::bad_alloc)' throws different exceptions

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 22 15:45:36 UTC 2009


Package: firebird2.1
Version: 2.1.2.18118-0.ds1-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20090822 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> g++ -g -O2 -DTERMINATE_IDLE_LOCK_MANAGER -Werror=write-strings  -fno-rtti -DBOOT_BUILD  -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -pipe -MMD -fPIC -fmessage-length=0 -O3 -fno-omit-frame-pointer  -DPROD_BUILD -c ../src/jrd/unicode_util.cpp -o ../temp/boot/jrd/unicode_util.o
> In file included from ../src/jrd/../jrd/unicode_util.h:30,
>                  from ../src/jrd/unicode_util.cpp:30:
> ../src/jrd/../jrd/intlobj_new.h:150: warning: 'texttype' has a field 'texttype::texttype_impl' whose type uses the anonymous namespace
> ../src/jrd/../jrd/intlobj_new.h:226: warning: 'csconvert' has a field 'csconvert::csconvert_impl' whose type uses the anonymous namespace
> ../src/jrd/../jrd/intlobj_new.h:299: warning: 'charset' has a field 'charset::charset_impl' whose type uses the anonymous namespace
> In file included from /usr/include/c++/4.3/ext/new_allocator.h:37,
>                  from /usr/include/c++/4.3/x86_64-linux-gnu/bits/c++allocator.h:39,
>                  from /usr/include/c++/4.3/bits/allocator.h:53,
>                  from /usr/include/c++/4.3/string:48,
>                  from /usr/include/unicode/std_string.h:39,
>                  from /usr/include/unicode/unistr.h:31,
>                  from /usr/include/unicode/strenum.h:14,
>                  from /usr/include/unicode/uenum.h:23,
>                  from /usr/include/unicode/ucnv.h:51,
>                  from ../src/jrd/unicode_util.cpp:42:
> /usr/include/c++/4.3/new:95: error: declaration of 'void* operator new(size_t) throw (std::bad_alloc)' throws different exceptions
> ../src/jrd/../common/classes/alloc.h:434: error: from previous declaration 'void* operator new(size_t) throw (Firebird::BadAlloc)'
> /usr/include/c++/4.3/new:96: error: declaration of 'void* operator new [](size_t) throw (std::bad_alloc)' throws different exceptions
> ../src/jrd/../common/classes/alloc.h:442: error: from previous declaration 'void* operator new [](size_t) throw (Firebird::BadAlloc)'
> /usr/include/c++/4.3/new: In function 'void* operator new(size_t, void*)':
> /usr/include/c++/4.3/new:105: error: redefinition of 'void* operator new(size_t, void*)'
> ../src/jrd/../common/classes/alloc.h:451: error: 'void* operator new(size_t, void*)' previously defined here
> /usr/include/c++/4.3/new: In function 'void* operator new [](size_t, void*)':
> /usr/include/c++/4.3/new:106: error: redefinition of 'void* operator new [](size_t, void*)'
> ../src/jrd/../common/classes/alloc.h:455: error: 'void* operator new [](size_t, void*)' previously defined here
> make[4]: *** [../temp/boot/jrd/unicode_util.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/08/22/firebird2.1_2.1.2.18118-0.ds1-4_lsid64.buildlog

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.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-firebird-general mailing list