[Debian-med-packaging] Bug#984367: tigr-glimmer: ftbfs with GCC-11

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


Package: src:tigr-glimmer
Version: 3.02b-5
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/tigr-glimmer_3.02b-5_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.

[...]
/usr/include/c++/11/new:126:52: error: ISO C++17 does not allow dynamic exception specifications
  126 | _GLIBCXX_NODISCARD void* operator new(std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                                                    ^~~~~~~~~~~~~~
/usr/include/c++/11/new:128:54: error: ISO C++17 does not allow dynamic exception specifications
  128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
      |                                                      ^~~~~~~~~~~~~~
In file included from /usr/include/c++/11/string:55,
                 from delcher.hh:26,
                 from delcher.cc:10:
/usr/include/c++/11/bits/basic_string.h:523:27: error: ‘_RequireAllocator’ does not name a type
  523 |       template<typename = _RequireAllocator<_Alloc>>
      |                           ^~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/basic_string.h:523:44: error: expected ‘>’ before ‘<’ token
  523 |       template<typename = _RequireAllocator<_Alloc>>
      |                                            ^
/usr/include/c++/11/bits/basic_string.h:538:27: error: ‘_RequireAllocator’ does not name a type
  538 |       template<typename = _RequireAllocator<_Alloc>>
      |                           ^~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/basic_string.h:538:44: error: expected ‘>’ before ‘<’ token
  538 |       template<typename = _RequireAllocator<_Alloc>>
      |                                            ^
/usr/include/c++/11/bits/basic_string.h:6049:23: error: ‘_RequireInputIter’ does not name a type
 6049 |            typename = _RequireInputIter<_InputIterator>,
      |                       ^~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/basic_string.h:6049:40: error: expected ‘>’ before ‘<’ token
 6049 |            typename = _RequireInputIter<_InputIterator>,
      |                                        ^
/usr/include/c++/11/bits/basic_string.h:6058:23: error: ‘_RequireAllocator’ does not name a type
 6058 |            typename = _RequireAllocator<_Allocator>>
      |                       ^~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/basic_string.h:6058:40: error: expected ‘>’ before ‘<’ token
 6058 |            typename = _RequireAllocator<_Allocator>>
      |                                        ^
/usr/include/c++/11/bits/basic_string.h:6059:35: error: expected ‘)’ before ‘<’ token
 6059 |     basic_string(basic_string_view<_CharT, _Traits>, const _Allocator& = _Allocator())
      |                 ~                 ^
      |                                   )
/usr/include/c++/11/bits/basic_string.h:6064:23: error: ‘_RequireAllocator’ does not name a type
 6064 |            typename = _RequireAllocator<_Allocator>>
      |                       ^~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/basic_string.h:6064:40: error: expected ‘>’ before ‘<’ token
 6064 |            typename = _RequireAllocator<_Allocator>>
      |                                        ^
/usr/include/c++/11/bits/basic_string.h:6065:35: error: expected ‘)’ before ‘<’ token
 6065 |     basic_string(basic_string_view<_CharT, _Traits>,
      |                 ~                 ^
      |                                   )
In file included from /usr/include/c++/11/vector:67,
                 from delcher.hh:32,
                 from delcher.cc:10:
/usr/include/c++/11/bits/stl_vector.h:1874:23: error: ‘_RequireInputIter’ does not name a type
 1874 |            typename = _RequireInputIter<_InputIterator>,
      |                       ^~~~~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_vector.h:1874:40: error: expected ‘>’ before ‘<’ token
 1874 |            typename = _RequireInputIter<_InputIterator>,
      |                                        ^
In file included from delcher.hh:35,
                 from delcher.cc:10:
exceptions.hh:19:36: error: conversion from ‘const char [1]’ to non-scalar type ‘const string’ {aka ‘const std::__cxx11::basic_string<char>’} requested
   19 | const std :: string  NULL_STRING = "";  //!< null string
      |                                    ^~
make[3]: *** [/<<PKGBUILDDIR>>/src/c_make.gen:329: delcher.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/Common'
make[2]: *** [Makefile:6: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
dh_auto_build: error: cd src && make -j4 "INSTALL=install --strip-program=true" "CFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-med-packaging mailing list