Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155215 - kdelibs-3.5.5-r5 compile fails
Summary: kdelibs-3.5.5-r5 compile fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 03:30 UTC by Maxwell Grender-Jones
Modified: 2006-11-15 15:36 UTC (History)
0 users

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


Attachments
log file of failure (kdelibs-3.5.5-r5.trace,105.50 KB, text/plain)
2006-11-15 03:32 UTC, Maxwell Grender-Jones
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxwell Grender-Jones 2006-11-15 03:30:29 UTC
max@heaven ~ $ emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.17.13 i686)
=================================================================
System uname: 2.6.17.13 i686 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.6
Last Sync: Wed, 15 Nov 2006 02:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.romnet.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi aim alsa amd amr apache2 apm arts asm async berkdb bitmap-fonts bl cdda cddb cdparanoia cdr cdrom cjk clamav clamd cli cpudetection cracklib crypt css curlwrappers dba dbm directfb dlloader dri dts dvb dvd dvdr dvdread eds elibc_glibc encode esd exiscan-acl fame fbcon fbdev ffmpeg firefox flac font-server foomaticdb fping ftp gdbm geoip gif glep gnome gphoto2 gpm gstreamer gtk gtk2 httpd iconv icq id3 idled imap imlib innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jpeg jython kde kdeenablefinal kdepim kdexdeltas kernel_linux lame lcd libg++ libwww linguas_en_GB live lm_sensors lzo lzw mad maildir mailwrapper md5sum mikmod mime mjpeg mmx mmxext mod_python motif mozcalendar mp3 mp4 mp4live mpeg mpeg2 mplayer msn mysqli ncurses network nls nptl nptlonly ntfs oav offensive ogg opengl oss pam pcre perl player png pppd python qt3 qt4 quicktime rar rdesktop readline real reflection reiserfs samba sasl sdl session sharedmem smime spell spf spl sqlite ssl stream subtitles subversion svgz tcpd theora transcode truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd vhosts video_cards_fbdev video_cards_radeon vidix vlm vorbis webdav wifi win32codecs x264 xanim xine xml xmldoclet xmlreader xmlrpc xmlwriter xorg xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maxwell Grender-Jones 2006-11-15 03:32:45 UTC
Created attachment 101971 [details]
log file of failure

max@heaven ~ $ sudo emerge kdelibs >> kdelibs-3.5.5-r5.trace

It appears the output isn't quite in the right order, but hopefully it's just the portage messages that are wrong. If you'd like me to run the emerge again, let me know.
Comment 2 Sam 2006-11-15 04:55:19 UTC
It happens with me and hspell (he).




  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=k8 -fomit-frame-pointer -ftracer -fweb -msse3 -falign-functions=64 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o kspell_hspelldict.lo kspell_hspelldict.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs  -I../../../kspell2 -I../../.. -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=k8 -fomit-frame-pointer -ftracer -fweb -msse3 -falign-functions=64 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o kspell_hspellclient.lo kspell_hspellclient.cpp
kspell_hspelldict.cpp:88: warning: unused parameter 'bad'
kspell_hspelldict.cpp:88: warning: unused parameter 'good'
kspell_hspelldict.cpp:95: warning: unused parameter 'word'
kspell_hspelldict.cpp:102: warning: unused parameter 'word'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -march=k8 -fomit-frame-pointer -ftracer -fweb -msse3 -falign-functions=64 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION     -o kspell_hspell.la -rpath /usr/kde/3.5/lib64/kde3 -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib64 -R /usr/kde/3.5/lib64 -R /usr/qt/3/lib64 -R /usr/lib64  kspell_hspellclient.lo kspell_hspelldict.lo ../../ui/libkspell2.la -lhspell -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/X11R6/lib64/libhspell.a(gimatria.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib64/libhspell.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [kspell_hspell.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdelibs-3.5.5-r5/work/kdelibs-3.5.5/kspell2/plugins/hspell'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.5.5-r5/work/kdelibs-3.5.5/kspell2/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.5.5-r5/work/kdelibs-3.5.5/kspell2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.5.5-r5/work/kdelibs-3.5.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdelibs-3.5.5-r5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kdelibs-3.5.5-r5.ebuild, line 134:   Called kde_src_compile
  kde.eclass, line 172:   Called kde_src_compile 'all'
  kde.eclass, line 342:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 338:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-15 05:09:00 UTC
xushi your problem is totally unrelated.
Comment 4 Matteo Azzali (RETIRED) gentoo-dev 2006-11-15 06:48:00 UTC
First I would read:
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.

Is just before the point where your log lines start to be completely different
from mines, just some lines before the error. May mean nothing but you'll need
to update your CFLAGS anyway, sooner or later. 
Comment 5 Maxwell Grender-Jones 2006-11-15 15:34:36 UTC
Well, whadya know - it now compiles. Can't imagine why, but then I don't know the first thing about C voodoo...

Thanks!

max@heaven ~ $ emerge --info
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.17.13 i686)
=================================================================
System uname: 2.6.17.13 i686 AMD Sempron(tm) Processor 2800+
Gentoo Base System version 1.12.6
Last Sync: Wed, 15 Nov 2006 02:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.romnet.org/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/musicbrainz"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi aim alsa amd amr apache2 apm arts asm async berkdb bitmap-fonts bl cdda cddb cdparanoia cdr cdrom cjk clamav clamd cli cpudetection cracklib crypt css curlwrappers dba dbm directfb dlloader dri dts dvb dvd dvdr dvdread eds elibc_glibc encode esd exiscan-acl fame fbcon fbdev ffmpeg firefox flac font-server foomaticdb fping ftp gdbm geoip gif glep gnome gphoto2 gpm gstreamer gtk gtk2 httpd iconv icq id3 idled imap imlib innodb input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jpeg jython kde kdeenablefinal kdepim kdexdeltas kernel_linux lame lcd libg++ libwww linguas_en_GB live lm_sensors lzo lzw mad maildir mailwrapper md5sum mikmod mime mjpeg mmx mmxext mod_python motif mozcalendar mp3 mp4 mp4live mpeg mpeg2 mplayer msn mysqli ncurses network nls nptl nptlonly ntfs oav offensive ogg opengl oss pam pcre perl player png pppd python qt3 qt4 quicktime rar rdesktop readline real reflection reiserfs samba sasl sdl session sharedmem smime spell spf spl sqlite ssl stream subtitles subversion svgz tcpd theora transcode truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd vhosts video_cards_fbdev video_cards_radeon vidix vlm vorbis webdav wifi win32codecs x264 xanim xine xml xmldoclet xmlreader xmlrpc xmlwriter xorg xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Maxwell Grender-Jones 2006-11-15 15:36:04 UTC
(for the record, and sorry for the spam, I've been compiling things fine for ages with that warning about -m being wrong. Thing is, i checked make.conf.example, and it still has the same as what I had).