Bug ID | 1229277 |
---|---|
Summary | Package fakechroot does not build with GCC 14 because of new errors (that were previously warnings) |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Other |
Assignee | screening-team-bugs@suse.de |
Reporter | mjambor@suse.com |
QA Contact | qa-bugs@suse.de |
CC | aavindraa@gmail.com |
Blocks | 1220571 |
Target Milestone | --- |
Found By | --- |
Blocker | --- |
Package fakechroot fails to build with GCC 14 because of various C99 violations which previously just generated warning s but which cause errors with GCC 14 by default. For more information see https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571. BuildService failures are available online at: https://build.opensuse.org/package/live_build_log/home:rguenther:plgrnd/fakechroot/openSUSE_Factory/x86_64 The build with GCC 14 can now be tried locally with: osc build --clean --alternative-project home:rguenther:nextgcc The (first) error that stops the build is: [ 45s] libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -c ftw64.c -fPIC -DPIC -o .libs/ftw6 4.o [ 45s] ftw.c: In function ‘process_entry’: [ 45s] ftw64.c:37:20: error: implicit declaration of function ‘__fxstatat64’; did you mean ‘fstatat64’? [-Wimplicit-function-dec laration] [ 45s] 37 | # define FXSTATAT __fxstatat64 [ 45s] | ^~~~~~~~~~~~ [ 45s] ftw.c:466:15: note: in expansion of macro ‘FXSTATAT’ [ 45s] 466 | statres = FXSTATAT (_STAT_VER, dir->streamfd, name, &st, [ 45s] | ^~~~~~~~ [ 45s] ftw64.c:35:18: error: implicit declaration of function ‘__lxstat64’; did you mean ‘lstat64’? [-Wimplicit-function-declaration] [ 45s] 35 | # define LXSTAT __lxstat64 [ 45s] | ^~~~~~~~~~ [ 45s] ftw.c:474:20: note: in expansion of macro ‘LXSTAT’ [ 45s] 474 | ? LXSTAT (_STAT_VER, name, &st) [ 45s] | ^~~~~~ [ 45s] ftw64.c:36:17: error: implicit declaration of function ‘__xstat64’; did you mean ‘lstat64’? [-Wimplicit-function-declaration] [ 45s] 36 | # define XSTAT __xstat64 [ 45s] | ^~~~~~~~~ [ 45s] ftw.c:475:20: note: in expansion of macro ‘XSTAT’ [ 45s] 475 | : XSTAT (_STAT_VER, name, &st)); [ 45s] | ^~~~~ [ 45s] make[2]: *** [Makefile:904: ftw64.lo] Error 1