Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/echolinux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671867684.715388/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5npk3z4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.b5npk3z4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '4deb92857139458499b5561d28d5c39f', '-D', '/var/lib/mock/fedora-rawhide-i686-1671867684.715388/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5npk3z4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 i686 --nodeps /builddir/build/SPECS/echolinux.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1670630400 Wrote: /builddir/build/SRPMS/echolinux-0.17a-31.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/echolinux.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671867684.715388/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5npk3z4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.b5npk3z4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'a9b80ea77c224df98536c859565adaeb', '-D', '/var/lib/mock/fedora-rawhide-i686-1671867684.715388/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.b5npk3z4:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 i686 --nodeps /builddir/build/SPECS/echolinux.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1670630400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Nhgdmm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf echolinux-0.17a + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/echolinux-0.17a-nogsm.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd echolinux-0.17a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (echolinux-0.17a-includes.patch):' Patch #0 (echolinux-0.17a-includes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .includes --fuzz=0 patching file echogui/testgui_main.c patching file echogui/testgui_cb.c patching file echogui/testgui.c + echo 'Patch #1 (echolinux-0.17a-installdir.patch):' Patch #1 (echolinux-0.17a-installdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .installdir --fuzz=0 patching file echolinux/Makefile patching file echogui/Makefile + echo 'Patch #2 (echolinux-0.17a-nostatic.patch):' Patch #2 (echolinux-0.17a-nostatic.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nostatic --fuzz=0 patching file echolinux/Makefile + echo 'Patch #3 (echolinux-0.17a-gcc.patch):' Patch #3 (echolinux-0.17a-gcc.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc --fuzz=0 patching file echolinux/Makefile + echo 'Patch #4 (echolinux-0.17a-optflags.patch):' Patch #4 (echolinux-0.17a-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .optflags --fuzz=0 patching file echogui/Makefile + echo 'Patch #5 (echolinux-c99.patch):' Patch #5 (echolinux-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file echogui/serverglobals.h patching file echogui/testgui_cb.c patching file echogui/threadFuncs.c patching file echolinux/control.c patching file echolinux/rtpacket.c patching file echolinux/vox.c + /usr/bin/sed -i 's/\r//' Using_EchoLinux.txt + /usr/bin/sed -i s/Encoding=UTF-8//g echolinux.desktop + /usr/bin/sed -i s/.png//g echolinux.desktop + /usr/bin/sed -i 's/Application;Network;/Network;HamRadio;/g' echolinux.desktop + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YllJ56 + 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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd echolinux-0.17a + make -j2 -e '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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' make -C echolinux make[1]: Entering directory '/builddir/build/BUILD/echolinux-0.17a/echolinux' gcc -c -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection control.c gcc -c -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection rtpacket.c rtpacket.c: In function 'rtp_make_sdes': rtpacket.c:30:18: warning: unused variable 'ev' [-Wunused-variable] 30 | char s[256], ev[1024]; | ^~ rtpacket.c:30:10: warning: unused variable 's' [-Wunused-variable] 30 | char s[256], ev[1024]; | ^ rtpacket.c:29:20: warning: unused variable 'pw' [-Wunused-variable] 29 | struct passwd *pw; | ^~ rtpacket.c:28:16: warning: unused variable 'i' [-Wunused-variable] 28 | int l, hl, i; | ^ rtpacket.c:26:16: warning: unused variable 'ep' [-Wunused-variable] 26 | char *sp, *ep; | ^~ rtpacket.c:26:11: warning: unused variable 'sp' [-Wunused-variable] 26 | char *sp, *ep; | ^~ control.c: In function 'printHex': control.c:70:8: warning: unused variable 'line' [-Wunused-variable] 70 | char line[80]; | ^~~~ control.c: In function 'makeConnection': control.c:134:7: warning: missing sentinel in function call [-Wformat=] 134 | execlp("echoaudio", "echoaudio", remoteNode, callsign, 0); | ^~~~~~ control.c: In function 'readStdin': control.c:229:18: warning: unused variable 'bye' [-Wunused-variable] 229 | unsigned char *bye; | ^~~ control.c:228:11: warning: unused variable 'length' [-Wunused-variable] 228 | int i, length; | ^~~~~~ control.c:228:8: warning: unused variable 'i' [-Wunused-variable] 228 | int i, length; | ^ control.c: In function 'main': control.c:331:30: warning: passing argument 1 of 'rtp_make_sdes' from incompatible pointer type [-Wincompatible-pointer-types] 331 | sdesLength = rtp_make_sdes(sdesPacket, 0, 1); | ^~~~~~~~~~ | | | unsigned char ** In file included from control.c:36: rtpacket.h:18:26: note: expected 'char **' but argument is of type 'unsigned char **' 18 | extern int rtp_make_sdes(char **, unsigned long, int); | ^~~~~~~ control.c:385:25: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 385 | &len_inet); | ^~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from control.c:23: /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) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ control.c:263:8: warning: unused variable 'c' [-Wunused-variable] 263 | char c, remoteName[40], line[80], *home; | ^ control.c: In function 'makeConnection': control.c:126:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | dup(audioOutPipe[0]); | ^~~~~~~~~~~~~~~~~~~~ control.c:130:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | dup(audioInPipe[1]); | ^~~~~~~~~~~~~~~~~~~ control.c:184:1: warning: control reaches end of non-void function [-Wreturn-type] 184 | } | ^ control.c: In function 'disconnect': control.c:221:1: warning: control reaches end of non-void function [-Wreturn-type] 221 | } | ^ control.c: In function 'readStdin': control.c:231:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | fgets(line, 80,stdin); | ^~~~~~~~~~~~~~~~~~~~~ control.c: In function 'main': control.c:288:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | fgets(callsign, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:290:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | fgets(name, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~ control.c:292:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fgets(location, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:294:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 294 | fgets(password, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:447:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | write(STDOUT_FILENO, inBuffer, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c: At top level: control.c:92:13: warning: 'sigChild' defined but not used [-Wunused-function] 92 | static void sigChild( int signo){ | ^~~~~~~~ control.c: In function 'main': control.c:288:3: warning: 'fgets' writing 40 bytes into a region of size 20 overflows the destination [-Wstringop-overflow=] 288 | fgets(callsign, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:56:6: note: destination object 'callsign' of size 20 56 | char callsign[20], name[40], location[40], password[10]; | ^~~~~~~~ In file included from /usr/include/stdio.h:906, from control.c:14: /usr/include/bits/stdio2.h:209:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ control.c:294:3: warning: 'fgets' writing 40 bytes into a region of size 10 overflows the destination [-Wstringop-overflow=] 294 | fgets(password, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:56:44: note: destination object 'password' of size 10 56 | char callsign[20], name[40], location[40], password[10]; | ^~~~~~~~ /usr/include/bits/stdio2.h:209:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ gcc -c -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection vox.c In function 'fgets', inlined from 'main' at control.c:288:3: /usr/include/bits/stdio2.h:215:12: warning: call to '*__fgets_chk' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fgets', inlined from 'main' at control.c:294:3: /usr/include/bits/stdio2.h:215:12: warning: call to '*__fgets_chk' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c: In function 'sendInfoFile': vox.c:75:18: warning: variable 'result' set but not used [-Wunused-but-set-variable] 75 | int count = 0, result; | ^~~~~~ vox.c: In function 'decodeNDATA': vox.c:186:9: warning: unused variable 'ptr' [-Wunused-variable] 186 | char *ptr; | ^~~ vox.c: In function 'sendNDATA': vox.c:222:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 222 | int result; | ^~~~~~ vox.c: In function 'fromControl': vox.c:248:8: warning: unused variable 'c' [-Wunused-variable] 248 | char c; | ^ vox.c: In function 'sendAudio': vox.c:377:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 377 | temp = voicePacket.data; | ^ vox.c:378:32: warning: pointer targets in passing argument 2 of 'gsm_encode' differ in signedness [-Wpointer-sign] 378 | gsm_encode(gsmh, usbuff+(i*160), temp+(i*33)); | ~~~~~~^~~~~~~~ | | | short unsigned int * In file included from vox.c:32: /usr/include/gsm.h:67:25: note: expected 'gsm_signal *' {aka 'short int *'} but argument is of type 'short unsigned int *' 67 | extern void gsm_encode GSM_P((gsm, gsm_signal *, gsm_byte *)); | ^~~~~ vox.c:378:46: warning: pointer targets in passing argument 3 of 'gsm_encode' differ in signedness [-Wpointer-sign] 378 | gsm_encode(gsmh, usbuff+(i*160), temp+(i*33)); | ~~~~^~~~~~~ | | | char * /usr/include/gsm.h:67:25: note: expected 'gsm_byte *' {aka 'unsigned char *'} but argument is of type 'char *' 67 | extern void gsm_encode GSM_P((gsm, gsm_signal *, gsm_byte *)); | ^~~~~ vox.c:381:15: warning: pointer targets in assignment from 'short unsigned int *' to 'short int *' differ in signedness [-Wpointer-sign] 381 | pTemp = &usbuff[j]; | ^ vox.c:403:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 403 | sprintf(line, "%C %d", STRENGTH, average); | ~^ ~~~~~~~ | | | | int long int | %ld vox.c:452:25: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 452 | &len_inet); | ^~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from vox.c:23: /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) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ vox.c:462:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 462 | if(strncmp(&recvBuffer[1], "NDATA", 5) == 0) | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from vox.c:28: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ vox.c:463:23: warning: pointer targets in passing argument 1 of 'decodeNDATA' differ in signedness [-Wpointer-sign] 463 | decodeNDATA(&recvBuffer[4]); | ^~~~~~~~~~~~~~ | | | unsigned char * vox.c:185:24: note: expected 'char *' but argument is of type 'unsigned char *' 185 | void decodeNDATA(char *buffer){ | ~~~~~~^~~~~~ vox.c:314:8: warning: unused variable 'c' [-Wunused-variable] 314 | char c, *temp, line[20]; | ^ vox.c:312:20: warning: unused variable 'total' [-Wunused-variable] 312 | short count = 0, total = 0; | ^~~~~ vox.c: In function 'recvAudio': vox.c:535:25: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 535 | &len_inet); | ^~~~~~~~~ | | | int * /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) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ vox.c:543:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 543 | if(strncmp(&recvBuffer[1], "NDATA", 5) == 0) | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ vox.c:544:23: warning: pointer targets in passing argument 1 of 'decodeNDATA' differ in signedness [-Wpointer-sign] 544 | decodeNDATA(&recvBuffer[4]); | ^~~~~~~~~~~~~~ | | | unsigned char * vox.c:185:24: note: expected 'char *' but argument is of type 'unsigned char *' 185 | void decodeNDATA(char *buffer){ | ~~~~~~^~~~~~ vox.c:563:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 563 | sprintf(line, "%C %d", STRENGTH, average); | ~^ ~~~~~~~ | | | | int long int | %ld vox.c:489:7: warning: unused variable 'audioEffect' [-Wunused-variable] 489 | int audioEffect; | ^~~~~~~~~~~ vox.c:488:8: warning: unused variable 'c' [-Wunused-variable] 488 | char c, line[20]; | ^ vox.c: In function 'main': gcc control.o rtpacket.o -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection \ -lgsm -lm -o echolinux vox.c:588:8: warning: unused variable 'mixerfd' [-Wunused-variable] 588 | int mixerfd; | ^~~~~~~ vox.c:587:11: warning: unused variable 'commandLine' [-Wunused-variable] 587 | char c, commandLine[80], *home; | ^~~~~~~~~~~ vox.c:587:8: warning: unused variable 'c' [-Wunused-variable] 587 | char c, commandLine[80], *home; | ^ vox.c:586:18: warning: unused variable 'info' [-Wunused-variable] 586 | audio_buf_info info; | ^~~~ vox.c:585:33: warning: unused variable 'i' [-Wunused-variable] 585 | int status, result, len_inet, i; | ^ vox.c:585:23: warning: unused variable 'len_inet' [-Wunused-variable] 585 | int status, result, len_inet, i; | ^~~~~~~~ vox.c:585:15: warning: unused variable 'result' [-Wunused-variable] 585 | int status, result, len_inet, i; | ^~~~~~ vox.c:584:15: warning: unused variable 'count' [-Wunused-variable] 584 | long total, count; | ^~~~~ vox.c:584:8: warning: unused variable 'total' [-Wunused-variable] 584 | long total, count; | ^~~~~ vox.c: In function 'sendInfoFile': vox.c:134:1: warning: control reaches end of non-void function [-Wreturn-type] 134 | } | ^ vox.c: In function 'soundInput': vox.c:181:1: warning: control reaches end of non-void function [-Wreturn-type] 181 | } | ^ vox.c: In function 'fromControl': vox.c:252:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 252 | fgets(line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~ vox.c:271:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | write(audiofd, recvBuffer, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:284:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | write(STDOUT_FILENO, fileName, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:305:1: warning: control reaches end of non-void function [-Wreturn-type] 305 | } | ^ vox.c: In function 'sendAudio': vox.c:331:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 331 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:390:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 390 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:398:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 398 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:477:1: warning: control reaches end of non-void function [-Wreturn-type] 477 | } | ^ vox.c: In function 'recvAudio': vox.c:499:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 499 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:556:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 556 | write(audiofd, sbuff, 320); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:578:1: warning: control reaches end of non-void function [-Wreturn-type] 578 | } | ^ In function 'fgets', inlined from 'main' at control.c:288:3: /usr/include/bits/stdio2.h:215:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^ In function 'fgets', inlined from 'main' at control.c:294:3: /usr/include/bits/stdio2.h:215:12: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^ In function 'recvfrom', inlined from 'sendAudio' at vox.c:447:16: /usr/include/bits/socket2.h:68:12: warning: call to '*__recvfrom_chk' declared with attribute warning: recvfrom called with bigger length than size of destination buffer [-Wattribute-warning] 68 | return __recvfrom_chk_warn (__fd, __buf, __n, sz, __flags, __addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __addr_len); | ~~~~~~~~~~~ In function 'recvfrom', inlined from 'recvAudio' at vox.c:530:16: /usr/include/bits/socket2.h:68:12: warning: call to '*__recvfrom_chk' declared with attribute warning: recvfrom called with bigger length than size of destination buffer [-Wattribute-warning] 68 | return __recvfrom_chk_warn (__fd, __buf, __n, sz, __flags, __addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __addr_len); | ~~~~~~~~~~~ gcc vox.o -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lgsm -lm -o echoaudio In function 'recvfrom', inlined from 'recvAudio.isra' at vox.c:530:16: /usr/include/bits/socket2.h:68:12: warning: call to '__recvfrom_chk_warn' declared with attribute warning: recvfrom called with bigger length than size of destination buffer [-Wattribute-warning] 68 | return __recvfrom_chk_warn (__fd, __buf, __n, sz, __flags, __addr, | ^ In function 'recvfrom', inlined from 'sendAudio.isra' at vox.c:447:16: /usr/include/bits/socket2.h:68:12: warning: call to '__recvfrom_chk_warn' declared with attribute warning: recvfrom called with bigger length than size of destination buffer [-Wattribute-warning] 68 | return __recvfrom_chk_warn (__fd, __buf, __n, sz, __flags, __addr, | ^ make[1]: Leaving directory '/builddir/build/BUILD/echolinux-0.17a/echolinux' make -C echogui make[1]: Entering directory '/builddir/build/BUILD/echolinux-0.17a/echogui' cc -c -o testgui_main.o -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE -DInfoFont=FL_TINY_SIZE -D_REENTRANT -I/usr/include/X11 testgui_main.c gcc -c -o testgui_cb.o -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE -DInfoFont=FL_TINY_SIZE -D_REENTRANT -I/usr/include/X11 testgui_cb.c testgui_main.c: In function 'main': testgui_main.c:114:7: warning: missing sentinel in function call [-Wformat=] 114 | execlp("echolinux", "echolinux", 0, 0); | ^~~~~~ testgui_main.c:56:7: warning: unused variable 'vol' [-Wunused-variable] 56 | int vol; | ^~~ testgui_main.c:75:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | fgets(callsign, 40, gpfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~ testgui_main.c:77:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fgets(name, 40, gpfd); | ^~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'printHex': testgui_cb.c:47:8: warning: unused variable 'line' [-Wunused-variable] 47 | char line[80]; | ^~~~ testgui_main.c:79:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fgets(location, 40, gpfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~ testgui_main.c:81:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | fgets(password, 40, gpfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~ testgui_main.c:106:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | dup(controlOutPipe[0]); | ^~~~~~~~~~~~~~~~~~~~~~ testgui_main.c:110:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | dup(controlInPipe[1]); | ^~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'readPipe': testgui_cb.c:273:11: warning: unused variable 'k' [-Wunused-variable] 273 | int i, k; | ^ testgui_cb.c: In function 'atClose': testgui_cb.c:350:11: warning: unused variable 'error' [-Wunused-variable] 350 | int error; | ^~~~~ testgui_cb.c: In function 'searchCall': testgui_cb.c:411:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 411 | input = fl_get_input(ob); | ^ testgui_cb.c:405:9: warning: variable 'input' set but not used [-Wunused-but-set-variable] 405 | char *input; | ^~~~~ testgui_cb.c:404:7: warning: unused variable 'counter' [-Wunused-variable] 404 | int counter; | ^~~~~~~ testgui_cb.c:403:17: warning: unused variable 'temp' [-Wunused-variable] 403 | struct entry *temp; | ^~~~ testgui_cb.c: In function 'getConnection': testgui_cb.c:122:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'typedData': testgui_cb.c:139:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 139 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'voxToggle': testgui_cb.c:170:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'strengthToggle': testgui_cb.c:186:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 186 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'voxThreshold': testgui_cb.c:204:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 204 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'dblNodeList': testgui_cb.c:234:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 234 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'sayGoodbye': testgui_cb.c:248:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 248 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'PTT': testgui_cb.c:259:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | write(controlOutPipe[1], line, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'readPipe': testgui_cb.c:277:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 277 | fgets(line, 1023, controlInDesc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c:289:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | write(controlOutPipe[1], typeLine, strlen(line)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'atClose': testgui_cb.c:360:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 360 | write(controlOutPipe[1], line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ testgui_cb.c: In function 'searchClose': testgui_cb.c:435:1: warning: control reaches end of non-void function [-Wreturn-type] 435 | } | ^ testgui_main.c:81:3: warning: 'fgets' writing 40 bytes into a region of size 20 overflows the destination [-Wstringop-overflow=] 81 | fgets(password, 40, gpfd); | ^~~~~~~~~~~~~~~~~~~~~~~~~ testgui_main.c:39:44: note: destination object 'password' of size 20 39 | char callsign[40], name[40], location[40], password[20]; | ^~~~~~~~ In file included from /usr/include/stdio.h:906, from testgui_main.c:11: /usr/include/bits/stdio2.h:209:1: note: in a call to function 'fgets' declared with attribute 'access (write_only, 1, 2)' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ^~~~~ In function 'fgets', inlined from 'main' at testgui_main.c:81:3: /usr/include/bits/stdio2.h:215:12: warning: call to '*__fgets_chk' declared with attribute warning: fgets called with bigger size than length of destination buffer [-Wattribute-warning] 215 | return __fgets_chk_warn (__s, sz, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -o testgui.o -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE -DInfoFont=FL_TINY_SIZE -D_REENTRANT -I/usr/include/X11 testgui.c gcc -c -o servercode.o -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE -DInfoFont=FL_TINY_SIZE -D_REENTRANT -I/usr/include/X11 servercode.c gcc -c -o threadFuncs.o -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 -fcommon -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE -DInfoFont=FL_TINY_SIZE -D_REENTRANT -I/usr/include/X11 threadFuncs.c servercode.c: In function 'openSocket': servercode.c:107:9: warning: unused variable 'addr' [-Wunused-variable] 107 | char *addr; | ^~~~ servercode.c:106:19: warning: unused variable 'hp' [-Wunused-variable] 106 | struct hostent *hp; | ^~ servercode.c: In function 'sendLogon': servercode.c:224:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 224 | sprintf(sendBuf,"\x6c%s\xac\xac%s\rONLINE3.38(%s)\r%s\r", | ^~~~~~~ | | | 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 servercode.c:11: /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, ...)) | ^~~~~ servercode.c:227:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 227 | result = write(serverSocket, sendBuf, strlen(sendBuf)); | ^~~~~~~ | | | unsigned char * In file included from servercode.c:15: /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) | ~~~~~~~~~~~~^~~ servercode.c:213:20: warning: variable 'result' set but not used [-Wunused-but-set-variable] 213 | int i, s, z, result; | ^~~~~~ servercode.c:213:17: warning: unused variable 'z' [-Wunused-variable] 213 | int i, s, z, result; | ^ servercode.c:213:14: warning: unused variable 's' [-Wunused-variable] 213 | int i, s, z, result; | ^ servercode.c:213:11: warning: unused variable 'i' [-Wunused-variable] 213 | int i, s, z, result; | ^ servercode.c:212:33: warning: unused variable 'recvBuf' [-Wunused-variable] 212 | unsigned char sendBuf[50], recvBuf[50]; | ^~~~~~~ servercode.c: In function 'sendLogoff': servercode.c:250:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 250 | strcpy(sendBuf, callsign); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ servercode.c:251:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 251 | strcat(sendBuf,"\254\254"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ servercode.c:252:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 252 | strcat(sendBuf, password); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ servercode.c:253:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 253 | strcat(sendBuf,"\015OFF-V3.40\015"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ servercode.c:254:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 254 | strcat(sendBuf, location); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ servercode.c:255:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 255 | strcat(sendBuf, "\015"); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ servercode.c:256:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 256 | for(i=0;i