Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57318 - dev-cpp/libglademm-2.2.0 failed to compile gcc 3.4.1
Summary: dev-cpp/libglademm-2.2.0 failed to compile gcc 3.4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 12:44 UTC by Aaron Peterson
Modified: 2004-09-06 04:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libglademm-2.2.0 failed to compile gcc 3.4.1 fix (yuhu.patch,2.16 KB, patch)
2004-09-03 01:16 UTC, Chris Arepantis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Peterson 2004-07-16 12:44:48 UTC
gcc 3.4.1
I got a lot of things that arn't compiling...

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
if g++ -DHAVE_CONFIG_H  -I. -I. -I../../libglade -I../../libglade -DXTHREADS
-D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtkmm-2.0
-I/usr/lib/gtkmm-2.0/include -I/usr/include/gtk-2.0
-I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0
-I/usr/include/libglade-2.0 -I/usr/include/libxml2    -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -Wall -MT main.o -MD -MP -MF ".deps/main.Tpo" \
  -c -o main.o `test -f 'main.cc' || echo './'`main.cc; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
../../libglade/libglademm/xml.h: In member function `T_Widget*
Gnome::Glade::Xml::get_widget_derived(const Glib::ustring&, T_Widget*&) [with
T_Widget = DerivedDialog]':
main.cc:40:   instantiated from here
../../libglade/libglademm/xml.h:247: error: no matching function for call to
`wrap(GtkDialog*&)'
/usr/include/gtkmm-2.0/glibmm/wrap.h:55: note: candidates are:
Glib::RefPtr<Glib::Object> Glib::wrap(GObject*, bool)
/usr/include/gtkmm-2.0/glibmm/main.h:363: note:                
Glib::RefPtr<Glib::MainContext> Glib::wrap(GMainContext*, bool)
/usr/include/gtkmm-2.0/glibmm/main.h:399: note:                
Glib::RefPtr<Glib::MainLoop> Glib::wrap(GMainLoop*, bool)
/usr/include/gtkmm-2.0/glibmm/iochannel.h:558: note:                
Glib::RefPtr<Glib::IOChannel> Glib::wrap(GIOChannel*, bool)
/usr/include/gtkmm-2.0/glibmm/thread.h:333: note:                 Glib::Thread*
Glib::wrap(GThread*)
/usr/include/gtkmm-2.0/pangomm/fontdescription.h:497: note:                
Pango::FontDescription Glib::wrap(PangoFontDescription*, bool)
/usr/include/gtkmm-2.0/pangomm/fontmetrics.h:134: note:                
Pango::FontMetrics Glib::wrap(PangoFontMetrics*, bool)
/usr/include/gtkmm-2.0/pangomm/language.h:123: note:                
Pango::Language Glib::wrap(PangoLanguage*, bool)
/usr/include/gtkmm-2.0/pangomm/rectangle.h:153: note:                
Pango::Rectangle& Glib::wrap(PangoRectangle*)
***********more of the same note stuff*********
/usr/include/gtkmm-2.0/gtkmm/clipboard.h:299: note:                
Glib::RefPtr<Gtk::Clipboard> Glib::wrap(GtkClipboard*, bool)
/usr/include/gtkmm-2.0/gtkmm/widget.h:2424: note:                 Gtk::Widget*
Glib::wrap(GtkWidget*, bool)
/usr/include/gtkmm-2.0/gtkmm/container.h:410: note:                
Gtk::Container* Glib::wrap(GtkContainer*, bool)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/libglademm-2.2.0/work/libglademm-2.2.0/examples/derived'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/libglademm-2.2.0/work/libglademm-2.2.0/examples'
make: *** [all-recursive] Error 1

!!! ERROR: dev-cpp/libglademm-2.2.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure

bash-2.05b#


bash-2.05b# emerge --info
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib accessibility acl acpi acpi4linux alsa amd apache2 apm
arts artswrappersuid audiofile avi berkdb bidi bonobo canna cdr cjk cjkcrypt
crypt cscope cups dga directfb divx4linux doc dv dvb dvd encode esd evms2 faad
fam fbcon ffmpeg flac flash foomaticdb freetype freewnn fs gdbm ggi gif gnome
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib jack java javascript
joystick jpeg kde kerberos krb4 ldap libcss libdvdread libg++ libwww linguas_es
linguas_ru linguas_zh_CN linguas_zh_TW mad maildir md5sum mdb mikmod mmx motif
mozilla mpeg mpeg4 mule mysql nas ncurses net nls nptl nvidia oggvorbis opengl
oss pam pdflib perl pic png postgres python qt quicktime readline samba sasl
scanner sdl slang spell sse ssl svg svga tcltk tcpd tetex theora threads tiff
transcode truetype unicode usb v4l vhosts virus-scan x86 xine xinerama xml2 xmms
xv xvid zeo zlib"
Comment 1 Lukas Miczka 2004-07-17 02:35:20 UTC
Exactly the same problem on:
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-love8)
=================================================================
System uname: 2.6.7-love8 i686 AMD Athlon(tm)
Gentoo Base System version 1.5.1
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fprefetch-loop-arrays -fforce-addr -mfpmath=sse -maccumulate-outgoing-args -fweb -frename-registers -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fprefetch-loop-arrays -fforce-addr -mfpmath=sse -maccumulate-outgoing-args -fweb -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 apm avi berkdb cdr crypt cups dvd esd faac faad fbcon flac foomaticdb gdbm gif gimpprint gnome gpm gtk gtk2 imlib java jpeg lame libg++ libwww linguas_pl mad matroska mikmod mitshm mmx motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline sdl slang speex spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv xvid zlib"

and I get:
!!! ERROR: dev-cpp/libglademm-2.2.0 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
Comment 2 Martin Allchin 2004-07-19 05:30:24 UTC
Same here running gcc-3.4.1 on amd64; If you need anything let me know.
Comment 3 Aaron Peterson 2004-07-26 14:13:14 UTC
still happening... I'm using x86..

same error...

libglademm 2.4.0 compiles fine though... but i think it's a slot thing...   need both the 2.2.0 and the 2.4..

anyway, I like it when my emerge world -uD ends up completeing everything.

and it hasn't done that in about a month now
Comment 4 Martin Allchin 2004-07-30 06:38:29 UTC
Looks like cdrdao depends on the older libgnomemm but it seems to work w/o it;  Both k3b & dvdrip work okay and they use cdrdao.
Comment 5 Zac Witte 2004-08-16 02:42:41 UTC
Same error. I'm on:

Portage 2.0.50-r9 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.3_pre20040529-r0, 2.6.7-gentoo-r12)
=================================================================
System uname: 2.6.7-gentoo-r12 x86_64 4
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb cdr crypt dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg multilib mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline samba scanner sdl slang spell ssl tcltk tcpd truetype xml2 xmms xv zlib"
Comment 6 Zac Witte 2004-08-16 02:49:55 UTC
I don't know if it's a gcc thing, but you can emerge =dev-cpp/libglademm-2.0.1 and it satisfies the dependency for cdrdao.
Comment 7 Andreas Eriksson 2004-08-31 00:37:58 UTC
Same problem here. And I need it for other things than the apps mentioned here (vba), so this should get fixed.
Comment 8 Chris Arepantis 2004-09-03 01:16:27 UTC
Created attachment 38804 [details, diff]
libglademm-2.2.0 failed to compile gcc 3.4.1 fix
Comment 9 Chris Arepantis 2004-09-03 01:20:48 UTC
The above patch was found at http://bugzilla.gnome.org/show_bug.cgi?id=142516
Comment 10 Karol Wojtaszek (RETIRED) gentoo-dev 2004-09-06 04:26:52 UTC
Commited to portage. Thanks