[Debichem-devel] Bug#811906: shelxle: FTBFS with GCC 6: declared in this scope

Martin Michlmayr tbm at hpe.com
Wed Jan 20 03:26:57 UTC 2016


Package: shelxle
Version: 1.0.748-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-not-declared

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 -fopenmp -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -I. -o qrc_icons.o qrc_icons.cpp
> fcvsfo.cpp: In function 'int isnormal(double)':
> fcvsfo.cpp:624:23: error: '_finite' was not declared in this scope
>      return _finite(arg)||(arg==0);
>                        ^
> 
> molecule.cpp: In member function 'double Molecule::dimension()':
> molecule.cpp:1976:5: warning: statement is indented as if it were guarded by... [-Wmisleading-indentation]
>      if (max==0) return 10.0;
>      ^~
> 
> molecule.cpp:1970:3: note: ...this 'for' clause, but it is not
>    for (int i=0;i<showatoms.size();i++)
>    ^~~
> 
> Makefile:467: recipe for target 'fcvsfo.o' failed
> make[1]: *** [fcvsfo.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
> fourxle.cpp: In member function 'bool FourXle::loadFouAndPerform(const char*, bool)':
> fourxle.cpp:118:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
>      fgets(line,120,f);
>                       ^
> 
> fourxle.cpp:133:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
>      fgets(line,120,f);
>                       ^
> 
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: make -j30 returned exit code 2
> debian/rules:6: recipe for target 'build' failed

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



More information about the Debichem-devel mailing list