Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/echolinux.spec'], chrootPath='/var/lib/mock/f30-build-41682-23419/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/echolinux-0.17a-21.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/echolinux.spec'], chrootPath='/var/lib/mock/f30-build-41682-23419/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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8iKPrO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf echolinux-0.17a + /usr/bin/gzip -dc /builddir/build/SOURCES/echolinux-0.17a-nogsm.tar.gz + /usr/bin/tar -xof - + 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 -p1 -b --suffix .includes --fuzz=0 patching file echogui/testgui_main.c patching file echogui/testgui_cb.c patching file echogui/testgui.c Patch #1 (echolinux-0.17a-installdir.patch): + echo 'Patch #1 (echolinux-0.17a-installdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -p1 -b --suffix .nostatic --fuzz=0 patching file echolinux/Makefile Patch #3 (echolinux-0.17a-gcc.patch): + echo 'Patch #3 (echolinux-0.17a-gcc.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -p1 -b --suffix .optflags --fuzz=0 patching file echogui/Makefile + /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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3XeuiA + umask 022 + cd /builddir/build/BUILD + cd echolinux-0.17a + make -j4 -e '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' make -C echolinux make[1]: Entering directory '/builddir/build/BUILD/echolinux-0.17a/echolinux' gcc -c -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 control.c gcc -c -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 rtpacket.c gcc -c -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 vox.c BUILDSTDERR: rtpacket.c: In function 'addSDES': BUILDSTDERR: rtpacket.c:31:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] BUILDSTDERR: *ap++ = l = strlen(text); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rtpacket.c:31:21: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: rtpacket.c:31:21: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: rtpacket.c:4:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rtpacket.c:31:21: BUILDSTDERR: *ap++ = l = strlen(text); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rtpacket.c:32:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] BUILDSTDERR: bcopy(text, ap, l); BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c:32:9: warning: incompatible implicit declaration of built-in function 'bcopy' BUILDSTDERR: rtpacket.c: In function 'rtp_make_sdes': BUILDSTDERR: rtpacket.c:43:18: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] BUILDSTDERR: *((long *) p) = htonl(ssrc_i); BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c:57:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] BUILDSTDERR: *((short *) p) = htons((RTP_VERSION << 14) | RTCP_SDES | (1 << 8)); BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c:67:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] BUILDSTDERR: strcpy(line,"CALLSIGN"); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rtpacket.c:67:5: warning: incompatible implicit declaration of built-in function 'strcpy' BUILDSTDERR: rtpacket.c:67:5: note: include '' or provide a declaration of 'strcpy' BUILDSTDERR: rtpacket.c:85:16: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] BUILDSTDERR: l = hl + ((ntohs(rp->common.length) + 1) * 4); BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c:111:6: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] BUILDSTDERR: bzero(zp + l, pad); /* Clear pad area to zero */ BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c:111:6: warning: incompatible implicit declaration of built-in function 'bzero' BUILDSTDERR: rtpacket.c:124:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: *pkt = (char *) malloc(l); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rtpacket.c:124:21: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: rtpacket.c:124:21: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: rtpacket.c:4:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: rtpacket.c:124:21: BUILDSTDERR: *pkt = (char *) malloc(l); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rtpacket.c:126:2: warning: incompatible implicit declaration of built-in function 'bcopy' BUILDSTDERR: bcopy(zp, *pkt, l); BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c:27:18: warning: unused variable 'ev' [-Wunused-variable] BUILDSTDERR: char s[256], ev[1024]; BUILDSTDERR: ^~ BUILDSTDERR: rtpacket.c:27:10: warning: unused variable 's' [-Wunused-variable] BUILDSTDERR: char s[256], ev[1024]; BUILDSTDERR: ^ BUILDSTDERR: rtpacket.c:26:20: warning: unused variable 'pw' [-Wunused-variable] BUILDSTDERR: struct passwd *pw; BUILDSTDERR: ^~ BUILDSTDERR: rtpacket.c:25:16: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int l, hl, i; BUILDSTDERR: ^ BUILDSTDERR: rtpacket.c:23:16: warning: unused variable 'ep' [-Wunused-variable] BUILDSTDERR: char *sp, *ep; BUILDSTDERR: ^~ BUILDSTDERR: rtpacket.c:23:11: warning: unused variable 'sp' [-Wunused-variable] BUILDSTDERR: char *sp, *ep; BUILDSTDERR: ^~ BUILDSTDERR: rtpacket.c: In function 'rtp_make_bye': BUILDSTDERR: rtpacket.c:176:13: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: l = strlen(raison); BUILDSTDERR: ^~~~~~ BUILDSTDERR: rtpacket.c:176:13: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: rtpacket.c:179:13: warning: incompatible implicit declaration of built-in function 'bcopy' BUILDSTDERR: bcopy(raison, ap, l); BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c:203:13: warning: incompatible implicit declaration of built-in function 'bzero' BUILDSTDERR: bzero(zp + l, pad); /* Clear pad area to zero */ BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c: In function 'parseSDES': BUILDSTDERR: rtpacket.c:247:6: warning: incompatible implicit declaration of built-in function 'bcopy' BUILDSTDERR: bcopy(p + 4, r->ssrc, 4); BUILDSTDERR: ^~~~~ BUILDSTDERR: rtpacket.c: In function 'copySDESitem': BUILDSTDERR: rtpacket.c:287:5: warning: incompatible implicit declaration of built-in function 'bcopy' BUILDSTDERR: bcopy(s + 2, d, len); BUILDSTDERR: ^~~~~ BUILDSTDERR: vox.c: In function 'sendInfoFile': BUILDSTDERR: vox.c:74:18: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int count = 0, result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: vox.c: In function 'decodeNDATA': BUILDSTDERR: vox.c:185:9: warning: unused variable 'ptr' [-Wunused-variable] BUILDSTDERR: char *ptr; BUILDSTDERR: ^~~ BUILDSTDERR: vox.c: In function 'sendNDATA': BUILDSTDERR: vox.c:221:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: vox.c: In function 'fromControl': BUILDSTDERR: vox.c:247:8: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: char c; BUILDSTDERR: ^ BUILDSTDERR: vox.c: In function 'sendAudio': BUILDSTDERR: vox.c:343:15: warning: implicit declaration of function 'time'; did you mean 'utimes'? [-Wimplicit-function-declaration] BUILDSTDERR: startTime = time((time_t *)0); BUILDSTDERR: ^~~~ BUILDSTDERR: utimes BUILDSTDERR: vox.c:376:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: temp = voicePacket.data; BUILDSTDERR: ^ BUILDSTDERR: vox.c:377:25: warning: pointer targets in passing argument 2 of 'gsm_encode' differ in signedness [-Wpointer-sign] BUILDSTDERR: gsm_encode(gsmh, usbuff+(i*160), temp+(i*33)); BUILDSTDERR: ~~~~~~^~~~~~~~ BUILDSTDERR: control.c: In function 'printHex': BUILDSTDERR: In file included from vox.c:31: BUILDSTDERR: /usr/include/gsm.h:63:13: note: expected 'gsm_signal *' {aka 'short int *'} but argument is of type 'short unsigned int *' BUILDSTDERR: extern void gsm_encode GSM_P((gsm, gsm_signal *, gsm_byte *)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: control.c:69:8: warning: unused variable 'line' [-Wunused-variable] BUILDSTDERR: char line[80]; BUILDSTDERR: ^~~~ BUILDSTDERR: vox.c:377:39: warning: pointer targets in passing argument 3 of 'gsm_encode' differ in signedness [-Wpointer-sign] BUILDSTDERR: gsm_encode(gsmh, usbuff+(i*160), temp+(i*33)); BUILDSTDERR: ~~~~^~~~~~~ BUILDSTDERR: In file included from vox.c:31: BUILDSTDERR: /usr/include/gsm.h:63:13: note: expected 'gsm_byte *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: extern void gsm_encode GSM_P((gsm, gsm_signal *, gsm_byte *)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: control.c: In function 'makeConnection': BUILDSTDERR: control.c:133:7: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: execlp("echoaudio", "echoaudio", remoteNode, callsign, 0); BUILDSTDERR: ^~~~~~ BUILDSTDERR: vox.c:380:8: warning: pointer targets in assignment from 'short unsigned int *' to 'short int *' differ in signedness [-Wpointer-sign] BUILDSTDERR: pTemp = &usbuff[j]; BUILDSTDERR: ^ BUILDSTDERR: vox.c:402:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: sprintf(line, "%C %d", STRENGTH, average); BUILDSTDERR: ~^ ~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: vox.c:451:4: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: &len_inet); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from vox.c:23: BUILDSTDERR: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: vox.c:461:13: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: if(strncmp(&recvBuffer[1], "NDATA", 5) == 0) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from vox.c:28: BUILDSTDERR: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: vox.c:462:16: warning: pointer targets in passing argument 1 of 'decodeNDATA' differ in signedness [-Wpointer-sign] BUILDSTDERR: decodeNDATA(&recvBuffer[4]); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: vox.c:184:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void decodeNDATA(char *buffer){ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: vox.c:313:8: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: char c, *temp, line[20]; BUILDSTDERR: ^ BUILDSTDERR: vox.c:311:20: warning: unused variable 'total' [-Wunused-variable] BUILDSTDERR: short count = 0, total = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: control.c: In function 'readStdin': BUILDSTDERR: control.c:232:6: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: if(toupper(line[0]) == QUIT){ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: control.c:228:18: warning: unused variable 'bye' [-Wunused-variable] BUILDSTDERR: unsigned char *bye; BUILDSTDERR: ^~~ BUILDSTDERR: control.c:227:11: warning: unused variable 'length' [-Wunused-variable] BUILDSTDERR: int i, length; BUILDSTDERR: ^~~~~~ BUILDSTDERR: control.c:227:8: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, length; BUILDSTDERR: ^ BUILDSTDERR: vox.c: In function 'recvAudio': BUILDSTDERR: control.c: In function 'main': BUILDSTDERR: vox.c:534:4: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: &len_inet); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from vox.c:23: BUILDSTDERR: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: control.c:330:30: warning: passing argument 1 of 'rtp_make_sdes' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: sdesLength = rtp_make_sdes(sdesPacket, 0, 1); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from control.c:35: BUILDSTDERR: rtpacket.h:18:26: note: expected 'char **' but argument is of type 'unsigned char **' BUILDSTDERR: extern int rtp_make_sdes(char **, unsigned long, int); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: vox.c:542:13: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: if(strncmp(&recvBuffer[1], "NDATA", 5) == 0) BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from vox.c:28: BUILDSTDERR: /usr/include/string.h:139:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strncmp (const char *__s1, const char *__s2, size_t __n) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: vox.c:543:16: warning: pointer targets in passing argument 1 of 'decodeNDATA' differ in signedness [-Wpointer-sign] BUILDSTDERR: decodeNDATA(&recvBuffer[4]); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: vox.c:184:6: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: void decodeNDATA(char *buffer){ BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: vox.c:562:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: sprintf(line, "%C %d", STRENGTH, average); BUILDSTDERR: ~^ ~~~~~~~ BUILDSTDERR: %ld BUILDSTDERR: control.c:384:4: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: &len_inet); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from control.c:22: BUILDSTDERR: /usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags, BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: vox.c:488:7: warning: unused variable 'audioEffect' [-Wunused-variable] BUILDSTDERR: int audioEffect; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: vox.c:487:8: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: char c, line[20]; BUILDSTDERR: ^ BUILDSTDERR: vox.c: In function 'main': BUILDSTDERR: vox.c:587:8: warning: unused variable 'mixerfd' [-Wunused-variable] BUILDSTDERR: int mixerfd; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: vox.c:586:11: warning: unused variable 'commandLine' [-Wunused-variable] BUILDSTDERR: char c, commandLine[80], *home; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: vox.c:586:8: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: char c, commandLine[80], *home; BUILDSTDERR: ^ BUILDSTDERR: vox.c:585:18: warning: unused variable 'info' [-Wunused-variable] BUILDSTDERR: audio_buf_info info; BUILDSTDERR: ^~~~ BUILDSTDERR: vox.c:584:33: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int status, result, len_inet, i; BUILDSTDERR: ^ BUILDSTDERR: vox.c:584:23: warning: unused variable 'len_inet' [-Wunused-variable] BUILDSTDERR: int status, result, len_inet, i; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: vox.c:584:15: warning: unused variable 'result' [-Wunused-variable] BUILDSTDERR: int status, result, len_inet, i; BUILDSTDERR: ^~~~~~ BUILDSTDERR: vox.c:583:15: warning: unused variable 'count' [-Wunused-variable] BUILDSTDERR: long total, count; BUILDSTDERR: ^~~~~ BUILDSTDERR: vox.c:583:8: warning: unused variable 'total' [-Wunused-variable] BUILDSTDERR: long total, count; BUILDSTDERR: ^~~~~ BUILDSTDERR: control.c:262:8: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: char c, remoteName[40], line[80], *home; BUILDSTDERR: ^ BUILDSTDERR: vox.c: In function 'sendInfoFile': BUILDSTDERR: vox.c:133:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: control.c: In function 'makeConnection': BUILDSTDERR: control.c:125:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: dup(audioOutPipe[0]); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: control.c:129:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: dup(audioInPipe[1]); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: control.c:183:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: control.c: In function 'disconnect': BUILDSTDERR: control.c:220:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: control.c: In function 'readStdin': BUILDSTDERR: control.c:230:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(line, 80,stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c: In function 'soundInput': BUILDSTDERR: vox.c:180:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: control.c: In function 'main': BUILDSTDERR: vox.c: In function 'fromControl': BUILDSTDERR: control.c:287:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(callsign, 40, userData); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:251:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(line, 80, stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: control.c:289:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(name, 40, userData); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:270:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(audiofd, recvBuffer, i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: control.c:291:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(location, 40, userData); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:283:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, fileName, 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: control.c:293:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(password, 40, userData); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: control.c:446:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, inBuffer, i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:304:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: vox.c: In function 'sendAudio': BUILDSTDERR: vox.c:330:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, line, 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:389:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, line, 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:397:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, line, 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: control.c:91:13: warning: 'sigChild' defined but not used [-Wunused-function] BUILDSTDERR: static void sigChild( int signo){ BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: vox.c:476:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: vox.c: In function 'recvAudio': BUILDSTDERR: vox.c:498:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(STDOUT_FILENO, line, 2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:555:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(audiofd, sbuff, 320); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vox.c:577:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from control.c:13: BUILDSTDERR: In function 'fgets', BUILDSTDERR: inlined from 'main' at control.c:287:3: BUILDSTDERR: /usr/include/bits/stdio2.h:263:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer BUILDSTDERR: return __fgets_chk_warn (__s, __bos (__s), __n, __stream); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'fgets', BUILDSTDERR: inlined from 'main' at control.c:293:3: BUILDSTDERR: /usr/include/bits/stdio2.h:263:9: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer BUILDSTDERR: return __fgets_chk_warn (__s, __bos (__s), __n, __stream); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from vox.c:23: BUILDSTDERR: In function 'recvfrom', BUILDSTDERR: inlined from 'sendAudio' at vox.c:446:16: BUILDSTDERR: /usr/include/bits/socket2.h:73:9: warning: call to '__recvfrom_chk_warn' declared with attribute warning: recvfrom called with bigger length than size of destination buffer BUILDSTDERR: return __recvfrom_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __addr, __addr_len); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~ gcc control.o rtpacket.o -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 \ -lgsm -lm -o echolinux BUILDSTDERR: In function 'recvfrom', BUILDSTDERR: inlined from 'recvAudio' at vox.c:529:16: BUILDSTDERR: /usr/include/bits/socket2.h:73:9: warning: call to '__recvfrom_chk_warn' declared with attribute warning: recvfrom called with bigger length than size of destination buffer BUILDSTDERR: return __recvfrom_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __addr, __addr_len); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~ gcc vox.o -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 -lgsm -lm -o echoaudio 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 -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 -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 -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 -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE -DInfoFont=FL_TINY_SIZE -D_REENTRANT -I/usr/include/X11 testgui_cb.c gcc -c -o testgui.o -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 -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 -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 -DNodeFont=FL_TINY_SIZE -DChatFont=FL_SMALL_SIZE -DInfoFont=FL_TINY_SIZE -D_REENTRANT -I/usr/include/X11 servercode.c BUILDSTDERR: servercode.c: In function 'openSocket': BUILDSTDERR: servercode.c:107:9: warning: unused variable 'addr' [-Wunused-variable] BUILDSTDERR: char *addr; BUILDSTDERR: ^~~~ BUILDSTDERR: servercode.c:106:19: warning: unused variable 'hp' [-Wunused-variable] BUILDSTDERR: struct hostent *hp; BUILDSTDERR: ^~ BUILDSTDERR: servercode.c: In function 'sendLogon': BUILDSTDERR: servercode.c:224:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] BUILDSTDERR: sprintf(sendBuf,"\x6c%s\xac\xac%s\rONLINE3.38(%s)\r%s\r", BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from servercode.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) BUILDSTDERR: ^~~~~ BUILDSTDERR: servercode.c:227:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: result = write(serverSocket, sendBuf, strlen(sendBuf)); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from servercode.c:15: BUILDSTDERR: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern size_t strlen (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: servercode.c:213:20: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int i, s, z, result; BUILDSTDERR: ^~~~~~ BUILDSTDERR: servercode.c:213:17: warning: unused variable 'z' [-Wunused-variable] BUILDSTDERR: int i, s, z, result; BUILDSTDERR: ^ BUILDSTDERR: servercode.c:213:14: warning: unused variable 's' [-Wunused-variable] BUILDSTDERR: int i, s, z, result; BUILDSTDERR: ^ BUILDSTDERR: servercode.c:213:11: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: int i, s, z, result; BUILDSTDERR: ^ BUILDSTDERR: servercode.c:212:33: warning: unused variable 'recvBuf' [-Wunused-variable] BUILDSTDERR: unsigned char sendBuf[50], recvBuf[50]; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: servercode.c: In function 'sendLogoff': BUILDSTDERR: servercode.c:250:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(sendBuf, callsign); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from servercode.c:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: servercode.c:251:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcat(sendBuf,"\254\254"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from servercode.c:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: servercode.c:252:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcat(sendBuf, password); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from servercode.c:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: servercode.c:253:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcat(sendBuf,"\015OFF-V3.40\015"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from servercode.c:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: servercode.c:254:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcat(sendBuf, location); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from servercode.c:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: servercode.c:255:10: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcat(sendBuf, "\015"); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from servercode.c:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: servercode.c:256:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: for(i=0;i