[Debian-med-packaging] Bug#777791: ball: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:30:09 UTC 2015

Package: src:ball
Version: 1.4.2+20140406-1
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[ 12%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/bruker2DFile.o
[ 12%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/commandlineParser.o
[ 12%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/dockResultFile.o
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/dockResultFile.C: In copy constructor 'BALL::DockResultFile::DockResultFile(const BALL::DockResultFile&)':
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/dockResultFile.C:161:3: warning: base class 'class std::basic_ios<char>' should be explicitly initialized in the copy constructor [-Wextra]
   DockResultFile::DockResultFile(const DockResultFile &df)
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/dockResultFile.C:161:3: warning: base class 'class BALL::GenericMolFile' should be explicitly initialized in the copy constructor [-Wextra]
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/dockResultFile.C: At global scope:
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/dockResultFile.C:161:56: warning: unused parameter 'df' [-Wunused-parameter]
   DockResultFile::DockResultFile(const DockResultFile &df)
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/dockResultFile.C:161:56: warning: unused parameter 'df' [-Wunused-parameter]
[ 12%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/CCP4File.o
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/CCP4File.C: In member function 'virtual bool BALL::CCP4File::readSymmetryRecords()':
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/CCP4File.C:231:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    while (sym_lines < offset_symops_/80)
[ 12%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/CIFFile.o
[ 12%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/DCDFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/DSN6File.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/GAMESSDatFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/genericMolFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/HINFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/INIFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/JCAMPFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/KCFFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/lineBasedFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/molDB.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/MOLFile.o
[ 15%] Building CXX object CMakeFiles/BALL.dir/source/FORMAT/molFileFactory.o
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/molFileFactory.C: In static member function 'static BALL::GenericMolFile* BALL::MolFileFactory::open(const BALL::String&, BALL::File::OpenMode)':
/«BUILDDIR»/ball-1.4.2+20140406/source/FORMAT/molFileFactory.C:42:8: error: cannot convert 'std::basic_istream<char>' to 'bool' in assignment
     ok = std::getline(in,s);
make[4]: *** [CMakeFiles/BALL.dir/source/FORMAT/molFileFactory.o] Error 1
CMakeFiles/BALL.dir/build.make:1555: recipe for target 'CMakeFiles/BALL.dir/source/FORMAT/molFileFactory.o' failed
make[4]: Leaving directory '/«BUILDDIR»/ball-1.4.2+20140406/build'
make[3]: *** [CMakeFiles/BALL.dir/all] Error 2
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/BALL.dir/all' failed
make[3]: Leaving directory '/«BUILDDIR»/ball-1.4.2+20140406/build'
make[2]: *** [CMakeFiles/BALL.dir/rule] Error 2
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/BALL.dir/rule' failed
make[2]: Leaving directory '/«BUILDDIR»/ball-1.4.2+20140406/build'
make[1]: *** [BALL] Error 2
Makefile:161: recipe for target 'BALL' failed
make[1]: Leaving directory '/«BUILDDIR»/ball-1.4.2+20140406/build'
make: *** [build-arch-stamp] Error 2
debian/rules:37: recipe for target 'build-arch-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

More information about the Debian-med-packaging mailing list