From doko at debian.org Mon Feb 17 17:12:27 2025 From: doko at debian.org (Matthias Klose) Date: Mon, 17 Feb 2025 17:12:27 +0000 Subject: [Filesystems-devel] Bug#1096602: f2fs-tools: ftbfs with GCC-15 Message-ID: Package: src:f2fs-tools Version: 1.16.0-1.1 Severity: important Tags: sid forky User: debian-gcc at 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/f2fs-tools_1.16.0-1.1_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 [...] config.status: creating man/Makefile config.status: creating lib/Makefile config.status: creating mkfs/Makefile config.status: creating fsck/Makefile config.status: creating tools/Makefile config.status: creating tools/f2fs_io/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make[1]: Leaving directory '/build/reproducible-path/f2fs-tools-1.16.0' dh_auto_build make -j8 make[1]: Entering directory '/build/reproducible-path/f2fs-tools-1.16.0' make all-recursive make[2]: Entering directory '/build/reproducible-path/f2fs-tools-1.16.0' Making all in man make[3]: Entering directory '/build/reproducible-path/f2fs-tools-1.16.0/man' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/f2fs-tools-1.16.0/man' Making all in lib make[3]: Entering directory '/build/reproducible-path/f2fs-tools-1.16.0/lib' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libf2fs_la-libf2fs.lo `test -f 'libf2fs.c' || echo './'`libf2fs.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libf2fs_la-libf2fs_io.lo `test -f 'libf2fs_io.c' || echo './'`libf2fs_io.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libf2fs_la-libf2fs_zoned.lo `test -f 'libf2fs_zoned.c' || echo './'`libf2fs_zoned.c /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libf2fs_la-nls_utf8.lo `test -f 'nls_utf8.c' || echo './'`nls_utf8.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c libf2fs_zoned.c -o libf2fs_la-libf2fs_zoned.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c libf2fs_io.c -o libf2fs_la-libf2fs_io.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c nls_utf8.c -o libf2fs_la-nls_utf8.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/f2fs-tools-1.16.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c libf2fs.c -o libf2fs_la-libf2fs.o In file included from libf2fs_zoned.c:11: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ In file included from libf2fs.c:12: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ In file included from libf2fs_io.c:42: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ In file included from nls_utf8.c:29: ../include/f2fs_fs.h:107:25: error: two or more data types in declaration specifiers 107 | typedef u8 bool; | ^~~~ ../include/f2fs_fs.h:107:1: warning: useless type name in empty declaration 107 | typedef u8 bool; | ^~~~~~~ make[3]: *** [Makefile:477: libf2fs_la-libf2fs_zoned.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:470: libf2fs_la-libf2fs_io.lo] Error 1 make[3]: *** [Makefile:484: libf2fs_la-nls_utf8.lo] Error 1 make[3]: *** [Makefile:463: libf2fs_la-libf2fs.lo] Error 1 make[3]: Leaving directory '/build/reproducible-path/f2fs-tools-1.16.0/lib' make[2]: *** [Makefile:424: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/f2fs-tools-1.16.0' make[1]: *** [Makefile:356: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/f2fs-tools-1.16.0' 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