Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569528 - games-board/ccgo-0.3.6.4 fails to build with libsigc++-2.6
Summary: games-board/ccgo-0.3.6.4 fails to build with libsigc++-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libsigc++-2.6
  Show dependency tree
 
Reported: 2015-12-23 19:52 UTC by Pacho Ramos
Modified: 2015-12-31 22:36 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.