Gentoo Archives: gentoo-user

From: Kevin O'Gorman <kogorman@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] kdelibs won't build after change in GCC to 4.1.2 from 3.4.6
Date: Wed, 17 Oct 2007 04:38:58
Message-Id: 9acccfe50710162123v121b81a3w12c94565df09e21f@mail.gmail.com
1 I just upgraded to GCC 4.1.2, and have rebuilt system. I'm about halfway
2 through rebuilding world, and it's choking on kdelibs.
3 The complaint seems to be about libstdc++, which does not seem to exist.
4 Moreover, the only ebuild related to it that I can see is the compatibility
5 library that is already emerged.
6
7 The actual error I see is:
8 /bin/sh ../../libtool --silent --tag=CXX --mode=compile
9 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop
10 -I../../kdecore -I../../kio/kssl -I../../kjs -I../../arts/kde -I../..
11 -I/usr/kde/3.5/include/arts -I../../dcop -I../../libltdl -I../../kdefx
12 -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui
13 -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include
14 -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT
15 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
16 -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2
17 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx
18 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
19 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
20 -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
21 libartskde_la.all_cpp.lo libartskde_la.all_cpp.cpp
22 /bin/sh ../../libtool --silent --tag=CXX --mode=compile
23 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop
24 -I../../kdecore -I../../kio/kssl -I../../kjs -I../../arts/kde -I../..
25 -I/usr/kde/3.5/include/arts -I../../dcop -I../../libltdl -I../../kdefx
26 -I../../kdecore -I../../kdecore -I../../kdecore/network -I../../kdeui
27 -I../../kio -I../../kio/kio -I../../kio/kfile -I../.. -I/usr/qt/3/include
28 -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT
29 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
30 -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2
31 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx
32 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
33 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
34 -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o
35 libartskde_la.all_cc.lo libartskde_la.all_cc.cc
36 /bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++
37 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
38 -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2
39 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx
40 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
41 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
42 -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o
43 libartskde.la -rpath /usr/kde/3.5/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib
44 -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -version-info
45 3:0:2 libartskde_la.all_cc.lo libartskde_la.all_cpp.lo ../../kio/libkio.la
46 -lqtmcop -lsoundserver_idl
47 libtool: link: warning: `/lib/libacl.la' seems to be moved
48 libtool: link: warning: `/lib/libattr.la' seems to be moved
49 grep: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.la: No such file or
50 directory
51 /bin/sed: can't read /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.la: No
52 such file or directory
53 libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.la' is not a
54 valid libtool archive
55 make[3]: *** [libartskde.la] Error 1
56 make[3]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.7-r3
57 /work/kdelibs-3.5.7/arts/kde'
58 make[2]: *** [all-recursive] Error 1
59 make[2]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.7-r3
60 /work/kdelibs-3.5.7/arts'
61 make[1]: *** [all-recursive] Error 1
62 make[1]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.7-r3
63 /work/kdelibs-3.5.7'
64 make: *** [all] Error 2
65 *
66 * ERROR: kde-base/kdelibs-3.5.7-r3 failed.
67 * Call stack:
68 * ebuild.sh, line 1654: Called dyn_compile
69 * ebuild.sh, line 990: Called qa_call 'src_compile'
70 * ebuild.sh, line 44: Called src_compile
71 * kdelibs-3.5.7-r3.ebuild, line 153: Called kde_src_compile
72 * kde.eclass, line 170: Called kde_src_compile 'all'
73 * kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure'
74 'make'
75 * kde.eclass, line 336: Called die
76 *
77 * died running emake, kde_src_compile:make
78 * If you need support, post the topmost build error, and the call stack if
79 relevant.
80 * A complete build log is located at '/var/tmp/portage/kde-base/kdelibs-
81 3.5.7-r3/temp/build.log'.
82 *
83
84 and emerge -- info
85
86 treat ~ # emerge --info
87 Portage 2.1.3.9 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4,
88 2.6.22-gentoo-r8-kosmanor i686)
89 =================================================================
90 System uname: 2.6.22-gentoo-r8-kosmanor i686 Intel(R) XEON(TM) CPU 1.80GHz
91 Timestamp of tree: Tue, 16 Oct 2007 08:50:01 +0000
92 ccache version 2.4 [disabled]
93 app-shells/bash: 3.2_p17
94 dev-java/java-config: 1.3.7, 2.0.33-r1
95 dev-lang/python: 2.4.4-r5
96 dev-python/pycrypto: 2.0.1-r6
97 dev-util/ccache: 2.4-r7
98 sys-apps/baselayout: 1.12.9-r2
99 sys-apps/sandbox: 1.2.17
100 sys-devel/autoconf: 2.13, 2.61-r1
101 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
102 sys-devel/binutils: 2.17-r1
103 sys-devel/gcc-config: 1.3.16
104 sys-devel/libtool: 1.5.24
105 virtual/os-headers: 2.6.22-r2
106 ACCEPT_KEYWORDS="x86"
107 CBUILD="i686-pc-linux-gnu"
108 CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2
109 -mmmx"
110 CHOST="i686-pc-linux-gnu"
111 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
112 /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
113 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
114 /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
115 /etc/udev/rules.d"
116 CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2
117 -mmmx"
118 DISTDIR="/usr/portage/distfiles"
119 FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict
120 unmerge-orphans userfetch"
121 GENTOO_MIRRORS="ftp://fido.online.kz/gentoo/pub http://gentoo.inf.elte.hu/
122 ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://gentoo.scphost.com"
123 LINGUAS="en fr de es pl"
124 MAKEOPTS="-j4"
125 PKGDIR="/usr/portage/packages"
126 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
127 --compress --force --whole-file --delete --delete-after --stats
128 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
129 --filter=H_**/files/digest-*"
130 PORTAGE_TMPDIR="/var/tmp"
131 PORTDIR="/usr/portage"
132 PORTDIR_OVERLAY="/usr/local/portage"
133 SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
134 USE="X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 apm arts audiofile
135 bash-completion bcmath berkdb bitmap-fonts bzip2 cairo calendar caps cdr cli
136 cracklib crypt cscope ctype cups dbm dbus dbx doc dri dvd dvdr eds emacs
137 emboss encode esd exif fam fastcgi firefox flatfile foomaticdb fortran ftp
138 gdbm gif gnome gphoto2 gpm gstreamer gtk guile hal iconv icq imap imlib ipv6
139 isdnlog java joystick jpeg jpeg2k junit kde kdeenablefinal ldap libwww mad
140 mbox mcal midi mikmod mime mmap mmx motif mp3 mpeg mpi mudflap mysql ncurses
141 nis nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp oscar
142 oss pam pcre pdf perl pic png posix postgres ppds pppd python qt3 qt4
143 quicktime readline reflection ruby sdl session snmp sockets spell spl sse
144 ssl svga sysvipc tcl tcpd tetex threads tiff tk truetype truetype-fonts
145 type1-fonts unicode usb vorbis win32codecs x86 xml xorg xpm xprint xv yahoo
146 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
147 emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
148 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
149 ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
150 hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate
151 route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse
152 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
153 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr de es pl" USERLAND="GNU"
154 VIDEO_CARDS="vga r128 mach64 radeon fbdev fglrx vesa"
155 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
156 PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
157
158
159
160
161 --
162 Kevin O'Gorman, PhD

Replies

Subject Author
Re: [gentoo-user] kdelibs won't build after change in GCC to 4.1.2 from 3.4.6 Helmut Jarausch <jarausch@××××××××××××××××.de>