Opened 2 years ago
Closed 2 years ago
#20126 closed defect (fixed)
Compface FTBFS with GCC 14
| Reported by: | Douglas R. Reno | Owned by: | Douglas R. Reno |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.2 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
I was wondering when this package was going to break. :)
Fedora has a few patches for it, but I think it can be done with a sed and an autoreconf (in our case we need https://src.fedoraproject.org/rpms/compface/blob/rawhide/f/compface-c99.patch).
This looks like one of our header issues related to GCC 14:
In file included from cmain.c:19:
config.h:9:14: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch]
9 | extern char *malloc ();
| ^~~~~~
config.h:7:1: note: ‘malloc’ is declared in header ‘<stdlib.h>’
6 | #include <strings.h>
+++ |+#include <stdlib.h>
7 | #endif
cmain.c: In function ‘main’:
cmain.c:54:27: error: implicit declaration of function ‘strcpy’ [-Wimplicit-function-declaration]
54 | #define INITERR(s) {(void)strcpy(fbuf, cmdname); (void)strcat(fbuf, ": ");\
| ^~~~~~
Change History (2)
comment:1 by , 2 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 2 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Fixed at 3981c8da32eccee7ee03beafa2ddf8189e48ead8