• Bug#1066209: aprsdigi: FTBFS: libax25ext.c:101:7: error: implicit decla

    From Lucas Nussbaum@1:229/2 to All on Wed Mar 13 13:00:11 2024
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Source: aprsdigi
    Version: 3.10.0-5
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: [email protected]
    Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.

    This is most likely caused by a change in dpkg 1.22.6, that enabled -Werror=implicit-function-declaration. For more information, see https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

    Relevant part (hopefully):
    gcc -DPACKAGE_NAME=\"aprsdigi\" -DPACKAGE_TARNAME=\"aprsdigi\" -DPACKAGE_VERSION=\"3.10.0\" -DPACKAGE_STRING=\"aprsdigi\ 3.10.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.10.0\" -DHAVE_LIBAX25=1 -DHAVE_STDIO_H=1 -
    DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_
    TIME_H=1 -DHAVE_UNISTD_H=1 -DIPV6=1 -DRETSIGTYPE=void -DHAVE_WAIT3=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRTOL=1 -DHAVE_UNAME=1 -DHAVE_SHMCTL=1 -DUSE_SHM=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-
    declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o aprsmon.o aprsmon.c
    libax25ext.c: In function ‘parse_cooked_ax25’:
    libax25ext.c:101:7: error: implicit declaration of function ‘ax25_aton_entry’ [-Werror=implicit-function-declaration]
    101 | ax25_aton_entry(*frame,calls->ax_from_call.ax25_call);
    | ^~~~~~~~~~~~~~~
    fiforead.c:23:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
    23 | main(int argc, char **argv)
    | ^~~~
    gcc -DPACKAGE_NAME=\"aprsdigi\" -DPACKAGE_TARNAME=\"aprsdigi\" -DPACKAGE_VERSION=\"3.10.0\" -DPACKAGE_STRING=\"aprsdigi\ 3.10.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.10.0\" -DHAVE_LIBAX25=1 -DHAVE_STDIO_H=1 -
    DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_
    TIME_H=1 -DHAVE_UNISTD_H=1 -DIPV6=1 -DRETSIGTYPE=void -DHAVE_WAIT3=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRTOL=1 -DHAVE_UNAME=1 -DHAVE_SHMCTL=1 -DUSE_SHM=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-
    declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o aprsshm.o aprsshm.c
    testparse.c:28:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
    28 | main()
    | ^~~~
    testparse.c: In function ‘main’:
    testparse.c:52:33: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char *’ [-Wformat=]
    52 | fprintf(stderr,"data @0x%0x (len %d): %s\n",bp,buflen,bp);
    | ~~^ ~~
    | | |
    | unsigned int unsigned char *
    | %0hhn
    testparse.c:57:34: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char *’ [-Wformat=]
    57 | fprintf(stderr,"cooked@0x%0x (len %d): %s\n",obuf,olen,obuf);/* ?? */
    | ~~^ ~~~~
    | | |
    | unsigned int unsigned char *
    | %0hhn
    testparse.c:58:33: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char *’ [-Wformat=]
    58 | fprintf(stderr,"data @0x%0x (len %d): %s\n", bp, buflen, bp);
    | ~~^ ~~
    | | |
    | unsigned int unsigned char *
    | %0hhn
    gcc -DPACKAGE_NAME=\"aprsdigi\" -DPACKAGE_TARNAME=\"aprsdigi\" -DPACKAGE_VERSION=\"3.10.0\" -DPACKAGE_STRING=\"aprsdigi\ 3.10.0\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.10.0\" -DHAVE_LIBAX25=1 -DHAVE_STDIO_H=1 -
    DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_
    TIME_H=1 -DHAVE_UNISTD_H=1 -DIPV6=1 -DRETSIGTYPE=void -DHAVE_WAIT3=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRTOL=1 -DHAVE_UNAME=1 -DHAVE_SHMCTL=1 -DUSE_SHM=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-
    declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o aprsdigi.o aprsdigi.c
    testmcast.c:34:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
    34 | main(int argc,char **argv)
    | ^~~~
    testmcast.c: In function ‘main’:
    testmcast.c:57:27: error: implicit declaration of function ‘inet_addr’; did you mean ‘ifr_addr’? [-Werror=implicit-function-declaration]
    57 | sin.sin_addr.s_addr = inet_addr(name);
    | ^~~~~~~~~
    | ifr_addr
    testmcast.c:145:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘fd_set’ [-Wformat=]

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Patrick Winnertz@1:229/2 to All on Tue Apr 9 10:10:01 2024
    XPost: linux.debian.bugs.dist
    From: [email protected]

    Control: tags 1066209 + pending

    I've updated the VCS, a upload is pending.

    With best regards
    Patrick

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)