make[4]: Entering directory `/var/tmp/portage/gnomemm-1.2.3/work/gnomemm-1.2.3/src/gnome--' /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk-- -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 `gnome-config gnomeui --cflags` -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unused -c gnome--.cc /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk-- -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 `gnome-config gnomeui --cflags` -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unused -c procbar.cc c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk-- -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unused -c gnome--.cc -fPIC -DPIC -o gnome--.lo c++ -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gnome--\" -I. -I./.. -I.. -I../../src -I../../src -I../../src/gtk-- -I../../gdk-- -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unused -c procbar.cc -fPIC -DPIC -o procbar.lo procbar.cc: In method `Gnome::ProcBar::ProcBar(const Gtk::Label &, const vector<Gdk_Color *,allocator<Gdk_Color *> > &, gint (*)())': procbar.cc:25: passing `gint (*)()' as argument 5 of `gnome_proc_bar_construct(GnomeProcBar *, GtkWidget *, int, GdkColor *, gint (*)(void *))' make[4]: *** [procbar.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/gnomemm-1.2.3/work/gnomemm-1.2.3/src/gnome--' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnomemm-1.2.3/work/gnomemm-1.2.3/src/gnome--' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnomemm-1.2.3/work/gnomemm-1.2.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnomemm-1.2.3/work/gnomemm-1.2.3' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 5, Exitcode 2 !!! (no error message)
I solved this problem by removing the patch statement in the ebuild.
hmm what gcc version are you using ?
I have the same problem as reporter and this is the version of gcc I am running: bash-2.05a# gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release) Here are my use variables (in case it matters): USE="cups alsa ssl mozilla spell tcltk apm arts bonobo dga dvd evo gb gnome gtk gtkhtml jpeg kde mmx motif mozilla mysql ncurses odbc oggvorbis opengl pam pcmcia png postgres python readline ruby samba sdl slang spell sse ssl tcpd truetype X xmms curl xml xml2 flash imap pdflib freetds"
ditto here: root # gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release) same errors at procbar.lo my normal CFLAGS are "-mcpu=i686 -O3 -pipe" but I tried with CFLAGS="-mcpu=i686 -O2 -pipe" just in case. No difference FWIW.
I'm using gcc version 2.95.3 20010315 (release) Just removing the patch lets the ebuild work. Strange, that this patch is supposedly only for gcc-2, not gcc-3... ?!?
yes, see bug 8633 for a why. And i also had a gcc2 tester who could compile it just fine with and without the patch.
Well, i updated the ebuild and this should be fixed now (hope i don't get reports the other way around this time ;)).
OK, thanks! Works fine now.
worked for me too, thx.