Probably any version of Firebird doesn't compile with icu-4.2 . i686-pc-linux-gnu-g++ -O2 -march=native -mmmx -msse -m3dnow -pipe -fpeel-loops -ftracer -O2 -march=native -mmmx -msse -m3dnow -pipe -fpeel-loops -ftracer -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -O2 -march=native -mmmx -msse -m3dnow -pipe -fpeel-loops -ftracer -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -O2 -march=native -mmmx -msse -m3dnow -pipe -fpeel-loops -ftracer -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DLINUX -pipe -MMD -fPIC -DPROD_BUILD -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DNDEBUG -ggdb -DLINUX -pipe -MMD -fPIC -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/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/ext/new_allocator.h:37, from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/i686-pc-linux-gnu/bits/c++allocator.h:39, from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/bits/allocator.h:53, from /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/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/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/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/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/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/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/new: In function 'void* operator new(size_t, void*)': /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/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/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/new: In function 'void* operator new [](size_t, void*)': /usr/lib/gcc/i686-pc-linux-gnu/4.3.3/include/g++-v4/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[3]: *** [../temp/boot/jrd/unicode_util.o] Error 1 rm ../src/jrd/dfw.cpp ../src/jrd/dyn_mod.cpp ../src/jrd/dyn_def.cpp ../src/jrd/dyn.cpp ../src/jrd/dpm.cpp ../src/jrd/pcmet.cpp ../src/jrd/met.cpp ../src/jrd/grant.cpp ../src/jrd/scl.cpp ../src/jrd/ini.cpp ../src/jrd/dyn_util.cpp ../src/jrd/dyn_del.cpp ../src/jrd/fun.cpp make[3]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/work/Firebird-2.1.1.17910-0/gen' make[2]: *** [libfbstatic] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/work/Firebird-2.1.1.17910-0/gen' make[1]: *** [../gen/firebird/bin/gpre_static] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/work/Firebird-2.1.1.17910-0/gen' make: *** [firebird] Error 2 * * ERROR: dev-db/firebird-2.1.1.17910.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3244: Called die * The specific snippet of code: * emake -j1 || die "error during make" * The die message: * error during make * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/firebird-2.1.1.17910.0/temp/environment'. * Reproducible: Always Steps to Reproduce: 1.emerge =dev-libs/icu-4.2 2.emerge =dev-db/firebird-2.1.1.17910.0 3. Expected Results: Compile cleanly.
Created attachment 191527 [details] emerge --info
*** Bug 274318 has been marked as a duplicate of this bug. ***
Hi, I ran into the same problem and found a solution for it here on this website http://osdir.com/ml/fedora-extras-commits/2009-05/msg07017.html Based on this informations I made a patch that fix the problem with icu-4.2 libary. j0inty
Created attachment 197324 [details, diff] firebird-gcc-icu-declare-new.patch
This bug is very boring since icu-4.2 is now in stable portage tree : Old emerged Firebird doesn't start anymore.
Fixed in portage, thanks for the patch!