[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1049620: aprsdigi: Fails to build binary packages again after successful build



Source: aprsdigi
Version: 3.10.0-5
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b
> ------------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package aprsdigi
> dpkg-buildpackage: info: source version 3.10.0-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Christoph Berg <myon@debian.org>
>  dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "libaprs.a" || rm -f libaprs.a
> test -z "mic_e_test testparse testmcast fiforead fifowrite" || rm -f mic_e_test testparse testmcast fiforead fifowrite
> test -z "aprsmon aprsdigi" || rm -f aprsmon aprsdigi
> rm -f *.o
> rm -f *.tab.c
> test -z "aprsdigi.spec" || rm -f aprsdigi.spec
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> test . = "." || test -z "" || rm -f 
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f ./.deps/aprsdigi.Po
> rm -f ./.deps/aprsmon.Po
> rm -f ./.deps/aprsshm.Po
> rm -f ./.deps/fiforead.Po
> rm -f ./.deps/fifowrite.Po
> rm -f ./.deps/libax25ext.Po
> rm -f ./.deps/mic_e.Po
> rm -f ./.deps/mic_e_test.Po
> rm -f ./.deps/testmcast.Po
> rm -f ./.deps/testparse.Po
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  debian/rules build
> dh build
>    dh_update_autotools_config
>    dh_autoreconf
> configure.ac:14: warning: The macro `AC_CHECKING' is obsolete.
> configure.ac:14: You should run autoupdate.
> ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
> configure.ac:14: the top level
> configure.ac:19: warning: The macro `AC_HEADER_STDC' is obsolete.
> configure.ac:19: You should run autoupdate.
> ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
> configure.ac:19: the top level
> configure.ac:39: warning: The macro `AC_CHECKING' is obsolete.
> configure.ac:39: You should run autoupdate.
> ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from...
> configure.ac:39: the top level
> configure.ac:40: warning: The macro `AC_TRY_COMPILE' is obsolete.
> configure.ac:40: You should run autoupdate.
> ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
> configure.ac:40: the top level
> configure.ac:60: warning: The macro `AC_TYPE_SIGNAL' is obsolete.
> configure.ac:60: You should run autoupdate.
> ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
> configure.ac:60: the top level
> configure.ac:61: warning: AC_FUNC_WAIT3: `wait3' has been removed from POSIX.
> configure.ac:61: Remove this `AC_FUNC_WAIT3' and adjust your code to use `waitpid' instead.
> ./lib/autoconf/functions.m4:2053: AC_FUNC_WAIT3 is expanded from...
> configure.ac:61: the top level
> configure.ac:71: warning: AC_OUTPUT should be used without arguments.
> configure.ac:71: You should run autoupdate.
> configure.ac:72: warning: AC_OUTPUT should be used without arguments.
> configure.ac:72: You should run autoupdate.
> configure.ac:8: installing './compile'
> configure.ac:4: installing './install-sh'
> configure.ac:4: installing './missing'
> Makefile.am: installing './INSTALL'
> Makefile.am: installing './depcomp'
>    dh_auto_configure
> 	./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a race-free mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether the compiler supports GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to enable C11 features... none needed
> checking whether gcc understands -c and -o together... yes
> checking whether make supports the include directive... yes (GNU style)
> checking dependency style of gcc... none
> checking for ranlib... ranlib
> checking for groff... /usr/bin/groff
> configure: checking for N2YGK's -lax25 extensions:...
> checking for parse_raw_ax25 in -lax25... no
> checking for ax25_config_load_ports in -lax25... yes
> checking for stdio.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for strings.h... yes
> checking for sys/stat.h... yes
> checking for sys/types.h... yes
> checking for unistd.h... yes
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for fcntl.h... yes
> checking for limits.h... yes
> checking for sys/ioctl.h... yes
> checking for sys/time.h... yes
> checking for unistd.h... (cached) yes
> checking for ax25/axconfig.h... no
> checking for an ANSI C-conforming const... yes
> checking for size_t... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> configure: checking for IPv6...
> checking how to run the C preprocessor... gcc -E
> checking whether gcc needs -traditional... no
> checking return type of signal handlers... void
> checking for wait3 that fills in rusage... yes
> checking for select... yes
> checking for socket... yes
> checking for strdup... yes
> checking for strtol... yes
> checking for uname... yes
> checking for shmctl... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: executing depfiles commands
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating aprsdigi.spec
> config.status: executing depfiles commands
>    dh_auto_build
> 	make -j8
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mic_e_test.o mic_e_test.c
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o mic_e.o mic_e.c
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libax25ext.o libax25ext.c
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o testparse.o testparse.c
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o testmcast.o testmcast.c
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fiforead.o fiforead.c
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o fifowrite.o fifowrite.c
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o aprsmon.o aprsmon.c
> libax25ext.c: In function â??parse_cooked_ax25â??:
> libax25ext.c:101:7: warning: implicit declaration of function â??ax25_aton_entryâ?? [-Wimplicit-function-declaration]
>   101 |       ax25_aton_entry(*frame,calls->ax_from_call.ax25_call);
>       |       ^~~~~~~~~~~~~~~
> 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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o aprsshm.o aprsshm.c
> fiforead.c:23:1: warning: return type defaults to â??intâ?? [-Wimplicit-int]
>    23 | main(int argc, char **argv)
>       | ^~~~
> 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: warning: implicit declaration of function â??inet_addrâ??; did you mean â??ifr_addrâ??? [-Wimplicit-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=]
>   145 |     fprintf(stderr,"before select rsock=%d rmask=0x%0x\n",rsock,rmask);
>       |                                                    ~~^          ~~~~~
>       |                                                      |          |
>       |                                                      |          fd_set
>       |                                                      unsigned int
> testmcast.c:152:44: warning: format â??%xâ?? expects argument of type â??unsigned intâ??, but argument 3 has type â??fd_setâ?? [-Wformat=]
>   152 |     fprintf(stderr,"after select rmask=0x%0x\n",rmask);
>       |                                          ~~^    ~~~~~
>       |                                            |    |
>       |                                            |    fd_set
>       |                                            unsigned int
> fifowrite.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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o aprsdigi.o aprsdigi.c
> /usr/bin/groff -mandoc -Thtml  aprsdigi.8 >aprsdigi.html
> /usr/bin/groff -mandoc -Thtml  aprsmon.8 >aprsmon.html
> make[1]: *** No rule to make target 'mkinstalldirs', needed by 'all-am'.  Stop.
> make[1]: *** Waiting for unfinished jobs....
> aprsmon.c: In function â??fmt.part.0â??:
> aprsmon.c:306:29: warning: â??%sâ?? directive writing up to 199 bytes into a region of size between 85 and 94 [-Wformat-overflow=]
>   306 |       sprintf(buf2,"%s>%s%s:%s",from,"APRS",digis,mic2);
>       |                             ^~                    ~~~~
> In file included from /usr/include/stdio.h:906,
>                  from aprsmon.c:57:
> In function â??sprintfâ??,
>     inlined from â??fmt.part.0â?? at aprsmon.c:306:7:
> /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: â??__builtin___sprintf_chkâ?? output 7 or more bytes (assuming 215) into a destination of size 100
>    30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    31 |                                   __glibc_objsize (__s), __fmt,
>       |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    32 |                                   __va_arg_pack ());
>       |                                   ~~~~~~~~~~~~~~~~~
> aprsdigi.c: In function â??calltab_entryâ??:
> aprsdigi.c:549:13: warning: implicit declaration of function â??ax25_cmpâ?? [-Wimplicit-function-declaration]
>   549 |         || (ax25_cmp(c->callsign,callsign) == 0)) {
>       |             ^~~~~~~~
> aprsdigi.c: In function â??unprotoâ??:
> aprsdigi.c:861:10: warning: implicit declaration of function â??ax25_atonâ?? [-Wimplicit-function-declaration]
>   861 |   return ax25_aton(buf,calls);
>       |          ^~~~~~~~~
> aprsdigi.c: In function â??parsecallsâ??:
> aprsdigi.c:876:9: warning: implicit declaration of function â??ax25_aton_entryâ?? [-Wimplicit-function-declaration]
>   876 |     if (ax25_aton_entry(cp,calls[i].ax25_call) < 0)
>       |         ^~~~~~~~~~~~~~~
> aprsdigi.c: In function â??print_dupesâ??:
> aprsdigi.c:1176:32: warning: format â??%xâ?? expects argument of type â??unsigned intâ??, but argument 3 has type â??struct pkt *â?? [-Wformat=]
>  1176 |     fprintf(stderr,"dupe @ 0x%0x:  prev->0x%0x  next->0x%0x  time %d  len %d\n",
>       |                              ~~^
>       |                                |
>       |                                unsigned int
>  1177 |             p,p->prev,p->next,p->t,p->l);
>       |             ~                   
>       |             |
>       |             struct pkt *
> aprsdigi.c:1176:46: warning: format â??%xâ?? expects argument of type â??unsigned intâ??, but argument 4 has type â??struct pkt *â?? [-Wformat=]
>  1176 |     fprintf(stderr,"dupe @ 0x%0x:  prev->0x%0x  next->0x%0x  time %d  len %d\n",
>       |                                            ~~^
>       |                                              |
>       |                                              unsigned int
>  1177 |             p,p->prev,p->next,p->t,p->l);
>       |               ~~~~~~~                         
>       |                |
>       |                struct pkt *
> aprsdigi.c:1176:59: warning: format â??%xâ?? expects argument of type â??unsigned intâ??, but argument 5 has type â??struct pkt *â?? [-Wformat=]
>  1176 |     fprintf(stderr,"dupe @ 0x%0x:  prev->0x%0x  next->0x%0x  time %d  len %d\n",
>       |                                                         ~~^
>       |                                                           |
>       |                                                           unsigned int
>  1177 |             p,p->prev,p->next,p->t,p->l);
>       |                       ~~~~~~~                              
>       |                        |
>       |                        struct pkt *
> aprsdigi.c:1176:68: warning: format â??%dâ?? expects argument of type â??intâ??, but argument 6 has type â??time_tâ?? {aka â??long intâ??} [-Wformat=]
>  1176 |     fprintf(stderr,"dupe @ 0x%0x:  prev->0x%0x  next->0x%0x  time %d  len %d\n",
>       |                                                                   ~^
>       |                                                                    |
>       |                                                                    int
>       |                                                                   %ld
>  1177 |             p,p->prev,p->next,p->t,p->l);
>       |                               ~~~~                                  
>       |                                |
>       |                                time_t {aka long int}
> aprsdigi.c: In function â??sked_idâ??:
> aprsdigi.c:1356:42: warning: format â??%dâ?? expects argument of type â??intâ??, but argument 4 has type â??time_tâ?? {aka â??long intâ??} [-Wformat=]
>  1356 |       fprintf(stderr,"next ID for %s in %d seconds\n",ID_next->port, when);
>       |                                         ~^                           ~~~~
>       |                                          |                           |
>       |                                          int                         time_t {aka long int}
>       |                                         %ld
> aprsdigi.c: In function â??do_port_udpâ??:
> aprsdigi.c:1891:75: warning: format â??%xâ?? expects argument of type â??unsigned intâ??, but argument 6 has type â??struct addrinfo *â?? [-Wformat=]
>  1891 |     fprintf(stderr,"UDP address info: family %d type %d proto %d next 0x%0x\n",
>       |                                                                         ~~^
>       |                                                                           |
>       |                                                                           unsigned int
>  1892 |             ai->ai_family,ai->ai_socktype,ai->ai_protocol,ai->ai_next);
>       |                                                           ~~~~~~~~~~~      
>       |                                                             |
>       |                                                             struct addrinfo *
> aprsdigi.c: In function â??printaddrâ??:
> aprsdigi.c:2339:5: warning: implicit declaration of function â??inet_ntopâ?? [-Wimplicit-function-declaration]
>  2339 |     inet_ntop(sin->sin_family,&sin->sin_addr, buf, buflen);
>       |     ^~~~~~~~~
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_build: error: make -j8 returned exit code 2
> make: *** [debian/rules:5: build] Error 25
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/aprsdigi_3.10.0-5_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: