Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9038 - Error in gnomemm
Summary: Error in gnomemm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 8633
Blocks:
  Show dependency tree
 
Reported: 2002-10-12 07:34 UTC by Alcino Dall Igna Junior
Modified: 2003-02-04 19:42 UTC (History)
2 users (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 Alcino Dall Igna Junior 2002-10-12 07:34:01 UTC
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)
Comment 1 Fernando Tobler 2002-10-12 09:45:57 UTC
I solved this problem by removing the patch statement in the ebuild.
Comment 2 foser (RETIRED) gentoo-dev 2002-10-12 16:21:51 UTC
hmm what gcc version are you using ?
Comment 3 Avi Schwartz 2002-10-12 22:37:43 UTC
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"
Comment 4 Chris Russell 2002-10-13 03:26:57 UTC
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.
Comment 5 Fernando Tobler 2002-10-13 05:47:36 UTC
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... ?!?
Comment 6 foser (RETIRED) gentoo-dev 2002-10-13 05:54:34 UTC
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.
Comment 7 foser (RETIRED) gentoo-dev 2002-10-13 14:02:51 UTC
Well, i updated the ebuild and this should be fixed now (hope i don't get
reports the other way around this time ;)).
Comment 8 Fernando Tobler 2002-10-13 15:49:27 UTC
OK, thanks!
Works fine now.
Comment 9 Chris Russell 2002-10-14 04:59:16 UTC
worked for me too, thx.