Bug#667315: openturns: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:11:29 UTC 2012


Package: openturns
Version: 0.15-2
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

../include/OTtestcode.hxx:215:7: error: 'streamObject' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/openturns_0.15-2_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
t_Exception_std.cxx:47:3: warning:    by earlier handler for 'OpenTURNS::Base::Common::Exception' [enabled by default]
/bin/bash ../libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2  -Wl,-z,relro -o t_Exception_std t_Exception_std.o ../src/libOT.la -ldl -lpthread -lutil -lm 
libtool: link: x86_64-linux-gnu-g++ -g -O2 -Wl,-z -Wl,relro -o .libs/t_Exception_std t_Exception_std.o  ../src/.libs/libOT.so -ldl -lpthread -lutil -lm -pthread -Wl,-rpath -Wl,/usr/lib/openturns
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include  -DNDEBUG -I../include -I../include -DINSTALL_PATH=\"/usr\" -DDATA_PATH=\"/usr/share\" -DSYSCONFIG_PATH=\"/etc\"  -DLIBINSTALL_PATH=\"/usr/lib/openturns\"  -I/usr/include/libxml2 -I/usr/include  -I./../test -I./../src -I./../src/Base -I./../src/Base/Common -I./../src/Base/Type -I./../src/Base/Func -I./../src/Base/Func/MuParser -I./../src/Base/Func/SpecFunc -I./../src/Base/Stat -I./../src/Base/Diff -I./../src/Base/Graph -I./../src/Base/MetaModel -I./../src/Base/Optim -I./../src/Base/Optim/AbdoRackwitz -I./../src/Base/Optim/Cobyla -I./../src/Base/Optim/TNC -I./../src/Base/Optim/SQP -I./../src/Base/Solver -I./../src/Base/Algo -I./../src/Uncertainty -I./../src/Uncertainty/Model -I./../src/Uncertainty/Distribution -I./../src/Uncertainty/StatTests -I./../src/Uncertainty/Algorithm -I./../src/Uncertainty/Algorithm/Experiments -I./../src/Uncertainty/Algorithm/MetaModel -I./../src/Uncertainty/Algorithm/MetaModel/FunctionalChaos -I./../src/Uncertainty/Algorithm/OrthogonalBasis -I./../src/Uncertainty/Algorithm/MetaModel/SVMRegression -I./../src/Uncertainty/Algorithm/QuadraticCumul -I./../src/Uncertainty/Algorithm/Analytical -I./../src/Uncertainty/Algorithm/Analytical/FORM -I./../src/Uncertainty/Algorithm/Analytical/SORM -I./../src/Uncertainty/Algorithm/Simulation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/Rosenblatt -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/MarginalTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalCopula -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalDistribution -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafIndependentCopula -DOT_DEBUG_LEVEL=3  -g -O2 -c -o t_IdFactory_std.o t_IdFactory_std.cxx
/bin/bash ../libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2  -Wl,-z,relro -o t_IdFactory_std t_IdFactory_std.o ../src/libOT.la -ldl -lpthread -lutil -lm 
libtool: link: x86_64-linux-gnu-g++ -g -O2 -Wl,-z -Wl,relro -o .libs/t_IdFactory_std t_IdFactory_std.o  ../src/.libs/libOT.so -ldl -lpthread -lutil -lm -pthread -Wl,-rpath -Wl,/usr/lib/openturns
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include  -DNDEBUG -I../include -I../include -DINSTALL_PATH=\"/usr\" -DDATA_PATH=\"/usr/share\" -DSYSCONFIG_PATH=\"/etc\"  -DLIBINSTALL_PATH=\"/usr/lib/openturns\"  -I/usr/include/libxml2 -I/usr/include  -I./../test -I./../src -I./../src/Base -I./../src/Base/Common -I./../src/Base/Type -I./../src/Base/Func -I./../src/Base/Func/MuParser -I./../src/Base/Func/SpecFunc -I./../src/Base/Stat -I./../src/Base/Diff -I./../src/Base/Graph -I./../src/Base/MetaModel -I./../src/Base/Optim -I./../src/Base/Optim/AbdoRackwitz -I./../src/Base/Optim/Cobyla -I./../src/Base/Optim/TNC -I./../src/Base/Optim/SQP -I./../src/Base/Solver -I./../src/Base/Algo -I./../src/Uncertainty -I./../src/Uncertainty/Model -I./../src/Uncertainty/Distribution -I./../src/Uncertainty/StatTests -I./../src/Uncertainty/Algorithm -I./../src/Uncertainty/Algorithm/Experiments -I./../src/Uncertainty/Algorithm/MetaModel -I./../src/Uncertainty/Algorithm/MetaModel/FunctionalChaos -I./../src/Uncertainty/Algorithm/OrthogonalBasis -I./../src/Uncertainty/Algorithm/MetaModel/SVMRegression -I./../src/Uncertainty/Algorithm/QuadraticCumul -I./../src/Uncertainty/Algorithm/Analytical -I./../src/Uncertainty/Algorithm/Analytical/FORM -I./../src/Uncertainty/Algorithm/Analytical/SORM -I./../src/Uncertainty/Algorithm/Simulation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/Rosenblatt -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/MarginalTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalCopula -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalDistribution -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafIndependentCopula -DOT_DEBUG_LEVEL=3  -g -O2 -c -o t_Log_std.o t_Log_std.cxx
/bin/bash ../libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2  -Wl,-z,relro -o t_Log_std t_Log_std.o ../src/libOT.la -ldl -lpthread -lutil -lm 
libtool: link: x86_64-linux-gnu-g++ -g -O2 -Wl,-z -Wl,relro -o .libs/t_Log_std t_Log_std.o  ../src/.libs/libOT.so -ldl -lpthread -lutil -lm -pthread -Wl,-rpath -Wl,/usr/lib/openturns
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include  -DNDEBUG -I../include -I../include -DINSTALL_PATH=\"/usr\" -DDATA_PATH=\"/usr/share\" -DSYSCONFIG_PATH=\"/etc\"  -DLIBINSTALL_PATH=\"/usr/lib/openturns\"  -I/usr/include/libxml2 -I/usr/include  -I./../test -I./../src -I./../src/Base -I./../src/Base/Common -I./../src/Base/Type -I./../src/Base/Func -I./../src/Base/Func/MuParser -I./../src/Base/Func/SpecFunc -I./../src/Base/Stat -I./../src/Base/Diff -I./../src/Base/Graph -I./../src/Base/MetaModel -I./../src/Base/Optim -I./../src/Base/Optim/AbdoRackwitz -I./../src/Base/Optim/Cobyla -I./../src/Base/Optim/TNC -I./../src/Base/Optim/SQP -I./../src/Base/Solver -I./../src/Base/Algo -I./../src/Uncertainty -I./../src/Uncertainty/Model -I./../src/Uncertainty/Distribution -I./../src/Uncertainty/StatTests -I./../src/Uncertainty/Algorithm -I./../src/Uncertainty/Algorithm/Experiments -I./../src/Uncertainty/Algorithm/MetaModel -I./../src/Uncertainty/Algorithm/MetaModel/FunctionalChaos -I./../src/Uncertainty/Algorithm/OrthogonalBasis -I./../src/Uncertainty/Algorithm/MetaModel/SVMRegression -I./../src/Uncertainty/Algorithm/QuadraticCumul -I./../src/Uncertainty/Algorithm/Analytical -I./../src/Uncertainty/Algorithm/Analytical/FORM -I./../src/Uncertainty/Algorithm/Analytical/SORM -I./../src/Uncertainty/Algorithm/Simulation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/Rosenblatt -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/MarginalTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalCopula -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalDistribution -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafIndependentCopula -DOT_DEBUG_LEVEL=3  -g -O2 -c -o t_Object_std.o t_Object_std.cxx
/bin/bash ../libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2  -Wl,-z,relro -o t_Object_std t_Object_std.o ../src/libOT.la -ldl -lpthread -lutil -lm 
libtool: link: x86_64-linux-gnu-g++ -g -O2 -Wl,-z -Wl,relro -o .libs/t_Object_std t_Object_std.o  ../src/.libs/libOT.so -ldl -lpthread -lutil -lm -pthread -Wl,-rpath -Wl,/usr/lib/openturns
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include  -DNDEBUG -I../include -I../include -DINSTALL_PATH=\"/usr\" -DDATA_PATH=\"/usr/share\" -DSYSCONFIG_PATH=\"/etc\"  -DLIBINSTALL_PATH=\"/usr/lib/openturns\"  -I/usr/include/libxml2 -I/usr/include  -I./../test -I./../src -I./../src/Base -I./../src/Base/Common -I./../src/Base/Type -I./../src/Base/Func -I./../src/Base/Func/MuParser -I./../src/Base/Func/SpecFunc -I./../src/Base/Stat -I./../src/Base/Diff -I./../src/Base/Graph -I./../src/Base/MetaModel -I./../src/Base/Optim -I./../src/Base/Optim/AbdoRackwitz -I./../src/Base/Optim/Cobyla -I./../src/Base/Optim/TNC -I./../src/Base/Optim/SQP -I./../src/Base/Solver -I./../src/Base/Algo -I./../src/Uncertainty -I./../src/Uncertainty/Model -I./../src/Uncertainty/Distribution -I./../src/Uncertainty/StatTests -I./../src/Uncertainty/Algorithm -I./../src/Uncertainty/Algorithm/Experiments -I./../src/Uncertainty/Algorithm/MetaModel -I./../src/Uncertainty/Algorithm/MetaModel/FunctionalChaos -I./../src/Uncertainty/Algorithm/OrthogonalBasis -I./../src/Uncertainty/Algorithm/MetaModel/SVMRegression -I./../src/Uncertainty/Algorithm/QuadraticCumul -I./../src/Uncertainty/Algorithm/Analytical -I./../src/Uncertainty/Algorithm/Analytical/FORM -I./../src/Uncertainty/Algorithm/Analytical/SORM -I./../src/Uncertainty/Algorithm/Simulation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/Rosenblatt -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/MarginalTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalCopula -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalDistribution -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafIndependentCopula -DOT_DEBUG_LEVEL=3  -g -O2 -c -o t_OStream_std.o t_OStream_std.cxx
/bin/bash ../libtool  --tag=CXX   --mode=link x86_64-linux-gnu-g++  -g -O2  -Wl,-z,relro -o t_OStream_std t_OStream_std.o ../src/libOT.la -ldl -lpthread -lutil -lm 
libtool: link: x86_64-linux-gnu-g++ -g -O2 -Wl,-z -Wl,relro -o .libs/t_OStream_std t_OStream_std.o  ../src/.libs/libOT.so -ldl -lpthread -lutil -lm -pthread -Wl,-rpath -Wl,/usr/lib/openturns
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include  -DNDEBUG -I../include -I../include -DINSTALL_PATH=\"/usr\" -DDATA_PATH=\"/usr/share\" -DSYSCONFIG_PATH=\"/etc\"  -DLIBINSTALL_PATH=\"/usr/lib/openturns\"  -I/usr/include/libxml2 -I/usr/include  -I./../test -I./../src -I./../src/Base -I./../src/Base/Common -I./../src/Base/Type -I./../src/Base/Func -I./../src/Base/Func/MuParser -I./../src/Base/Func/SpecFunc -I./../src/Base/Stat -I./../src/Base/Diff -I./../src/Base/Graph -I./../src/Base/MetaModel -I./../src/Base/Optim -I./../src/Base/Optim/AbdoRackwitz -I./../src/Base/Optim/Cobyla -I./../src/Base/Optim/TNC -I./../src/Base/Optim/SQP -I./../src/Base/Solver -I./../src/Base/Algo -I./../src/Uncertainty -I./../src/Uncertainty/Model -I./../src/Uncertainty/Distribution -I./../src/Uncertainty/StatTests -I./../src/Uncertainty/Algorithm -I./../src/Uncertainty/Algorithm/Experiments -I./../src/Uncertainty/Algorithm/MetaModel -I./../src/Uncertainty/Algorithm/MetaModel/FunctionalChaos -I./../src/Uncertainty/Algorithm/OrthogonalBasis -I./../src/Uncertainty/Algorithm/MetaModel/SVMRegression -I./../src/Uncertainty/Algorithm/QuadraticCumul -I./../src/Uncertainty/Algorithm/Analytical -I./../src/Uncertainty/Algorithm/Analytical/FORM -I./../src/Uncertainty/Algorithm/Analytical/SORM -I./../src/Uncertainty/Algorithm/Simulation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/Rosenblatt -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/MarginalTransformation -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalCopula -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafEllipticalDistribution -I./../src/Uncertainty/Algorithm/IsoProbabilisticTransformation/NatafIndependentCopula -DOT_DEBUG_LEVEL=3  -g -O2 -c -o t_PersistentObject_std.o t_PersistentObject_std.cxx
In file included from t_PersistentObject_std.cxx:29:0:
../include/OTtestcode.hxx: In instantiation of 'void OpenTURNS::Test::checkNameConstructor() [with T = TestObject]':
../include/OTtestcode.hxx:316:7:   required from 'void OpenTURNS::Test::checkNameFeature() [with T = TestObject]'
t_PersistentObject_std.cxx:58:34:   required from here
../include/OTtestcode.hxx:215:7: error: 'streamObject' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
../include/OTtestcode.hxx:226:10: note: 'template<class T> void OpenTURNS::Test::streamObject(const T&)' declared here, later in the translation unit
make[3]: *** [t_PersistentObject_std.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/lib/test'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the debian-science-maintainers mailing list