Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213000 - kdelibs 4.0.2 fails to build
Summary: kdelibs 4.0.2 fails to build
Status: RESOLVED DUPLICATE of bug 64615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://bugs.kde.org/show_bug.cgi?id=1...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 02:32 UTC by Andriy Baranskyy
Modified: 2008-03-15 00:53 UTC (History)
0 users

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


Attachments
Kdelibs build log (build.log,916.08 KB, text/plain)
2008-03-11 17:45 UTC, Andriy Baranskyy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Baranskyy 2008-03-11 02:32:01 UTC
kdelibs fails to build with the following message:
[ 97%] Building CXX object khtml/CMakeFiles/khtml.dir/imload/decoders/gifloader.o
[ 97%] Building CXX object khtml/CMakeFiles/khtml.dir/khtmlpartadaptor.o
[ 97%] /var/tmp/portage/kde-base/kdelibs-4.0.2/work/kdelibs-4.0.2/khtml/imload/decoders/pngloader.cpp: In member function 'virtual int khtmlImLoad::PNGLoader::processData(uchar*, int)':
/var/tmp/portage/kde-base/kdelibs-4.0.2/work/kdelibs-4.0.2/khtml/imload/decoders/pngloader.cpp:235: warning: argument 'length' might be clobbered by 'longjmp' or 'vfork'
Building CXX object khtml/CMakeFiles/khtml.dir/kcookiejar_interface.o
Linking CXX shared library ../lib/libkhtml.so
/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../i686-pc-linux-gnu/bin/ld:CMakeFiles/khtml.dir/html/html_canvasimpl.o: file format not recognized; treating as linker script
/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/../../../../i686-pc-linux-gnu/bin/ld:CMakeFiles/khtml.dir/html/html_canvasimpl.o:1: syntax error
collect2: ld returned 1 exit status
make[2]: *** [lib/libkhtml.so.5.0.0] Error 1
make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2
make: *** [all] Error 2
 *
 * ERROR: kde-base/kdelibs-4.0.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2593:  Called kde4-base_src_compile
 *             environment, line 1898:  Called kde4-base_src_make
 *             environment, line 1928:  Called cmake-utils_src_make
 *             environment, line  677:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/kdelibs-4.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kdelibs-4.0.2/temp/environment'.
 *

Reproducible: Always




emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.24-tuxonice-r3 i686)
=================================================================
System uname: 2.6.24-tuxonice-r3 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Timestamp of tree: Tue, 11 Mar 2008 01:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en pl uk be de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi adns alsa amr amrnb amrr amrwb ao arts automount bash-completion berkdb bidi bluetooth branding bzip2 c++ cairo caps cddb cdparanoia cisco cli cpudetection cracklib crypt css cups curl daap dbus dga directfb divx dri dts dv dvd dvdnav dvdr dvdread emovix enca encode exif fam fax fbcon ffmpeg firefox flac font-server fontconfig fortran ftp gd gdbm geoip ggi gif glib glitz gmail gmedia gnutls gpg2-experimental gphoto2 gpm gsm gtk hal htmlhandbook http hyperestraier iconv icq idn imagemagick inotify ipod ipv6 ipw3945 isdnlog java javascript jpeg jpeg2k justify kde kdrive ladspa lame latex ldap libcaca libwww lilo live lm_sensors lzo mad matroska matrox mbrola md5sum midi mjpeg mmap mmx mmxext mng modplug motif mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap musepack musicbrainz mysql nas ncurses neXt net netbeans netboot network network-cron networking nfs nis nls nptl nptlonly nsplugin ntp nvidia nvram nvtv obex odbc ogg openal openct openexr opengl openmp openssh openvpn oss overlays pch pcmcia pcre pcsc-lite pda pdf perl pic player plotutils plugins pmu png portaudio pppd pulseaudio python qt-static qt3 qt3support qt4 quicktime radio rar raw readline realrealmedia reflection reiser4 reiserfs rss rtc samba sasl scanner sdl session slang slp smartcard sndfile snmp speech speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 svg svga tcpd tetex tga theora threads tiff tk truetype unicode usb v4l v4l2 vcd vidix visualization vorbis wav wavpack wifi win32codecs wma wmf wmp wxwindows x264 x86 xanim xcb xcomposite xine xinerama xorg xpm xprint xv xvid xvmc yv12 zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logiomem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl uk be de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-03-11 11:59:20 UTC
Attach a full english build.log please.
Comment 2 Andriy Baranskyy 2008-03-11 17:45:38 UTC
Created attachment 145836 [details]
Kdelibs build log

Here you are - the failure occurs at 97%
Comment 3 Andriy Baranskyy 2008-03-12 08:23:17 UTC
Seems somewhat similar to this bug: http://bugs.gentoo.org/show_bug.cgi?id=206895
But I don't have this java package installed.

Comment 4 Andriy Baranskyy 2008-03-12 22:49:15 UTC
I tried compiling with both cmake 2.4.7-r1 and 2.4.8 - getting the same error.
Comment 5 Andriy Baranskyy 2008-03-14 04:46:26 UTC
Turned out to be a gcc 4.2.3 issue. I downgraded my gcc to 4.2.2 and it fixed the issue!
Comment 6 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-03-15 00:52:52 UTC
Duping
Comment 7 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-03-15 00:53:15 UTC

*** This bug has been marked as a duplicate of bug 64615 ***