[Debian-med-packaging] Bug#1037571: aghermann: ftbfs with GCC-13
Matthias Klose
doko at debian.org
Wed Jun 14 10:21:18 BST 2023
Package: src:aghermann
Version: 1.1.2-3
Severity: normal
Tags: sid trixie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is targeted to the upcoming trixie 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-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/aghermann_1.1.2-3_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 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-13/porting_to.html
[...]
In file included from ../../src/libsigfile/source-base.hh:18:
../../src/common/fs.hh: In function ‘std::__cxx11::list<std::__cxx11::basic_string<char> > agh::fs::path_elements(const std::string&)’:
../../src/common/fs.hh:37:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
37 | return move(agh::str::tokens( _filename, "/"));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/common/fs.hh:37:20: note: remove ‘std::move’ call
../../src/common/fs.hh: In function ‘std::string agh::fs::dirname(const std::string&)’:
../../src/common/fs.hh:46:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
46 | return move(pre + agh::str::join( ee, "/"));
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/common/fs.hh:46:20: note: remove ‘std::move’ call
../../src/libsigfile/source-base.hh: At global scope:
../../src/libsigfile/source-base.hh:235:17: error: ‘int_least32_t’ does not name a type
235 | typedef int_least32_t TStatusBits;
| ^~~~~~~~~~~~~
../../src/libsigfile/source-base.hh:236:17: error: ‘int_least8_t’ does not name a type
236 | typedef int_least8_t TFlagBits;
| ^~~~~~~~~~~~
../../src/libsigfile/source-base.hh:242:14: error: use of enum ‘TStatus’ without previous declaration
242 | enum TStatus : TStatusBits {
| ^~~~~~~
../../src/libsigfile/source-base.hh:242:24: error: ‘TStatusBits’ was not declared in this scope
242 | enum TStatus : TStatusBits {
| ^~~~~~~~~~~
../../src/libsigfile/source-base.hh:242:36: error: default member initializer for unnamed bit-field
242 | enum TStatus : TStatusBits {
| ^
../../src/libsigfile/source-base.hh:261:9: error: ‘TStatusBits’ does not name a type
261 | TStatusBits
| ^~~~~~~~~~~
../../src/libsigfile/source-base.hh:263:9: error: ‘TFlagBits’ does not name a type; did you mean ‘TFlags’?
263 | TFlagBits
| ^~~~~~~~~
| TFlags
../../src/libsigfile/source-base.hh:289:9: error: ‘TStatusBits’ does not name a type
289 | TStatusBits
| ^~~~~~~~~~~
../../src/libsigfile/source-base.hh:291:9: error: ‘TFlagBits’ does not name a type; did you mean ‘TFlags’?
291 | TFlagBits
| ^~~~~~~~~
| TFlags
../../src/libsigfile/source-base.hh:294:39: error: ‘TStatusBits’ has not been declared
294 | static string explain_status( TStatusBits);
| ^~~~~~~~~~~
../../src/libsigfile/source-base.hh: In constructor ‘sigfile::CSource::CSource(const std::string&, int, agh::log::CLogFacility*)’:
../../src/libsigfile/source-base.hh:274:17: error: class ‘sigfile::CSource’ does not have any field named ‘_status’
274 | _status (0),
| ^~~~~~~
../../src/libsigfile/source-base.hh:275:17: error: class ‘sigfile::CSource’ does not have any field named ‘_flags’
275 | _flags (flags_)
| ^~~~~~
../../src/libsigfile/source-base.hh: In member function ‘virtual std::string sigfile::CSource::explain_status() const’:
../../src/libsigfile/source-base.hh:296:47: error: ‘_status’ was not declared in this scope; did you mean ‘si_status’?
296 | { return move(explain_status( _status)); }
| ^~~~~~~
| si_status
make[5]: *** [Makefile:449: subject_id.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/common'
make[4]: *** [Makefile:475: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: *** [Makefile:429: all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:566: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:445: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Debian-med-packaging
mailing list