Gentoo Archives: gentoo-desktop

From: Brent Busby <brent@×××××××××.org>
To: gentoo-desktop@l.g.o
Subject: [gentoo-desktop] kde-sunset: new akode build problems
Date: Fri, 20 Aug 2010 12:26:14
Message-Id: Pine.LNX.4.64.1008200716150.2488@village.keycorner.org
1 Recently, because of the libpng upgrade fiasco that caused so many
2 people to pull their hair out with .la file problems, the main Gentoo
3 developers started having libtool compile things with '--as-needed',
4 which is generally a good thing.
5
6 However, I just recently started setting up a new machine with KDE 3
7 from the kde-sunset overlay, and ran into this build issue with akode:
8
9 Making all in akodeplay
10 make[3]: Entering directory
11 `/var/tmp/portage/media-libs/akode-2.0.2/work/akode-2.0.2/akode/akodeplay'
12 if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..
13 -I../../akode/lib -I../../akode/lib -I../../akode/lib -O2
14 -march=athlon64 -pipe -MT akodeplay.o -MD -MP -MF ".deps/akodeplay.Tpo"
15 -c -o akodeplay.o akodeplay.cpp; \
16 then mv -f ".deps/akodeplay.Tpo" ".deps/akodeplay.Po"; else rm
17 -f ".deps/akodeplay.Tpo"; exit 1; fi
18 /bin/sh ../../libtool --silent --tag=CXX --mode=link
19 x86_64-pc-linux-gnu-g++ -O2 -march=athlon64 -pipe -Wl,-O1
20 -Wl,--as-needed -o akodeplay akodeplay.o ../lib/libakode.la
21 x86_64-pc-linux-gnu-g++: ../lib/.libs/libakode.so: No such file or
22 directory
23 make[3]: *** [akodeplay] Error 1
24
25 This is from a fairly fresh and up-to-date install of Gentoo that uses
26 GCC 4.4.3 as the system compiler, and it looks like libtool is doing the
27 new '--as-needed' thing, though I don't know if that's related to the
28 failure or not.
29
30 Has anyone else seen this? I don't know how to fix it, but it would be
31 good if we can keep the overlay able to compile KDE on a fresh machine
32 if needed. Let me know if you want me to try anything.
33
34 --
35 + Brent A. Busby + "We've all heard that a million monkeys
36 + UNIX Systems Admin + banging on a million typewriters will
37 + University of Chicago + eventually reproduce the entire works of
38 + Physical Sciences Div. + Shakespeare. Now, thanks to the Internet,
39 + James Franck Institute + we know this is not true." -Robert Wilensky

Replies

Subject Author
Re: [gentoo-desktop] kde-sunset: new akode build problems Brent Busby <brent@×××××××××.org>