Please see the attached build.log for details Reproducible: Always Portage 2.1.7.14 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 16 Dec 2009 05:00:24 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /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/sandbox.d /etc/terminfo" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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 /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv jpeg ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit ppds pppd python qt3support quicktime readline reflection sdl session spell spl sql sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vim-syntax vorbis webkit x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 213159 [details] the compressed log file The log file is too big to be put in one---around 7M, and I tried several websites such as pastebin.com but none of them can accept such a big file. So I have to compress it to fit the requirement of bugzilla. I don't know if it is acceptable. Sorry for the inconvenience.
Created attachment 213160 [details] the last 100k of the build.log In case the compressed is not accepted and to whom may prefer, I paste the last 100k of the build.log file, which I guess might be the most valuable segment. Sorry again.
May be you have a CXXFLAGS issue. Have a look at http://bugs.gentoo.org/show_bug.cgi?id=287390
(In reply to comment #3) > May be you have a CXXFLAGS issue. Have a look at > > http://bugs.gentoo.org/show_bug.cgi?id=287390 > I tried that but it didn't work :( Thanks
Please try without FEATURES="split-debug" (bug 295318).
(In reply to comment #5) > Please try without FEATURES="split-debug" (bug 295318). > Still it didn't work :( But with slightly different error message ./.libs/libwebkit-1.0.so: undefined reference to `findDoctypeEntry(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findEntity(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findValue(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findColor(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findProp(char const*, unsigned int)' collect2: ld returned 1 exit status make[1]: *** [Programs/unittests/testhttpbackend] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.1.15.4/work/webkit-1.1.15.4' make: *** [all] Error 2 * ERROR: net-libs/webkit-gtk-1.1.15.4 failed: * emake failed * * Call stack: * ebuild.sh, line 61: Called src_compile * environment, line 3189: Called _eapi2_src_compile * ebuild.sh, line 653: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =net-libs/webkit-gtk-1.1.15.4', * the complete build log and the output of 'emerge -pqv =net-libs/webkit-gtk-1.1.15.4'. * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-1.1.15.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-1.1.15.4/temp/environment'. * S: '/var/tmp/portage/net-libs/webkit-gtk-1.1.15.4/work/webkit-1.1.15.4' >>> Failed to emerge net-libs/webkit-gtk-1.1.15.4, Log file: >>> '/var/tmp/portage/net-libs/webkit-gtk-1.1.15.4/temp/build.log' * Messages for package net-libs/webkit-gtk-1.1.15.4: * ERROR: net-libs/webkit-gtk-1.1.15.4 failed: * emake failed * * Call stack: * ebuild.sh, line 61: Called src_compile * environment, line 3189: Called _eapi2_src_compile * ebuild.sh, line 653: Called die * The specific snippet of code: * emake || die "emake failed" *
Could you check if purging ccache/setting '-j1' helps ?
(In reply to comment #7) > Could you check if purging ccache/setting '-j1' helps ? > Yes, I have disabled all of the features and purged /var/tmp/ccache, and use -j1. But still failed at the same position. hread -lrt /usr/lib64/libglib-2.0.so -pthread -Wl,-rpath -Wl,/var/tmp/portage/net-libs/webkit-gtk-1.1.15.4/work/webkit-1.1.15.4/.libs ./.libs/libwebkit-1.0.so: undefined reference to `findDoctypeEntry(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findEntity(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findValue(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findColor(char const*, unsigned int)' ./.libs/libwebkit-1.0.so: undefined reference to `findProp(char const*, unsigned int)' collect2: ld returned 1 exit status make[1]: *** [Programs/GtkLauncher] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-1.1.15.4/work/webkit-1.1.15.4' make: *** [all] Error 2
disabling the cxxflags makes the compile successful. don't know why..
Perhaps you've got wrong parentheses ?
(In reply to comment #10) > Perhaps you've got wrong parentheses ? > CFLAGS="-march=core2 -O2 -pipe" CXXFLAGS="${CFALGS}" Is this correct? :(
(In reply to comment #11) > (In reply to comment #10) > > Perhaps you've got wrong parentheses ? > > > > CFLAGS="-march=core2 -O2 -pipe" > CXXFLAGS="${CFALGS}" > > Is this correct? :( > Well, if its not a typo, then "${CFALGS}" should be "${CFLAGS}".
(In reply to comment #12) > (In reply to comment #11) > > (In reply to comment #10) > > > Perhaps you've got wrong parentheses ? > > > > > > > CFLAGS="-march=core2 -O2 -pipe" > > CXXFLAGS="${CFALGS}" > > > > Is this correct? :( > > > Well, if its not a typo, then "${CFALGS}" should be "${CFLAGS}". > Oh I cannot believe it... It was actually a typo and I even didn't recognize it.... Thanks :p