Package: src:libowfat
Version: 0.32-5
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/libowfat_0.32-5_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

[...]
x86_64-linux-gnu-gcc -c uint/uint16_read.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint16_read_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint16_unpack.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint16_unpack_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint32_pack.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint32_pack_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint32_read.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint32_read_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint32_unpack.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint32_unpack_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint64_pack.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint64_pack_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint64_read.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint64_read_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint64_unpack.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c uint/uint64_unpack_big.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/open_append.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/open_excl.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/open_read.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/open_rw.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/open_trunc.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/open_write.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/openreadclose.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c open/readclose.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_append.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_cat.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_catb.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_catlong0.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_catm_internal.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_cats.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_catulong0.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_chomp.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_chop.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_copy.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_copyb.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_copys.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_diff.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_diffs.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_free.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_init.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_ready.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_readyplus.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_starts.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
x86_64-linux-gnu-gcc -c stralloc/stralloc_zero.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
rm -f select.h
if  x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC -c trysysel.c >/dev/null 2>&1; then cp select.h2 select.h; else cp 
select.h1 select.h; fi
rm -f trysysel.o
x86_64-linux-gnu-gcc -c unix/iopause.c -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libowfat-0.32=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -I. 
-fPIC
In file included from unix/iopause.c:7:
./select.h:13:12: error: conflicting types for ‘select’; have ‘int(void)’
   13 | extern int select();
      |            ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:179,
                 from ./select.h:6:
/usr/include/x86_64-linux-gnu/sys/select.h:102:12: note: previous declaration 
of ‘select’ with type ‘int(int,  fd_set * restrict,  fd_set * restrict,  fd_set 
* restrict,  struct timeval * restrict)’
  102 | extern int select (int __nfds, fd_set *__restrict __readfds,
      |            ^~~~~~
unix/iopause.c: In function ‘iopause’:
unix/iopause.c:63:7: error: too many arguments to function ‘select’; expected 
0, have 5
   63 |   if (select(nfds,&rfds,&wfds,(fd_set *) 0,&tv) <= 0)
      |       ^~~~~~ ~~~~
./select.h:13:12: note: declared here
   13 | extern int select();
      |            ^~~~~~
make[2]: *** [/build/reproducible-path/libowfat-0.32/GNUmakefile:182: 
iopause.o] Error 1
make[2]: Leaving directory '/build/reproducible-path/libowfat-0.32'
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/libowfat-0.32'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to