Opened 8 weeks ago

Closed 8 weeks 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: normal 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 Douglas R. Reno, 8 weeks ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

comment:2 by Douglas R. Reno, 8 weeks ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.