Package: src:crossguid
Version: 0.0+git200150803-6
Severity: important
Tags: sid forky
User: debian-...@lists.debian.org
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/crossguid_0.0+git200150803-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

[...]

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package crossguid
dpkg-buildpackage: info: source version 0.0+git200150803-6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Jelmer Vernooij <jel...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean
   debian/rules override_dh_clean
make[1]: Entering directory 
'/build/reproducible-path/crossguid-0.0+git200150803'
dh_clean libcrossguid.* *.o
make[1]: Leaving directory '/build/reproducible-path/crossguid-0.0+git200150803'
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Entering directory 
'/build/reproducible-path/crossguid-0.0+git200150803'
x86_64-linux-gnu-g++ -shared -fPIC -Wall -std=c++11 
-Wl,-soname,libcrossguid.so.0 -DGUID_LIBUUID \
-I/usr/include/uuid  guid.cpp -o libcrossguid.so.0.0.1 -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 
-ffile-prefix-map=/build/reproducible-path/crossguid-0.0+git200150803=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -luuid \
-Wl,-z,relro
ar x /usr/lib/x86_64-linux-gnu/libuuid.a
ar cr libcrossguid.a *.o
make[1]: Leaving directory '/build/reproducible-path/crossguid-0.0+git200150803'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory 
'/build/reproducible-path/crossguid-0.0+git200150803'
mkdir -p debian/tmp/usr/include
mkdir -p debian/tmp/usr/lib/x86_64-linux-gnu
cp guid.h debian/tmp/usr/include/
cp libcrossguid.* debian/tmp/usr/lib/x86_64-linux-gnu/
make[1]: Leaving directory '/build/reproducible-path/crossguid-0.0+git200150803'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_perl
   debian/rules override_dh_link
make[1]: Entering directory 
'/build/reproducible-path/crossguid-0.0+git200150803'
dh_link -plibcrossguid-dev usr/lib/x86_64-linux-gnu/libcrossguid.so.0.0.1 
usr/lib/x86_64-linux-gnu/libcrossguid.so
dh_link -plibcrossguid0 usr/lib/x86_64-linux-gnu/libcrossguid.so.0.0.1 
usr/lib/x86_64-linux-gnu/libcrossguid.so.0
make[1]: Leaving directory '/build/reproducible-path/crossguid-0.0+git200150803'
   dh_strip_nondeterminism
   dh_compress
   dh_fixperms
   dh_missing
   dh_dwz -a
   dh_strip -a
   dh_makeshlibs -a
dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols 
file: see diff output below
dpkg-gensymbols: warning: debian/libcrossguid0/DEBIAN/symbols doesn't match 
completely debian/libcrossguid0.symbols
--- debian/libcrossguid0.symbols (libcrossguid0_0.0+git200150803-6_amd64)
+++ dpkg-gensymbolsvgBbve       2025-02-16 03:41:31.733288815 +0000
@@ -15,6 +15,6 @@
  _ZN4GuidaSERKS_@Base 0.0+git200150803
  _ZNK4GuideqERKS_@Base 0.0+git200150803
  _ZNK4GuidneERKS_@Base 0.0+git200150803
- _ZNKSt5ctypeIcE8do_widenEc@Base 0.0+git200150803
- (optional)_ZNSt6vectorIhSaIhEEaSERKS1_@Base 0.0+git200150803
+#MISSING: 0.0+git200150803-6# _ZNKSt5ctypeIcE8do_widenEc@Base 0.0+git200150803
+#MISSING: 0.0+git200150803-6# (optional)_ZNSt6vectorIhSaIhEEaSERKS1_@Base 
0.0+git200150803
  _ZlsRSoRK4Guid@Base 0.0+git200150803
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to