Bug#853641: rheolef: ftbfs with GCC-7
Matthias Klose
doko at debian.org
Tue Jan 31 09:35:36 UTC 2017
Package: src:rheolef
Version: 6.7-1
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/rheolef_6.7-1_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
[...]
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor-eig3.lo -MD -MP -MF .deps/tensor-eig3.Tpo -c tensor-eig3.cc -fPIC -DPIC -o .libs/tensor-eig3.o
mv -f .deps/tensor-eig3.Tpo .deps/tensor-eig3.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor3.lo -MD -MP -MF .deps/tensor3.Tpo -c -o tensor3.lo tensor3.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor3.lo -MD -MP -MF .deps/tensor3.Tpo -c tensor3.cc -fPIC -DPIC -o .libs/tensor3.o
mv -f .deps/tensor3.Tpo .deps/tensor3.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor4.lo -MD -MP -MF .deps/tensor4.Tpo -c -o tensor4.lo tensor4.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor4.lo -MD -MP -MF .deps/tensor4.Tpo -c tensor4.cc -fPIC -DPIC -o .libs/tensor4.o
mv -f .deps/tensor4.Tpo .deps/tensor4.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor-exp.lo -MD -MP -MF .deps/tensor-exp.Tpo -c -o tensor-exp.lo tensor-exp.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor-exp.lo -MD -MP -MF .deps/tensor-exp.Tpo -c tensor-exp.cc -fPIC -DPIC -o .libs/tensor-exp.o
mv -f .deps/tensor-exp.Tpo .deps/tensor-exp.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor4-dexp.lo -MD -MP -MF .deps/tensor4-dexp.Tpo -c -o tensor4-dexp.lo tensor4-dexp.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT tensor4-dexp.lo -MD -MP -MF .deps/tensor4-dexp.Tpo -c tensor4-dexp.cc -fPIC -DPIC -o .libs/tensor4-dexp.o
mv -f .deps/tensor4-dexp.Tpo .deps/tensor4-dexp.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT reference_element.lo -MD -MP -MF .deps/reference_element.Tpo -c -o reference_element.lo reference_element.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT reference_element.lo -MD -MP -MF .deps/reference_element.Tpo -c reference_element.cc -fPIC -DPIC -o .libs/reference_element.o
mv -f .deps/reference_element.Tpo .deps/reference_element.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT reference_element_face_transformation.lo -MD -MP -MF .deps/reference_element_face_transformation.Tpo -c -o reference_element_face_transformation.lo reference_element_face_transformation.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT reference_element_face_transformation.lo -MD -MP -MF .deps/reference_element_face_transformation.Tpo -c reference_element_face_transformation.cc -fPIC -DPIC -o .libs/reference_element_face_transformation.o
mv -f .deps/reference_element_face_transformation.Tpo .deps/reference_element_face_transformation.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT geo_element.lo -MD -MP -MF .deps/geo_element.Tpo -c -o geo_element.lo geo_element.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT geo_element.lo -MD -MP -MF .deps/geo_element.Tpo -c geo_element.cc -fPIC -DPIC -o .libs/geo_element.o
mv -f .deps/geo_element.Tpo .deps/geo_element.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT geo_element_indirect.lo -MD -MP -MF .deps/geo_element_indirect.Tpo -c -o geo_element_indirect.lo geo_element_indirect.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT geo_element_indirect.lo -MD -MP -MF .deps/geo_element_indirect.Tpo -c geo_element_indirect.cc -fPIC -DPIC -o .libs/geo_element_indirect.o
mv -f .deps/geo_element_indirect.Tpo .deps/geo_element_indirect.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT geo_element_predicate.lo -MD -MP -MF .deps/geo_element_predicate.Tpo -c -o geo_element_predicate.lo geo_element_predicate.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT geo_element_predicate.lo -MD -MP -MF .deps/geo_element_predicate.Tpo -c geo_element_predicate.cc -fPIC -DPIC -o .libs/geo_element_predicate.o
mv -f .deps/geo_element_predicate.Tpo .deps/geo_element_predicate.Plo
/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT quadrature.lo -MD -MP -MF .deps/quadrature.Tpo -c -o quadrature.lo quadrature.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../config -I../../util/qd -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Werror -Wno-unused -Wno-strict-aliasing -Wno-literal-suffix -Wno-deprecated-declarations -O3 -MT quadrature.lo -MD -MP -MF .deps/quadrature.Tpo -c quadrature.cc -fPIC -DPIC -o .libs/quadrature.o
In file included from ../../include/rheolef/quadrature.h:24:0,
from quadrature.cc:21:
../../include/rheolef/reference_element.h: In member function 'void rheolef::quadrature_on_geo<T>::initialize(rheolef::reference_element, rheolef::quadrature_option_type) [with T = double]':
../../include/rheolef/reference_element.h:102:40: error: array subscript is above array bounds [-Werror=array-bounds]
char name() const { return _name[_x]; }
~~~~~~~~^
cc1plus: all warnings being treated as errors
Makefile:1130: recipe for target 'quadrature.lo' failed
make[4]: *** [quadrature.lo] Error 1
Makefile:905: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile:473: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
Makefile:575: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:52: 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 debian-science-maintainers
mailing list