[Debian-med-packaging] Bug#1013037: simrisc: ftbfs with GCC-12

Matthias Klose doko at debian.org
Thu Jun 16 13:13:42 BST 2022


Package: src:simrisc
Version: 14.05.00-3
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-12

[This bug is targeted to the upcoming bookworm 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-12/g++-12, but succeeds to build with gcc-11/g++-11. The
severity of this report will be raised before the bookworm release.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/gcc12/simrisc_14.05.00-3_unstable_gcc12.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.

[...]
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header round.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header screening.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header modalities.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header costs.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header beir7.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header incidence.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header survival.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header growth.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header tumorinfo.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header tumor.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header scenario.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header loop.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header analysis.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header simulator.ih
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -x c++-header main.ih
mkdir -p tmp/o

chdir parser
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30vsdparameters.o parser/vsdparameters.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30setoptions.o parser/setoptions.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30setlabels.o parser/setlabels.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30sectionlist.o parser/sectionlist.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30proportion.o parser/proportion.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30parser1.o parser/parser1.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30one.o parser/one.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30locateerror.o parser/locateerror.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30load2.o parser/load2.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30load1.o parser/load1.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30linesget.o parser/linesget.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30lines2.o parser/lines2.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30lines.o parser/lines.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30keywordslines.o parser/keywordslines.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30endpoint.o parser/endpoint.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30data.o parser/data.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30atleast.o parser/atleast.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30any.o parser/any.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30addlineinfovectors.o parser/addlineinfovectors.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/30addconfigline.o parser/addconfigline.cc

chdir agegroupvsd
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29vary2.o agegroupvsd/vary2.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29vary.o agegroupvsd/vary.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29insert2.o agegroupvsd/insert2.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29insert1.o agegroupvsd/insert1.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29fmt.o agegroupvsd/fmt.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29extract.o agegroupvsd/extract.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29data.o agegroupvsd/data.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/29agegroupvsd1.o agegroupvsd/agegroupvsd1.cc

chdir agegroup
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/28opinsert.o agegroup/opinsert.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/28opequal.o agegroup/opequal.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/28extract.o agegroup/extract.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/28connects.o agegroup/connects.cc

chdir density
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/27insert.o density/insert.cc
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/27indexof.o density/indexof.cc
density/indexof.cc: In member function ‘uint16_t Density::indexOf(double) const’:
density/indexof.cc:6:12: error: ‘find_if’ was not declared in this scope
    6 |     return find_if(d_cumBirads.begin(), d_cumBirads.end(),
      |            ^~~~~~~
system `g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall --std=c++2a -D_FORTIFY_SOURCE=2 -c -o tmp/o/27indexof.o density/indexof.cc' failed. Exit value = 1

system `icmbuild program' failed. Exit value = 1

make[1]: *** [debian/rules:40: override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list