Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78152 - x11-libs/gtk+-2.4.14 compilation failed
Summary: x11-libs/gtk+-2.4.14 compilation failed
Status: RESOLVED DUPLICATE of bug 73435
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 16:17 UTC by Philipp
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Philipp 2005-01-15 16:17:42 UTC
I can't update to GTK+-2.4.14
This is the output:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GdkPixbuf\" -I.. -I.. -I../gdk-pixbuf -I../gdk-pixbuf -DGTK_SYSCONFDIR=\"/etc\" -DGTK_VERSION=\"2.4.14\" -DGTK_BINARY_VERSION=\"2.4.0\" -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_PREFIX=\"/usr\" -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -DGDK_PIXBUF_ENABLE_BACKEND -DPIXBUF_LIBDIR=\"/usr/lib/gtk-2.0/2.4.0/loaders\" -DBUILT_MODULES_DIR=\"./.libs\" -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall -MT io-tiff.lo -MD -MP -MF .deps/io-tiff.Tpo -c io-tiff.c  -fPIC -DPIC -o .libs/io-tiff.o
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wall   -o libpixbufloader-tiff.la -rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-tiff.lo -ltiff libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm
grep: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-tiff.la] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/gdk-pixbuf'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14'
make: *** [all] Fehler 2

!!! ERROR: x11-libs/gtk+-2.4.14 failed.
!!! Function src_compile, Line 78, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

configure-output:

Calculating world dependencies ...done!
>>> emerge (1 of 1) x11-libs/gtk+-2.4.14 to /
>>> md5 src_uri ;-) gtk+-2.4.14.tar.bz2
>>> md5 src_uri ;-) gtk+-2.4-smoothscroll-r1.patch
>>> Unpacking source...
>>> Unpacking gtk+-2.4.14.tar.bz2 to /var/tmp/portage/gtk+-2.4.14/work
>>> Unpacking gtk+-2.4-smoothscroll-r1.patch to /var/tmp/portage/gtk+-2.4.14/work
unpack gtk+-2.4-smoothscroll-r1.patch: file format not recognized. Ignoring.
 * Applying gtk+-2.0.6-exportsymbols.patch ...                                                                                            [ ok ] * Applying gtk+-2.2.1-disable_icons_smooth_alpha.patch ...                                                                               [ ok ] * Applying gtk+-2.4-smoothscroll-r1.patch ...                                                                                            [ ok ]x86
>>> Source unpacked.
 * Patching ${S}/ltmain.sh ...
 *   Applying portage-1.4.1.patch ...
 *   Applying max_cmd_len-1.5.0.patch ...
 * Applying uClibc/libtool patches ...
 * econf: updating /var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating /var/tmp/portage/gtk+-2.4.14/work/gtk+-2.4.14/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-gtk-doc --with-libjpeg --with-libtiff --with-png --with-gdktarget=x11 --with-xinput
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for native Win32... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse nm output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... no
checking for ar... ar
checking for i686-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-linux-gnu-strip... strip
checking if i686-pc-linux-gnu-gcc static flag  works... yes
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for some Win32 platform... no
checking whether build environment is sane... yes
checking for library containing strerror... none required
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.4.0    atk >= 1.0.1    pango >= 1.4.0... yes
checking BASE_DEPENDENCIES_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
checking BASE_DEPENDENCIES_LIBS... -Wl,--export-dynamic -latk-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking Whether to write dependencies into .pc files... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for indent... indent
checking for lstat... yes
checking for mkstemp... yes
checking for flockfile... yes
checking for sigsetjmp... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  af am ang ar az az_IR be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu ia id is it ja ko li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru sk sl sq sr sr@Latn sr@ije sv ta th tk tr uk uz uz@Latn vi wa yi zh_CN zh_TW
checking for extra flags to get ANSI library prototypes... none needed
checking for the BeOS... no
checking for extra flags for POSIX compliance... none needed
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GLIB - version >= 2.4.0... yes (version 2.4.8)
checking for bind_textdomain_codeset... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for getresuid... yes
checking for uid_t in sys/types.h... yes
checking for fd_set... yes, found in sys/types.h
checking for wchar.h... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking if iswalnum() and friends are properly defined... yes
checking whether to build gmodulized gdk-pixbuf... yes
checking whether dynamic modules work... yes
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_simple_progression in -ljpeg... yes
checking for libpng12... yes
checking pixbuf loaders to build...
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... (cached) void
checking for x86 platform... yes
checking compiler support for MMX... yes
checking for freetype-config... /usr/bin/freetype-config
checking For sufficiently new FreeType (at least 2.0.1)... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in -lX11... yes
checking for XShmAttach in -lXext... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/extensions/Xinerama.h... yes
checking for Xinerama support on XFree86... yes
checking for XShapeCombineMask in -lXext... yes
checking for XConvertCase in -lX11... yes
checking for XAddConnectionWatch in -lX11... yes
checking for XkbQueryExtension in -lX11... yes
checking for XRRUpdateConfiguration in -lXrandr... yes
checking for X11/extensions/Xrandr.h... yes
checking for xcursor... yes
checking XCURSOR_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/X11R6/include
checking XCURSOR_LIBS... -L/usr/X11R6/lib -lXcursor -lXrender -lX11 -lXext
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking X11/extensions/XShm.h... yes
checking Pango flags... -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wl,--export-dynamic -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking ATK flags... -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wl,--export-dynamic -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for db2html... false
configure: creating ./config.status
config.status: creating config.h.win32
config.status: creating gtk-zip.sh
config.status: creating Makefile
config.status: creating gdk-pixbuf-2.0.pc
config.status: creating gdk-2.0.pc
config.status: creating gtk+-2.0.pc
config.status: creating gdk-pixbuf-2.0-uninstalled.pc
config.status: creating gdk-2.0-uninstalled.pc
config.status: creating gtk+-2.0-uninstalled.pc
config.status: creating m4macros/Makefile
config.status: creating po/Makefile.in
config.status: creating po-properties/Makefile.in
config.status: creating build/Makefile
config.status: creating build/win32/Makefile
config.status: creating build/win32/dirent/Makefile
config.status: creating demos/Makefile
config.status: creating demos/gtk-demo/Makefile
config.status: creating demos/gtk-demo/geninclude.pl
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/gdk-pixbuf/Makefile
config.status: creating docs/reference/gdk-pixbuf/version.xml
config.status: creating docs/reference/gdk/Makefile
config.status: creating docs/reference/gdk/version.xml
config.status: creating docs/reference/gtk/Makefile
config.status: creating docs/reference/gtk/version.xml
config.status: creating docs/faq/Makefile
config.status: creating docs/tutorial/Makefile
config.status: creating gdk-pixbuf/Makefile
config.status: creating gdk-pixbuf/gdk_pixbuf.rc
config.status: creating gdk-pixbuf/gdk-pixbuf-features.h
config.status: creating gdk-pixbuf/pixops/Makefile
config.status: creating gdk/Makefile
config.status: creating gdk/x11/Makefile
config.status: creating gdk/win32/Makefile
config.status: creating gdk/win32/rc/Makefile
config.status: creating gdk/win32/rc/gdk.rc
config.status: creating gdk/linux-fb/Makefile
config.status: creating gtk/Makefile
config.status: creating gtk/makefile.msc
config.status: creating gtk/gtkversion.h
config.status: creating gtk/gtk-win32.rc
config.status: creating gtk/stock-icons/Makefile
config.status: creating gtk/theme-bits/Makefile
config.status: creating gtk/xdgmime/Makefile
config.status: creating modules/Makefile
config.status: creating modules/input/Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/Makefile
config.status: creating contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing default-2 commands
config.status: executing gdk/gdkconfig.h commands




Reproducible: Always
Steps to Reproduce:
1. emerge x11-libs/gtk+-2.4.14
2.
3.




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 acl acpi aim alsa apm arts audiofile avi bach-completition berkdb
bitmap-fonts cdr chroot crypt cups divx4linux dvd encode esd ethereal f77 fam
flac font-server foomaticdb fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2
icq ieee1394 imagemagick imap imlib ipv6 jabber java jpeg junit ldap libg++
libwww mad mikmod motif mozilla mpeg mplayer mysql ncurses nls oggvorbis opengl
oss pam pda pdflib perl plotutils png python quicktime readline samba scanner
sdl spell sqlite ssl svg svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts usb x86 xine xml xml2 xmms xprint xv yahoo zlib"
Comment 1 Jay Phelps 2005-01-15 17:02:18 UTC
Same here.  The library resides in question resides in /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/ - not 3.3.4 on my system.
Comment 2 Andre Schieleit 2005-01-16 01:54:58 UTC
I put a symlink "3.3.4" in /usr/lib/gcc-lib/i686-pc-linux-gnu/ pointing at "3.3.5".
This solved the problem for me.
Comment 3 Philipp 2005-01-16 03:20:24 UTC
Thanks, that worked
Comment 4 Martin Tsachev 2005-01-16 04:20:11 UTC
Actually the right thing to do is running as root "fix_libtool_files.sh 3.3.4"

http://bugs.gentoo.org/show_bug.cgi?id=73435
Comment 5 foser (RETIRED) gentoo-dev 2005-01-16 06:04:53 UTC
yep this is just a plain dupe. please search thoroughly next time. This is about the 10th dupe we get about this one pack.

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