[Debian-med-packaging] Bug#925797: opensurgsim: ftbfs with GCC-9

Matthias Klose doko at debian.org
Wed Mar 27 19:47:29 GMT 2019


Package: src:opensurgsim
Version: 0.7.0-8
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-9

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/opensurgsim_0.7.0-8_unstable_gcc9.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
/<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidCollisionRepresentationTest.cpp:138:85:   required from here
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h:49:2: warning: catching polymorphic type 'class boost::bad_any_cast' by value [-Wcatch-value=]
   49 |  catch (boost::bad_any_cast exception)
      |  ^~~~~
[ 98%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFixedPointTests.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFixedPointTests.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidConstraintFixedPointTests.cpp
[ 98%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFixedRotationVectorTests.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFixedRotationVectorTests.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidConstraintFixedRotationVectorTests.cpp
[ 98%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFrictionlessContactTests.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFrictionlessContactTests.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidConstraintFrictionlessContactTests.cpp
[ 98%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/RigidLocalizationTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/RigidLocalizationTest.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidLocalizationTest.cpp
[ 99%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/RigidRepresentationTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/RigidRepresentationTest.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidRepresentationTest.cpp
In file included from /<<PKGBUILDDIR>>/SurgSim/Framework/Accessible.h:299,
                 from /<<PKGBUILDDIR>>/SurgSim/Framework/Asset.h:21,
                 from /<<PKGBUILDDIR>>/SurgSim/DataStructures/OctreeNode.h:24,
                 from /<<PKGBUILDDIR>>/SurgSim/DataStructures/Location.h:23,
                 from /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidRepresentationTest.cpp:20:
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h: In instantiation of 'T SurgSim::Framework::Accessible::getValue(const string&) const [with T = double; std::string = std::__cxx11::basic_string<char>]':
/<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidRepresentationTest.cpp:1120:3:   required from here
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h:49:2: warning: catching polymorphic type 'class boost::bad_any_cast' by value [-Wcatch-value=]
   49 |  catch (boost::bad_any_cast exception)
      |  ^~~~~
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h: In instantiation of 'T SurgSim::Framework::Accessible::getValue(const string&) const [with T = std::shared_ptr<SurgSim::Math::Shape>; std::string = std::__cxx11::basic_string<char>]':
/<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidRepresentationTest.cpp:1125:3:   required from here
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h:49:2: warning: catching polymorphic type 'class boost::bad_any_cast' by value [-Wcatch-value=]
[ 99%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/RigidStateTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/RigidStateTest.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidStateTest.cpp
[ 99%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/RotationVectorConstraintDataTests.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/RotationVectorConstraintDataTests.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RotationVectorConstraintDataTests.cpp
In file included from /<<PKGBUILDDIR>>/SurgSim/Framework/Accessible.h:299,
                 from /<<PKGBUILDDIR>>/SurgSim/Physics/RigidState.h:19,
                 from /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidStateTest.cpp:24:
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h: In instantiation of 'T SurgSim::Framework::Accessible::getValue(const string&) const [with T = Eigen::Transform<double, 3, 1>; std::string = std::__cxx11::basic_string<char>]':
/<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidStateTest.cpp:129:2:   required from here
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h:49:2: warning: catching polymorphic type 'class boost::bad_any_cast' by value [-Wcatch-value=]
   49 |  catch (boost::bad_any_cast exception)
      |  ^~~~~
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h: In instantiation of 'T SurgSim::Framework::Accessible::getValue(const string&) const [with T = Eigen::Matrix<double, 3, 1>; std::string = std::__cxx11::basic_string<char>]':
/<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/RigidStateTest.cpp:130:2:   required from here
/<<PKGBUILDDIR>>/SurgSim/Framework/Accessible-inl.h:49:2: warning: catching polymorphic type 'class boost::bad_any_cast' by value [-Wcatch-value=]
[ 99%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/SlidingConstraintDataTests.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/SlidingConstraintDataTests.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/SlidingConstraintDataTests.cpp
[ 99%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/SolveMlcpTests.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/SolveMlcpTests.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/SolveMlcpTests.cpp
[ 99%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/UpdateCollisionRepresentationsTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/UpdateCollisionRepresentationsTest.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/UpdateCollisionRepresentationsTest.cpp
[ 99%] Linking CXX executable SurgSimMathTest
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Math/UnitTests && /usr/bin/cmake -E cmake_link_script CMakeFiles/SurgSimMathTest.dir/link.txt --verbose=1
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11  -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/SurgSimMathTest.dir/AabbTests.cpp.o CMakeFiles/SurgSimMathTest.dir/CardinalSplinesTests.cpp.o CMakeFiles/SurgSimMathTest.dir/CompoundShapeTests.cpp.o CMakeFiles/SurgSimMathTest.dir/CubicSolverTests.cpp.o CMakeFiles/SurgSimMathTest.dir/GeometryTests.cpp.o CMakeFiles/SurgSimMathTest.dir/IntervalArithmeticTests.cpp.o CMakeFiles/SurgSimMathTest.dir/KalmanFilterTests.cpp.o CMakeFiles/SurgSimMathTest.dir/LinearMotionArithmeticTests.cpp.o CMakeFiles/SurgSimMathTest.dir/MakeRigidTransformTests.cpp.o CMakeFiles/SurgSimMathTest.dir/MeshShapeTests.cpp.o CMakeFiles/SurgSimMathTest.dir/MinMaxTests.cpp.o CMakeFiles/SurgSimMathTest.dir/MlcpGaussSeidelSolverTests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeEquationTests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeSolverEulerExplicitModifiedTests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeSolverEulerExplicitTests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeSolverEulerImplicitTests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeSolverRungeKutta4Tests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeSolverStaticTests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeSolverTests.cpp.o CMakeFiles/SurgSimMathTest.dir/OdeStateTests.cpp.o CMakeFiles/SurgSimMathTest.dir/ParticlesShapeTests.cpp.o CMakeFiles/SurgSimMathTest.dir/PolynomialRootTests.cpp.o CMakeFiles/SurgSimMathTest.dir/PolynomialTests.cpp.o CMakeFiles/SurgSimMathTest.dir/PolynomialValuesTests.cpp.o CMakeFiles/SurgSimMathTest.dir/ScalarTests.cpp.o CMakeFiles/SurgSimMathTest.dir/SegmentMeshShapeTests.cpp.o CMakeFiles/SurgSimMathTest.dir/ShapeTests.cpp.o CMakeFiles/SurgSimMathTest.dir/SurfaceMeshShapeTests.cpp.o CMakeFiles/SurgSimMathTest.dir/TriangleCapsuleContactCalculationTests.cpp.o CMakeFiles/SurgSimMathTest.dir/TriangleTriangleContactCalculationTests.cpp.o CMakeFiles/SurgSimMathTest.dir/TriangleTriangleIntersectionTests.cpp.o CMakeFiles/SurgSimMathTest.dir/TriangleTriangleSeparatingAxisContactCalculationTests.cpp.o CMakeFiles/SurgSimMathTest.dir/ValidTests.cpp.o CMakeFiles/SurgSimMathTest.dir/AngleAxisTests.cpp.o CMakeFiles/SurgSimMathTest.dir/LinearSolveAndInverseTests.cpp.o CMakeFiles/SurgSimMathTest.dir/LinearSparseSolveAndInverseTests.cpp.o CMakeFiles/SurgSimMathTest.dir/MatrixTests.cpp.o CMakeFiles/SurgSimMathTest.dir/QuaternionTests.cpp.o CMakeFiles/SurgSimMathTest.dir/RigidTransformTests.cpp.o CMakeFiles/SurgSimMathTest.dir/SparseMatrixTests.cpp.o CMakeFiles/SurgSimMathTest.dir/VectorTests.cpp.o  -o SurgSimMathTest -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/GoogleMock:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Testing/MlcpIO:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/GoogleMock/gtest:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Testing:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Input:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Collision:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Particles:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Math:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/DataStructures:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Framework ../../../GoogleMock/libgmock.so ../../Testing/MlcpIO/libMlcpTestIO.so ../../../GoogleMock/gtest/libgtest.so ../../Testing/libSurgSimTesting.so ../../Physics/libSurgSimPhysics.so.0.7.0 ../../Input/libSurgSimInput.so.0.7.0 ../../Collision/libSurgSimCollision.so.0.7.0 ../../Particles/libSurgSimParticles.so.0.7.0 ../libSurgSimMath.so.0.7.0 ../../DataStructures/libSurgSimDataStructures.so.0.7.0 ../../Framework/libSurgSimFramework.so.0.7.0 -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_system -lboost_thread -lboost_atomic -lpthread -lrt /usr/lib/x86_64-linux-gnu/libyaml-cpp.so.0.6.2 
[100%] Building CXX object SurgSim/Physics/UnitTests/CMakeFiles/SurgSimPhysicsTest.dir/VirtualToolCouplerTest.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/c++  -DBOOST_ALL_DYN_LINK -D_POSIX_C_SOURCE=200809L -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/usr/include/eigen3 -I/usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../../include -isystem /usr/src/googletest/googletest/include -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googlemock -isystem /usr/src/googletest/googletest  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11   -DGTEST_HAS_PTHREAD=1 -o CMakeFiles/SurgSimPhysicsTest.dir/VirtualToolCouplerTest.cpp.o -c /<<PKGBUILDDIR>>/SurgSim/Physics/UnitTests/VirtualToolCouplerTest.cpp
/usr/bin/ld: ../../Testing/libSurgSimTesting.so: undefined reference to `testing::InitGoogleMock(int*, char**)'
collect2: error: ld returned 1 exit status
make[3]: *** [SurgSim/Math/UnitTests/CMakeFiles/SurgSimMathTest.dir/build.make:705: SurgSim/Math/UnitTests/SurgSimMathTest] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:3146: SurgSim/Math/UnitTests/CMakeFiles/SurgSimMathTest.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable SurgSimPhysicsTest
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics/UnitTests && /usr/bin/cmake -E cmake_link_script CMakeFiles/SurgSimPhysicsTest.dir/link.txt --verbose=1
/usr/bin/c++  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -std=gnu++11  -Wl,-z,relro -Wl,-z,now -rdynamic CMakeFiles/SurgSimPhysicsTest.dir/BuildMlcpTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/CcdCollisionLoopTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ComputationGroupTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ComputationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ConstraintComponentTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ConstraintImplementationFactoryTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ConstraintImplementationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ConstraintTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ContactConstraintDataTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ContactConstraintGenerationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ContactFilteringTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/DcdCollisionTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/DeformableCollisionRepresentationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/DeformableRepresentationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/EigenGtestAsserts.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DConstraintFixedPointTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DConstraintFixedRotationVectorTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DConstraintFrictionalSlidingTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DConstraintFrictionlessContactTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DConstraintFrictionlessSlidingTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DElementBeamTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DLocalizationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DMechanicalValidationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DPlyReaderDelegateTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem1DRepresentationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DConstraintFixedPointTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DConstraintFrictionalSlidingTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DConstraintFrictionlessContactTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DConstraintFrictionlessSlidingTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DElementTriangleTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DLocalizationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DMechanicalValidationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DPlyReaderDelegateTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem2DRepresentationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DConstraintFixedPointTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DConstraintFrictionalSlidingTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DConstraintFrictionlessContactTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DConstraintFrictionlessSlidingTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DElementCorotationalTetrahedronTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DElementCubeTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DElementTetrahedronTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DLocalizationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DPlyReaderDelegateTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/Fem3DRepresentationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FemElementTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FemLocalizationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FemRepresentationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FixedConstraintFixedPointTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FixedConstraintFixedRotationVectorTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FixedConstraintFrictionlessContactTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FixedRepresentationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/FreeMotionTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/LinearSpringTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/MassSpringConstraintFixedPointTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/MassSpringConstraintFrictionlessContactTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/MassSpringLocalizationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/MassSpringMechanicalValidationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/MassSpringRepresentationTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/MassTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/MockObjects.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/ParticleCollisionResponseTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/PhysicsManagerStateTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/PhysicsManagerTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/PostUpdateTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/PrepareCollisionPairsTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/PreUpdateTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/PushResultsTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RepresentationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RigidCollisionRepresentationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFixedPointTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFixedRotationVectorTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RigidConstraintFrictionlessContactTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RigidLocalizationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RigidRepresentationTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RigidStateTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/RotationVectorConstraintDataTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/SlidingConstraintDataTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/SolveMlcpTests.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/UpdateCollisionRepresentationsTest.cpp.o CMakeFiles/SurgSimPhysicsTest.dir/VirtualToolCouplerTest.cpp.o  -o SurgSimPhysicsTest -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/GoogleMock:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Blocks:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Graphics:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Testing/MlcpIO:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Devices/IdentityPoseDevice:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/GoogleMock/gtest:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Devices/Keyboard:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Devices/Mouse:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Testing:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Physics:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Particles:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Collision:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Math:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Input:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/DataStructures:/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/SurgSim/Framework ../../../GoogleMock/libgmock.so ../../Blocks/libSurgSimBlocks.so.0.7.0 ../../Graphics/libSurgSimGraphics.so.0.7.0 ../../Testing/MlcpIO/libMlcpTestIO.so ../../Devices/IdentityPoseDevice/libIdentityPoseDevice.so.0.7.0 ../../../GoogleMock/gtest/libgtest.so ../../Devices/Keyboard/libKeyboardDevice.so.0.7.0 ../../Devices/Mouse/libMouseDevice.so.0.7.0 -losg -losgViewer -losgText -losgUtil -losgDB -losgGA -losgAnimation -lOpenThreads -losg -losgViewer -losgText -losgUtil -losgDB -losgGA -losgAnimation -lOpenThreads ../../Testing/libSurgSimTesting.so ../libSurgSimPhysics.so.0.7.0 ../../Particles/libSurgSimParticles.so.0.7.0 ../../Collision/libSurgSimCollision.so.0.7.0 ../../Math/libSurgSimMath.so.0.7.0 ../../Input/libSurgSimInput.so.0.7.0 ../../DataStructures/libSurgSimDataStructures.so.0.7.0 ../../Framework/libSurgSimFramework.so.0.7.0 -lboost_chrono -lboost_date_time -lboost_filesystem -lboost_system -lboost_thread -lboost_atomic -lpthread -lrt /usr/lib/x86_64-linux-gnu/libyaml-cpp.so.0.6.2 
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[100%] Built target SurgSimPhysicsTest
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:144: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the Debian-med-packaging mailing list