Even after adding: append-cxxflags -std=c++11 It fails when trying to use obsolete headers libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I/usr/include -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/FerrisLoki -I/usr/include/FerrisLoki/loki -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -O2 -pipe -march=native -fno-stack-protector -O2 -pipe -march=native -fno-stack-protector -std=c++11 -lferrisloki -lsigc-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -c Fampp2.cpp -fPIC -DPIC -o .libs/Fampp2.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I/usr/include -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/FerrisLoki -I/usr/include/FerrisLoki/loki -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -O2 -pipe -march=native -fno-stack-protector -O2 -pipe -march=native -fno-stack-protector -std=c++11 -lferrisloki -lsigc-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -c Fampp2GlibSupport.cpp -fPIC -DPIC -o .libs/Fampp2GlibSupport.o libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I. -I. -I.. -I.. -I/usr/include -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/FerrisLoki -I/usr/include/FerrisLoki/loki -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -O2 -pipe -march=native -fno-stack-protector -O2 -pipe -march=native -fno-stack-protector -std=c++11 -lferrisloki -lsigc-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -c FamppEvents.cpp -fPIC -DPIC -o .libs/FamppEvents.o In file included from ./Fampp2.hh:132:0, from ./Fampp2GlibSupport.hh:31, from Fampp2GlibSupport.cpp:31: ./FamppEvents.hh:39:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:381: recipe for target 'Fampp2GlibSupport.lo' failed make[2]: *** [Fampp2GlibSupport.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from ./Fampp2.hh:132:0, from Fampp2.cpp:31: ./FamppEvents.hh:39:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:381: recipe for target 'Fampp2.lo' failed make[2]: *** [Fampp2.lo] Error 1 In file included from ./Fampp2.hh:132:0, from ./FamppEvents.hh:32, from FamppEvents.cpp:31: ./FamppEvents.hh:39:27: fatal error: sigc++/object.h: No such file or directory #include <sigc++/object.h> ^ compilation terminated. Makefile:381: recipe for target 'FamppEvents.lo' failed make[2]: *** [FamppEvents.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/fampp2-7.0.1/work/fampp2-7.0.1/src' Makefile:415: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/fampp2-7.0.1/work/fampp2-7.0.1' Makefile:284: recipe for target 'all' failed make: *** [all] Error 2
Dropping the sigc++/object.h calls from headers should be enough
[master 0172275] dev-libs/fampp2: Fix building with latest glibmm/libsigc++ (#569700) 1 file changed, 57 insertions(+) create mode 100644 dev-libs/fampp2/fampp2-7.0.1-r1.ebuild