Bug#853660: simbody: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:35:56 UTC 2017
Package: src:simbody
Version: 3.5.4+dfsg-1
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7
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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/simbody_3.5.4+dfsg-1_unstable_gcc7.log
The last lines of the build log are at the end of this report.
To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html
[...]
In file included from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/./include/SimTKcommon/basics.h:43:0,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/EventHandler.h:27,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/src/EventHandler.cpp:24:
/<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/Measure.h:629:34: error: invalid use of incomplete type 'const class SimTK::Subsystem'
&& this->getSubsystem().isSameSubsystem(right.getSubsystem()),
~~~~~~~~~~~~~~~~~~^~
/<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/./include/SimTKcommon/internal/ExceptionMacros.h:282:13: note: in definition of macro 'SimTK_ERRCHK_ALWAYS'
do{if(!(cond))SimTK_THROW3(SimTK::Exception::ErrorCheck, \
^~~~
In file included from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/Subsystem.h:30:0,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/System.h:30,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/EventHandler.h:30,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/src/EventHandler.cpp:24:
/<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/Measure.h:128:7: note: forward declaration of 'class SimTK::Subsystem'
class Subsystem;
^~~~~~~~~
In file included from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/./include/SimTKcommon/basics.h:43:0,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/EventHandler.h:27,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/src/EventHandler.cpp:24:
/<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/Measure.h: In constructor 'SimTK::Measure_<T>::Scale::Scale(SimTK::Subsystem&, SimTK::Real, const SimTK::Measure_<T>&)':
/<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/Measure.h:653:31: error: invalid use of incomplete type 'const class SimTK::Subsystem'
(this->getSubsystem().isSameSubsystem(operand.getSubsystem()),
~~~~~~~~~~~~~~~~~~^~
/<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/./include/SimTKcommon/internal/ExceptionMacros.h:282:13: note: in definition of macro 'SimTK_ERRCHK_ALWAYS'
do{if(!(cond))SimTK_THROW3(SimTK::Exception::ErrorCheck, \
^~~~
In file included from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/Subsystem.h:30:0,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/System.h:30,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/EventHandler.h:30,
from /<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/src/EventHandler.cpp:24:
/<<BUILDDIR>>/simbody-3.5.4+dfsg/SimTKcommon/Simulation/include/SimTKcommon/internal/Measure.h:128:7: note: forward declaration of 'class SimTK::Subsystem'
class Subsystem;
^~~~~~~~~
SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/build.make:737: recipe for target 'SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/__/Simulation/src/EventHandler.cpp.o' failed
make[3]: *** [SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/__/Simulation/src/EventHandler.cpp.o] Error 1
SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/build.make:881: recipe for target 'SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/__/Simulation/src/System.cpp.o' failed
make[3]: *** [SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/__/Simulation/src/System.cpp.o] Error 1
SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/build.make:785: recipe for target 'SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/__/Simulation/src/Measure.cpp.o' failed
make[3]: *** [SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/__/Simulation/src/Measure.cpp.o] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/simbody-3.5.4+dfsg/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:1156: recipe for target 'SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/all' failed
make[2]: *** [SimTKcommon/sharedTarget/CMakeFiles/SimTKcommon.dir/all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/simbody-3.5.4+dfsg/obj-x86_64-linux-gnu'
Makefile:141: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/simbody-3.5.4+dfsg/obj-x86_64-linux-gnu'
dh_auto_build: make -j64 returned exit code 2
debian/rules:32: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list