• Bug#1065763: libmawk: FTBFS on arm{el,hf}:

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 21:30:01 2024
    Source: libmawk
    Version: 1.0.2-3.1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=libmawk&arch=armel&ver=1.0.2-3.1&stamp=1709545317&raw=0

    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_
    SOURCE=2 -fPIC -I.. -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o array_environ.o array_environ.c
    makescan.c: In function ‘scan_print’:
    makescan.c:79:9: error: implicit declaration of function ‘printf’ [-Werror=implicit-function-declaration]
    79 | printf("\n\n/* scancode.c */\n\n\n");
    | ^~~~~~
    makescan.c:25:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
    24 | #include "mawk.h"
    +++ |+#include <stdio.h>
    25 |
    makescan.c:79:9: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
    79 | printf("\n\n/* scancode.c */\n\n\n");
    | ^~~~~~
    makescan.c:79:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
    makescan.c:86:33: error: implicit declaration of function ‘putchar’ [-Werror=implicit-function-declaration]
    86 | putchar(',');
    | ^~~~~~~
    makescan.c:86:33: note: include ‘<stdio.h>’ or provide a declaration of ‘putchar’
    gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_
    SOURCE=2 -fPIC -I.. -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -c -o files_children.o files_children.c
    cc1: some warnings being treated as errors
    make[3]: *** [Makefile:99: scancode.c] Error 1

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)