[Debichem-devel] Bug#853678: tandem-mass: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:36:15 UTC 2017


Package: src:tandem-mass
Version: 1:20151215-4
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/tandem-mass_20151215-4_unstable_gcc7.log
The last lines of the build log are at the end of this report.

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

  apt-get -t=experimental install g++ 

Common build failures are 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-7/porting_to.html

[...]
g++ -M -g -w -O2 mspectrumcondition.cpp | sed s/\\.o/.d/ > mspectrumcondition.d
g++ -M -g -w -O2 mplugin.cpp > mplugin.d
g++ -M -g -w -O2 mplugin.cpp | sed s/\\.o/.d/ > mplugin.d
g++ -M -g -w -O2 saxmzmlhandler.cpp > saxmzmlhandler.d
g++ -M -g -w -O2 saxmzmlhandler.cpp | sed s/\\.o/.d/ > saxmzmlhandler.d
g++ -M -g -w -O2 saxtandeminputhandler.cpp > saxtandeminputhandler.d
g++ -M -g -w -O2 saxtandeminputhandler.cpp | sed s/\\.o/.d/ > saxtandeminputhandler.d
g++ -M -g -w -O2 saxsaphandler.cpp > saxsaphandler.d
g++ -M -g -w -O2 saxsaphandler.cpp | sed s/\\.o/.d/ > saxsaphandler.d
g++ -M -g -w -O2 mrefine.cpp > mrefine.d
g++ -M -g -w -O2 mrefine.cpp | sed s/\\.o/.d/ > mrefine.d
g++ -M -g -w -O2 mscore_tandem.cpp > mscore_tandem.d
g++ -M -g -w -O2 mscore_tandem.cpp | sed s/\\.o/.d/ > mscore_tandem.d
g++ -M -g -w -O2 mreport.cpp > mreport.d
g++ -M -g -w -O2 mreport.cpp | sed s/\\.o/.d/ > mreport.d
g++ -M -g -w -O2 masscalc.cpp > masscalc.d
g++ -M -g -w -O2 masscalc.cpp | sed s/\\.o/.d/ > masscalc.d
g++ -M -g -w -O2 loadmspectrum.cpp > loadmspectrum.d
g++ -M -g -w -O2 loadmspectrum.cpp | sed s/\\.o/.d/ > loadmspectrum.d
g++ -M -g -w -O2 saxmzdatahandler.cpp > saxmzdatahandler.d
g++ -M -g -w -O2 saxmzdatahandler.cpp | sed s/\\.o/.d/ > saxmzdatahandler.d
g++ -M -g -w -O2 mprocess.cpp > mprocess.d
g++ -M -g -w -O2 mprocess.cpp | sed s/\\.o/.d/ > mprocess.d
g++ -M -g -w -O2 tandem.cpp > tandem.d
g++ -M -g -w -O2 tandem.cpp | sed s/\\.o/.d/ > tandem.d
g++ -M -g -w -O2 base64.cpp > base64.d
g++ -M -g -w -O2 base64.cpp | sed s/\\.o/.d/ > base64.d
g++ -g -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mscore_tandem.o mscore_tandem.cpp
g++ -g -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o tandem.o tandem.cpp
g++ -g -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o p3mprocess.o p3mprocess.cpp
g++ -g -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mspectrumcondition.o mspectrumcondition.cpp
g++ -g -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o masscalc.o masscalc.cpp
g++ -g -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mreport.o mreport.cpp
g++ -g -w -O2 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o loadmspectrum.o loadmspectrum.cpp
loadmspectrum.cpp: In member function 'virtual bool loadpkl::get(mspectrum&)':
loadmspectrum.cpp:690:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(pValue != '\0' && strlen(pValue) > 2) {

                  ^~~~
loadmspectrum.cpp: In member function 'virtual bool loaddta::get(mspectrum&)':
loadmspectrum.cpp:881:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     if(pValue != '\0' && strlen(pValue) > 2) {

                  ^~~~
<builtin>: recipe for target 'loadmspectrum.o' failed
make[1]: *** [loadmspectrum.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
debian/rules:26: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the Debichem-devel mailing list