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

Bug 569528

Summary: games-board/ccgo-0.3.6.4 fails to build with libsigc++-2.6
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 566328    

Description Pacho Ramos gentoo-dev 2015-12-23 19:52:06 UTC
Appending append-cxxflags -std=c++11

makes it fail with:
In file included from ../control.hh:24:0,
                 from parser.hh:51,
                 from file.hh:24,
                 from file.cc:22:
../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory
 #include <sigc++/object.h>
                           ^
compilation terminated.
Makefile:410: recipe for target 'file.o' failed
make[3]: *** [file.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../control.hh:24:0,
                 from parser.hh:51,
                 from kibitz.hh:24,
                 from kibitz.cc:22:
../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory
 #include <sigc++/object.h>
                           ^
compilation terminated.
Makefile:410: recipe for target 'kibitz.o' failed
make[3]: *** [kibitz.o] Error 1
In file included from ../control.hh:24:0,
                 from parser.hh:51,
                 from automatch.hh:24,
                 from automatch.cc:22:
../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory
 #include <sigc++/object.h>
                           ^
compilation terminated.
Makefile:410: recipe for target 'automatch.o' failed
make[3]: *** [automatch.o] Error 1
In file included from ../control.hh:24:0,
                 from parser.hh:51,
                 from misc.hh:24,
                 from misc.cc:22:
../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory
 #include <sigc++/object.h>
                           ^
compilation terminated.
Makefile:410: recipe for target 'misc.o' failed
make[3]: *** [misc.o] Error 1
In file included from ../control.hh:24:0,
                 from parser.hh:51,
                 from player_info.hh:24,
                 from player_info.cc:22:
../connect.hh:24:27: fatal error: sigc++/object.h: No such file or directory
 #include <sigc++/object.h>
                           ^
compilation terminated.
Makefile:410: recipe for target 'player_info.o' failed
make[3]: *** [player_info.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/games-board/ccgo-0.3.6.4/work/ccgo-0.3.6.4/igs/parser'
Makefile:494: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/games-board/ccgo-0.3.6.4/work/ccgo-0.3.6.4/igs'
Makefile:787: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/games-board/ccgo-0.3.6.4/work/ccgo-0.3.6.4'
Makefile:505: recipe for target 'all' failed
make: *** [all] Error 2
Comment 1 Pacho Ramos gentoo-dev 2015-12-25 17:36:06 UTC
Removing the sigc++/object.h calls should be enough :/
Comment 2 Pacho Ramos gentoo-dev 2015-12-31 11:45:52 UTC
In ArchLinux they run this:
https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ccgo

-> append-cxxflags -std=c++11

->   find -name '*.hh' -exec sed -i '/sigc++\/object.h/d' {} +
  find -name '*.cc' -exec sed -i 's/(bind(/(sigc::bind(/' {} +

-> They also look to need to append -fpermisive
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2015-12-31 22:36:13 UTC
should be fixed.