Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50713 - libglademm-2.4.0 doesn't compile (gcc 3.4 problem?)
Summary: libglademm-2.4.0 doesn't compile (gcc 3.4 problem?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Lowest normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-10 23:48 UTC by Prakash Punnoor
Modified: 2004-05-22 08:27 UTC (History)
1 user (show)

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


Attachments
patch (libglademm-2.4.0-gcc34.patch,524 bytes, patch)
2004-05-22 05:44 UTC, Vladimir Hlousek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Prakash Punnoor 2004-05-10 23:48:23 UTC
It dies there:


if g++ -DHAVE_CONFIG_H  -I. -I. -I../../libglade -I../../libglade -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/libglade-2.0 -I/usr/include/libxml2     -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:248: Fehler: no matching function for call to `wrap(GtkDialog*&)'
/usr/include/glibmm-2.4/glibmm/wrap.h:55: Anmerkung: candidates are: Glib::RefPtr<Glib::Object> Glib::wrap(GObject*, bool)
/usr/include/glibmm-2.4/glibmm/main.h:438: Anmerkung:                 Glib::RefPtr<Glib::MainContext> Glib::wrap(GMainContext*, bool)
/usr/include/glibmm-2.4/glibmm/main.h:496: Anmerkung:                 Glib::RefPtr<Glib::MainLoop> Glib::wrap(GMainLoop*, bool)
/usr/include/glibmm-2.4/glibmm/iochannel.h:558: Anmerkung:                 Glib::RefPtr<Glib::IOChannel> Glib::wrap(GIOChannel*, bool)
/usr/include/glibmm-2.4/glibmm/thread.h:333: Anmerkung:                 Glib::Thread* Glib::wrap(GThread*)
/usr/include/pangomm-1.4/pangomm/fontdescription.h:512: Anmerkung:                 Pango::FontDescription Glib::wrap(PangoFontDescription*, bool)
/usr/include/pangomm-1.4/pangomm/fontmetrics.h:141: Anmerkung:                 Pango::FontMetrics Glib::wrap(PangoFontMetrics*, bool)
/usr/include/pangomm-1.4/pangomm/language.h:234: Anmerkung:                 Pango::Language Glib::wrap(PangoLanguage*, bool)
/usr/include/pangomm-1.4/pangomm/rectangle.h:155: Anmerkung:                 Pango::Rectangle& Glib::wrap(PangoRectangle*)
/usr/include/pangomm-1.4/pangomm/rectangle.h:158: Anmerkung:                 const Pango::Rectangle& Glib::wrap(const PangoRectangle*)
/usr/include/pangomm-1.4/pangomm/glyph.h:202: Anmerkung:                 Pango::GlyphInfo& Glib::wrap(PangoGlyphInfo*)
/usr/include/pangomm-1.4/pangomm/glyph.h:205: Anmerkung:                 const Pango::GlyphInfo& Glib::wrap(const PangoGlyphInfo*)
/usr/include/pangomm-1.4/pangomm/glyph.h:208: Anmerkung:                 Pango::GlyphGeometry& Glib::wrap(PangoGlyphGeometry*)
/usr/include/pangomm-1.4/pangomm/glyph.h:211: Anmerkung:                 const Pango::GlyphGeometry& Glib::wrap(const PangoGlyphGeometry*)
/usr/include/pangomm-1.4/pangomm/coverage.h:164: Anmerkung:                 Glib::RefPtr<Pango::Coverage> Glib::wrap(PangoCoverage*, bool)
/usr/include/pangomm-1.4/pangomm/font.h:189: Anmerkung:                 Glib::RefPtr<Pango::Font> Glib::wrap(PangoFont*, bool)
/usr/include/pangomm-1.4/pangomm/fontset.h:149: Anmerkung:                 Glib::RefPtr<Pango::Fontset> Glib::wrap(PangoFontset*, bool)
/usr/include/pangomm-1.4/pangomm/fontface.h:146: Anmerkung:                 Glib::RefPtr<Pango::FontFace> Glib::wrap(PangoFontFace*, bool)
/usr/include/pangomm-1.4/pangomm/fontfamily.h:166: Anmerkung:                 Glib::RefPtr<Pango::FontFamily> Glib::wrap(PangoFontFamily*, bool)
/usr/include/pangomm-1.4/pangomm/fontmap.h:148: Anmerkung:                 Glib::RefPtr<Pango::FontMap> Glib::wrap(PangoFontMap*, bool)
/usr/include/pangomm-1.4/pangomm/color.h:117: Anmerkung:                 Pango::Color& Glib::wrap(PangoColor*)
/usr/include/pangomm-1.4/pangomm/color.h:123: Anmerkung:                 const Pango::Color& Glib::wrap(const PangoColor*)
/usr/include/pangomm-1.4/pangomm/attributes.h:639: Anmerkung:                 Pango::Attribute Glib::wrap(PangoAttribute*, bool)
/usr/include/pangomm-1.4/pangomm/attributes.h:642: Anmerkung:                 Pango::AttrString Glib::wrap(PangoAttrString*, bool)
/usr/include/pangomm-1.4/pangomm/attributes.h:645: Anmerkung:                 Pango::AttrLanguage Glib::wrap(PangoAttrLanguage*, bool)
/usr/include/pangomm-1.4/pangomm/attributes.h:648: Anmerkung:                 Pango::AttrColor Glib::wrap(PangoAttrColor*, bool)
/usr/include/pangomm-1.4/pangomm/attributes.h:651: Anmerkung:                 Pango::AttrInt Glib::wrap(PangoAttrInt*, bool)
/usr/include/pangomm-1.4/pangomm/attributes.h:654: Anmerkung:                 Pango::AttrFloat Glib::wrap(PangoAttrFloat*, bool)
/usr/include/pangomm-1.4/pangomm/attributes.h:657: Anmerkung:                 Pango::AttrFontDesc Glib::wrap(PangoAttrFontDesc*, bool)
/usr/include/pangomm-1.4/pangomm/attributes.h:660: Anmerkung:                 Pango::AttrShape Glib::wrap(PangoAttrShape*, bool)
/usr/include/pangomm-1.4/pangomm/item.h:213: Anmerkung:                 Pango::Analysis& Glib::wrap(PangoAnalysis*)
/usr/include/pangomm-1.4/pangomm/item.h:216: Anmerkung:                 const Pango::Analysis& Glib::wrap(const PangoAnalysis*)
/usr/include/pangomm-1.4/pangomm/item.h:219: Anmerkung:                 Pango::Item Glib::wrap(PangoItem*, bool)
/usr/include/pangomm-1.4/pangomm/attriter.h:141: Anmerkung:                 Pango::AttrIter Glib::wrap(PangoAttrIterator*, bool)
/usr/include/pangomm-1.4/pangomm/attrlist.h:171: Anmerkung:                 Pango::AttrList Glib::wrap(PangoAttrList*, bool)
/usr/include/pangomm-1.4/pangomm/context.h:311: Anmerkung:                 Glib::RefPtr<Pango::Context> Glib::wrap(PangoContext*, bool)
/usr/include/pangomm-1.4/pangomm/tabarray.h:184: Anmerkung:                 Pango::TabArray Glib::wrap(PangoTabArray*, bool)
/usr/include/pangomm-1.4/pangomm/layoutline.h:210: Anmerkung:                 Glib::RefPtr<Pango::LayoutLine> Glib::wrap(PangoLayoutLine*, bool)
/usr/include/pangomm-1.4/pangomm/layoutrun.h:83: Anmerkung:                 Pango::LayoutRun& Glib::wrap(PangoLayoutRun*)
/usr/include/pangomm-1.4/pangomm/layoutrun.h:86: Anmerkung:                 const Pango::LayoutRun& Glib::wrap(const PangoLayoutRun*)
/usr/include/pangomm-1.4/pangomm/layout.h:625: Anmerkung:                 Glib::RefPtr<Pango::Layout> Glib::wrap(PangoLayout*, bool)
/usr/include/atkmm-1.6/atkmm/component.h:326: Anmerkung:                 Glib::RefPtr<Atk::Component> Glib::wrap(AtkComponent*, bool)
/usr/include/atkmm-1.6/atkmm/relation.h:177: Anmerkung:                 Glib::RefPtr<Atk::Relation> Glib::wrap(AtkRelation*, bool)
/usr/include/atkmm-1.6/atkmm/object.h:513: Anmerkung:                 Glib::RefPtr<Atk::Object> Glib::wrap(AtkObject*, bool)
/usr/include/atkmm-1.6/atkmm/implementor.h:122: Anmerkung:                 Glib::RefPtr<Atk::Implementor> Glib::wrap(AtkImplementor*, bool)
/usr/include/pangomm-1.4/pangomm/glyphstring.h:212: Anmerkung:                 Pango::GlyphString Glib::wrap(PangoGlyphString*, bool)
/usr/include/gdkmm-2.4/gdkmm/types.h:361: Anmerkung:                 Gdk::Point& Glib::wrap(GdkPoint*)
/usr/include/gdkmm-2.4/gdkmm/types.h:364: Anmerkung:                 const Gdk::Point& Glib::wrap(const GdkPoint*)
/usr/include/gdkmm-2.4/gdkmm/rectangle.h:96: Anmerkung:                 Gdk::Rectangle& Glib::wrap(GdkRectangle*)
/usr/include/gdkmm-2.4/gdkmm/rectangle.h:102: Anmerkung:                 const Gdk::Rectangle& Glib::wrap(const GdkRectangle*)
/usr/include/gdkmm-2.4/gdkmm/region.h:229: Anmerkung:                 Gdk::Region Glib::wrap(GdkRegion*, bool)
/usr/include/gdkmm-2.4/gdkmm/screen.h:418: Anmerkung:                 Glib::RefPtr<Gdk::Screen> Glib::wrap(GdkScreen*, bool)
/usr/include/gdkmm-2.4/gdkmm/gc.h:521: Anmerkung:                 Glib::RefPtr<Gdk::GC> Glib::wrap(GdkGC*, bool)
/usr/include/gdkmm-2.4/gdkmm/visual.h:248: Anmerkung:                 Glib::RefPtr<Gdk::Visual> Glib::wrap(GdkVisual*, bool)
/usr/include/gdkmm-2.4/gdkmm/color.h:263: Anmerkung:                 Gdk::Color Glib::wrap(GdkColor*, bool)
/usr/include/gdkmm-2.4/gdkmm/colormap.h:222: Anmerkung:                 Glib::RefPtr<Gdk::Colormap> Glib::wrap(GdkColormap*, bool)
/usr/include/gdkmm-2.4/gdkmm/image.h:226: Anmerkung:                 Glib::RefPtr<Gdk::Image> Glib::wrap(GdkImage*, bool)
/usr/include/gdkmm-2.4/gdkmm/drawable.h:578: Anmerkung:                 Glib::RefPtr<Gdk::Drawable> Glib::wrap(GdkDrawable*, bool)
/usr/include/gdkmm-2.4/gdkmm/pixmap.h:197: Anmerkung:                 Glib::RefPtr<Gdk::Pixmap> Glib::wrap(GdkPixmapObject*, bool)
/usr/include/gdkmm-2.4/gdkmm/window.h:1846: Anmerkung:                 Glib::RefPtr<Gdk::Window> Glib::wrap(GdkWindowObject*, bool)
/usr/include/gdkmm-2.4/gdkmm/event.h:386: Anmerkung:                 Gdk::Event Glib::wrap(GdkEvent*, bool)
/usr/include/gdkmm-2.4/gdkmm/pixbuf.h:576: Anmerkung:                 Glib::RefPtr<Gdk::Pixbuf> Glib::wrap(GdkPixbuf*, bool)
/usr/include/gdkmm-2.4/gdkmm/dragcontext.h:364: Anmerkung:                 Glib::RefPtr<Gdk::DragContext> Glib::wrap(GdkDragContext*, bool)
/usr/include/gdkmm-2.4/gdkmm/device.h:249: Anmerkung:                 Glib::RefPtr<Gdk::Device> Glib::wrap(GdkDevice*, bool)
/usr/include/gdkmm-2.4/gdkmm/display.h:593: Anmerkung:                 Glib::RefPtr<Gdk::Display> Glib::wrap(GdkDisplay*, bool)
/usr/include/gtkmm-2.4/gtkmm/targetlist.h:92: Anmerkung:                 Glib::RefPtr<Gtk::TargetList> Glib::wrap(GtkTargetList*, bool)
/usr/include/gtkmm-2.4/gtkmm/object.h:161: Anmerkung:                 Gtk::Object* Glib::wrap(GtkObject*, bool)
/usr/include/gtkmm-2.4/gtkmm/iconsource.h:277: Anmerkung:                 Gtk::IconSource Glib::wrap(GtkIconSource*, bool)
/usr/include/gtkmm-2.4/gtkmm/iconset.h:176: Anmerkung:                 Gtk::IconSet Glib::wrap(GtkIconSet*, bool)
/usr/include/gtkmm-2.4/gtkmm/style.h:775: Anmerkung:                 Glib::RefPtr<Gtk::Style> Glib::wrap(GtkStyle*, bool)
/usr/include/gtkmm-2.4/gtkmm/rc.h:347: Anmerkung:                 Glib::RefPtr<Gtk::RcStyle> Glib::wrap(GtkRcStyle*, bool)
/usr/include/gtkmm-2.4/gtkmm/selectiondata.h:175: Anmerkung:                 Gtk::SelectionData Glib::wrap(GtkSelectionData*, bool)
/usr/include/gtkmm-2.4/gtkmm/clipboard.h:353: Anmerkung:                 Glib::RefPtr<Gtk::Clipboard> Glib::wrap(GtkClipboard*, bool)
/usr/include/gtkmm-2.4/gtkmm/widget.h:2508: Anmerkung:                 Gtk::Widget* Glib::wrap(GtkWidget*, bool)
/usr/include/gtkmm-2.4/gtkmm/container.h:428: Anmerkung:                 Gtk::Container* Glib::wrap(GtkContainer*, bool)
make[2]: *** [main.o] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/libglademm-2.4.0/work/libglademm-2.4.0/examples/derived'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/libglademm-2.4.0/work/libglademm-2.4.0/examples'
make: *** [all-recursive] Fehler 1

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




Portage 2.0.50-r6 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.6-rc3-love4)
=================================================================
System uname: 2.6.6-rc3-love4 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.12
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -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/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=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest prelink sandbox"
GENTOO_MIRRORS=" ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/lportage"
SYNC="rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo-portage"
USE="3dnow S3TC X Xaw3d aalib acpi acpi4linux alsa apm arts avi berkdb cdr crypt cups dga directfb dv dvb dvd dvdr encode esd ext-png ext-zlib faad fbcon ffmpeg flac foomaticdb gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml ieee1394 imlib ipv6 javascript jpeg kde ldap libg++ libwww mad mikmod mmx monkey motif moznocompose mpeg mpi ncurses nls nocd nptl nvidia oggvorbis openal opengl oss pam pdflib perl pic png ppds python qt qtmt quicktime readline samba scanner sdl slang speex spell sse ssl svga tcpd tetex threads tiff transcode truetype usb v4l videos wmf x86 xfs xine xml xml2 xmms xv xvid zlib"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jisakiel 2004-05-12 09:17:24 UTC
Exact same error. glibc with nptl, 2.6 headers and gcc 3.4.0 here. My emerge info: 

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040420-r0, 2.6.3-9mdk) //under a mandrake chroot
=================================================================
System uname: 2.6.3-9mdk i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.12
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays  -mfpmath=387 -falign-functions=64 -mpreferred-stack-boundary=4 -ftracer -fmerge-all-constants -minline-all-stringops"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -momit-leaf-frame-pointer -funroll-loops -fprefetch-loop-arrays  -mfpmath=387 -falign-functions=64 -mpreferred-stack-boundary=4 -ftracer -fmerge-all-constants -minline-all-stringops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.rediris.es/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/  http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://212.219.247.14/sites/www.ibiblio.org/gentoo/ ftp://ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow S3TC X aalib acpi acpi4linux alsa apache2 apm arts artswrappersuid audiofile avi berkdb cdr crypt cups dga directfb divx4linux dvd encode esd fbcon ffmpeg flac flash foomaticdb foreign-package gcj gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 imagemagick imlib java javascript jikes joystick jpeg junit kde libg++ libwww linguas_es lufsusermount lzw-tiff mad mikmod mmx motif mozcalendar mozilla mozsvg mpeg mpeg4 msn ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl pic png python qt quicktime radeon readline scanner sdl slang spell ssl svga tcpd transcode truetype unicode usb video_cards_radeon x86 xine xml2 xmms xv xvid zlib"
Comment 2 Kathy Wills 2004-05-14 11:31:19 UTC
I'm getting the same error. 
Comment 3 foser (RETIRED) gentoo-dev 2004-05-15 11:32:29 UTC
Kathy : also on gcc-3.4 ?
Comment 4 Kathy Wills 2004-05-15 18:32:32 UTC
Yes, I've tried it using both gcc-3.4.0-r1 and gcc-3.4.0-r2.
Comment 5 Christian Dröge 2004-05-21 13:50:52 UTC
Same here with gcc-3.4-r4
Comment 6 Vladimir Hlousek 2004-05-22 05:44:20 UTC
Created attachment 31833 [details, diff]
patch
Comment 7 Prakash Punnoor 2004-05-22 05:54:09 UTC
Yes, it works. :) What a trivial fix...
Comment 8 Yi Quang (RETIRED) gentoo-dev 2004-05-22 08:27:20 UTC
Thanks for the patch, fixed.