Your message dated Sun, 21 Dec 2025 12:49:06 +0000
with message-id <[email protected]>
and subject line Bug#1096467: fixed in cpio 2.15+dfsg-2.1
has caused the Debian Bug report #1096467,
regarding cpio: ftbfs with GCC-15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1096467: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096467
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:cpio
Version: 2.15+dfsg-2
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/cpio_2.15+dfsg-2_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

[...]
gcc -DHAVE_CONFIG_H -I. -I..  -I../gnu -I../ -I../gnu  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o paxexit.o paxexit.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../gnu -I../ -I../gnu  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o paxexit-status.o paxexit-status.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../gnu -I../ -I../gnu  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o rtapelib.o rtapelib.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../gnu -I../ -I../gnu  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o sysdep.o sysdep.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../gnu -I../ -I../gnu  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o paxerror.o paxerror.c
gcc -DHAVE_CONFIG_H -I. -I..  -I../gnu -I../ -I../gnu  -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o paxnames.o paxnames.c
rm -f libpax.a
ar cr libpax.a paxexit.o paxexit-status.o rtapelib.o sysdep.o paxerror.o 
paxnames.o 
ranlib libpax.a
make[4]: Leaving directory '/build/reproducible-path/cpio-2.15+dfsg/lib'
make[3]: Leaving directory '/build/reproducible-path/cpio-2.15+dfsg/lib'
Making all in rmt
make[3]: Entering directory '/build/reproducible-path/cpio-2.15+dfsg/rmt'
gcc -DHAVE_CONFIG_H -I. -I..  -I../gnu -I../ -I../gnu -I../lib -I../paxlib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o rmt.o rmt.c
gcc  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection  -Wl,-z,relro -o rmt rmt.o 
../gnu/libgnu.a   
make[3]: Leaving directory '/build/reproducible-path/cpio-2.15+dfsg/rmt'
Making all in src
make[3]: Entering directory '/build/reproducible-path/cpio-2.15+dfsg/src'
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o copyin.o copyin.c
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o copyout.o copyout.c
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o copypass.o copypass.c
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o defer.o defer.c
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o dstring.o dstring.c
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o global.o global.c
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o fatal.o fatal.c
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o main.o main.c
copypass.c: In function ‘process_copy_pass’:
copypass.c:104:12: error: too many arguments to function ‘xstat’; expected 0, 
have 2
  104 |       if ((*xstat) (input_name.ds_string, &in_file_stat) < 0)
      |           ~^~~~~~~  ~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I.. -I../gnu -I../gnu  -I../lib -I../lib 
-Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/cpio-2.15+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -c -o tar.o tar.c
make[3]: *** [Makefile:1866: copypass.o] Error 1
make[3]: *** Waiting for unfinished jobs....
copyout.c: In function ‘process_copy_out’:
copyout.c:647:12: error: too many arguments to function ‘xstat’; expected 0, 
have 2
  647 |       if ((*xstat) (input_name.ds_string, &file_stat) < 0)
      |           ~^~~~~~~  ~~~~~~~~~~~~~~~~~~~~
main.c: In function ‘parse_opt’:
main.c:407:13: error: assignment to ‘int (*)(void)’ from incompatible pointer 
type ‘int (*)(const char * restrict,  struct stat * restrict)’ 
[-Wincompatible-pointer-types]
  407 |       xstat = stat;
      |             ^
In file included from ../gnu/sys/stat.h:54,
                 from ../lib/system.h:119,
                 from main.c:24:
/usr/include/x86_64-linux-gnu/sys/stat.h:205:12: note: ‘stat’ declared here
  205 | extern int stat (const char *__restrict __file,
      |            ^~~~
main.c: In function ‘process_args’:
main.c:594:9: error: assignment to ‘int (*)(void)’ from incompatible pointer 
type ‘int (*)(const char * restrict,  struct stat * restrict)’ 
[-Wincompatible-pointer-types]
  594 |   xstat = lstat;
      |         ^
/usr/include/x86_64-linux-gnu/sys/stat.h:313:12: note: ‘lstat’ declared here
  313 | extern int lstat (const char *__restrict __file,
      |            ^~~~~
main.c:615:26: warning: comparison of distinct pointer types lacks a cast 
[-Wcompare-distinct-pointer-types]
  615 |       CHECK_USAGE (xstat != lstat, "--dereference", "--extract");
      |                          ^~
main.c:92:6: note: in definition of macro ‘CHECK_USAGE’
   92 |  if (cond) \
      |      ^~~~
make[3]: *** [Makefile:1866: copyout.o] Error 1
make[3]: *** [Makefile:1866: main.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/cpio-2.15+dfsg/src'
make[2]: *** [Makefile:1827: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/cpio-2.15+dfsg'
make[1]: *** [Makefile:1767: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/cpio-2.15+dfsg'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: cpio
Source-Version: 2.15+dfsg-2.1
Done: Chris Hofstaedtler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
cpio, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated cpio package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 21 Dec 2025 13:24:40 +0100
Source: cpio
Architecture: source
Version: 2.15+dfsg-2.1
Distribution: unstable
Urgency: medium
Maintainer: Anibal Monsalve Salazar <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1096467
Changes:
 cpio (2.15+dfsg-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Apply upstream patch to fix FTBFS with gcc-15. (Closes: #1096467)
Checksums-Sha1:
 77337240403e60f087df6c4a14c478c183989ae6 2015 cpio_2.15+dfsg-2.1.dsc
 39e3070d511e3e7ad1af1313cea66b4b6d25e92d 14724 cpio_2.15+dfsg-2.1.debian.tar.xz
Checksums-Sha256:
 bb1332bb506c9773710b529fb5e888d9d919ded7a4bd6460f52ce12ed401705f 2015 
cpio_2.15+dfsg-2.1.dsc
 5f6ced8c9de7dc2a556ba9282aca1f18aea3a2bae1bd6a9479276f76c3e37316 14724 
cpio_2.15+dfsg-2.1.debian.tar.xz
Files:
 7407e462a4289c5e1b867cb08105e49c 2015 utils important cpio_2.15+dfsg-2.1.dsc
 d216d8c4c26aa29012ddc80668a64a9b 14724 utils important 
cpio_2.15+dfsg-2.1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmlH6FAACgkQXBPW25MF
LgOtCA//WjfvbKDG3JTfVvnchT5Bo72s2+DEls7mz8XHL+fso+R36pqI14SkpRCM
xaSadBzFPO6b4LrO0ViIQTnzLbAIJZ6anhVQPXzgKfJg2U7xHFJU0m6u9rBFNsF+
OoDGy6SxuuwTO6e5kmhq5r/l21QD/RkG46ofSlFkFH9j3YmoalZs7M4R2NKQssam
6I2C0P5YTKqOxbaSiNUL5Ovt9HEkeP/Y43eXLZT5t8NTMvbcgwEO6ElkcYKMUKvn
tv1IqapCjQAmR/JUMsuBidK0dJQ4d5LAzzMyUxTS463wPJp+EuIu+zKf/03tCryR
RpVDGif9u10I7kyD/3mNxlIMnZUV/Yo2/ZPUYjlBfOZUDfazHh4HsbYkaFyHz9D4
6t8TQp1K7+o3WXDDCrZsL3G2ZRctdG7xxZ28jqa+TqkrK8pfTKPqoaKCchIAIIzY
T0/fTsodcUD1k6/rrl7tYzxHh+68Y4Iy5ykrLj2vVZ2pE4UA7sZsUUX18SLWADZy
wCE7mxNoRlCrF9L5ubs3h+QzJ+7u11wIDOsRLvI6VrW1HKV2CYS3yjuJvHoCxpRB
8S48aVDmuBkSCW2JuNkAvi8jTZQfT6tx96nz7wu3kv6wtXbc3in7PBR8c9wVRI3N
TgQniM9f0emI4eGwIXRjScCfa5osMZTqb92UDyr5JxIBm1xhgu4=
=hjsk
-----END PGP SIGNATURE-----

Attachment: pgpybyrDN_gkN.pgp
Description: PGP signature


--- End Message ---

Reply via email to