/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/libXt-1.1.3/work/libXt-1.1.3/src -I.. -I/var/tmp/portage/x11-libs/libXt-1.1.3/work/libXt-1.1.3/include/ -I/var/tmp/portage/x11-libs/libXt-1.1.3/work/libXt-1.1.3/include/X11 -I../include -I../include/X11 -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -DXFILESEARCHPATHDEFAULT=\"/etc/X11/%L/%T/%N%C%S:/etc/X11/%l/%T/%N%C%S:/etc/X11/%T/%N%C%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S:/usr/share/X11/%L/%T/%N%C%S:/usr/share/X11/%l/%T/%N%C%S:/usr/share/X11/%T/%N%C%S:/usr/share/X11/%L/%T/%N%S:/usr/share/X11/%l/%T/%N%S:/usr/share/X11/%T/%N%S:/usr/lib64/X11/%L/%T/%N%C%S:/usr/lib64/X11/%l/%T/%N%C%S:/usr/lib64/X11/%T/%N%C%S:/usr/lib64/X11/%L/%T/%N%S:/usr/lib64/X11/%l/%T/%N%S:/usr/lib64/X11/%T/%N%S\" -DERRORDB=\"/usr/lib64/X11/XtErrorDB\" -DMALLOC_0_RETURNS_NULL -DXTMALLOC_BC -O2 -pipe -c -o StringDefs.lo StringDefs.c /var/tmp/portage/x11-libs/libXt-1.1.3/work/libXt-1.1.3/src/sharedlib.c:184:12: warning: 'dummy' defined but not used CCLD libXt.la /bin/grep: /usr/lib64/libICE.la: No such file or directory /bin/sed: can't read /usr/lib64/libICE.la: No such file or directory libtool: link: `/usr/lib64/libICE.la' is not a valid libtool archive make[3]: *** [libXt.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/x11-libs/libXt-1.1.3/work/libXt-1.1.3_build/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/x11-libs/libXt-1.1.3/work/libXt-1.1.3_build/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-libs/libXt-1.1.3/work/libXt-1.1.3_build' make: *** [all] Error 2
Attach a log while V=1 - the info in this snippet is too sparse. Most likely it's just la file pollution anyway.
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 317137 [details] build.log
Created attachment 317139 [details] emerge --info
(In reply to comment #3) > Created attachment 317137 [details] As I said, doesn't help much - emerge again with V=1 and attach that build log.
(In reply to comment #5) > (In reply to comment #3) > > Created attachment 317137 [details] > > As I said, doesn't help much - emerge again with V=1 and attach that build > log. He means MAKEOPTS="V=1"
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #3) > > > Created attachment 317137 [details] > > > > As I said, doesn't help much - emerge again with V=1 and attach that build > > log. > > He means MAKEOPTS="V=1" No, he meant just 'V=1 emerge [emerge options] <whatever>'.
Created attachment 317250 [details] emerge log with V=1
Steps I did before was to upgrade GCC to 4.5.3 emerge -u gcc env-update && source /etc/profile emerge --oneshot libtool
It's not really related to libtool. Now, while command line mentions libICE explicitly, the culprit is an la file of one of the other two: libX11 or libSM, which is odd, cause those shouldn't be installed anymore for packages using xorg-2 eclass. Rebuild them.
rebuild fix the problem thanks for all the help