[Debian-med-packaging] Bug#811747: sofa-framework: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:49:30 UTC 2016


Package: sofa-framework
Version: 1.0~beta4-10
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-narrowing

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> 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 -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I../../include -I../../framework -I../../modules -I../../applications -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/type.o src/ftlm/type.cpp
> src/ftlm/type.cpp:331:1: error: narrowing conversion of '(ftl::Type::Type)2147483776u' from 'unsigned int' to 'int' inside { } [-Wnarrowing]
>  };
>  ^
> 
> Makefile:214: recipe for target 'OBJ/release/type.o' failed
> make[3]: *** [OBJ/release/type.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/extlibs/miniFlowVR'

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Debian-med-packaging mailing list