Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 449266

Summary: dev-libs/Ice-3.4.2-r1 - /usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::AsyncResult*)'
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] LibraryAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Martin von Gagern 2012-12-30 08:28:21 UTC
Created attachment 333738 [details]
emerge --info

An upgrade to dev-libs/Ice-3.4.2-r1 from 3.4.2 fails for me:

x86_64-pc-linux-gnu-g++ -Wl,--as-needed -Wl,--enable-new-dtags -Wl,-rpath,"/usr"/lib64 -rd
ynamic -march=amdfam10 -O2 -ggdb -pipe -m64 -Wall -D_REENTRANT -fPIC -DNDEBUG -L../../../l
ib  -o ../../../bin/icestormmigrate Migrate.o SubscriberMap.o LLUMap.o LinkRecord.o V32For
matDB.o V31FormatDB.o V32Format.o V31Format.o  -lIceStormService -lIceStorm -lFreeze  -lIc
e -lIceUtil -lpthread -lrt
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::AsyncResult*
)'
/usr/lib64/libGlacier2.so.34: undefined reference to `IceInternal::upCast(Ice::Communicato
r*)'
/usr/lib64/libGlacier2.so.34: undefined reference to `IceInternal::upCast(Ice::Stats*)'
../../../lib/libIceStormService.so: undefined reference to `IceProxy::IceGrid::upCast(IceP
roxy::IceGrid::Locator*)'
/usr/lib64/libGlacier2.so.34: undefined reference to `IceInternal::upCast(IceProxy::Ice::R
outer*)'
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::ObjectFactor
y*)'
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::Connection*)
'
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::Object*)'
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::ServantLocator*)'
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::ObjectAdapter*)'
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::LocalObject*)'
../../../lib/libIceStormService.so: undefined reference to `IceProxy::IceGrid::upCast(IceProxy::IceGrid::Query*)'
/usr/lib64/libGlacier2.so.34: undefined reference to `IceInternal::upCast(Ice::Properties*)'
/usr/lib64/libIceGrid.so.34: undefined reference to `IceInternal::upCast(Ice::ConnectionI*)'
../../../lib/libIceStormService.so: undefined reference to `IceBox::upCast(IceBox::Service*)'
/usr/lib64/libGlacier2.so.34: undefined reference to `IceInternal::upCast(Ice::Logger*)'
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/icestormmigrate] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/Ice-3.4.2-r1/work/Ice-3.4.2/cpp/src/IceStorm/FreezeDB'
Comment 1 Martin von Gagern 2012-12-30 08:28:48 UTC
Created attachment 333740 [details]
build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-12-30 08:38:59 UTC
"/usr/lib64/libIceGrid.so.34: undefined reference" -- looks like undefined references are coming from the already installed files
how about emerge -C the package owning the files with undefined references, Ice itself? as in, before trying the upgrade
Comment 3 Martin von Gagern 2012-12-30 10:05:56 UTC
The original 3.4.2 ebuild still installs correctly, so this is something introduced by the revbump, it seems. MAKEOPTY=-j1 doesn't help.
Comment 4 Martin von Gagern 2012-12-30 10:31:07 UTC
(In reply to comment #2)
> how about emerge -C […] Ice itself? as in, before trying the upgrade

Does work. I'd consider this a workaround, though, not a fix.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-31 15:31:18 UTC
That looks suspiciously like it's linking against the older, installed library rather than the newly compiled one that is yet to be installed.
Comment 6 Sergey Popov gentoo-dev 2014-02-19 12:32:28 UTC
Please retest with current(3.5.1) version