Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8633 - gnomemm ebuild fails
Summary: gnomemm ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 3924 (view as bug list)
Depends on:
Blocks: 9038
  Show dependency tree
 
Reported: 2002-10-01 23:36 UTC by Matt Taylor
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 Matt Taylor 2002-10-01 23:36:38 UTC
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
Comment 1 foser (RETIRED) gentoo-dev 2002-10-03 13:39:57 UTC
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.
Comment 2 Matt Taylor 2002-10-03 16:04:36 UTC
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
Comment 3 foser (RETIRED) gentoo-dev 2002-10-03 16:43:42 UTC
Ok, could you try disable the first patchline in the 1.2.2-r3 ebuild ? See if it
works then.
Comment 4 Matt Taylor 2002-10-04 12:07:20 UTC
That did it.  Thanks.
Comment 5 foser (RETIRED) gentoo-dev 2002-10-07 11:58:17 UTC
*** Bug 3924 has been marked as a duplicate of this bug. ***
Comment 6 foser (RETIRED) gentoo-dev 2002-10-07 16:01:41 UTC
I made some gcc2 changes to the gnomemm-1.2.3.ebuild, can someone please test them ?
Comment 7 foser (RETIRED) gentoo-dev 2002-10-09 07:05:58 UTC
Can the reporter of this bug please test gnomemm-1.2.3 as it is in portage right
now ? thnx in advance.
Comment 8 Matt Taylor 2002-10-10 00:18:46 UTC
new gnomemm-1.2.3 ebuild compiles properly.
Comment 9 foser (RETIRED) gentoo-dev 2002-10-10 05:01:05 UTC
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 ?
Comment 10 Matt Taylor 2002-10-10 15:45:13 UTC
With the patch disabled it dies like before.
Comment 11 foser (RETIRED) gentoo-dev 2002-10-10 16:00:07 UTC
Thanks a lot, then i'll leave it like this and close this bug.
Comment 12 foser (RETIRED) gentoo-dev 2002-10-13 05:30:35 UTC
matt can you give me your 'gcc -v' ? i have a lot of problems with this patch
(see blocking bug for this bug)
Comment 13 Matt Taylor 2002-10-13 14:35:58 UTC
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)