Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 220158

Summary: dev-util/glademm-2.6.0 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: GNOME C++ Bindings Maintainers (OBSOLETE) <gnome-mm+disabled>
Status: RESOLVED WONTFIX    
Severity: normal CC: esigra
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: glademm-2.6.0-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-05-03 20:55:02 UTC
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../SourceWriter    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT bonobo_dock.o -MD -MP -MF ".deps/bonobo_dock.Tpo" -c -o bonobo_dock.o bonobo_dock.cc; \
        then mv -f ".deps/bonobo_dock.Tpo" ".deps/bonobo_dock.Po"; else rm -f ".deps/bonobo_dock.Tpo"; exit 1; fi
if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../SourceWriter    -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT bonobo_dockitem.o -MD -MP -MF ".deps/bonobo_dockitem.Tpo" -c -o bonobo_dockitem.o bonobo_dockitem.cc; \
        then mv -f ".deps/bonobo_dockitem.Tpo" ".deps/bonobo_dockitem.Po"; else rm -f ".deps/bonobo_dockitem.Tpo"; exit 1; fi
bonobo_dock.cc: In member function ‘virtual void Bonobo_Dock::AddChild(const Widget&, CxxFile&, const std::string&) const’:
bonobo_dock.cc:73: error: ‘strlen’ was not declared in this scope
make[3]: *** [bonobo_dock.o] Error 1
make[3]: *** Waiting for unfinished jobs....
bonobo_dockitem.cc:88:2: warning: #warning orientation support missing
bonobo_dockitem.cc: In member function ‘virtual void Bonobo_DockItem::ConstructionArgs(const Widget&, CxxFile&) const’:
bonobo_dockitem.cc:66: error: ‘strlen’ was not declared in this scope
make[3]: *** [bonobo_dockitem.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/glademm-2.6.0/work/glademm-2.6.0/src/writers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-util/glademm-2.6.0/work/glademm-2.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/glademm-2.6.0/work/glademm-2.6.0'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-05-03 20:55:53 UTC
Created attachment 151732 [details, diff]
glademm-2.6.0-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-07-10 15:04:49 UTC
glademm was removed from portage a few weeks ago. Makes porting to gcc 4.3 much easier :)

Thanks