Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270154 - dev-db/firebird-2.1.1.17910.0 doesn't compile with =dev-libs/icu-4.2
Summary: dev-db/firebird-2.1.1.17910.0 doesn't compile with =dev-libs/icu-4.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://osdir.com/ml/fedora-extras-com...
Whiteboard:
Keywords:
: 274318 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-17 10:30 UTC by Marcin Mirosław
Modified: 2009-08-13 17:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.58 KB, text/plain)
2009-05-17 10:31 UTC, Marcin Mirosław
Details
firebird-gcc-icu-declare-new.patch (firebird-gcc-icu-declare-new.patch,537 bytes, patch)
2009-07-09 11:27 UTC, Steffen 'j0inty' Stollfuß
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2009-05-17 10:30:30 UTC
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.
Comment 1 Marcin Mirosław 2009-05-17 10:31:39 UTC
Created attachment 191527 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-21 17:55:46 UTC
*** Bug 274318 has been marked as a duplicate of this bug. ***
Comment 3 Steffen 'j0inty' Stollfuß 2009-07-09 11:26:59 UTC
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
Comment 4 Steffen 'j0inty' Stollfuß 2009-07-09 11:27:29 UTC
Created attachment 197324 [details, diff]
firebird-gcc-icu-declare-new.patch
Comment 5 Vincent Hardy 2009-08-13 12:22:07 UTC
This bug is very boring since icu-4.2 is now in stable portage tree :
Old emerged Firebird doesn't start anymore.
Comment 6 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-13 17:39:01 UTC
Fixed in portage, thanks for the patch!