[Bug 1229277] New: Package fakechroot does not build with GCC 14 because of new errors (that were previously warnings)
https://bugzilla.suse.com/show_bug.cgi?id=1229277 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/fake... 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 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1229277 https://bugzilla.suse.com/show_bug.cgi?id=1229277#c1 --- Comment #1 from Martin Jambor <mjambor@suse.com> --- The problem is that even with GCC 13, configure does not generate a definition of macro NEW_GLIBC. This makes the package use old names of the stat functions it wants to use and since those are not declared, the compilation fails with GCC 14. Compiling with option -DNEW_GLIBC - simulating correct config result, avoids the problem but seems a rather terrible hack. Someone needs to properly regenerate the autotools bits in the package. Meanwhile, I have created https://build.opensuse.org/request/show/1194739 to work-around the issue by compiling with -Wno-error=implicit-function-declaration. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1229277 https://bugzilla.suse.com/show_bug.cgi?id=1229277#c4 --- Comment #4 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1229277) was mentioned in https://build.opensuse.org/request/show/1198551 Factory / fakeroot -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com