Version 7 (modified by 14 months ago) ( diff ) | ,
---|
Some packages may need an adaption with GCC 14 ¶
Reference: https://gitlab.com/fweimer-rh/fedora-modernc
Serious issues marked as bold.
cmake (3.28.1) ¶
https://gitlab.kitware.com/cmake/cmake/-/commit/806c40a38fc6e1996738173ecfa23a26f7502dbf
Two tests fail.
Fixed 3.28.2.
xmlto (0.0.28) ¶
- https://pagure.io/xmlto/c/8e34f087bf410bcc5fe445933d6ad9bae54f24b5
- https://pagure.io/xmlto/c/1375e2df75530cd198bd16ac3de38e2b0d126276
FTBFS:
xmlif/xmlif.l:46:8: error: type defaults to 'int' in declaration of 'ifsense' [-Wimplicit-int] 46 | static ifsense; /* sense of last `if' or unless seen */ | ^~~~~~~ xmlif/xmlif.l:243:1: error: return type defaults to 'int' [-Wimplicit-int] 243 | { | ^ make[1]: *** [Makefile:741: xmlif/xmlif.o] Error 1
sed -e '/^static/s|ifsense|int &|' -e 's|^main|int &|' -i xmlif/xmlif.l
zsh (5.9) ¶
- https://github.com/zsh-users/zsh/commit/4c89849c98172c951a9def3690e8647dae76308f
- https://github.com/zsh-users/zsh/commit/ab4d62eb975a4c4c51dd35822665050e2ddc6918
Configure script wrongly probe things and then FTBFS:
termcap.c:45:14: error: conflicting types for 'boolcodes'; have 'char *[]' 45 | static char *boolcodes[] = { | ^~~~~~~~~ In file included from ../../Src/zshterm.h:1, from ../../Src/zsh_system.h:932, from ../../Src/zsh.mdh:15, from termcap.mdh:15, from termcap.c:38: /usr/include/term.h:783:56: note: previous declaration of 'boolcodes' with type 'const char * const[]' 783 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[]; | ^~~~~~~~~ make[3]: *** [Makefile:230: termcap.o] Error 1
Note that simply fixing up termcap.c will cover up the real issue and produce an zsh executable hanging at runtime. The upstream changes can be done via sed:
sed -i -e 's/^main/int &/' -e 's/exit(/return(/' aczsh.m4 configure.ac sed -i 's/test = /&(char**)/' configure.ac autoreconf
Note:
See TracWiki
for help on using the wiki.