Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569700 - dev-libs/fampp2 fails to build with libsigc++-2.6
Summary: dev-libs/fampp2 fails to build with libsigc++-2.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libsigc++-2.6
  Show dependency tree
 
Reported: 2015-12-25 11:01 UTC by Pacho Ramos
Modified: 2015-12-29 11:10 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-25 11:01:18 UTC
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
Comment 1 Pacho Ramos gentoo-dev 2015-12-25 17:39:39 UTC
Dropping the sigc++/object.h calls from headers should be enough
Comment 2 Pacho Ramos gentoo-dev 2015-12-29 11:10:39 UTC
[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