I'm trying to emerge cdrdao-1.1.5-r1 and it requires gnomemm-1.2.2-r3. gnomemm dies duiring the compile with this: /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 -Wall -Wno-unused -c propertybox.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 -Wall -Wno-unused -c propertybox.cc -fPIC -DPIC -o propertybox.lo procbar.cc: In method `Gnome::ProcBar::ProcBar(const Gtk::Label &, const vector<Gdk_Color *,allocator<Gdk_Color *> > &, gint (*)(void *))': procbar.cc:23: ANSI C++ prohibits conversion from `(void *)' to `(...)' make[4]: *** [procbar.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/gnomemm-1.2.2-r3/work/gnomemm-1.2.2/src/gnome--' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gnomemm-1.2.2-r3/work/gnomemm-1.2.2/src/gnome--' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnomemm-1.2.2-r3/work/gnomemm-1.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnomemm-1.2.2-r3/work/gnomemm-1.2.2' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 5, Exitcode 2 !!! (no error message) This is using gcc-2.95.3-r5, with gnome-1.4
Can you maybe unmask gnomemm-1.2.3 in package.mask, it should fix a bug in this part of the gnomemm code. gcc3 doesn't have this problem.
still dies but here this time: 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 -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:26: ANSI C++ prohibits conversion from `(void *)' to `(...)' make[4]: *** [procbar.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... ...same as before... emerge -p gnomemm These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild N ] gnome-extra/gnomemm-1.2.3
Ok, could you try disable the first patchline in the 1.2.2-r3 ebuild ? See if it works then.
That did it. Thanks.
*** Bug 3924 has been marked as a duplicate of this bug. ***
I made some gcc2 changes to the gnomemm-1.2.3.ebuild, can someone please test them ?
Can the reporter of this bug please test gnomemm-1.2.3 as it is in portage right now ? thnx in advance.
new gnomemm-1.2.3 ebuild compiles properly.
unmasked 1.2.3. And if the reporter could help me one more time, can you disable the patching in the gnomemm-1.2.3.ebuild and see if it still works ?
With the patch disabled it dies like before.
Thanks a lot, then i'll leave it like this and close this bug.
matt can you give me your 'gcc -v' ? i have a lot of problems with this patch (see blocking bug for this bug)
$ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs gcc version 2.95.3 20010315 (release)