Source: powerpc-utils
Version: 1.3.13-1
Severity: serious
Tags: sid forky patch
User: [email protected]
Usertags: ftbfs-gcc-15
Hi Maintainer
powerpc-utils FTBFS when built with GCC 15. I've copied what I hope
is the relevant part of the log below.
This can be avoided by adding the following to debian/rules.
export DEB_CFLAGS_MAINT_APPEND=-std=gnu17
Regards
Graham
In file included from src/common/pseries_platform.c:25:
src/common/pseries_platform.h:21: warning: header guard ‘PLATFORM_H’
followed by ‘#define’ of a different macro [-Wheader-guard]
21 | #ifndef PLATFORM_H
src/common/pseries_platform.h:22: note: ‘PLARFORM_H’ is defined here;
did you mean ‘PLATFORM_H’?
22 | #define PLARFORM_H
In file included from src/rtas_dbg.c:40:
./src/common/pseries_platform.h:21: warning: header guard ‘PLATFORM_H’
followed by ‘#define’ of a different macro [-Wheader-guard]
21 | #ifndef PLATFORM_H
./src/common/pseries_platform.h:22: note: ‘PLARFORM_H’ is defined
here; did you mean ‘PLATFORM_H’?
22 | #define PLARFORM_H
src/nvram.c: In function ‘dump_rtas_event_entry’:
src/nvram.c:932:18: error: too many arguments to function
‘parse_rtas_event’; expected 0, have 2
932 | rtas_event = parse_rtas_event(data, len);
| ^~~~~~~~~~~~~~~~ ~~~~
src/nvram.c:938:5: error: too many arguments to function
‘rtas_print_event’; expected 0, have 3
938 | rtas_print_event(stdout, rtas_event, 0);
| ^~~~~~~~~~~~~~~~ ~~~~~~
src/nvram.c:940:5: error: too many arguments to function
‘cleanup_rtas_event’; expected 0, have 1
940 | cleanup_rtas_event(rtas_event);
| ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
make[1]: *** [Makefile:1082: src/nvram.o] Error 1