Debian Bug report logs - #1097181
libdigidoc: ftbfs with GCC-15

version graph

Package: src:libdigidoc; Maintainer for src:libdigidoc is Debian QA Group <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:31:58 UTC

Severity: minor

Tags: forky, sid

Found in version libdigidoc/3.10.5-6

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian QA Group <[email protected]>:
Bug#1097181; Package src:libdigidoc. (Mon, 17 Feb 2025 17:31:59 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian QA Group <[email protected]>. (Mon, 17 Feb 2025 17:31:59 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: libdigidoc: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:30:58 +0000
Package: src:libdigidoc
Version: 3.10.5-6
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/libdigidoc_3.10.5-6_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocVerify.h:40: warning: Member bMultiple (variable) of struct XmlElemDef_st is not documented.
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocVerify.h:41: warning: Member pChildren (variable) of struct XmlElemDef_st is not documented.
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocVerify.h:46: warning: Member szId (variable) of struct XmlElemInfo_st is not documented.
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocVerify.h:47: warning: Member szTag (variable) of struct XmlElemInfo_st is not documented.
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocVerify.h:48: warning: Member pParent (variable) of struct XmlElemInfo_st is not documented.
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocVerify.h:49: warning: Member pChildren (variable) of struct XmlElemInfo_st is not documented.
In file included from /build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocLib.c:86:
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocLib.c: In function ‘getFullFileName’:
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocDefs.h:66:19: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   66 |   #define _getcwd getcwd
/build/reproducible-path/libdigidoc-3.10.5/libdigidoc/DigiDocLib.c:663:5: note: in expansion of macro ‘_getcwd’
  663 |     _getcwd(szDest, len);
      |     ^~~~~~~
_st...
Generating docs for compound DEncEncrytedKey_st...
Generating docs for compound DEncRecvInfo_st...
Generating docs for compound DEncRecvInfoList_st...
Generating docs for compound DigestValue_st...
Generating docs for compound DigiDocMemBuf_st...
Generating docs for compound DocInfo_st...
Generating docs for compound ElementEntry_st...
Generating docs for compound ErrorInfo_st...
Generating docs for compound ErrorMessage_st...
Generating docs for compound FormatAndVer_st...
Generating docs for compound NotaryInfo_sk...
Generating docs for compound PolicyIdentifier_st...
Generating docs for compound SignatureInfo_st...
Generating docs for compound SignatureProductionPlace_st...
Generating docs for compound SignatureValue_st...
Generating docs for compound SignedDoc_st...
Generating docs for compound SignerRole_st...
Generating docs for compound tag_TSAProfile...
Generating docs for compound XmlElemDef_st...
Generating docs for compound XmlElemInfo_st...
Generating concept documentation...
Generating module documentation...
Generating namespace documentation...
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating topic index...
Generating module index...
Generating module member index...
Generating namespace index...
Generating namespace member index...
Generating concept index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
Running plantuml with JAVA...
type lookup cache used 1296/65536 hits=6368 misses=1425
symbol lookup cache used 1320/65536 hits=2786 misses=1320
finished...
make[3]: Leaving directory '/build/reproducible-path/libdigidoc-3.10.5/obj-x86_64-linux-gnu'
[ 32%] Built target docs
make[3]: Leaving directory '/build/reproducible-path/libdigidoc-3.10.5/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:147: libdigidoc/CMakeFiles/digidoc.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/libdigidoc-3.10.5/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libdigidoc-3.10.5/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Severity set to 'minor' from 'important' Request was from Andrej Shadura <[email protected]> to [email protected]. (Tue, 18 Feb 2025 08:39:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:18:47 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.