Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stupid problem emerging new KDE (3.4.0)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
aarestad
n00b
n00b


Joined: 09 Jan 2004
Posts: 32
Location: Chicago, USA

PostPosted: Sun May 29, 2005 6:39 pm    Post subject: Stupid problem emerging new KDE (3.4.0) Reply with quote

I'm trying to emerge the new KDE, but it's failing on the emerge of ARTS on this make command:

Code:
/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99    -o libmcop.la -rpath /usr/kde/3.4/lib -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info 1:0  -L/usr/kde/3.4/lib -L/usr/qt/3/lib -L/usr/lib    buffer.lo connection.lo core.lo debug.lo dispatcher.lo iomanager.lo object.lo socketconnection.lo tcpconnection.lo unixconnection.lo tcpserver.lo unixserver.lo objectmanager.lo factory.lo idlfilereg.lo ifacerepo_impl.lo mcoputils.lo startupmanager.lo md5.lo md5auth.lo referenceclean.lo datapacket.lo asyncstream.lo notification.lo flowsystem.lo extensionloader.lo tmpglobalcomm.lo mcopconfig.lo connect.lo reference.lo type.lo trader_impl.lo dynamicrequest.lo anyref.lo loopback.lo delayedreturn.lo thread.lo dynamicskeleton.lo -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0   ../libltdl/libltdlc.la


It produces a cascade of errors that look like this:
Code:
.libs/buffer.o(.text+0xe0): In function `Arts::Buffer::~Buffer [not-in-charge]()':
: undefined reference to `std::__default_alloc_template<(bool)1, (int)0>::deallocate(void*, unsigned)


So it's like it can't find the proper functions in libstdc++...

Here's my /etc/make.conf:
Code:
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="boo tcltk X bash-completion gtk gnome qt kde dvd alsa java python perl oss offensive gcj mmx alsa quicktime oggvorbis mpeg jpeg gif tiff truetype zlib net joystick doc"
ALSA_CARDS="emu10k1"


And here's /etc/portage/package.keywords:
Code:
dev-dotnet/xsp ~x86
dev-lang/mono ~x86
dev-dotnet/libgdiplus ~x86
x11-libs/cairo ~x86
app-antivirus/clamav ~x86
sci-mathematics/scilab ~x86
dev-lang/boo ~x86
dev-util/monodevelop ~x86
gnome-extra/gdesklets-core ~x86
dev-python/gnome-python ~x86
dev-python/pyorbit ~x86
x11-plugins/desklet-calendar ~x86
x11-plugins/desklet-clock ~x86
x11-plugins/desklet-regexp ~x86
x11-plugins/desklet-psisensors ~x86
kde-base/kde ~x86
kde-base/kdeartwork ~x86
kde-base/kdelibs ~x86
kde-base/arts ~x86
kde-base/kdebase ~x86
kde-base/kdegames ~x86
kde-base/kdepim ~x86
kde-base/kdegraphics ~x86
kde-base/kdenetwork ~x86
kde-base/kdetoys ~x86
kde-base/kdeadmin ~x86
kde-base/kdemultimedia ~x86
kde-base/kdeaddons ~x86
kde-base/kdeedu ~x86
kde-base/kdeutils ~x86
sys-libs/db ~x86


I've seen this problem before, and I thought you fixed it with the env-update command, but that didn't seem to work for me.
_________________
During times of universal deceit, telling the truth becomes a revolutionary act.
--George Orwell
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Sun May 29, 2005 7:15 pm    Post subject: Reply with quote

A possible hint: https://bugs.gentoo.org/show_bug.cgi?id=91721
Back to top
View user's profile Send private message
aarestad
n00b
n00b


Joined: 09 Jan 2004
Posts: 32
Location: Chicago, USA

PostPosted: Sun May 29, 2005 7:22 pm    Post subject: Reply with quote

OK, so it seems there is an issue with binutils-2.15.92.0.2-r7 (they specify r1, but it seems to be the same error). Two suggested fixes are either downgrade binutils to 2.15.90.0.1.1-r3, or upgrade gcc to the 3.4 series - I'll try the latter.

Later...

Hmm, upgrading gcc didn't work. Anyone else have any idea on what's going on here? Also, I'm noticing a similar problem when trying to emerge media-libs/id3lib - I'm getting similar "unresolved symbol" errors.
_________________
During times of universal deceit, telling the truth becomes a revolutionary act.
--George Orwell
Back to top
View user's profile Send private message
aarestad
n00b
n00b


Joined: 09 Jan 2004
Posts: 32
Location: Chicago, USA

PostPosted: Mon May 30, 2005 1:15 am    Post subject: Reply with quote

OK, I have it. I had another version of gcc in /usr/local, and evidently gcc was getting confused by including those libraries in the cache. I wiped out everything in /usr/local, and everything is working silky smooth now. Sing this far and wide! This is the cause of the issue.
_________________
During times of universal deceit, telling the truth becomes a revolutionary act.
--George Orwell
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum