Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/aprsdigi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667625940.017036/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mf_pngrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mf_pngrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'a33d073881564bd58481e3a63be0f79d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667625940.017036/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mf_pngrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1658275200 Wrote: /builddir/build/SRPMS/aprsdigi-3.5.1-21.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/aprsdigi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667625940.017036/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mf_pngrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mf_pngrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'ec0d6d2917d14ddd99547d85de78b05e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667625940.017036/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mf_pngrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --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=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SHP94V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Zs0mH7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 2022-11-05 05:27:07.814754419 +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... .:/builddir/.local/bin:/builddir/bin:/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 -j2 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mic_e.c:26: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' 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 * restrict' 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 * restrict' 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 * restrict' 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:490, from /usr/include/netax25/ax25.h:21, from libax25ext.c:10: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c testparse.c testparse.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] 30 | main() | ^~~~ testparse.c: In function 'main': testparse.c:35:16: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 35 | while (fgets(buf,sizeof(buf),stdin)) { | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:906, from testparse.c:12: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ testparse.c:41:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 41 | 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:54:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] 54 | fprintf(stderr,"data @0x%0x (len %d): %s\n",bp,buflen,bp); | ~~^ ~~ | | | | unsigned int unsigned char * | %0hhn testparse.c:59:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] 59 | fprintf(stderr,"cooked@0x%0x (len %d): %s\n",obuf,olen,obuf);/* ?? */ | ~~^ ~~~~ | | | | unsigned int unsigned char * | %0hhn testparse.c:60:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] 60 | fprintf(stderr,"data @0x%0x (len %d): %s\n", bp, buflen, bp); | ~~^ ~~ | | | | unsigned int unsigned char * | %0hhn testparse.c:61:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 61 | strncpy(&obuf[sizeof(obuf)-olen],bp,buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from testparse.c:2: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ testparse.c:61:40: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 61 | strncpy(&obuf[sizeof(obuf)-olen],bp,buflen); | ^~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ testparse.c: In function 'print_it.part.0': testparse.c:106:3: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 106 | strncpy(asc_to,ax25_ntoa_pretty(&calls->ax_to_call),sizeof(asc_to)); | ^ testparse.c:107:3: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 107 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c testmcast.c testmcast.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] 36 | main(int argc,char **argv) | ^~~~ testmcast.c: In function 'main': testmcast.c:59:27: warning: implicit declaration of function 'inet_addr'; did you mean 'ifr_addr'? [-Wimplicit-function-declaration] 59 | sin.sin_addr.s_addr = inet_addr(name); | ^~~~~~~~~ | ifr_addr testmcast.c:61:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 61 | else if (hp = gethostbyname(name)) { | ^~ testmcast.c:72:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 72 | else if (sp = getservbyname(service,"udp")) { | ^~ testmcast.c:147:54: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'fd_set' [-Wformat=] 147 | fprintf(stderr,"before select rsock=%d rmask=0x%0x\n",rsock,rmask); | ~~^ ~~~~~ | | | | | fd_set | unsigned int testmcast.c:154:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'fd_set' [-Wformat=] 154 | fprintf(stderr,"after select rmask=0x%0x\n",rmask); | ~~^ ~~~~~ | | | | | fd_set | unsigned int testmcast.c:158:62: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 158 | 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:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ testmcast.c:175:16: warning: 'tsock' may be used uninitialized [-Wmaybe-uninitialized] 175 | if ((r = sendto(tsock,buffer,len,0,&tsa,sizeof(tsa))) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testmcast.c:45:7: note: 'tsock' was declared here 45 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c fiforead.c fiforead.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] 23 | main(int argc, char **argv) | ^~~~ fiforead.c: In function 'main': fiforead.c:48:74: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 48 | 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:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ fiforead.c:37:3: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 37 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c fifowrite.c fifowrite.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] 23 | main(int argc, char **argv) | ^~~~ fifowrite.c: In function 'main': fifowrite.c:41:16: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 41 | while (fgets(buf,sizeof(buf),stdin)) { | ^~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/stdio.h:906, from fifowrite.c:10: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ fifowrite.c:43:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 43 | 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:28:7: warning: unused variable 'n' [-Wunused-variable] 28 | int n; | ^ fifowrite.c:36:3: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 36 | 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __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:490, from /usr/include/sys/types.h:25, from aprsmon.c:46: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' 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 * restrict' 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 * restrict' 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 * restrict' 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:906, 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 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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); | ^~~~~~ rm -f libaprs.a ar cru libaprs.a mic_e.o libax25ext.o ranlib libaprs.a gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c aprsdigi.c aprsdigi.c: In function 'rx_loop': aprsdigi.c:367:93: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 367 | 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:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ aprsdigi.c: In function 'rx_dupeit': aprsdigi.c:470:7: warning: unused variable 'n' [-Wunused-variable] 470 | int n; | ^ aprsdigi.c: In function 'intf_of': aprsdigi.c:607:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 607 | if (c = calltab_entry(callsign,0)) | ^ aprsdigi.c: In function 'rx_flood': aprsdigi.c:748:7: warning: unused variable 'i' [-Wunused-variable] 748 | int i,wide,thisflags,result=0; | ^ aprsdigi.c: In function 'rx_digi': aprsdigi.c:814:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 814 | if (l = intf_of(&s->in.ax_digi_call[s->in.ax_next_digi])) { | ^ aprsdigi.c:810:7: warning: unused variable 'j' [-Wunused-variable] 810 | int j, result = 0; | ^ aprsdigi.c: In function 'reformat': aprsdigi.c:934:17: warning: pointer targets in passing argument 1 of 'fmt_mic_e' differ in signedness [-Wpointer-sign] 934 | fmt_mic_e(ax25_ntoa_pretty(&s->out.ax_to_call),s->cp,s->len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from aprsdigi.c:66: 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:938:23: warning: pointer targets in passing argument 1 of 'fmt_x1j4' differ in signedness [-Wpointer-sign] 938 | 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:922:34: warning: unused variable 'pref2' [-Wunused-variable] 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; | ^~~~~ aprsdigi.c:922:17: warning: unused variable 'pref1' [-Wunused-variable] 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; | ^~~~~ aprsdigi.c:919:7: warning: unused variable 'r' [-Wunused-variable] 919 | int r; | ^ aprsdigi.c: In function 'print_dupes': aprsdigi.c:1177:32: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct pkt *' [-Wformat=] 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~~^ | | | unsigned int 1178 | p,p->prev,p->next,p->t,p->l); | ~ | | | struct pkt * aprsdigi.c:1177:46: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct pkt *' [-Wformat=] 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~~^ | | | unsigned int 1178 | p,p->prev,p->next,p->t,p->l); | ~~~~~~~ | | | struct pkt * aprsdigi.c:1177:59: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct pkt *' [-Wformat=] 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~~^ | | | unsigned int 1178 | p,p->prev,p->next,p->t,p->l); | ~~~~~~~ | | | struct pkt * aprsdigi.c:1177:68: warning: format '%d' expects argument of type 'int', but argument 6 has type 'time_t' {aka 'long int'} [-Wformat=] 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", | ~^ | | | int | %ld 1178 | p,p->prev,p->next,p->t,p->l); | ~~~~ | | | time_t {aka long int} aprsdigi.c: In function 'loop_packet': aprsdigi.c:1198:25: warning: unused variable 'cl' [-Wunused-variable] 1198 | struct callsign_list *cl; | ^~ aprsdigi.c:1195:10: warning: unused variable 'flags' [-Wunused-variable] 1195 | int n, flags; | ^~~~~ aprsdigi.c: In function 'set_id': aprsdigi.c:1306:25: warning: pointer targets in passing argument 3 of 'add_text' differ in signedness [-Wpointer-sign] 1306 | add_text(&op,&oleft,idinfo,strlen(idinfo),0,0); | ^~~~~~ | | | char * aprsdigi.c:837:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 837 | u_char *text; | ^~~~ aprsdigi.c: In function 'sked_id': aprsdigi.c:1357:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] 1357 | 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:1892:75: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'struct addrinfo *' [-Wformat=] 1892 | fprintf(stderr,"UDP address info: family %d type %d proto %d next 0x%0x\n", | ~~^ | | | unsigned int 1893 | ai->ai_family,ai->ai_socktype,ai->ai_protocol,ai->ai_next); | ~~~~~~~~~~~ | | | struct addrinfo * aprsdigi.c:1865:19: warning: unused variable 'sp' [-Wunused-variable] 1865 | struct servent *sp; | ^~ aprsdigi.c:1864:19: warning: unused variable 'hp' [-Wunused-variable] 1864 | struct hostent *hp; | ^~ aprsdigi.c: In function 'budlist_add': aprsdigi.c:2260:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2260 | if (mask = strrchr(name,'/')) { | ^~~~ aprsdigi.c:2192:35: warning: unused variable 'sinax25mask' [-Wunused-variable] 2192 | struct sockaddr_ax25 *sinax25, *sinax25mask; | ^~~~~~~~~~~ aprsdigi.c:2192:25: warning: unused variable 'sinax25' [-Wunused-variable] 2192 | struct sockaddr_ax25 *sinax25, *sinax25mask; | ^~~~~~~ aprsdigi.c: In function 'budlist_print': aprsdigi.c:2315:25: warning: unused variable 'sinax25' [-Wunused-variable] 2315 | struct sockaddr_ax25 *sinax25; | ^~~~~~~ aprsdigi.c:2314:24: warning: unused variable 'sin6' [-Wunused-variable] 2314 | struct sockaddr_in6 *sin6; | ^~~~ aprsdigi.c:2313:23: warning: unused variable 'sin' [-Wunused-variable] 2313 | struct sockaddr_in *sin; | ^~~ aprsdigi.c: In function 'printaddr': aprsdigi.c:2340:5: warning: implicit declaration of function 'inet_ntop' [-Wimplicit-function-declaration] 2340 | inet_ntop(sin->sin_family,&sin->sin_addr, buf, buflen); | ^~~~~~~~~ aprsdigi.c: In function 'dupelist_print': aprsdigi.c:2511:8: warning: unused variable 'host' [-Wunused-variable] 2511 | char host[1000]; | ^~~~ aprsdigi.c: In function 'dupelist_init': aprsdigi.c:2532:20: warning: unused variable 'dl' [-Wunused-variable] 2532 | struct dupelist *dl; | ^~ aprsdigi.c: In function 'from_3rdparty': aprsdigi.c:2663:13: warning: unused variable 'oldp' [-Wunused-variable] 2663 | u_char *oldp = pkt[j]; | ^~~~ aprsdigi.c: At top level: aprsdigi.c:922:17: warning: 'pref1' defined but not used [-Wunused-variable] 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; | ^~~~~ aprsdigi.c:922:34: warning: 'pref2' defined but not used [-Wunused-variable] 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; | ^~~~~ In file included from /usr/include/stdio.h:906, from aprsdigi.c:51: In function 'fprintf', inlined from 'sked_id' at aprsdigi.c:1357:7: /usr/include/bits/stdio2.h:79:10: warning: 'when' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ aprsdigi.c: In function 'sked_id': aprsdigi.c:1337:10: note: 'when' was declared here 1337 | time_t when; | ^~~~ aprsdigi.c: In function 'print_it.part.0': aprsdigi.c:895:3: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 895 | strncpy(asc_to,ax25_ntoa_pretty(&calls->ax_to_call),sizeof(asc_to)); | ^ aprsdigi.c:896:3: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 896 | strncpy(asc_from,ax25_ntoa_pretty(&calls->ax_from_call),sizeof(asc_from)); | ^ aprsdigi.c: In function 'main': aprsdigi.c:1978:3: warning: 'strncpy' specified bound 108 equals destination size [-Wstringop-truncation] 1978 | strncpy(name,i->dev,sizeof(name)); | ^ aprsdigi.c:2077:7: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 2077 | int n, j; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -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.yR5w6F + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/aprsdigi-3.5.1' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/sbin" /usr/bin/install -p aprsmon aprsdigi '/builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/man/man8" /usr/bin/install -p -m 644 aprsdigi.8 aprsmon.8 fiforead.8 fifowrite.8 '/builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/aprsdigi-3.5.1' + install -D -m 644 aprsdigi.service /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/lib/systemd/system/aprsdigi.service + install -D -m 644 aprsbeacon.service /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/lib/systemd/system/aprsbeacon.service + install -D -m 644 aprsdigi.logrotate /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/etc/logrotate.d/aprsdigi + mkdir -p /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/etc/ax25 + echo + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.5.1-21.fc38 --unique-debug-suffix -3.5.1-21.fc38.x86_64 --unique-debug-src-base aprsdigi-3.5.1-21.fc38.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 extracting debug info from /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/sbin/aprsdigi extracting debug info from /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/sbin/aprsmon original debug info size: 208kB, size after compression: 204kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 232 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: aprsdigi-3.5.1-21.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FVgAUT + umask 022 + cd /builddir/build/BUILD + cd aprsdigi-3.5.1 + DOCDIR=/builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + cp -pr AUTHORS /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + cp -pr ChangeLog /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + cp -pr NEWS /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + cp -pr README /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + cp -pr TODO /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + cp -pr aprsdigi.html aprsmon.html fiforead.html fifowrite.html /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + cp -pr examples /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/doc/aprsdigi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.i6k7Kg + umask 022 + cd /builddir/build/BUILD + cd aprsdigi-3.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/licenses/aprsdigi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/licenses/aprsdigi + cp -pr COPYING /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64/usr/share/licenses/aprsdigi + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /etc/ax25/aprsdigi.conf Provides: aprsdigi = 3.5.1-21.fc38 aprsdigi(x86-64) = 3.5.1-21.fc38 config(aprsdigi) = 3.5.1-21.fc38 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) rtld(GNU_HASH) Processing files: aprsdigi-debugsource-3.5.1-21.fc38.x86_64 Provides: aprsdigi-debugsource = 3.5.1-21.fc38 aprsdigi-debugsource(x86-64) = 3.5.1-21.fc38 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-21.fc38.x86_64 Provides: aprsdigi-debuginfo = 3.5.1-21.fc38 aprsdigi-debuginfo(x86-64) = 3.5.1-21.fc38 debuginfo(build-id) = 5c1fc5ab3adaaacc9399bd2a0e7f3949bc3192a0 debuginfo(build-id) = d99daac62f63dfd3dd0d6294f6cbcaddc2a6c4f0 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-21.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64 Wrote: /builddir/build/RPMS/aprsdigi-3.5.1-21.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/aprsdigi-debuginfo-3.5.1-21.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/aprsdigi-debugsource-3.5.1-21.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IYOu34 + umask 022 + cd /builddir/build/BUILD + cd aprsdigi-3.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/aprsdigi-3.5.1-21.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.rctNZz + umask 022 + cd /builddir/build/BUILD + rm -rf aprsdigi-3.5.1 aprsdigi-3.5.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /etc/ax25/aprsdigi.conf Child return code was: 0