Package: previsat
Version: 3.5.0.8+dfsg1-2
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
...
> g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT 
> -fPIC -DAPPVERSION="\"3.5.0.8\"" -DAPPVER_MAJ="\"3.5\"" 
> -DAPP_ANNEES_DEV="\"2005-2015\"" -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB 
> -DQT_WEBKIT_LIB -DQT_MULTIMEDIA_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB 
> -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem 
> /usr/include/x86_64-linux-gnu/qt5 -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtWebKitWidgets -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtWebKit -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem 
> /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. 
> -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o previsat.o 
> previsat.cpp
> In file included from librairies/corps/satellite/satellite.h:44:0,
>                  from previsat.cpp:79:
> librairies/corps/satellite/sgp4.h:91:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZEL' of 
> non-integral type [-fpermissive]
>      static const double ZEL = 0.0549;
>                                ^~~~~~
> 
> librairies/corps/satellite/sgp4.h:92:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZES' of 
> non-integral type [-fpermissive]
>      static const double ZES = 0.01675;
>                                ^~~~~~~
> 
> librairies/corps/satellite/sgp4.h:93:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZNL' of 
> non-integral type [-fpermissive]
>      static const double ZNL = 1.5835218e-4;
>                                ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:94:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZNS' of 
> non-integral type [-fpermissive]
>      static const double ZNS = 1.19459e-5;
>                                ^~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:95:32: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::C1SS' of 
> non-integral type [-fpermissive]
>      static const double C1SS = 2.9864797e-6;
>                                 ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:96:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::C1L' of 
> non-integral type [-fpermissive]
>      static const double C1L = 4.7968065e-7;
>                                ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:97:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZSINIS' of 
> non-integral type [-fpermissive]
>      static const double ZSINIS = 0.39785416;
>                                   ^~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:98:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZCOSIS' of 
> non-integral type [-fpermissive]
>      static const double ZCOSIS = 0.91744867;
>                                   ^~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:99:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZCOSGS' of 
> non-integral type [-fpermissive]
>      static const double ZCOSGS = 0.1945905;
>                                   ^~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:100:35: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ZSINGS' of 
> non-integral type [-fpermissive]
>      static const double ZSINGS = -0.98088458;
>                                    ^~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:101:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::Q22' of 
> non-integral type [-fpermissive]
>      static const double Q22 = 1.7891679e-6;
>                                ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:102:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::Q31' of 
> non-integral type [-fpermissive]
>      static const double Q31 = 2.1460748e-6;
>                                ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:103:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::Q33' of 
> non-integral type [-fpermissive]
>      static const double Q33 = 2.2123015e-7;
>                                ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:104:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ROOT22' of 
> non-integral type [-fpermissive]
>      static const double ROOT22 = 1.7891679e-6;
>                                   ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:105:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ROOT44' of 
> non-integral type [-fpermissive]
>      static const double ROOT44 = 7.3636953e-9;
>                                   ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:106:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ROOT54' of 
> non-integral type [-fpermissive]
>      static const double ROOT54 = 2.1765803e-9;
>                                   ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:107:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ROOT32' of 
> non-integral type [-fpermissive]
>      static const double ROOT32 = 3.7393792e-7;
>                                   ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:108:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::ROOT52' of 
> non-integral type [-fpermissive]
>      static const double ROOT52 = 1.1428639e-7;
>                                   ^~~~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:109:33: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::FASX2' of 
> non-integral type [-fpermissive]
>      static const double FASX2 = 0.13130908;
>                                  ^~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:110:33: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::FASX4' of 
> non-integral type [-fpermissive]
>      static const double FASX4 = 2.8843198;
>                                  ^~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:111:33: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::FASX6' of 
> non-integral type [-fpermissive]
>      static const double FASX6 = 0.37448087;
>                                  ^~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:112:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::G22' of 
> non-integral type [-fpermissive]
>      static const double G22 = 5.7686396;
>                                ^~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:113:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::G32' of 
> non-integral type [-fpermissive]
>      static const double G32 = 0.95240898;
>                                ^~~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:114:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::G44' of 
> non-integral type [-fpermissive]
>      static const double G44 = 1.8014998;
>                                ^~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:115:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::G52' of 
> non-integral type [-fpermissive]
>      static const double G52 = 1.050833;
>                                ^~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:116:31: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::G54' of 
> non-integral type [-fpermissive]
>      static const double G54 = 4.4108898;
>                                ^~~~~~~~~
> 
> librairies/corps/satellite/sgp4.h:117:33: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::STEPP' of 
> non-integral type [-fpermissive]
>      static const double STEPP = 720.;
>                                  ^~~~
> 
> librairies/corps/satellite/sgp4.h:118:34: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::STEPN' of 
> non-integral type [-fpermissive]
>      static const double STEPN = -720.;
>                                   ^~~~
> 
> librairies/corps/satellite/sgp4.h:119:33: error: 'constexpr' needed for 
> in-class initialization of static data member 'const double SGP4::STEP2' of 
> non-integral type [-fpermissive]
>      static const double STEP2 = 259200.;
>                                  ^~~~~~~
> 
> previsat.cpp: In member function 'void PreviSat::GestionTempsReel()':
> previsat.cpp:5452:49: warning: conversion to 'double' from 'qint64 {aka long 
> long int}' may alter its value [-Wconversion]
>      if (ui->tempsReel->isChecked() && 
> tim.secsTo(QDateTime::currentDateTimeUtc()) >= pas1) {
>                                        
> ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Makefile:636: recipe for target 'previsat.o' failed
> make[1]: *** [previsat.o] Error 1

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

Reply via email to