Bug#984136: fplll: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:12:30 GMT 2021


Package: src:fplll
Version: 5.4.0-2
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11

[This bug is not targeted to the upcoming bullseye release]

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-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/fplll_5.4.0-2_unstable_gcc11.log
The last lines of the build log are at the end of this report.

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

GCC 11 defaults to the GNU++17 standard.  If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.

[...]
make[4]: Entering directory '/<<PKGBUILDDIR>>/fplll'
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.cpp
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-fplll.lo `test -f 'fplll.cpp' || echo './'`fplll.cpp
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-util.lo `test -f 'util.cpp' || echo './'`util.cpp
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-lll.lo `test -f 'lll.cpp' || echo './'`lll.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c util.cpp  -fPIC -DPIC -o .libs/libfplll_la-util.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c fplll.cpp  -fPIC -DPIC -o .libs/libfplll_la-fplll.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c lll.cpp  -fPIC -DPIC -o .libs/libfplll_la-lll.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c util.cpp -o libfplll_la-util.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-wrapper.lo `test -f 'wrapper.cpp' || echo './'`wrapper.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c wrapper.cpp  -fPIC -DPIC -o .libs/libfplll_la-wrapper.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c fplll.cpp -o libfplll_la-fplll.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-bkz.lo `test -f 'bkz.cpp' || echo './'`bkz.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c bkz.cpp  -fPIC -DPIC -o .libs/libfplll_la-bkz.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c lll.cpp -o libfplll_la-lll.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-bkz_param.lo `test -f 'bkz_param.cpp' || echo './'`bkz_param.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c bkz_param.cpp  -fPIC -DPIC -o .libs/libfplll_la-bkz_param.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-gso_interface.lo `test -f 'gso_interface.cpp' || echo './'`gso_interface.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gso_interface.cpp  -fPIC -DPIC -o .libs/libfplll_la-gso_interface.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c bkz_param.cpp -o libfplll_la-bkz_param.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-gso_gram.lo `test -f 'gso_gram.cpp' || echo './'`gso_gram.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gso_gram.cpp  -fPIC -DPIC -o .libs/libfplll_la-gso_gram.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c wrapper.cpp -o libfplll_la-wrapper.o >/dev/null 2>&1
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gso_interface.cpp -o libfplll_la-gso_interface.o >/dev/null 2>&1
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c bkz.cpp -o libfplll_la-bkz.o >/dev/null 2>&1
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gso_gram.cpp -o libfplll_la-gso_gram.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-gso.lo `test -f 'gso.cpp' || echo './'`gso.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gso.cpp  -fPIC -DPIC -o .libs/libfplll_la-gso.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-householder.lo `test -f 'householder.cpp' || echo './'`householder.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c householder.cpp  -fPIC -DPIC -o .libs/libfplll_la-householder.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-hlll.lo `test -f 'hlll.cpp' || echo './'`hlll.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c hlll.cpp  -fPIC -DPIC -o .libs/libfplll_la-hlll.o
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libfplll_la-threadpool.lo `test -f 'threadpool.cpp' || echo './'`threadpool.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c threadpool.cpp  -fPIC -DPIC -o .libs/libfplll_la-threadpool.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c threadpool.cpp -o libfplll_la-threadpool.o >/dev/null 2>&1
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c gso.cpp -o libfplll_la-gso.o >/dev/null 2>&1
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c hlll.cpp -o libfplll_la-hlll.o >/dev/null 2>&1
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o latticegen.o latticegen.cpp
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o enum/libfplll_la-topenum.lo `test -f 'enum/topenum.cpp' || echo './'`enum/topenum.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c enum/topenum.cpp  -fPIC -DPIC -o enum/.libs/libfplll_la-topenum.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c enum/topenum.cpp -o enum/libfplll_la-topenum.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..  -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o enum/libfplll_la-enumerate.lo `test -f 'enum/enumerate.cpp' || echo './'`enum/enumerate.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c enum/enumerate.cpp  -fPIC -DPIC -o enum/.libs/libfplll_la-enumerate.o
In file included from ../fplll/enum/enumerate_base.h:22,
                 from enum/enumerate.h:23,
                 from enum/enumerate.cpp:19:
../fplll/enum/enumerate_ext_api.h:87:25: error: ‘uint64_t’ is not a member of ‘std’; did you mean ‘wint_t’?
   87 | typedef std::array<std::uint64_t, FPLLL_EXTENUM_MAX_EXTENUM_DIM>(extenum_fc_enumerate)(
      |                         ^~~~~~~~
      |                         wint_t
../fplll/enum/enumerate_ext_api.h:87:25: error: ‘uint64_t’ is not a member of ‘std’; did you mean ‘wint_t’?
   87 | typedef std::array<std::uint64_t, FPLLL_EXTENUM_MAX_EXTENUM_DIM>(extenum_fc_enumerate)(
      |                         ^~~~~~~~
      |                         wint_t
../fplll/enum/enumerate_ext_api.h:87:64: error: template argument 1 is invalid
   87 | typedef std::array<std::uint64_t, FPLLL_EXTENUM_MAX_EXTENUM_DIM>(extenum_fc_enumerate)(
      |                                                                ^
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -pthread -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c householder.cpp -o libfplll_la-householder.o >/dev/null 2>&1
make[4]: *** [Makefile:1462: enum/libfplll_la-enumerate.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/fplll'
make[3]: *** [Makefile:855: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/fplll'
make[2]: *** [Makefile:505: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:393: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list