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

Bug 218403

Summary: dev-cpp/gtkmm-1.2.9-r2 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 FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: gtkmm-1.2.9-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-19 12:31:32 UTC
To the surprise of none:
make[3]: Entering directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9/src/gtkmmproc'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../..   -D MACRO_DIR=\"/usr/lib/gtkmm/proc\" -D M4=\"m4\"   -c parser.cc
/usr/lib/bison.simple: In function ‘int yyparse()’:
/usr/lib/bison.simple:358: warning: deprecated conversion from string constant to ‘char*’
/usr/lib/bison.simple:643: warning: deprecated conversion from string constant to ‘char*’
parser.yy: In function ‘int sig_attribute(std::string*)’:
parser.yy:510: warning: deprecated conversion from string constant to ‘char*’
parser.yy: In function ‘int member_attribute(std::string*)’:
parser.yy:529: warning: deprecated conversion from string constant to ‘char*’
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../..   -D MACRO_DIR=\"/usr/lib/gtkmm/proc\" -D M4=\"m4\"   -c gtkmmproc.cc
gtkmmproc.cc: In constructor ‘OutputChannel::OutputChannel()’:
gtkmmproc.cc:757: error: ‘exit’ was not declared in this scope
gtkmmproc.cc:763: error: ‘exit’ was not declared in this scope
gtkmmproc.cc: In member function ‘void OutputChannel::process()’:
gtkmmproc.cc:817: error: ‘system’ was not declared in this scope
gtkmmproc.cc: In member function ‘void Environment::usage()’:
gtkmmproc.cc:874: error: ‘exit’ was not declared in this scope
make[3]: *** [gtkmmproc.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9/src/gtkmmproc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-cpp/gtkmm-1.2.9-r2/work/gtkmm-1.2.9'
make: *** [all-recursive-am] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-19 12:32:49 UTC
Created attachment 150290 [details, diff]
gtkmm-1.2.9-gcc43.patch

Remember to cd "${S}" before epatching.
Fixes the problem.Snatched from Debian.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-07-11 09:00:38 UTC
Thanks for the patch. :)

Fixed in portage without a revbump.