/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -march=athlon64 -O2 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -o _gimpenums.la -rpath /usr/lib64/gimp/2.0/python -module -avoid-version -export-symbols-regex init_gimpenums gimpenumsmodule.lo ../../libgimp/libgimp-2.0.la ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la -pthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 generating symbol list for `gimp.la' /usr/bin/nm -B .libs/gimpmodule.o .libs/pygimp-display.o .libs/pygimp-drawable.o .libs/pygimp-image.o .libs/pygimp-parasite.o .libs/pygimp-pdb.o .libs/pygimp-tile.o .libs/pygimp-vectors.o | | /bin/sed 's/.* //' | sort | uniq > .libs/gimp.exp ../../libtool: eval: line 4352: syntax error near unexpected token `|' ../../libtool: eval: line 4352: `/usr/bin/nm -B .libs/gimpmodule.o .libs/pygimp-display.o .libs/pygimp-drawable.o .libs/pygimp-image.o .libs/pygimp-parasite.o .libs/pygimp-pdb.o .libs/pygimp-tile.o .libs/pygimp-vectors.o | | /bin/sed 's/.* //' | sort | uniq > .libs/gimp.exp' make[4]: *** [gimp.la] Error 1 make[4]: *** Se espera a que terminen otras tareas.... gimpthumb.c:643: warning: no previous prototype for 'gimpthumb_add_constants' gimpthumb.c:655: warning: no previous prototype for 'gimpthumb_register_classes' generating symbol list for `_gimpenums.la' /usr/bin/nm -B .libs/gimpenumsmodule.o | | /bin/sed 's/.* //' | sort | uniq > .libs/_gimpenums.exp ../../libtool: eval: line 4352: syntax error near unexpected token `|' ../../libtool: eval: line 4352: `/usr/bin/nm -B .libs/gimpenumsmodule.o | | /bin/sed 's/.* //' | sort | uniq > .libs/_gimpenums.exp' make[4]: *** [_gimpenums.la] Error 1 make[4]: se sale del directorio `/var/tmp/portage/media-gfx/gimp-2.4.0/work/gimp-2.4.0/plug-ins/pygimp' make[3]: *** [all-recursive] Error 1 make[3]: se sale del directorio `/var/tmp/portage/media-gfx/gimp-2.4.0/work/gimp-2.4.0/plug-ins/pygimp' make[2]: *** [all-recursive] Error 1 make[2]: se sale del directorio `/var/tmp/portage/media-gfx/gimp-2.4.0/work/gimp-2.4.0/plug-ins' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/var/tmp/portage/media-gfx/gimp-2.4.0/work/gimp-2.4.0' make: *** [all] Error 2 * * ERROR: media-gfx/gimp-2.4.0 failed. * Call stack: * ebuild.sh, line 1695: Called dyn_compile * ebuild.sh, line 1033: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * gimp-2.4.0.ebuild, line 103: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake 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/media-gfx/gimp-2.4.0/temp/build.log'. * Reproducible: Always emerge --info Portage 2.1.3.16 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo x86_64) ================================================================= System uname: 2.6.23-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Fri, 26 Oct 2007 14:00:09 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.2-r1 dev-lang/python: 2.5.1-r3 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="es_AR.UTF-8" LINGUAS="es_AR es" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi aim alsa amd64 apache2 apm arts artswrappersuid bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt cups dbus dga dmi dri dts dv dvb dvd dvdr dvdread eds emboss emerald encode esd evo exif extensions fam ffmpeg fftw firefox flac fortran gd gdbm gif glitz gnome gphoto2 gpm graphviz gstreamer gtk gtk2 hal iconv icq imagemagick ipod ipv6 isdnlog jabber jpeg kde kerberos kqemu ldap lirc lm_sensors mad maildir mailwrapper midi mikmod mmap mmx mmxext mp3 mpeg mplayer mpm-worker msn mudflap musicbrainz ncurses nforce2 nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp oss pam pcre pda pdf perl php pmu png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sasl scanner sdl session sharedext slang smp sms snortsam spell spl sse sse2 ssl subtitles svg symlink tcpd theora threads threadsafe tiff truetype truetype-fonts type1-fonts unicode usb vhosts vorbis x264 xcomposite xml xorg xv xvmc yahoo zaptel zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_AR es" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
compiles here fine with same libs, gcc, etc. Could you attach the build.log translated into English into the bug?
Disable ccache as a workaround. *** This bug has been marked as a duplicate of bug 196243 ***