Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113206 - x11-libs/gtk+-2.6.10-r1 failed - libtool: link: `/usr/lib64/libglib-2.0.la' is not a valid libtool archive
Summary: x11-libs/gtk+-2.6.10-r1 failed - libtool: link: `/usr/lib64/libglib-2.0.la' i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 15:30 UTC by Roman Gaufman
Modified: 2005-11-22 00:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gaufman 2005-11-21 15:30:18 UTC
enum_name@_get_type())\n"         \
                --ftail "G_END_DECLS\n\n#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \
        gdk-pixbuf.h gdk-pixbuf-core.h gdk-pixbuf-transform.h gdk-pixbuf-io.h
gdk-pixbuf-animation.h gdk-
pixbuf-loader.h ) > tmp-gdk-pixbuf-enum-types.h \
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp
tmp-gdk-pixbuf-enum-types.h gdk-pixb
uf-enum-types.h ) \
&& rm -f tmp-gdk-pixbuf-enum-types.h \
&& echo timestamp > s-enum-types-h
(cd . && glib-mkenums \
        --fhead "#include <gdk-pixbuf/gdk-pixbuf.h>\n#include
\"gdk-pixbuf-alias.h\"\n" \
        --fprod "\n/* enumerations from \"@filename@\" */" \
        --ftail "\n#define __GDK_PIXBUF_ENUM_TYPES_C__\n#include
\"gdk-pixbuf-aliasdef.c\"" \
        --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype =
0;\n  if (etype == 0) {\n 
   static const G@Type@Value values[] = {"       \
        --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
        --vtail "      { 0, NULL, NULL }\n    };\n    etype =
g_@type@_register_static (\"@EnumName@\", v
alues);\n  }\n  return etype;\n}\n" \
          gdk-pixbuf.h gdk-pixbuf-core.h gdk-pixbuf-transform.h gdk-pixbuf-io.h
gdk-pixbuf-animation.h gd
k-pixbuf-loader.h) > gdk-pixbuf-enum-types.c
glib-genmarshal --prefix=_gdk_pixbuf_marshal ./gdk-pixbuf-marshal.list --header
>> xgen-gmh \
&& (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gdk-pixbuf-marshal.h
make  all-recursive
make[3]: Entering directory
`/var/tmp/portage/gtk+-2.6.10-r1/work/gtk+-2.6.10/gdk-pixbuf'
Making all in pixops
make[4]: Entering directory
`/var/tmp/portage/gtk+-2.6.10-r1/work/gtk+-2.6.10/gdk-pixbuf/pixops'
if /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H
-I. -I. -I../.. -I../.. -
I../.. -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/incl
ude/libpng12    -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED    -O2
-march=athlon64 -msse3 -ffa
st-math -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops
-fomit-frame-pointer -pipe -Wall -MT pixo
ps.lo -MD -MP -MF ".deps/pixops.Tpo" \
  -c -o pixops.lo `test -f 'pixops.c' || echo './'`pixops.c; \
then mv -f ".deps/pixops.Tpo" ".deps/pixops.Plo"; \
else rm -f ".deps/pixops.Tpo"; exit 1; \
fi
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../..
-DG_DISABLE_CAST_CHECKS -pthread
 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng12
-DG_DISABLE_DEPRECATED -DG
DK_PIXBUF_DISABLE_DEPRECATED -O2 -march=athlon64 -msse3 -ffast-math
-funit-at-a-time -fpeel-loops -ftrace
r -funswitch-loops -fomit-frame-pointer -pipe -Wall -MT pixops.lo -MD -MP -MF
.deps/pixops.Tpo -c pixops.
c  -fPIC -DPIC -o .libs/pixops.o
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -O2 -march=athlon64
-msse3 -ffast-math -funit-
at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe
-Wall   -o libpixops.la   pix
ops.lo   
x86_64-pc-linux-gnu-ar cru .libs/libpixops.a .libs/pixops.o
x86_64-pc-linux-gnu-ranlib .libs/libpixops.a
creating libpixops.la
(cd .libs && rm -f libpixops.la && ln -s ../libpixops.la libpixops.la)
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../..
-DG_DISABLE_CAST_CHECKS -pthre
ad -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng12
   -DG_DISABLE_DEPRECATE
D -DGDK_PIXBUF_DISABLE_DEPRECATED    -O2 -march=athlon64 -msse3 -ffast-math
-funit-at-a-time -fpeel-loops
 -ftracer -funswitch-loops -fomit-frame-pointer -pipe -Wall -MT timescale.o -MD
-MP -MF ".deps/timescale.
Tpo" \
  -c -o timescale.o `test -f 'timescale.c' || echo './'`timescale.c; \
then mv -f ".deps/timescale.Tpo" ".deps/timescale.Po"; \
else rm -f ".deps/timescale.Tpo"; exit 1; \
fi
/bin/sh ../../libtool --mode=link x86_64-pc-linux-gnu-gcc  -O2 -march=athlon64
-msse3 -ffast-math -funit-
at-a-time -fpeel-loops -ftracer -funswitch-loops -fomit-frame-pointer -pipe
-Wall   -o timescale  timesca
le.o libpixops.la -pthread -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0
-lglib-2.0   -lm 
libtool: link: `/usr/lib64/libglib-2.0.la' is not a valid libtool archive
make[4]: *** [timescale] Error 1
make[4]: Leaving directory
`/var/tmp/portage/gtk+-2.6.10-r1/work/gtk+-2.6.10/gdk-pixbuf/pixops'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gtk+-2.6.10-r1/work/gtk+-2.6.10/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/gtk+-2.6.10-r1/work/gtk+-2.6.10/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.10-r1/work/gtk+-2.6.10'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.6.10-r1 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! Compilation failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14-mm2 x86_64)
=================================================================
System uname: 2.6.14-mm2 x86_64 AMD Athlon(tm) 64 Processor 4000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -msse3 -ffast-math -funit-at-a-time -fpeel-loops
-ftracer -funswitch-loops -f
omit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /
var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -msse3 -ffast-math -funit-at-a-time -fpeel-loops
-ftracer -funswitch-loops 
-fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl alsa avi bash-completion berkdb bitmap-fonts bzip2 crypt cups
dlloader eds emboss encode
 expat foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde
lua lzw lzw-tiff mp3 mpeg 
ncurses nls opengl pam pcre pdflib perl png python qt quicktime readline spell
ssl tcpd tiff truetype tru
etype-fonts type1-fonts udev unicode usb userlocales xml2 xpm xv zlib
userland_GNU kernel_linux elibc_gli
bc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY


Reproducible: Always
Steps to Reproduce:
1. emerge -u gtk+
2. watch it fail
3. cry :'(
Comment 1 Roman Gaufman 2005-11-22 00:29:59 UTC
Saw the error 'libtool: link: `/usr/lib64/libglib-2.0.la' is not a valid libtool
archive' in various other places so decided to recompile dev-libs/glib with
safer CFLAGS and bingo, everything's working.