FS#75435 - [expect] FTBFS
Attached to Project:
Arch Linux
Opened by Michal Wojdyla (micwoj92) - Wednesday, 27 July 2022, 03:28 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 31 July 2022, 14:32 GMT
Opened by Michal Wojdyla (micwoj92) - Wednesday, 27 July 2022, 03:28 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 31 July 2022, 14:32 GMT
|
Details
Description: Build fails due to default
`-Werror=format-security` flag in makepkg.conf.
Additional info: * package version: 5.45.4-2 * config and/or log files etc. N/A * link to upstream bug report, if any N/A Steps to reproduce: 1. makepkg -si 2. error exp_clib.c: In function ‘expDiagLogU’: exp_clib.c:1479:5: error: format not a string literal and no format arguments [-Werror=format-security] 1479 | fprintf(stderr,str); | ^~~~~~~ exp_clib.c:1480:5: error: format not a string literal and no format arguments [-Werror=format-security] 1480 | if (exp_logfile) fprintf(exp_logfile,str); | ^~ 3. adding CFLAGS="${CFLAGS} -Wno-error=format-security" fixes issue, builds succesfully |
This task depends upon
Closed by Jelle van der Waa (jelly)
Sunday, 31 July 2022, 14:32 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in expect-5.45.4-3
Sunday, 31 July 2022, 14:32 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in expect-5.45.4-3
[1] https://src.fedoraproject.org/rpms/expect/blob/rawhide/f/expect-5.45-format-security.patch