Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/aprsdigi.spec'], chrootPath='/var/lib/mock/f31-build-53199-27806/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Wrote: /builddir/build/SRPMS/aprsdigi-3.5.1-13.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/aprsdigi.spec'], chrootPath='/var/lib/mock/f31-build-53199-27806/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vsplu3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aprsdigi-3.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/aprsdigi-3.5.1.tar.gz + /usr/bin/tar -xof - + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.psua42 + umask 022 + cd /builddir/build/BUILD + cd aprsdigi-3.5.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: mic_e_test.c:10:1: warning: return type of 'main' is not 'int' [-Wmain] BUILDSTDERR: 10 | main(argc,argv) /* test this formatter */ BUILDSTDERR: | ^~~~ BUILDSTDERR: mic_e_test.c: In function 'main': BUILDSTDERR: mic_e_test.c:21:18: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 21 | u_char *to = strchr(b,'>'); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mic_e_test.c:22:17: warning: pointer targets in initialization of 'u_char *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 22 | u_char *i = strchr(b,':'); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mic_e_test.c:36:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | if (fmt_mic_e(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick) BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from mic_e_test.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: mic_e_test.c:36:34: warning: pointer targets in passing argument 4 of 'fmt_mic_e' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | if (fmt_mic_e(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from mic_e_test.c:7: BUILDSTDERR: mic_e.h:8:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 8 | u_char *buf1, /* output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: mic_e_test.c:36:43: warning: pointer targets in passing argument 6 of 'fmt_mic_e' differ in signedness [-Wpointer-sign] BUILDSTDERR: 36 | if (fmt_mic_e(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick) BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from mic_e_test.c:7: BUILDSTDERR: mic_e.h:10:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 10 | u_char *buf2, /* 2nd output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: mic_e_test.c:37:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 37 | || fmt_x1j4(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick)) { BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from mic_e_test.c:3: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: mic_e_test.c:37:29: warning: pointer targets in passing argument 4 of 'fmt_x1j4' differ in signedness [-Wpointer-sign] BUILDSTDERR: 37 | || fmt_x1j4(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick)) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from mic_e_test.c:7: BUILDSTDERR: mic_e.h:17:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 17 | u_char *buf1, /* output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: mic_e_test.c:37:38: warning: pointer targets in passing argument 6 of 'fmt_x1j4' differ in signedness [-Wpointer-sign] BUILDSTDERR: 37 | || fmt_x1j4(to,i,strlen(i),ob1,&ol1,ob2,&ol2,tick)) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from mic_e_test.c:7: BUILDSTDERR: mic_e.h:19:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 19 | u_char *buf2, /* 2nd output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: mic_e.c: In function 'fmt_mic_e': BUILDSTDERR: mic_e.c:155:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 155 | sprintf(buf2,"T#MIC%03d,%03d", BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from mic_e.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: mic_e.c:159:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 159 | *l2 = strlen(buf2); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from mic_e.c:28: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: mic_e.c:162:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 162 | sprintf(buf2,"T#MIC%03d,%03d,%03d,%03d,%03d", BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from mic_e.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: mic_e.c:169:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 169 | *l2 = strlen(buf2); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from mic_e.c:28: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: mic_e.c:172:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 172 | sprintf(buf2,"T#MIC%03d,%03d,%03d,%03d,%03d", BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from mic_e.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: mic_e.c:175:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 175 | *l2 = strlen(buf2); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from mic_e.c:28: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: mic_e.c:181:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 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", BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from mic_e.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: mic_e.c:191:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 191 | bp = &buf1[(*l1 = strlen(buf1))]; BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from mic_e.c:28: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: mic_e.c:191:8: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 191 | bp = &buf1[(*l1 = strlen(buf1))]; BUILDSTDERR: | ^ BUILDSTDERR: mic_e.c:62:7: warning: variable 'gps_valid' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 62 | int gps_valid = 0; BUILDSTDERR: | ^~~~~~~~~ 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 riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether 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 riscv64-koji-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 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c mic_e_test.c BUILDSTDERR: 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=1testparse.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 30 | main() BUILDSTDERR: | ^~~~ BUILDSTDERR: testparse.c: In function 'main': BUILDSTDERR: testparse.c:35:16: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: 35 | while (fgets(buf,sizeof(buf),stdin)) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from testparse.c:12: BUILDSTDERR: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: testparse.c:41:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 41 | buflen = strlen(buf); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from testparse.c:14: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: testparse.c:54:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] BUILDSTDERR: 54 | fprintf(stderr,"data @0x%0x (len %d): %s\n",bp,buflen,bp); BUILDSTDERR: | ~~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int unsigned char * BUILDSTDERR: | %0hhn BUILDSTDERR: testparse.c:59:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] BUILDSTDERR: 59 | fprintf(stderr,"cooked@0x%0x (len %d): %s\n",obuf,olen,obuf);/* ?? */ BUILDSTDERR: | ~~^ ~~~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int unsigned char * BUILDSTDERR: | %0hhn BUILDSTDERR: testparse.c:60:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'unsigned char *' [-Wformat=] BUILDSTDERR: 60 | fprintf(stderr,"data @0x%0x (len %d): %s\n", bp, buflen, bp); BUILDSTDERR: | ~~^ ~~ BUILDSTDERR: | | | BUILDSTDERR: | unsigned int unsigned char * BUILDSTDERR: | %0hhn BUILDSTDERR: testparse.c:61:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 61 | strncpy(&obuf[sizeof(obuf)-olen],bp,buflen); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from testparse.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: testparse.c:61:40: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 61 | strncpy(&obuf[sizeof(obuf)-olen],bp,buflen); BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from testparse.c:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from testparse.c:14: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'print_it.part.0' at testparse.c:106:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'print_it.part.0' at testparse.c:107:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: libax25ext.c: In function 'parse_cooked_ax25': BUILDSTDERR: libax25ext.c:98:26: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] BUILDSTDERR: 98 | if ((tok = strpbrk(*frame,"*>")) == NULL) /* source callsign */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:14: BUILDSTDERR: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 302 | extern char *strpbrk (const char *__s, const char *__accept) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: libax25ext.c:98:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 98 | if ((tok = strpbrk(*frame,"*>")) == NULL) /* source callsign */ BUILDSTDERR: | ^ BUILDSTDERR: libax25ext.c:102:23: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 102 | ax25_aton_entry(*frame,calls->ax_from_call.ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:131:26: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] BUILDSTDERR: 131 | if ((tok = strpbrk(*frame,">*:")) == NULL) /* callsign */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:14: BUILDSTDERR: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 302 | extern char *strpbrk (const char *__s, const char *__accept) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: libax25ext.c:131:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 131 | if ((tok = strpbrk(*frame,">*:")) == NULL) /* callsign */ BUILDSTDERR: | ^ BUILDSTDERR: libax25ext.c:140:18: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 140 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:155:18: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 155 | ax25_aton_entry(*frame,calls->ax_to_call.ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:175:26: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] BUILDSTDERR: 175 | if ((tok = strpbrk(*frame,">*:,")) == NULL) /* callsign */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:14: BUILDSTDERR: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 302 | extern char *strpbrk (const char *__s, const char *__accept) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: libax25ext.c:175:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 175 | if ((tok = strpbrk(*frame,">*:,")) == NULL) /* callsign */ BUILDSTDERR: | ^ BUILDSTDERR: libax25ext.c:183:18: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 183 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:193:18: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 193 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:205:18: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 205 | ax25_aton_entry(*frame,calls->ax_to_call.ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:212:18: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 212 | ax25_aton_entry(*frame,calls->ax_to_call.ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:223:26: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] BUILDSTDERR: 223 | if ((tok = strpbrk(*frame,":*,")) == NULL) /* callsign */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:14: BUILDSTDERR: /usr/include/string.h:302:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 302 | extern char *strpbrk (const char *__s, const char *__accept) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: libax25ext.c:223:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 223 | if ((tok = strpbrk(*frame,":*,")) == NULL) /* callsign */ BUILDSTDERR: | ^ BUILDSTDERR: libax25ext.c:229:23: warning: pointer targets in passing argument 1 of 'ax25_aton_entry' differ in signedness [-Wpointer-sign] BUILDSTDERR: 229 | ax25_aton_entry(*frame,calls->ax_digi_call[calls->ax_n_digis].ax25_call); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:12: BUILDSTDERR: /usr/include/netax25/axlib.h:58:28: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 58 | extern int ax25_aton_entry(const char *, char *); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: libax25ext.c:269:19: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 269 | calls->ax_pid == PID_NO_L3; BUILDSTDERR: | ^ BUILDSTDERR: libax25ext.c: In function 'gen_cooked_ax25': BUILDSTDERR: libax25ext.c:332:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 332 | strncpy(*frame,ax25_ntoa_pretty(&calls->ax_from_call),AXLEN+3); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/netax25/ax25.h:21, BUILDSTDERR: from libax25ext.c:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: libax25ext.c:333:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 333 | l = strlen(*frame); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:14: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libax25ext.c:337:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 337 | strncpy(*frame,ax25_ntoa_pretty(&calls->ax_to_call),AXLEN+3); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/netax25/ax25.h:21, BUILDSTDERR: from libax25ext.c:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: libax25ext.c:338:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 338 | l = strlen(*frame); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:14: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libax25ext.c:344:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 344 | strncpy(*frame,ax25_ntoa_pretty(&calls->ax_digi_call[i]),AXLEN+3); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/netax25/ax25.h:21, BUILDSTDERR: from libax25ext.c:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 103 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, BUILDSTDERR: | ^~~~~ BUILDSTDERR: libax25ext.c:345:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 345 | l = strlen(*frame); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from libax25ext.c:14: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: libax25ext.c: In function 'parse_cooked_ax25': BUILDSTDERR: libax25ext.c:287:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 287 | } BUILDSTDERR: | ^ BUILDSTDERR: fiforead.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 23 | main(int argc, char **argv) BUILDSTDERR: | ^~~~ BUILDSTDERR: fiforead.c: In function 'main': BUILDSTDERR: fiforead.c:48:74: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: 48 | while ((n = recvfrom(sock,buf,sizeof(buf),0,(struct sockaddr *)&remsun,&size)) >= 0) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from fiforead.c:6: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/sys/un.h:37, BUILDSTDERR: from fiforead.c:7: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'main' at fiforead.c:37:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: testmcast.c:36:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 36 | main(int argc,char **argv) BUILDSTDERR: | ^~~~ BUILDSTDERR: testmcast.c: In function 'main': BUILDSTDERR: testmcast.c:59:27: warning: implicit declaration of function 'inet_addr'; did you mean 'ifr_addr'? [-Wimplicit-function-declaration] BUILDSTDERR: 59 | sin.sin_addr.s_addr = inet_addr(name); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | ifr_addr BUILDSTDERR: testmcast.c:61:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 61 | else if (hp = gethostbyname(name)) { BUILDSTDERR: | ^~ BUILDSTDERR: testmcast.c:72:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 72 | else if (sp = getservbyname(service,"udp")) { BUILDSTDERR: | ^~ BUILDSTDERR: testmcast.c:147:54: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'fd_set' {aka 'struct '} [-Wformat=] BUILDSTDERR: 147 | fprintf(stderr,"before select rsock=%d rmask=0x%0x\n",rsock,rmask); BUILDSTDERR: | ~~^ ~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | fd_set {aka struct } BUILDSTDERR: | unsigned int BUILDSTDERR: testmcast.c:154:44: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'fd_set' {aka 'struct '} [-Wformat=] BUILDSTDERR: 154 | fprintf(stderr,"after select rmask=0x%0x\n",rmask); BUILDSTDERR: | ~~^ ~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | | fd_set {aka struct } BUILDSTDERR: | unsigned int BUILDSTDERR: testmcast.c:158:62: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: 158 | if ((len = recvfrom(rsock,buffer,sizeof(buffer),0,&rsa,&size)) < 0) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from testmcast.c:6: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: testmcast.c:175:16: warning: 'tsock' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 175 | if ((r = sendto(tsock,buffer,len,0,&tsa,sizeof(tsa))) < 0) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c mic_e.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c testparse.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c libax25ext.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fiforead.c BUILDSTDERR: 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_Hfifowrite.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 23 | main(int argc, char **argv) BUILDSTDERR: | ^~~~ BUILDSTDERR: fifowrite.c: In function 'main': BUILDSTDERR: fifowrite.c:41:16: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] BUILDSTDERR: 41 | while (fgets(buf,sizeof(buf),stdin)) { BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from fifowrite.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:255:25: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 255 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: fifowrite.c:43:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 43 | if ((sent = sendto(sock,buf,strlen(buf),0,(struct sockaddr *)&mysun, BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | u_char * {aka unsigned char *} BUILDSTDERR: In file included from /usr/include/sys/un.h:37, BUILDSTDERR: from fifowrite.c:7: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: fifowrite.c:28:7: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: 28 | int n; BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/sys/un.h:37, BUILDSTDERR: from fifowrite.c:7: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'main' at fifowrite.c:36:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: aprsshm.c: In function 'shm_master': BUILDSTDERR: aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:116:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 116 | pktseg->head = ABSREL(&pktseg->pkt0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:116:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 116 | pktseg->head = ABSREL(&pktseg->pkt0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:116:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 116 | pktseg->head = ABSREL(&pktseg->pkt0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c: In function 'collect': BUILDSTDERR: aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:213:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 213 | pktseg->tail = ABSREL(p); /* new tail */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:213:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 213 | pktseg->tail = ABSREL(p); /* new tail */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:213:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 213 | pktseg->tail = ABSREL(p); /* new tail */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c: In function 'free_stale': BUILDSTDERR: aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:233:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 233 | struct pkt *head = RELABS(pktseg->head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:233:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 233 | struct pkt *head = RELABS(pktseg->head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:233:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 233 | struct pkt *head = RELABS(pktseg->head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:234:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 234 | struct pkt *tail = RELABS(pktseg->tail); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:234:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 234 | struct pkt *tail = RELABS(pktseg->tail); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:234:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 234 | struct pkt *tail = RELABS(pktseg->tail); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:250:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 250 | pktseg->head = ABSREL(head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:250:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 250 | pktseg->head = ABSREL(head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:250:18: note: in expansion of macro 'ABSREL' BUILDSTDERR: 250 | pktseg->head = ABSREL(head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:262:20: note: in expansion of macro 'ABSREL' BUILDSTDERR: 262 | pktseg->head = ABSREL(head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:262:20: note: in expansion of macro 'ABSREL' BUILDSTDERR: 262 | pktseg->head = ABSREL(head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:75:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 75 | #define ABSREL(x) ((struct pkt *)(((unsigned int)(x))-(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:262:20: note: in expansion of macro 'ABSREL' BUILDSTDERR: 262 | pktseg->head = ABSREL(head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c: In function 'dump_saved': BUILDSTDERR: aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:275:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 275 | struct pkt *head = RELABS(pktseg->head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:275:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 275 | struct pkt *head = RELABS(pktseg->head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:275:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 275 | struct pkt *head = RELABS(pktseg->head); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:276:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 276 | struct pkt *tail = RELABS(pktseg->tail); BUILDSTDERR: | ^~~~~~ aprsshm.c:74:55: warning:=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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c testmcast.c 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fifowrite.c rm -f libaprs.a ar cru libaprs.a mic_e.o libax25ext.o ranlib libaprs.a gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mic_e_test mic_e_test.o libaprs.a -lax25 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o testparse testparse.o libaprs.a -lax25 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o testmcast testmcast.o libaprs.a -lax25 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fiforead fiforead.o libaprs.a -lax25 BUILDSTDERR: 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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc- cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:276:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 276 | struct pkt *tail = RELABS(pktseg->tail); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsshm.c:74:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 74 | #define RELABS(x) ((struct pkt *)(((unsigned int)(x))+(unsigned int)pktseg)) BUILDSTDERR: | ^ BUILDSTDERR: aprsshm.c:276:22: note: in expansion of macro 'RELABS' BUILDSTDERR: 276 | struct pkt *tail = RELABS(pktseg->tail); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: aprsmon.c: In function 'main': BUILDSTDERR: aprsmon.c:202:61: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: 202 | if ((size = recvfrom(s, buffer, sizeof(buffer), 0, &sa, &asize)) == -1) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from aprsmon.c:49: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: aprsmon.c: In function 'fmt': BUILDSTDERR: aprsmon.c:300:17: warning: pointer targets in passing argument 1 of 'fmt_mic_e' differ in signedness [-Wpointer-sign] BUILDSTDERR: 300 | if (fmt_mic_e(to,buf,len,mic1,&l1,mic2,&l2,now)) { BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsmon.c:74: BUILDSTDERR: mic_e.h:5:36: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 5 | extern int fmt_mic_e(const u_char *t, /* tocall */ BUILDSTDERR: | ~~~~~~~~~~~~~~^ BUILDSTDERR: aprsmon.c:300:28: warning: pointer targets in passing argument 4 of 'fmt_mic_e' differ in signedness [-Wpointer-sign] BUILDSTDERR: 300 | if (fmt_mic_e(to,buf,len,mic1,&l1,mic2,&l2,now)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsmon.c:74: BUILDSTDERR: mic_e.h:8:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 8 | u_char *buf1, /* output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: aprsmon.c:300:37: warning: pointer targets in passing argument 6 of 'fmt_mic_e' differ in signedness [-Wpointer-sign] BUILDSTDERR: 300 | if (fmt_mic_e(to,buf,len,mic1,&l1,mic2,&l2,now)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsmon.c:74: BUILDSTDERR: mic_e.h:10:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 10 | u_char *buf2, /* 2nd output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: aprsmon.c:304:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 304 | sprintf(buf1,"%s>%s%s:%s",from,"APRS",digis,mic1); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from aprsmon.c:46: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsmon.c:306:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 306 | sprintf(buf2,"%s>%s%s:%s",from,"APRS",digis,mic2); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from aprsmon.c:46: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsmon.c:307:23: warning: pointer targets in passing argument 1 of 'fmt_x1j4' differ in signedness [-Wpointer-sign] BUILDSTDERR: 307 | } else if (fmt_x1j4(to,buf,len,mic1,&l1,mic2,&l2,now)) { BUILDSTDERR: | ^~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsmon.c:74: BUILDSTDERR: mic_e.h:14:35: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 14 | extern int fmt_x1j4(const u_char *t, /* tocall */ BUILDSTDERR: | ~~~~~~~~~~~~~~^ BUILDSTDERR: aprsmon.c:307:34: warning: pointer targets in passing argument 4 of 'fmt_x1j4' differ in signedness [-Wpointer-sign] BUILDSTDERR: 307 | } else if (fmt_x1j4(to,buf,len,mic1,&l1,mic2,&l2,now)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsmon.c:74: BUILDSTDERR: mic_e.h:17:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 17 | u_char *buf1, /* output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: aprsmon.c:307:43: warning: pointer targets in passing argument 6 of 'fmt_x1j4' differ in signedness [-Wpointer-sign] BUILDSTDERR: 307 | } else if (fmt_x1j4(to,buf,len,mic1,&l1,mic2,&l2,now)) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsmon.c:74: BUILDSTDERR: mic_e.h:19:12: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 19 | u_char *buf2, /* 2nd output buffer */ BUILDSTDERR: | ~~~~~~~~^~~~ BUILDSTDERR: aprsmon.c:311:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 311 | sprintf(buf1,"%s>%s%s:%s",from,to,digis,mic1); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from aprsmon.c:46: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsmon.c:314:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: 314 | sprintf(buf1,"%s>%s%s:",from,to,digis); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, BUILDSTDERR: from /usr/include/sys/types.h:25, BUILDSTDERR: from aprsmon.c:46: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsmon.c:315:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 315 | l = strlen(buf1); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from aprsmon.c:59: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: aprsmon.c: In function 'fmt.part.0': BUILDSTDERR: aprsmon.c:306:26: warning: '%s' directive writing up to 99 bytes into a region of size between 86 and 95 [-Wformat-overflow=] BUILDSTDERR: 306 | sprintf(buf2,"%s>%s%s:%s",from,"APRS",digis,mic2); BUILDSTDERR: | ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from aprsmon.c:57: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 7 and 314 bytes into a destination of size 100 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: aprsdigi.c: In function 'rx_loop': BUILDSTDERR: aprsdigi.c:367:86: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: 367 | if ((len = recvfrom(i->rsock,buffer,sizeof(buffer),0,(struct sockaddr *)&i->rsafrom,&size)) < 0) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from aprsdigi.c:44: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: aprsdigi.c: In function 'rx_dupeit': BUILDSTDERR: aprsdigi.c:470:7: warning: unused variable 'n' [-Wunused-variable] BUILDSTDERR: 470 | int n; BUILDSTDERR: | ^ BUILDSTDERR: aprsdigi.c: In function 'intf_of': BUILDSTDERR: aprsdigi.c:607:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 607 | if (c = calltab_entry(callsign,0)) BUILDSTDERR: | ^ BUILDSTDERR: aprsdigi.c: In function 'rx_flood': BUILDSTDERR: aprsdigi.c:748:7: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 748 | int i,wide,thisflags,result=0; BUILDSTDERR: | ^ BUILDSTDERR: aprsdigi.c: In function 'rx_digi': BUILDSTDERR: aprsdigi.c:814:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 814 | if (l = intf_of(&s->in.ax_digi_call[s->in.ax_next_digi])) { BUILDSTDERR: | ^ BUILDSTDERR: aprsdigi.c:810:7: warning: unused variable 'j' [-Wunused-variable] BUILDSTDERR: 810 | int j, result = 0; BUILDSTDERR: | ^ BUILDSTDERR: aprsdigi.c: In function 'reformat': BUILDSTDERR: aprsdigi.c:934:17: warning: pointer targets in passing argument 1 of 'fmt_mic_e' differ in signedness [-Wpointer-sign] BUILDSTDERR: 934 | fmt_mic_e(ax25_ntoa_pretty(&s->out.ax_to_call),s->cp,s->len, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsdigi.c:66: BUILDSTDERR: mic_e.h:5:36: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 5 | extern int fmt_mic_e(const u_char *t, /* tocall */ BUILDSTDERR: | ~~~~~~~~~~~~~~^ BUILDSTDERR: aprsdigi.c:938:16: warning: pointer targets in passing argument 1 of 'fmt_x1j4' differ in signedness [-Wpointer-sign] BUILDSTDERR: 938 | fmt_x1j4(ax25_ntoa_pretty(&s->out.ax_to_call),s->cp,s->len, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from aprsdigi.c:66: BUILDSTDERR: mic_e.h:14:35: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 14 | extern int fmt_x1j4(const u_char *t, /* tocall */ BUILDSTDERR: | ~~~~~~~~~~~~~~^ BUILDSTDERR: aprsdigi.c:922:34: warning: unused variable 'pref2' [-Wunused-variable] BUILDSTDERR: 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsdigi.c:922:17: warning: unused variable 'pref1' [-Wunused-variable] BUILDSTDERR: 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsdigi.c:919:7: warning: unused variable 'r' [-Wunused-variable] BUILDSTDERR: 919 | int r; BUILDSTDERR: | ^ BUILDSTDERR: aprsdigi.c: In function 'print_dupes': BUILDSTDERR: aprsdigi.c:1177:32: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'struct pkt *' [-Wformat=] BUILDSTDERR: 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: 1178 | p,p->prev,p->next,p->t,p->l); BUILDSTDERR: | ~ BUILDSTDERR: | | BUILDSTDERR: | struct pkt * BUILDSTDERR: aprsdigi.c:1177:46: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct pkt *' [-Wformat=] BUILDSTDERR: 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: 1178 | p,p->prev,p->next,p->t,p->l); BUILDSTDERR: | ~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct pkt * BUILDSTDERR: aprsdigi.c:1177:59: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct pkt *' [-Wformat=] BUILDSTDERR: 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: 1178 | p,p->prev,p->next,p->t,p->l); BUILDSTDERR: | ~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct pkt * BUILDSTDERR: aprsdigi.c:1177:68: warning: format '%d' expects argument of type 'int', but argument 6 has type 'time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 1177 | fprintf(stderr,"dupe @ 0x%0x: prev->0x%0x next->0x%0x time %d len %d\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %ld BUILDSTDERR: 1178 | p,p->prev,p->next,p->t,p->l); BUILDSTDERR: | ~~~~ BUILDSTDERR: | | BUILDSTDERR: | time_t {aka long int} BUILDSTDERR: aprsdigi.c: In function 'loop_packet': BUILDSTDERR: aprsdigi.c:1198:25: warning: unused variable 'cl' [-Wunused-variable] BUILDSTDERR: 1198 | struct callsign_list *cl; BUILDSTDERR: | ^~ BUILDSTDERR: aprsdigi.c:1195:10: warning: unused variable 'flags' [-Wunused-variable] BUILDSTDERR: 1195 | int n, flags; BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsdigi.c: In function 'set_id': BUILDSTDERR: aprsdigi.c:1306:25: warning: pointer targets in passing argument 3 of 'add_text' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1306 | add_text(&op,&oleft,idinfo,strlen(idinfo),0,0); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: aprsdigi.c:837:9: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 837 | u_char *text; BUILDSTDERR: | ^~~~ BUILDSTDERR: aprsdigi.c: In function 'sked_id': BUILDSTDERR: aprsdigi.c:1357:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'time_t' {aka 'long int'} [-Wformat=] BUILDSTDERR: 1357 | fprintf(stderr,"next ID for %s in %d seconds\n",ID_next->port, when); BUILDSTDERR: | ~^ ~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int time_t {aka long int} BUILDSTDERR: | %ld BUILDSTDERR: aprsdigi.c: In function 'do_port_udp': BUILDSTDERR: aprsdigi.c:1892:75: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'struct addrinfo *' [-Wformat=] BUILDSTDERR: 1892 | fprintf(stderr,"UDP address info: family %d type %d proto %d next 0x%0x\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: 1893 | ai->ai_family,ai->ai_socktype,ai->ai_protocol,ai->ai_next); BUILDSTDERR: | ~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | struct addrinfo * BUILDSTDERR: aprsdigi.c:1865:19: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: 1865 | struct servent *sp; BUILDSTDERR: | ^~ BUILDSTDERR: aprsdigi.c:1864:19: warning: unused variable 'hp' [-Wunused-variable] BUILDSTDERR: 1864 | struct hostent *hp; BUILDSTDERR: | ^~ BUILDSTDERR: aprsdigi.c: In function 'budlist_add': BUILDSTDERR: aprsdigi.c:2260:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2260 | if (mask = strrchr(name,'/')) { BUILDSTDERR: | ^~~~ BUILDSTDERR: aprsdigi.c:2192:35: warning: unused variable 'sinax25mask' [-Wunused-variable] BUILDSTDERR: 2192 | struct sockaddr_ax25 *sinax25, *sinax25mask; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: aprsdigi.c:2192:25: warning: unused variable 'sinax25' [-Wunused-variable] BUILDSTDERR: 2192 | struct sockaddr_ax25 *sinax25, *sinax25mask; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: aprsdigi.c: In function 'budlist_print': BUILDSTDERR: aprsdigi.c:2315:25: warning: unused variable 'sinax25' [-Wunused-variable] BUILDSTDERR: 2315 | struct sockaddr_ax25 *sinax25; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: aprsdigi.c:2314:24: warning: unused variable 'sin6' [-Wunused-variable] BUILDSTDERR: 2314 | struct sockaddr_in6 *sin6; BUILDSTDERR: | ^~~~ BUILDSTDERR: aprsdigi.c:2313:23: warning: unused variable 'sin' [-Wunused-variable] BUILDSTDERR: 2313 | struct sockaddr_in *sin; BUILDSTDERR: | ^~~ BUILDSTDERR: aprsdigi.c: In function 'printaddr': BUILDSTDERR: aprsdigi.c:2340:5: warning: implicit declaration of function 'inet_ntop' [-Wimplicit-function-declaration] BUILDSTDERR: 2340 | inet_ntop(sin->sin_family,&sin->sin_addr, buf, buflen); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: aprsdigi.c: In function 'dupelist_print': BUILDSTDERR: aprsdigi.c:2511:8: warning: unused variable 'host' [-Wunused-variable] BUILDSTDERR: 2511 | char host[1000]; BUILDSTDERR: | ^~~~ BUILDSTDERR: aprsdigi.c: In function 'dupelist_init': BUILDSTDERR: aprsdigi.c:2532:20: warning: unused variable 'dl' [-Wunused-variable] BUILDSTDERR: 2532 | struct dupelist *dl; BUILDSTDERR: | ^~ BUILDSTDERR: aprsdigi.c: In function 'from_3rdparty': BUILDSTDERR: aprsdigi.c:2663:13: warning: unused variable 'oldp' [-Wunused-variable] BUILDSTDERR: 2663 | u_char *oldp = pkt[j]; BUILDSTDERR: | ^~~~ BUILDSTDERR: At top level: BUILDSTDERR: aprsdigi.c:922:17: warning: 'pref1' defined but not used [-Wunused-variable] BUILDSTDERR: 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; BUILDSTDERR: | ^~~~~ BUILDSTDERR: aprsdigi.c:922:34: warning: 'pref2' defined but not used [-Wunused-variable] BUILDSTDERR: 922 | static u_char pref1[AX25_MTU], pref2[AX25_MTU]; BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/sys/un.h:37, BUILDSTDERR: from aprsdigi.c:45: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'print_it.part.0' at aprsdigi.c:895:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'print_it.part.0' at aprsdigi.c:896:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 12 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'do_port_unix' at aprsdigi.c:1978:3, BUILDSTDERR: inlined from 'do_ports' at aprsdigi.c:1797:7, BUILDSTDERR: inlined from 'main' at aprsdigi.c:326:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: aprsdigi.c: In function 'main': BUILDSTDERR: aprsdigi.c:2077:7: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 2077 | int n, j; BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c aprsshm.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o fifowrite fifowrite.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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c aprsmon.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c aprsdigi.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o aprsdigi aprsdigi.o libaprs.a -lax25 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XcTVE1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64 + cd aprsdigi-3.5.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64 'INSTALL=/usr/bin/install -p' + install -D -m 644 aprsdigi.service /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/lib/systemd/system/aprsdigi.service + install -D -m 644 aprsbeacon.service /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/lib/systemd/system/aprsbeacon.service + install -D -m 644 aprsdigi.logrotate /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/etc/logrotate.d/aprsdigi + mkdir -p /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/etc/ax25 + echo + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.5.1-13.fc31 --unique-debug-suffix -3.5.1-13.fc31.riscv64 --unique-debug-src-base aprsdigi-3.5.1-13.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/aprsdigi-3.5.1 BUILDSTDERR: 232 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs 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-13.fc31.riscv64/usr/sbin" /usr/bin/install -p aprsmon aprsdigi '/builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/sbin' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/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-13.fc31.riscv64/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/aprsdigi-3.5.1' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/sbin/aprsmon explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/sbin/aprsdigi extracting debug info from /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/sbin/aprsmon extracting debug info from /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/sbin/aprsdigi original debug info size: 268kB, size after compression: 260kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Processing files: aprsdigi-3.5.1-13.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Uv0Fq0 + umask 022 + cd /builddir/build/BUILD + cd aprsdigi-3.5.1 + DOCDIR=/builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + cp -pr AUTHORS /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + cp -pr ChangeLog /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + cp -pr NEWS /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + cp -pr README /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + cp -pr TODO /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + cp -pr aprsdigi.html aprsmon.html fiforead.html fifowrite.html /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + cp -pr examples /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64/usr/share/doc/aprsdigi + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: File listed twice: /etc/ax25/aprsdigi.conf Provides: aprsdigi = 3.5.1-13.fc31 aprsdigi(riscv-64) = 3.5.1-13.fc31 config(aprsdigi) = 3.5.1-13.fc31 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libax25.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: aprsdigi-debugsource-3.5.1-13.fc31.riscv64 Provides: aprsdigi-debugsource = 3.5.1-13.fc31 aprsdigi-debugsource(riscv-64) = 3.5.1-13.fc31 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-13.fc31.riscv64 Provides: aprsdigi-debuginfo = 3.5.1-13.fc31 aprsdigi-debuginfo(riscv-64) = 3.5.1-13.fc31 debuginfo(build-id) = 323dfad203850d49db4d0e66decc5b1ddaf817d4 debuginfo(build-id) = b02ea5ae4c54d3d9db56ca4acac319715cd96327 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: aprsdigi-debugsource(riscv-64) = 3.5.1-13.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64 Wrote: /builddir/build/RPMS/aprsdigi-3.5.1-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/aprsdigi-debugsource-3.5.1-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/aprsdigi-debuginfo-3.5.1-13.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8VZe12 + umask 022 + cd /builddir/build/BUILD + cd aprsdigi-3.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/aprsdigi-3.5.1-13.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0