[Debian-med-packaging] Bug#746910: sofa-framework: ftbfs with GCC-4.9
Matthias Klose
doko at debian.org
Sun May 4 00:22:42 UTC 2014
Package: src:sofa-framework
Version: 1.0~beta4-8
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.9
The package fails to build in a test rebuild on at least amd64 with
gcc-4.9/g++-4.9, but succeeds to build with gcc-4.8/g++-4.8. The
severity of this report may be raised before the jessie release.
The full build log can be found at:
http://people.debian.org/~doko/logs/failed-gcc49/sofa-framework_1.0~beta4-8_unstable_gcc49.log
The last lines of the build log are at the end of this report.
To build with GCC 4.9, either set CC=gcc-4.9 CXX=g++-4.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-4.9/porting_to.html
[...]
ln -s libsofahelper.so.1.0.0 libsofahelper.so
ln -s libsofahelper.so.1.0.0 libsofahelper.so.1
ln -s libsofahelper.so.1.0.0 libsofahelper.so.1.0
rm -f ../../../lib/linux/libsofahelper.so.1.0.0
rm -f ../../../lib/linux/libsofahelper.so
rm -f ../../../lib/linux/libsofahelper.so.1
rm -f ../../../lib/linux/libsofahelper.so.1.0
mv -f libsofahelper.so.1.0.0 libsofahelper.so libsofahelper.so.1 libsofahelper.so.1.0 ../../../lib/linux/
make[5]: Leaving directory `/«PKGBUILDDIR»/framework/sofa/helper'
cd defaulttype/ && /usr/lib/x86_64-linux-gnu/qt4/bin/qmake /«PKGBUILDDIR»/framework/sofa/defaulttype/defaulttype.pro -o Makefile
WARNING: /«PKGBUILDDIR»/sofa.cfg:25: Unable to find file for inclusion sofa-local.cfg
cd defaulttype/ && make -f Makefile
make[5]: Entering directory `/«PKGBUILDDIR»/framework/sofa/defaulttype'
g++ -c -m64 -pipe -W -I/usr/include/libxml2 -O2 -D_REENTRANT -fPIC -DSOFA_QT4 -DSOFA_GUI_QTVIEWER -DSOFA_GUI_GLUT -DSOFA_HAVE_PNG -DSOFA_HAVE_GLEW -DSOFA_HAVE_BOOST -DSOFA_PML -DSOFA_SUPPORT_MOVING_FRAMES -DDUMP_VISITOR_INFO -DNDEBUG -DSOFA_XML_PARSER_TINYXML -DMINI_FLOWVR -DSOFA_BUILD_DEFAULTTYPE -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I../../../include -I../../../framework -I/usr/include/qt4 -I/usr/include/qwt-qt4 -I/usr/include/libxml2 -I../../../extlibs/PML -I../../../extlibs/PML/PhysicalProperties -I../../../extlibs/LML -I../../../extlibs/miniFlowVR/include -o OBJ/release/Frame.o Frame.cpp
g++ -c -m64 -pipe -W -I/usr/include/libxml2 -O2 -D_REENTRANT -fPIC -DSOFA_QT4 -DSOFA_GUI_QTVIEWER -DSOFA_GUI_GLUT -DSOFA_HAVE_PNG -DSOFA_HAVE_GLEW -DSOFA_HAVE_BOOST -DSOFA_PML -DSOFA_SUPPORT_MOVING_FRAMES -DDUMP_VISITOR_INFO -DNDEBUG -DSOFA_XML_PARSER_TINYXML -DMINI_FLOWVR -DSOFA_BUILD_DEFAULTTYPE -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I../../../include -I../../../framework -I/usr/include/qt4 -I/usr/include/qwt-qt4 -I/usr/include/libxml2 -I../../../extlibs/PML -I../../../extlibs/PML/PhysicalProperties -I../../../extlibs/LML -I../../../extlibs/miniFlowVR/include -o OBJ/release/SolidTypes.o SolidTypes.cpp
rm -f libsofadefaulttype.so.1.0.0 libsofadefaulttype.so libsofadefaulttype.so.1 libsofadefaulttype.so.1.0
g++ -m64 -Wl,-z,defs -Wl,-O1 -shared -Wl,-soname,libsofadefaulttype.so.1 -o libsofadefaulttype.so.1.0.0 OBJ/release/Frame.o OBJ/release/SolidTypes.o -L../../../lib/linux -L../../../lib/linux/../Common -lsofahelper -L/usr/X11R6/lib -lglut -lGL -lGLU -lpthread -lX11 -lboost_thread -ltinyxml -lxml2 -lpng -lz -lnewmat -lGLEW -lphysicalmodel -lload -lminiFlowVR -lpthread
ln -s libsofadefaulttype.so.1.0.0 libsofadefaulttype.so
ln -s libsofadefaulttype.so.1.0.0 libsofadefaulttype.so.1
ln -s libsofadefaulttype.so.1.0.0 libsofadefaulttype.so.1.0
rm -f ../../../lib/linux/libsofadefaulttype.so.1.0.0
rm -f ../../../lib/linux/libsofadefaulttype.so
rm -f ../../../lib/linux/libsofadefaulttype.so.1
rm -f ../../../lib/linux/libsofadefaulttype.so.1.0
mv -f libsofadefaulttype.so.1.0.0 libsofadefaulttype.so libsofadefaulttype.so.1 libsofadefaulttype.so.1.0 ../../../lib/linux/
make[5]: Leaving directory `/«PKGBUILDDIR»/framework/sofa/defaulttype'
cd core/ && /usr/lib/x86_64-linux-gnu/qt4/bin/qmake /«PKGBUILDDIR»/framework/sofa/core/core.pro -o Makefile
WARNING: /«PKGBUILDDIR»/sofa.cfg:25: Unable to find file for inclusion sofa-local.cfg
cd core/ && make -f Makefile
make[5]: Entering directory `/«PKGBUILDDIR»/framework/sofa/core'
g++ -c -m64 -pipe -W -I/usr/include/libxml2 -O2 -D_REENTRANT -fPIC -DSOFA_QT4 -DSOFA_GUI_QTVIEWER -DSOFA_GUI_GLUT -DSOFA_HAVE_PNG -DSOFA_HAVE_GLEW -DSOFA_HAVE_BOOST -DSOFA_PML -DSOFA_SUPPORT_MOVING_FRAMES -DDUMP_VISITOR_INFO -DNDEBUG -DSOFA_XML_PARSER_TINYXML -DMINI_FLOWVR -DSOFA_BUILD_CORE -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I../../../include -I../../../framework -I/usr/include/qt4 -I/usr/include/qwt-qt4 -I/usr/include/libxml2 -I../../../extlibs/PML -I../../../extlibs/PML/PhysicalProperties -I../../../extlibs/LML -I../../../extlibs/miniFlowVR/include -o OBJ/release/Base.o objectmodel/Base.cpp
In file included from ../../../framework/sofa/core/objectmodel/DataPtr.h:34:0,
from ../../../framework/sofa/core/objectmodel/Base.h:33,
from objectmodel/Base.cpp:38:
../../../framework/sofa/core/objectmodel/Data.h:281:58: error: redeclaration of 'void sofa::core::objectmodel::TData<T>::printValue(std::ostream&) const' may not have default arguments [-fpermissive]
void TData<T>::printValue( std::ostream& out=std::cout ) const
^
make[5]: *** [OBJ/release/Base.o] Error 1
make[5]: Leaving directory `/«PKGBUILDDIR»/framework/sofa/core'
make[4]: *** [sub-core-make_default-ordered] Error 2
make[4]: Leaving directory `/«PKGBUILDDIR»/framework/sofa'
make[3]: *** [sub-sofa-make_default-ordered] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/framework'
make[2]: *** [sub-framework-make_default-ordered] Error 2
dh_auto_build: make -j1 returned exit code 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: *** [override_dh_auto_build] Error 25
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
More information about the Debian-med-packaging
mailing list