[Debian-med-packaging] Bug#984333: simrisc: ftbfs with GCC-11

Matthias Klose doko at debian.org
Wed Mar 3 16:17:18 GMT 2021


Package: src:simrisc
Version: 14.02.00-1
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/simrisc_14.02.00-1_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.

[...]
dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package simrisc
dpkg-buildpackage: info: source version 14.02.00-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Frank B. Brokken <f.b.brokken at rug.nl>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./build clean
rm -rf build-stamp configure-stamp options/SKEL tmp/*.o tmp/*-stamp o */o release.yo tmp/lib*.a 
dh_auto_clean
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# compile the package.
./build program
touch version.cc
gcc -E VERSION.h | grep -v '#' | sed 's/\"//g' > release.yo
icmbuild program
mkdir -p tmp/gch
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 parser.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 agegroupvsd.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 density.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 modbase.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 mammo.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 err.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 random.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 distribution.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 configlines.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 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 modalities.ih
In file included from /usr/include/bobcat/csvtable:10,
                 from modalities.ih:10:
/usr/include/bobcat/fmt: In substitution of ‘template<class Type>  requires  Insertable<Type> FBB::CSVTabIns& FBB::operator<<(FBB::CSVTabIns&&, const Type&) [with Type = FBB::FMT]’:
/usr/include/bobcat/fmt:14:13:   required by substitution of ‘template<class Type>  requires  Insertable<Type> FBB::CSVTabIns& FBB::operator<<(FBB::CSVTabIns&&, const Type&) [with Type = FBB::FMT]’
/usr/include/bobcat/csvtabins:223:29:   required from here
/usr/include/bobcat/fmt:11:9:   required for the satisfaction of ‘Insertable<Type>’ [with Type = FBB::FMT]
/usr/include/bobcat/fmt:12:5:   in requirements with ‘std::ostream out’, ‘Type value’ [with Type = FBB::FMT]
/usr/include/bobcat/fmt:12:5: error: satisfaction of atomic constraint ‘requires(std::ostream out, Type value) {out << value;} [with Type = Type]’ depends on itself
   12 |     requires(std::ostream out, Type value)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   13 |     {
      |     ~
   14 |         out << value;
      |         ~~~~~~~~~~~~~
   15 |     };
      |     ~
/usr/include/bobcat/fmt: In substitution of ‘template<class Type>  requires  Insertable<Type> FBB::CSVTabIns& FBB::operator<<(FBB::CSVTabIns&, const Type&) [with Type = FBB::FMT]’:
/usr/include/bobcat/fmt:14:13:   required by substitution of ‘template<class Type>  requires  Insertable<Type> FBB::CSVTabIns& FBB::operator<<(FBB::CSVTabIns&&, const Type&) [with Type = FBB::FMT]’
/usr/include/bobcat/csvtabins:223:29:   required from here
/usr/include/bobcat/fmt:11:9:   required for the satisfaction of ‘Insertable<Type>’ [with Type = FBB::FMT]
/usr/include/bobcat/fmt:12:5:   in requirements with ‘std::ostream out’, ‘Type value’ [with Type = FBB::FMT]
/usr/include/bobcat/fmt:12:5: error: satisfaction of atomic constraint ‘requires(std::ostream out, Type value) {out << value;} [with Type = Type]’ depends on itself
Fatal: system - failure of system call (status 256)
Fatal: system - failure of system call (status 256)
make[1]: *** [debian/rules:35: override_dh_auto_build-arch] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:27: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list