[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#897761: gnuift: ftbfs with GCC-8



Package: src:gnuift
Version: 0.1.14+ds-1
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/gnuift_0.1.14+ds-1_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
   return (*mContent);
                    ^
make[4]: *** [Makefile:511: CAcDistanceMatrix.lo] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
make[4]: Entering directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42  -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC   -D__GIFT_USES_THREADS__ -pthread -c -o CDrawer.lo CDrawer.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CDrawer.cc  -fPIC -DPIC -o .libs/CDrawer.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CDrawer.cc -o CDrawer.o >/dev/null 2>&1
make[4]: Leaving directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
make[4]: Entering directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42  -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC   -D__GIFT_USES_THREADS__ -pthread -c -o CDistanceCalculator.lo CDistanceCalculator.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CDistanceCalculator.cc  -fPIC -DPIC -o .libs/CDistanceCalculator.o
In file included from ../../libGIFTAcDistanceMatrix/include/CPersistentMatrix.h:28,
                 from ../../libGIFTAcDistanceMatrix/include/CPersistentTranslatedIndexMatrix.h:33,
                 from ../../libGIFTAcDistanceMatrix/include/CDistanceCalculator.h:29,
                 from CDistanceCalculator.cc:24:
../../libGIFTAcDistanceMatrix/include/CPersistentVector.h: In member function 'bool CPersistentVector<T>::write(std::ostream&) const':
../../libGIFTAcDistanceMatrix/include/CPersistentVector.h:128:10: error: cannot convert 'std::ostream' {aka 'std::basic_ostream<char>'} to 'bool' in return
   return outStream;
          ^~~~~~~~~
In file included from ../../libGIFTAcDistanceMatrix/include/CPersistentTranslatedIndexMatrix.h:33,
                 from ../../libGIFTAcDistanceMatrix/include/CDistanceCalculator.h:29,
                 from CDistanceCalculator.cc:24:
../../libGIFTAcDistanceMatrix/include/CPersistentMatrix.h: In member function 'bool CPersistentMatrix<T>::setValue(long int, long int, const T&)':
../../libGIFTAcDistanceMatrix/include/CPersistentMatrix.h:205:20: error: cannot convert 'std::fstream' {aka 'std::basic_fstream<char>'} to 'bool' in return
   return (*mContent);
                    ^
make[4]: *** [Makefile:511: CDistanceCalculator.lo] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
make[4]: Entering directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42  -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC   -D__GIFT_USES_THREADS__ -pthread -c -o CProbabilityCombiner.lo CProbabilityCombiner.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CProbabilityCombiner.cc  -fPIC -DPIC -o .libs/CProbabilityCombiner.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CProbabilityCombiner.cc -o CProbabilityCombiner.o >/dev/null 2>&1
make[4]: Leaving directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
make[4]: Entering directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42  -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC   -D__GIFT_USES_THREADS__ -pthread -c -o CInformationCalculator.lo CInformationCalculator.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CInformationCalculator.cc  -fPIC -DPIC -o .libs/CInformationCalculator.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CInformationCalculator.cc -o CInformationCalculator.o >/dev/null 2>&1
make[4]: Leaving directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
make[4]: Entering directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42  -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC   -D__GIFT_USES_THREADS__ -pthread -c -o CSquasher.lo CSquasher.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CSquasher.cc  -fPIC -DPIC -o .libs/CSquasher.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DHAS_BOOL -I../../libMRML/include -I../../libGIFTAcInvertedFile/include -I../../libGIFTAcDistanceMatrix/include -I../../libGIFTAcURL2FTS/include -I../../libGIFTQuBayesian/include -I/sbuild-nonexistent/browsing/libGIFTQuBayesian/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/gnuift-0.1.14+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DEF_PROTECT_BELOW=1 -DEF_PROTECT_FREE -DEF_PROTECT_ALIGNMENT=8 -DEF_FILL=42 -I /usr/include/mysql -DHAVE_LIBPTHREAD -D__GIFT_NEW_IS_MALLOC -D__GIFT_USES_THREADS__ -pthread -c CSquasher.cc -o CSquasher.o >/dev/null 2>&1
make[4]: Leaving directory '/<<BUILDDIR>>/gnuift-0.1.14+ds/libGIFTAcDistanceMatrix/cc'
make[3]: *** [Makefile:390: all-recursive] Error 1
make[2]: *** [Makefile:495: all-recursive] Error 1
make[1]: *** [Makefile:427: all] Error 2
dh_auto_build: make -j8 -Oline returned exit code 2
make: *** [debian/rules:6: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2


Reply to: