Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/aprsdigi.spec'], chrootPath='/var/lib/mock/f42-build-54792807-6529676/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10g3s7j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10g3s7j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'efc8e40c738b4c3282248f573300ad02', '-D', '/var/lib/mock/f42-build-54792807-6529676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10g3s7j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/aprsdigi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/aprsdigi-3.5.1-28.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/aprsdigi.spec'], chrootPath='/var/lib/mock/f42-build-54792807-6529676/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10g3s7j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10g3s7j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c11d70f724c64266bc27a7730d1c5316', '-D', '/var/lib/mock/f42-build-54792807-6529676/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.10g3s7j5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/aprsdigi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ARHboZ + umask 022 + cd /builddir/build/BUILD/aprsdigi-3.5.1-build + test -d /builddir/build/BUILD/aprsdigi-3.5.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/aprsdigi-3.5.1-build + /usr/bin/rm -rf /builddir/build/BUILD/aprsdigi-3.5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/aprsdigi-3.5.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/aprsdigi-3.5.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PHmZ2H + umask 022 + cd /builddir/build/BUILD/aprsdigi-3.5.1-build + cd /builddir/build/BUILD/aprsdigi-3.5.1-build + rm -rf aprsdigi-3.5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/aprsdigi-3.5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd aprsdigi-3.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/aprsdigi-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qoTx3X + umask 022 + cd /builddir/build/BUILD/aprsdigi-3.5.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aprsdigi-3.5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2012-09-03 21:51:51.000000000 +0000 +++ ./configure 2024-11-08 05:51:46.948741129 +0000 @@ -1787,7 +1787,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-redhat-linux-gnu-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for man2html... .:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin 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 how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking ax25/axconfig.h usability... no checking ax25/axconfig.h presence... no 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 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 configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands configure: creating ./config.status config.status: creating Makefile config.status: creating aprsdigi.spec config.status: executing depfiles commands + /usr/bin/make -O -j6 V=1 VERBOSE=1 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c mic_e_test.c mic_e_test.c:10:1: warning: return type of ‘main’ is not ‘int’ [-Wmain] 10 | main(argc,argv) /* test this formatter */ | ^~~~ mic_e_test.c: In function ‘main’: mic_e_test.c:21:18: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 21 | u_char *to = strchr(b,'>'); | ^~~~~~ mic_e_test.c:22:17: warning: pointer targets in initialization of ‘u_char *’ {aka ‘unsigned char *’} from ‘char *’ differ in signedness [-Wpointer-sign] 22 | u_char *i = strchr(b,':'); | ^~~~~~ mic_e_test.c:36:31: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 36 | if (fmt_mic_e(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick) | ^ | | | u_char * {aka unsigned char *} In file included from mic_e_test.c:3: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mic_e_test.c:36:34: warning: pointer targets in passing argument 4 of ‘fmt_mic_e’ differ in signedness [-Wpointer-sign] 36 | if (fmt_mic_e(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick) | ^~~ | | | char * In file included from mic_e_test.c:7: mic_e.h:8:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 8 | u_char *buf1, /* output buffer */ | ~~~~~~~~^~~~ mic_e_test.c:36:43: warning: pointer targets in passing argument 6 of ‘fmt_mic_e’ differ in signedness [-Wpointer-sign] 36 | if (fmt_mic_e(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick) | ^~~ | | | char * mic_e.h:10:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | u_char *buf2, /* 2nd output buffer */ | ~~~~~~~~^~~~ mic_e_test.c:37:33: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 37 | || fmt_x1j4(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick)) { | ^ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mic_e_test.c:37:36: warning: pointer targets in passing argument 4 of ‘fmt_x1j4’ differ in signedness [-Wpointer-sign] 37 | || fmt_x1j4(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick)) { | ^~~ | | | char * mic_e.h:17:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 17 | u_char *buf1, /* output buffer */ | ~~~~~~~~^~~~ mic_e_test.c:37:45: warning: pointer targets in passing argument 6 of ‘fmt_x1j4’ differ in signedness [-Wpointer-sign] 37 | || fmt_x1j4(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick)) { | ^~~ | | | char * mic_e.h:19:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 19 | u_char *buf2, /* 2nd output buffer */ | ~~~~~~~~^~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c testparse.c testparse.c: In function ‘main’: testparse.c:36:16: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 36 | while (fgets(buf,sizeof(buf),stdin)) { | ^~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/sys/types.h:25, from testparse.c:2: /usr/include/bits/stdio2.h:305:8: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ testparse.c:42:21: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 42 | buflen = strlen(buf); | ^~~ | | | unsigned char * In file included from testparse.c:14: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ testparse.c:55:33: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char *’ [-Wformat=] 55 | fprintf(stderr,"data @0x%0x (len %d): %s\n",bp,buflen,bp); | ~~^ ~~ | | | | unsigned int unsigned char * | %0hhn testparse.c:60:34: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char *’ [-Wformat=] 60 | fprintf(stderr,"cooked@0x%0x (len %d): %s\n",obuf,olen,obuf);/* ?? */ | ~~^ ~~~~ | | | | unsigned int unsigned char * | %0hhn testparse.c:61:33: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘unsigned char *’ [-Wformat=] 61 | fprintf(stderr,"data @0x%0x (len %d): %s\n", bp, buflen, bp); | ~~^ ~~ | | | | unsigned int unsigned char * | %0hhn testparse.c:62:15: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 62 | strncpy(&obuf[sizeof(obuf)-olen],bp,buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:96:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ testparse.c:62:40: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 62 | strncpy(&obuf[sizeof(obuf)-olen],bp,buflen); | ^~ | | | unsigned char * /usr/include/bits/string_fortified.h:96:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ testparse.c: In function ‘print_it.part.0’: testparse.c:107:3: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 107 | strncpy(asc_to,ax25_ntoa_pretty(&calls->ax_to_call),sizeof(asc_to)); | ^ testparse.c:108:3: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 108 | strncpy(asc_from,ax25_ntoa_pretty(&calls->ax_from_call),sizeof(asc_from)); | ^ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fiforead.c fiforead.c: In function ‘main’: fiforead.c:49:74: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 49 | while ((n = recvfrom(sock,buf,sizeof(buf),0,(struct sockaddr *)&remsun,&size)) >= 0) { | ^~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from fiforead.c:6: /usr/include/bits/socket2.h:69:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 69 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ fiforead.c:38:3: warning: ‘strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] 38 | strncpy(mysun.sun_path,argv[1],sizeof(mysun.sun_path)); | ^ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c testmcast.c testmcast.c: In function ‘main’: testmcast.c:63:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 63 | else if (hp = gethostbyname(name)) { | ^~ testmcast.c:74:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 74 | else if (sp = getservbyname(service,"udp")) { | ^~ testmcast.c:149:54: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘fd_set’ [-Wformat=] 149 | fprintf(stderr,"before select rsock=%d rmask=0x%0x\n",rsock,rmask); | ~~^ ~~~~~ | | | | | fd_set | unsigned int testmcast.c:156:44: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘fd_set’ [-Wformat=] 156 | fprintf(stderr,"after select rmask=0x%0x\n",rmask); | ~~^ ~~~~~ | | | | | fd_set | unsigned int testmcast.c:160:62: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 160 | if ((len = recvfrom(rsock,buffer,sizeof(buffer),0,&rsa,&size)) < 0) { | ^~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from testmcast.c:6: /usr/include/bits/socket2.h:69:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 69 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testmcast.c:177:16: warning: ‘tsock’ may be used uninitialized [-Wmaybe-uninitialized] 177 | if ((r = sendto(tsock,buffer,len,0,&tsa,sizeof(tsa))) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testmcast.c:47:7: note: ‘tsock’ was declared here 47 | int tsock, rsock; | ^~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c libax25ext.c libax25ext.c: In function ‘parse_cooked_ax25’: libax25ext.c:98:26: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 98 | if ((tok = strpbrk(*frame,"*>")) == NULL) /* source callsign */ | ^~~~~~ | | | unsigned char * In file included from libax25ext.c:14: /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ libax25ext.c:98:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 98 | if ((tok = strpbrk(*frame,"*>")) == NULL) /* source callsign */ | ^ libax25ext.c:102:23: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 102 | ax25_aton_entry(*frame,calls->ax_from_call.ax25_call); | ^~~~~~ | | | unsigned char * In file included from libax25ext.c:12: /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:131:26: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 131 | if ((tok = strpbrk(*frame,">*:")) == NULL) /* callsign */ | ^~~~~~ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ libax25ext.c:131:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 131 | if ((tok = strpbrk(*frame,">*:")) == NULL) /* callsign */ | ^ libax25ext.c:140:25: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 140 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); | ^~~~~~ | | | unsigned char * /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:155:25: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 155 | ax25_aton_entry(*frame,calls->ax_to_call.ax25_call); | ^~~~~~ | | | unsigned char * /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:175:26: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 175 | if ((tok = strpbrk(*frame,">*:,")) == NULL) /* callsign */ | ^~~~~~ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ libax25ext.c:175:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 175 | if ((tok = strpbrk(*frame,">*:,")) == NULL) /* callsign */ | ^ libax25ext.c:183:25: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 183 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); | ^~~~~~ | | | unsigned char * /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:193:25: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 193 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); | ^~~~~~ | | | unsigned char * /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:205:25: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 205 | ax25_aton_entry(*frame,calls->ax_to_call.ax25_call); | ^~~~~~ | | | unsigned char * /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:212:25: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 212 | ax25_aton_entry(*frame,calls->ax_to_call.ax25_call); | ^~~~~~ | | | unsigned char * /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:223:26: warning: pointer targets in passing argument 1 of ‘strpbrk’ differ in signedness [-Wpointer-sign] 223 | if ((tok = strpbrk(*frame,":*,")) == NULL) /* callsign */ | ^~~~~~ | | | unsigned char * /usr/include/string.h:323:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 323 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ libax25ext.c:223:16: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 223 | if ((tok = strpbrk(*frame,":*,")) == NULL) /* callsign */ | ^ libax25ext.c:229:23: warning: pointer targets in passing argument 1 of ‘ax25_aton_entry’ differ in signedness [-Wpointer-sign] 229 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); | ^~~~~~ | | | unsigned char * /usr/include/netax25/axlib.h:58:28: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 58 | extern int ax25_aton_entry(const char *, char *); | ^~~~~~~~~~~~ libax25ext.c:269:19: warning: statement with no effect [-Wunused-value] 269 | calls->ax_pid == PID_NO_L3; | ^ libax25ext.c: In function ‘gen_cooked_ax25’: libax25ext.c:332:11: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 332 | strncpy(*frame,ax25_ntoa_pretty(&calls->ax_from_call),AXLEN+3); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/netax25/ax25.h:21, from libax25ext.c:10: /usr/include/bits/string_fortified.h:96:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libax25ext.c:333:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 333 | l = strlen(*frame); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ libax25ext.c:337:11: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 337 | strncpy(*frame,ax25_ntoa_pretty(&calls->ax_to_call),AXLEN+3); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:96:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libax25ext.c:338:14: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 338 | l = strlen(*frame); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ libax25ext.c:344:13: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 344 | strncpy(*frame,ax25_ntoa_pretty(&calls->ax_digi_call[i]),AXLEN+3); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:96:17: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ libax25ext.c:345:16: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 345 | l = strlen(*frame); | ^~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ libax25ext.c: In function ‘parse_cooked_ax25’: libax25ext.c:287:1: warning: control reaches end of non-void function [-Wreturn-type] 287 | } | ^ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c mic_e.c mic_e.c: In function ‘fmt_mic_e’: mic_e.c:155:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 155 | sprintf(buf2,"T#MIC%03d,%03d", | ^~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:511, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from mic_e.c:26: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mic_e.c:159:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 159 | *l2 = strlen(buf2); | ^~~~ | | | u_char * {aka unsigned char *} In file included from mic_e.c:28: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mic_e.c:162:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 162 | sprintf(buf2,"T#MIC%03d,%03d,%03d,%03d,%03d", | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mic_e.c:169:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 169 | *l2 = strlen(buf2); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mic_e.c:172:17: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 172 | sprintf(buf2,"T#MIC%03d,%03d,%03d,%03d,%03d", | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mic_e.c:175:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 175 | *l2 = strlen(buf2); | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mic_e.c:181:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 181 | sprintf(buf1,"@%02d%02d%02dz%d%d%d%d.%d%d%c%c%03d%02d.%02d%c%c%03d/%03d/%c>mon/M%d/%s", | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mic_e.c:191:30: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 191 | bp = &buf1[(*l1 = strlen(buf1))]; | ^~~~ | | | u_char * {aka unsigned char *} /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mic_e.c:191:8: warning: pointer targets in assignment from ‘u_char *’ {aka ‘unsigned char *’} to ‘char *’ differ in signedness [-Wpointer-sign] 191 | bp = &buf1[(*l1 = strlen(buf1))]; | ^ mic_e.c:62:7: warning: variable ‘gps_valid’ set but not used [-Wunused-but-set-variable] 62 | int gps_valid = 0; | ^~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c fifowrite.c fifowrite.c: In function ‘main’: fifowrite.c:42:16: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 42 | while (fgets(buf,sizeof(buf),stdin)) { | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:511, from /usr/include/sys/types.h:25, from fifowrite.c:2: /usr/include/bits/stdio2.h:305:8: note: expected ‘char * restrict’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fifowrite.c:44:40: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 44 | if ((sent = sendto(sock,buf,strlen(buf),0,(struct sockaddr *)&mysun, | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/sys/un.h:38, from fifowrite.c:7: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘u_char *’ {aka ‘unsigned char *’} 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ fifowrite.c:29:7: warning: unused variable ‘n’ [-Wunused-variable] 29 | int n; | ^ fifowrite.c:37:3: warning: ‘strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] 37 | strncpy(mysun.sun_path,argv[1],sizeof(mysun.sun_path)); | ^ rm -f libaprs.a ar cru libaprs.a mic_e.o libax25ext.o ranlib libaprs.a gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c aprsshm.c aprsshm.c: In function ‘shm_master’: aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:116:18: note: in expansion of macro ‘ABSREL’ 116 | pktseg->head = ABSREL(&pktseg->pkt0); | ^~~~~~ aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:116:18: note: in expansion of macro ‘ABSREL’ 116 | pktseg->head = ABSREL(&pktseg->pkt0); | ^~~~~~ aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:116:18: note: in expansion of macro ‘ABSREL’ 116 | pktseg->head = ABSREL(&pktseg->pkt0); | ^~~~~~ aprsshm.c: In function ‘collect’: aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:213:18: note: in expansion of macro ‘ABSREL’ 213 | pktseg->tail = ABSREL(p); /* new tail */ | ^~~~~~ aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:213:18: note: in expansion of macro ‘ABSREL’ 213 | pktseg->tail = ABSREL(p); /* new tail */ | ^~~~~~ aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:213:18: note: in expansion of macro ‘ABSREL’ 213 | pktseg->tail = ABSREL(p); /* new tail */ | ^~~~~~ aprsshm.c: In function ‘free_stale’: aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:233:22: note: in expansion of macro ‘RELABS’ 233 | struct pkt *head = RELABS(pktseg->head); | ^~~~~~ aprsshm.c:74:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:233:22: note: in expansion of macro ‘RELABS’ 233 | struct pkt *head = RELABS(pktseg->head); | ^~~~~~ aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:233:22: note: in expansion of macro ‘RELABS’ 233 | struct pkt *head = RELABS(pktseg->head); | ^~~~~~ aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:234:22: note: in expansion of macro ‘RELABS’ 234 | struct pkt *tail = RELABS(pktseg->tail); | ^~~~~~ aprsshm.c:74:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:234:22: note: in expansion of macro ‘RELABS’ 234 | struct pkt *tail = RELABS(pktseg->tail); | ^~~~~~ aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:234:22: note: in expansion of macro ‘RELABS’ 234 | struct pkt *tail = RELABS(pktseg->tail); | ^~~~~~ aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:250:18: note: in expansion of macro ‘ABSREL’ 250 | pktseg->head = ABSREL(head); | ^~~~~~ aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:250:18: note: in expansion of macro ‘ABSREL’ 250 | pktseg->head = ABSREL(head); | ^~~~~~ aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:250:18: note: in expansion of macro ‘ABSREL’ 250 | pktseg->head = ABSREL(head); | ^~~~~~ aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:262:20: note: in expansion of macro ‘ABSREL’ 262 | pktseg->head = ABSREL(head); | ^~~~~~ aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:262:20: note: in expansion of macro ‘ABSREL’ 262 | pktseg->head = ABSREL(head); | ^~~~~~ aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) | ^ aprsshm.c:262:20: note: in expansion of macro ‘ABSREL’ 262 | pktseg->head = ABSREL(head); | ^~~~~~ aprsshm.c: In function ‘dump_saved’: aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:275:22: note: in expansion of macro ‘RELABS’ 275 | struct pkt *head = RELABS(pktseg->head); | ^~~~~~ aprsshm.c:74:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:275:22: note: in expansion of macro ‘RELABS’ 275 | struct pkt *head = RELABS(pktseg->head); | ^~~~~~ aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:275:22: note: in expansion of macro ‘RELABS’ 275 | struct pkt *head = RELABS(pktseg->head); | ^~~~~~ aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:276:22: note: in expansion of macro ‘RELABS’ 276 | struct pkt *tail = RELABS(pktseg->tail); | ^~~~~~ aprsshm.c:74:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:276:22: note: in expansion of macro ‘RELABS’ 276 | struct pkt *tail = RELABS(pktseg->tail); | ^~~~~~ aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) | ^ aprsshm.c:276:22: note: in expansion of macro ‘RELABS’ 276 | struct pkt *tail = RELABS(pktseg->tail); | ^~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c aprsmon.c aprsmon.c: In function ‘main’: aprsmon.c:202:61: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 202 | if ((size = recvfrom(s, buffer, sizeof(buffer), 0, &sa, &asize)) == -1) { | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from aprsmon.c:49: /usr/include/bits/socket2.h:69:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 69 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ aprsmon.c: In function ‘fmt’: aprsmon.c:300:17: warning: pointer targets in passing argument 1 of ‘fmt_mic_e’ differ in signedness [-Wpointer-sign] 300 | if (fmt_mic_e(to,buf,len,mic1,&l1,mic2,&l2,now)) { | ^~ | | | char * In file included from aprsmon.c:74: mic_e.h:5:36: note: expected ‘const u_char *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 5 | extern int fmt_mic_e(const u_char *t, /* tocall */ | ~~~~~~~~~~~~~~^ aprsmon.c:300:28: warning: pointer targets in passing argument 4 of ‘fmt_mic_e’ differ in signedness [-Wpointer-sign] 300 | if (fmt_mic_e(to,buf,len,mic1,&l1,mic2,&l2,now)) { | ^~~~ | | | char * mic_e.h:8:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 8 | u_char *buf1, /* output buffer */ | ~~~~~~~~^~~~ aprsmon.c:300:37: warning: pointer targets in passing argument 6 of ‘fmt_mic_e’ differ in signedness [-Wpointer-sign] 300 | if (fmt_mic_e(to,buf,len,mic1,&l1,mic2,&l2,now)) { | ^~~~ | | | char * mic_e.h:10:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 10 | u_char *buf2, /* 2nd output buffer */ | ~~~~~~~~^~~~ aprsmon.c:304:15: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 304 | sprintf(buf1,"%s>%s%s:%s",from,"APRS",digis,mic1); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:511, from /usr/include/sys/types.h:25, from aprsmon.c:46: /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ aprsmon.c:306:15: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 306 | sprintf(buf2,"%s>%s%s:%s",from,"APRS",digis,mic2); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ aprsmon.c:307:23: warning: pointer targets in passing argument 1 of ‘fmt_x1j4’ differ in signedness [-Wpointer-sign] 307 | } else if (fmt_x1j4(to,buf,len,mic1,&l1,mic2,&l2,now)) { | ^~ | | | char * mic_e.h:14:35: note: expected ‘const u_char *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 14 | extern int fmt_x1j4(const u_char *t, /* tocall */ | ~~~~~~~~~~~~~~^ aprsmon.c:307:34: warning: pointer targets in passing argument 4 of ‘fmt_x1j4’ differ in signedness [-Wpointer-sign] 307 | } else if (fmt_x1j4(to,buf,len,mic1,&l1,mic2,&l2,now)) { | ^~~~ | | | char * mic_e.h:17:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 17 | u_char *buf1, /* output buffer */ | ~~~~~~~~^~~~ aprsmon.c:307:43: warning: pointer targets in passing argument 6 of ‘fmt_x1j4’ differ in signedness [-Wpointer-sign] 307 | } else if (fmt_x1j4(to,buf,len,mic1,&l1,mic2,&l2,now)) { | ^~~~ | | | char * mic_e.h:19:19: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 19 | u_char *buf2, /* 2nd output buffer */ | ~~~~~~~~^~~~ aprsmon.c:311:15: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 311 | sprintf(buf1,"%s>%s%s:%s",from,to,digis,mic1); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ aprsmon.c:314:13: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign] 314 | sprintf(buf1,"%s>%s%s:",from,to,digis); | ^~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ aprsmon.c:315:16: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 315 | l = strlen(buf1); | ^~~~ | | | unsigned char * In file included from aprsmon.c:59: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ 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:970, from aprsmon.c:57: In function ‘sprintf’, inlined from ‘fmt.part.0’ at aprsmon.c:306:7: /usr/include/bits/stdio2.h:30:10: note: ‘__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 ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o testmcast testmcast.o libaprs.a -lax25 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o fiforead fiforead.o libaprs.a -lax25 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mic_e_test mic_e_test.o libaprs.a -lax25 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o testparse testparse.o libaprs.a -lax25 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o fifowrite fifowrite.o libaprs.a -lax25 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o aprsmon aprsmon.o aprsshm.o libaprs.a -lax25 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"aprsdigi\" -DVERSION=\"3.5.1\" -DHAVE_LIBAX25=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_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. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c aprsdigi.c aprsdigi.c: In function ‘rx_loop’: aprsdigi.c:368:93: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 368 | if ((len = recvfrom(i->rsock,buffer,sizeof(buffer),0,(struct sockaddr *)&i->rsafrom,&size)) < 0) { | ^~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from aprsdigi.c:44: /usr/include/bits/socket2.h:69:56: note: expected ‘socklen_t * restrict’ {aka ‘unsigned int * restrict’} but argument is of type ‘int *’ 69 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ aprsdigi.c: In function ‘rx_dupeit’: aprsdigi.c:471:7: warning: unused variable ‘n’ [-Wunused-variable] 471 | int n; | ^ aprsdigi.c: In function ‘intf_of’: aprsdigi.c:608:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 608 | if (c = calltab_entry(callsign,0)) | ^ aprsdigi.c: In function ‘rx_flood’: aprsdigi.c:749:7: warning: unused variable ‘i’ [-Wunused-variable] 749 | int i,wide,thisflags,result=0; | ^ aprsdigi.c: In function ‘rx_digi’: aprsdigi.c:815:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 815 | if (l = intf_of(&s->in.ax_digi_call[s->in.ax_next_digi])) { | ^ aprsdigi.c:811:7: warning: unused variable ‘j’ [-Wunused-variable] 811 | int j, result = 0; | ^ aprsdigi.c: In function ‘reformat’: aprsdigi.c:935:17: warning: pointer targets in passing argument 1 of ‘fmt_mic_e’ differ in signedness [-Wpointer-sign] 935 | fmt_mic_e(ax25_ntoa_pretty(&s->out.ax_to_call),s->cp,s->len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from aprsdigi.c:67: mic_e.h:5:36: note: expected ‘const u_char *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 5 | extern int fmt_mic_e(const u_char *t, /* tocall */ | ~~~~~~~~~~~~~~^ aprsdigi.c:939:23: warning: pointer targets in passing argument 1 of ‘fmt_x1j4’ differ in signedness [-Wpointer-sign] 939 | fmt_x1j4(ax25_ntoa_pretty(&s->out.ax_to_call),s->cp,s->len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * mic_e.h:14:35: note: expected ‘const u_char *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 14 | extern int fmt_x1j4(const u_char *t, /* tocall */ | ~~~~~~~~~~~~~~^ aprsdigi.c:923:34: warning: unused variable ‘pref2’ [-Wunused-variable] 923 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; | ^~~~~ aprsdigi.c:923:17: warning: unused variable ‘pref1’ [-Wunused-variable] 923 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; | ^~~~~ aprsdigi.c:920:7: warning: unused variable ‘r’ [-Wunused-variable] 920 | int r; | ^ aprsdigi.c: In function ‘print_dupes’: aprsdigi.c:1178:32: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘struct pkt *’ [-Wformat=] 1178 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~~^ | | | unsigned int 1179 | p,p->prev,p->next,p->t,p->l); | ~ | | | struct pkt * aprsdigi.c:1178:46: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘struct pkt *’ [-Wformat=] 1178 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~~^ | | | unsigned int 1179 | p,p->prev,p->next,p->t,p->l); | ~~~~~~~ | | | struct pkt * aprsdigi.c:1178:59: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘struct pkt *’ [-Wformat=] 1178 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~~^ | | | unsigned int 1179 | p,p->prev,p->next,p->t,p->l); | ~~~~~~~ | | | struct pkt * aprsdigi.c:1178:68: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 1178 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~^ | | | int | %ld 1179 | p,p->prev,p->next,p->t,p->l); | ~~~~ | | | time_t {aka long int} aprsdigi.c: In function ‘loop_packet’: aprsdigi.c:1199:25: warning: unused variable ‘cl’ [-Wunused-variable] 1199 | struct callsign_list *cl; | ^~ aprsdigi.c:1196:10: warning: unused variable ‘flags’ [-Wunused-variable] 1196 | int n, flags; | ^~~~~ aprsdigi.c: In function ‘set_id’: aprsdigi.c:1307:25: warning: pointer targets in passing argument 3 of ‘add_text’ differ in signedness [-Wpointer-sign] 1307 | add_text(&op,&oleft,idinfo,strlen(idinfo),0,0); | ^~~~~~ | | | char * aprsdigi.c:838:9: note: expected ‘u_char *’ {aka ‘unsigned char *’} but argument is of type ‘char *’ 838 | u_char *text; | ^~~~ aprsdigi.c: In function ‘sked_id’: aprsdigi.c:1358:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘time_t’ {aka ‘long int’} [-Wformat=] 1358 | 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:1893:75: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘struct addrinfo *’ [-Wformat=] 1893 | fprintf(stderr,"UDP address info: family %d type %d proto %d next 0x%0x\n", | ~~^ | | | unsigned int 1894 | ai->ai_family,ai->ai_socktype,ai->ai_protocol,ai->ai_next); | ~~~~~~~~~~~ | | | struct addrinfo * aprsdigi.c:1866:19: warning: unused variable ‘sp’ [-Wunused-variable] 1866 | struct servent *sp; | ^~ aprsdigi.c:1865:19: warning: unused variable ‘hp’ [-Wunused-variable] 1865 | struct hostent *hp; | ^~ aprsdigi.c: In function ‘budlist_add’: aprsdigi.c:2261:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2261 | if (mask = strrchr(name,'/')) { | ^~~~ aprsdigi.c:2193:35: warning: unused variable ‘sinax25mask’ [-Wunused-variable] 2193 | struct sockaddr_ax25 *sinax25, *sinax25mask; | ^~~~~~~~~~~ aprsdigi.c:2193:25: warning: unused variable ‘sinax25’ [-Wunused-variable] 2193 | struct sockaddr_ax25 *sinax25, *sinax25mask; | ^~~~~~~ aprsdigi.c: In function ‘budlist_print’: aprsdigi.c:2316:25: warning: unused variable ‘sinax25’ [-Wunused-variable] 2316 | struct sockaddr_ax25 *sinax25; | ^~~~~~~ aprsdigi.c:2315:24: warning: unused variable ‘sin6’ [-Wunused-variable] 2315 | struct sockaddr_in6 *sin6; | ^~~~ aprsdigi.c:2314:23: warning: unused variable ‘sin’ [-Wunused-variable] 2314 | struct sockaddr_in *sin; | ^~~ aprsdigi.c: In function ‘dupelist_print’: aprsdigi.c:2512:8: warning: unused variable ‘host’ [-Wunused-variable] 2512 | char host[1000]; | ^~~~ aprsdigi.c: In function ‘dupelist_init’: aprsdigi.c:2533:20: warning: unused variable ‘dl’ [-Wunused-variable] 2533 | struct dupelist *dl; | ^~ aprsdigi.c: In function ‘from_3rdparty’: aprsdigi.c:2664:13: warning: unused variable ‘oldp’ [-Wunused-variable] 2664 | u_char *oldp = pkt[j]; | ^~~~ aprsdigi.c: In function ‘sked_id’: aprsdigi.c:1356:5: warning: ‘when’ may be used uninitialized [-Wmaybe-uninitialized] 1356 | alarm(when); /* next alarm in this many secs */ | ^~~~~~~~~~~ aprsdigi.c:1338:10: note: ‘when’ was declared here 1338 | time_t when; | ^~~~ aprsdigi.c: In function ‘print_it.part.0’: aprsdigi.c:896:3: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 896 | strncpy(asc_to,ax25_ntoa_pretty(&calls->ax_to_call),sizeof(asc_to)); | ^ aprsdigi.c:897:3: warning: ‘strncpy’ specified bound 12 equals destination size [-Wstringop-truncation] 897 | strncpy(asc_from,ax25_ntoa_pretty(&calls->ax_from_call),sizeof(asc_from)); | ^ aprsdigi.c: In function ‘main’: aprsdigi.c:1979:3: warning: ‘strncpy’ specified bound 108 equals destination size [-Wstringop-truncation] 1979 | strncpy(name,i->dev,sizeof(name)); | ^ aprsdigi.c:2078:7: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 2078 | int n, j; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o aprsdigi aprsdigi.o libaprs.a -lax25 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eFb8ad + umask 022 + cd /builddir/build/BUILD/aprsdigi-3.5.1-build + '[' /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/aprsdigi-3.5.1-build + mkdir /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd aprsdigi-3.5.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/sbin" /usr/bin/install -p aprsmon aprsdigi '/builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/man/man8" /usr/bin/install -p -m 644 aprsdigi.8 aprsmon.8 fiforead.8 fifowrite.8 '/builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1' + install -D -m 644 aprsdigi.service /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/lib/systemd/system/aprsdigi.service + install -D -m 644 aprsbeacon.service /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/lib/systemd/system/aprsbeacon.service + install -D -m 644 aprsdigi.logrotate /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/etc/logrotate.d/aprsdigi + mkdir -p /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/etc/ax25 + echo + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 3.5.1-28.fc42 --unique-debug-suffix -3.5.1-28.fc42.x86_64 --unique-debug-src-base aprsdigi-3.5.1-28.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/aprsdigi-3.5.1-28.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT Scanned 19 directories and 21 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/aprsdigi-3.5.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: aprsdigi-3.5.1-28.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KQYQ93 + umask 022 + cd /builddir/build/BUILD/aprsdigi-3.5.1-build + cd aprsdigi-3.5.1 + DOCDIR=/builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/AUTHORS /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/ChangeLog /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/NEWS /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/README /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/TODO /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/aprsdigi.html /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/aprsmon.html /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/fiforead.html /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/fifowrite.html /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/examples /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/doc/aprsdigi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cnTCsd + umask 022 + cd /builddir/build/BUILD/aprsdigi-3.5.1-build + cd aprsdigi-3.5.1 + LICENSEDIR=/builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/licenses/aprsdigi + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/licenses/aprsdigi + cp -pr /builddir/build/BUILD/aprsdigi-3.5.1-build/aprsdigi-3.5.1/COPYING /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT/usr/share/licenses/aprsdigi + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /etc/ax25/aprsdigi.conf Provides: aprsdigi = 3.5.1-28.fc42 aprsdigi(x86-64) = 3.5.1-28.fc42 config(aprsdigi) = 3.5.1-28.fc42 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libax25.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: aprsdigi-debugsource-3.5.1-28.fc42.x86_64 Provides: aprsdigi-debugsource = 3.5.1-28.fc42 aprsdigi-debugsource(x86-64) = 3.5.1-28.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: aprsdigi-debuginfo-3.5.1-28.fc42.x86_64 Provides: aprsdigi-debuginfo = 3.5.1-28.fc42 aprsdigi-debuginfo(x86-64) = 3.5.1-28.fc42 debuginfo(build-id) = 4392666ab57317b3e7ba9c8b4158e5e0b9d5bead debuginfo(build-id) = fed4ffd92593705beaf31f58ae50a55acba0138e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: aprsdigi-debugsource(x86-64) = 3.5.1-28.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/aprsdigi-3.5.1-build/BUILDROOT Wrote: /builddir/build/RPMS/aprsdigi-debugsource-3.5.1-28.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/aprsdigi-3.5.1-28.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/aprsdigi-debuginfo-3.5.1-28.fc42.x86_64.rpm RPM build warnings: File listed twice: /etc/ax25/aprsdigi.conf Child return code was: 0