Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77967 - dev-cpp/gtkmm-2.2.12 compilation failed
Summary: dev-cpp/gtkmm-2.2.12 compilation failed
Status: RESOLVED FIXED
Alias: None
Product: Community Relations
Classification: Unclassified
Component: Developer Relations (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Community Relations Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-14 05:40 UTC by Lorenzo Bettini
Modified: 2006-12-27 00:59 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 Lorenzo Bettini 2005-01-14 05:40:55 UTC
when issuing emerge -u gtkmm, I get a compilation error:

!!! ERROR: dev-cpp/gtkmm-2.2.12 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.

This is due to

can't read /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la

I had already upgraded to gcc 3.3.5, and actually gcc-config -c reports the new configuration

i686-pc-linux-gnu-3.3.5

so why is it searching for libraries and headers in the old 3.3.4 directory?

Reproducible: Always
Steps to Reproduce:
1. emerge -u gtkmm
2.
3.

Actual Results:  
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -I../../glib -I../../gdk -I../../gtk -DXTHREADS -D_REENTRANT
-DXUSE_MTSAFE_API -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -O3 -march=pentium3
-pipe -fomit-frame-pointer -Wall -MT generate_extra_defs.lo -MD -MP -MF
".deps/generate_extra_defs.Tpo" -c -o generate_extra_defs.lo
generate_extra_defs.cc; \
then mv -f ".deps/generate_extra_defs.Tpo" ".deps/generate_extra_defs.Plo"; else
rm -f ".deps/generate_extra_defs.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib
-I../../gdk -I../../gtk -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include      -O3 -march=pentium3 -pipe -fomit-frame-pointer
-Wall -MT generate_defs_gtk.o -MD -MP -MF ".deps/generate_defs_gtk.Tpo" -c -o
generate_defs_gtk.o generate_defs_gtk.cc; \
then mv -f ".deps/generate_defs_gtk.Tpo" ".deps/generate_defs_gtk.Po"; else rm
-f ".deps/generate_defs_gtk.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I../../gdk
-I../../gtk -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -O3 -march=pentium3 -pipe -fomit-frame-pointer -Wall
-MT generate_extra_defs.lo -MD -MP -MF .deps/generate_extra_defs.Tpo -c
generate_extra_defs.cc  -fPIC -DPIC -o .libs/generate_extra_defs.o
/bin/sh ../../libtool --mode=link i686-pc-linux-gnu-g++  -O3 -march=pentium3
-pipe -fomit-frame-pointer -Wall   -o libgtkmm_generate_extra_defs-2.0.la -rpath
/usr/lib  -version-info6:11:5  generate_extra_defs.lo -Wl,--export-dynamic
-lsigc-1.2 -lgobject-2.0 -lgmodule-2.0-ldl -lglib-2.0   -Wl,--export-dynamic
-lsigc-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl-lglib-2.0
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[3]: *** [libgtkmm_generate_extra_defs-2.0.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gtkmm-2.2.12/work/gtkmm-2.2.12/tools/extra_defs_gen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gtkmm-2.2.12/work/gtkmm-2.2.12/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkmm-2.2.12/work/gtkmm-2.2.12'
make: *** [all] Error 2
Comment 1 Lorenzo Bettini 2005-01-14 06:30:20 UTC
fix_libtool_files.sh 3.3.4 resolved the problem