Package: flightgear Version: 3.4.0-3 Severity: important User: [email protected] Usertags: ftbfs-gcc-6
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 ... > [ 46%] Building CXX object src/Main/CMakeFiles/fgfs.dir/__/GUI/menubar.cxx.o > cd /<<PKGBUILDDIR>>/build/src/Main && /usr/bin/c++ -DHAVE_CONFIG_H > -DWITH_EVENTINPUT -I/<<PKGBUILDDIR>>/3rdparty/iaxclient/lib > -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include > -I/usr/include/AL -I/usr/include/simgear/3rdparty/utf8 -I/<<PKGBUILDDIR>> > -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/build/src > -I/<<PKGBUILDDIR>>/build/src/Include > -I/<<PKGBUILDDIR>>/3rdparty/hts_engine_API/include > -I/<<PKGBUILDDIR>>/3rdparty/flite_hts_engine/include > -I/<<PKGBUILDDIR>>/src/FDM/JSBSim -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -D_REENTRANT > -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_BIMAP_DISABLE_SERIALIZATION > -g -DNDEBUG -o CMakeFiles/fgfs.dir/__/GUI/menubar.cxx.o -c > /<<PKGBUILDDIR>>/src/GUI/menubar.cxx > In file included from /<<PKGBUILDDIR>>/src/Cockpit/groundradar.cxx:45:0: > /usr/include/simgear/math/beziercurve.hxx: In member function 'void > simgear::BezierCurve<T>::getMaxSubdiv() const': > /usr/include/simgear/math/beziercurve.hxx:62:40: error: return-statement with > a value, in function returning 'void' [-fpermissive] > void getMaxSubdiv() const { return mMaxSubdiv; } > ^~~~~~~~~~ > -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

