Mock Version: 2.1 Mock Version: 2.1 Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/echolinux.spec'], chrootPath='/var/lib/mock/f33-build-20144389-1425990/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1586044800 Wrote: /builddir/build/SRPMS/echolinux-0.17a-25.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/echolinux.spec'], chrootPath='/var/lib/mock/f33-build-20144389-1425990/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1586044800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yIfyTO + 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 . Patch #0 (echolinux-0.17a-includes.patch): + echo '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 Patch #4 (echolinux-0.17a-optflags.patch): + echo '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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i0AwFN + 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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 -fcommon -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection vox.c rtpacket.c: In function 'addSDES': rtpacket.c:31:21: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 31 | *ap++ = l = strlen(text); | ^~~~~~ rtpacket.c:31:21: warning: incompatible implicit declaration of built-in function 'strlen' rtpacket.c:4:1: note: include '' or provide a declaration of 'strlen' 3 | #include "rtpacket.h" +++ |+#include 4 | rtpacket.c:32:9: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] 32 | bcopy(text, ap, l); | ^~~~~ rtpacket.c:32:9: warning: incompatible implicit declaration of built-in function 'bcopy' rtpacket.c: In function 'rtp_make_sdes': rtpacket.c:43:18: warning: implicit declaration of function 'htonl' [-Wimplicit-function-declaration] 43 | *((long *) p) = htonl(ssrc_i); | ^~~~~ rtpacket.c:57:22: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration] 57 | *((short *) p) = htons((RTP_VERSION << 14) | RTCP_SDES | (1 << 8)); | ^~~~~ rtpacket.c:67:5: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 67 | strcpy(line,"CALLSIGN"); | ^~~~~~ rtpacket.c:67:5: warning: incompatible implicit declaration of built-in function 'strcpy' rtpacket.c:67:5: note: include '' or provide a declaration of 'strcpy' rtpacket.c:85:16: warning: implicit declaration of function 'ntohs' [-Wimplicit-function-declaration] 85 | l = hl + ((ntohs(rp->common.length) + 1) * 4); | ^~~~~ rtpacket.c:111:6: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] 111 | bzero(zp + l, pad); /* Clear pad area to zero */ | ^~~~~ rtpacket.c:111:6: warning: incompatible implicit declaration of built-in function 'bzero' rtpacket.c:124:21: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 124 | *pkt = (char *) malloc(l); | ^~~~~~ rtpacket.c:124:21: warning: incompatible implicit declaration of built-in function 'malloc' rtpacket.c:4:1: note: include '' or provide a declaration of 'malloc' 3 | #include "rtpacket.h" +++ |+#include 4 | rtpacket.c:126:2: warning: incompatible implicit declaration of built-in function 'bcopy' 126 | bcopy(zp, *pkt, l); | ^~~~~ rtpacket.c:27:18: warning: unused variable 'ev' [-Wunused-variable] 27 | char s[256], ev[1024]; | ^~ rtpacket.c:27:10: warning: unused variable 's' [-Wunused-variable] 27 | char s[256], ev[1024]; | ^ rtpacket.c:26:20: warning: unused variable 'pw' [-Wunused-variable] 26 | struct passwd *pw; | ^~ rtpacket.c:25:16: warning: unused variable 'i' [-Wunused-variable] 25 | int l, hl, i; | ^ rtpacket.c:23:16: warning: unused variable 'ep' [-Wunused-variable] 23 | char *sp, *ep; | ^~ rtpacket.c:23:11: warning: unused variable 'sp' [-Wunused-variable] 23 | char *sp, *ep; | ^~ rtpacket.c: In function 'rtp_make_bye': rtpacket.c:176:13: warning: incompatible implicit declaration of built-in function 'strlen' 176 | l = strlen(raison); | ^~~~~~ rtpacket.c:176:13: note: include '' or provide a declaration of 'strlen' rtpacket.c:179:13: warning: incompatible implicit declaration of built-in function 'bcopy' 179 | bcopy(raison, ap, l); | ^~~~~ rtpacket.c:203:13: warning: incompatible implicit declaration of built-in function 'bzero' 203 | bzero(zp + l, pad); /* Clear pad area to zero */ | ^~~~~ rtpacket.c: In function 'parseSDES': rtpacket.c:247:6: warning: incompatible implicit declaration of built-in function 'bcopy' 247 | bcopy(p + 4, r->ssrc, 4); | ^~~~~ rtpacket.c: In function 'copySDESitem': rtpacket.c:287:5: warning: incompatible implicit declaration of built-in function 'bcopy' 287 | bcopy(s + 2, d, len); | ^~~~~ vox.c: In function 'sendInfoFile': vox.c:74:18: warning: variable 'result' set but not used [-Wunused-but-set-variable] 74 | int count = 0, result; | ^~~~~~ vox.c: In function 'decodeNDATA': vox.c:185:9: warning: unused variable 'ptr' [-Wunused-variable] 185 | char *ptr; | ^~~ vox.c: In function 'sendNDATA': vox.c:221:7: warning: variable 'result' set but not used [-Wunused-but-set-variable] 221 | int result; | ^~~~~~ vox.c: In function 'fromControl': vox.c:247:8: warning: unused variable 'c' [-Wunused-variable] 247 | char c; | ^ vox.c: In function 'sendAudio': vox.c:343:15: warning: implicit declaration of function 'time'; did you mean 'utimes'? [-Wimplicit-function-declaration] 343 | startTime = time((time_t *)0); | ^~~~ | utimes vox.c:376:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 376 | temp = voicePacket.data; | ^ vox.c:377:25: warning: pointer targets in passing argument 2 of 'gsm_encode' differ in signedness [-Wpointer-sign] 377 | gsm_encode(gsmh, usbuff+(i*160), temp+(i*33)); | ~~~~~~^~~~~~~~ | | | short unsigned int * In file included from vox.c:31: /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:377:39: warning: pointer targets in passing argument 3 of 'gsm_encode' differ in signedness [-Wpointer-sign] 377 | gsm_encode(gsmh, usbuff+(i*160), temp+(i*33)); | ~~~~^~~~~~~ | | | char * In file included from vox.c:31: /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:380:8: warning: pointer targets in assignment from 'short unsigned int *' to 'short int *' differ in signedness [-Wpointer-sign] 380 | pTemp = &usbuff[j]; | ^ vox.c:402:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 402 | sprintf(line, "%C %d", STRENGTH, average); | ~^ ~~~~~~~ | | | | int long int | %ld vox.c:451:4: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 451 | &len_inet); | ^~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from vox.c:23: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ vox.c:461:13: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 461 | if(strncmp(&recvBuffer[1], "NDATA", 5) == 0) | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from vox.c:28: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ vox.c:462:16: warning: pointer targets in passing argument 1 of 'decodeNDATA' differ in signedness [-Wpointer-sign] 462 | decodeNDATA(&recvBuffer[4]); | ^~~~~~~~~~~~~~ | | | unsigned char * vox.c:184:24: note: expected 'char *' but argument is of type 'unsigned char *' 184 | void decodeNDATA(char *buffer){ | ~~~~~~^~~~~~ vox.c:313:8: warning: unused variable 'c' [-Wunused-variable] 313 | char c, *temp, line[20]; | ^ vox.c:311:20: warning: unused variable 'total' [-Wunused-variable] 311 | short count = 0, total = 0; | ^~~~~ vox.c: In function 'recvAudio': vox.c:534:4: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 534 | &len_inet); | ^~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from vox.c:23: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ vox.c:542:13: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 542 | if(strncmp(&recvBuffer[1], "NDATA", 5) == 0) | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from vox.c:28: /usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ vox.c:543:16: warning: pointer targets in passing argument 1 of 'decodeNDATA' differ in signedness [-Wpointer-sign] 543 | decodeNDATA(&recvBuffer[4]); | ^~~~~~~~~~~~~~ | | | unsigned char * vox.c:184:24: note: expected 'char *' but argument is of type 'unsigned char *' 184 | void decodeNDATA(char *buffer){ | ~~~~~~^~~~~~ vox.c:562:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 562 | sprintf(line, "%C %d", STRENGTH, average); | ~^ ~~~~~~~ | | | | int long int | %ld vox.c:488:7: warning: unused variable 'audioEffect' [-Wunused-variable] 488 | int audioEffect; | ^~~~~~~~~~~ vox.c:487:8: warning: unused variable 'c' [-Wunused-variable] 487 | char c, line[20]; | ^ vox.c: In function 'main': vox.c:587:8: warning: unused variable 'mixerfd' [-Wunused-variable] 587 | int mixerfd; | ^~~~~~~ vox.c:586:11: warning: unused variable 'commandLine' [-Wunused-variable] 586 | char c, commandLine[80], *home; | ^~~~~~~~~~~ vox.c:586:8: warning: unused variable 'c' [-Wunused-variable] 586 | char c, commandLine[80], *home; | ^ vox.c:585:18: warning: unused variable 'info' [-Wunused-variable] 585 | audio_buf_info info; | ^~~~ vox.c:584:33: warning: unused variable 'i' [-Wunused-variable] 584 | int status, result, len_inet, i; | ^ vox.c:584:23: warning: unused variable 'len_inet' [-Wunused-variable] 584 | int status, result, len_inet, i; | ^~~~~~~~ vox.c:584:15: warning: unused variable 'result' [-Wunused-variable] 584 | int status, result, len_inet, i; | ^~~~~~ vox.c:583:15: warning: unused variable 'count' [-Wunused-variable] 583 | long total, count; | ^~~~~ vox.c:583:8: warning: unused variable 'total' [-Wunused-variable] 583 | long total, count; | ^~~~~ vox.c: In function 'sendInfoFile': vox.c:133:1: warning: control reaches end of non-void function [-Wreturn-type] 133 | } | ^ vox.c: In function 'soundInput': vox.c:180:1: warning: control reaches end of non-void function [-Wreturn-type] 180 | } | ^ vox.c: In function 'fromControl': vox.c:251:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 251 | fgets(line, 80, stdin); | ^~~~~~~~~~~~~~~~~~~~~~ vox.c:270:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 270 | write(audiofd, recvBuffer, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:283:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 283 | write(STDOUT_FILENO, fileName, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:304:1: warning: control reaches end of non-void function [-Wreturn-type] 304 | } | ^ vox.c: In function 'sendAudio': vox.c:330:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 330 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:389:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 389 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:397:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 397 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:476:1: warning: control reaches end of non-void function [-Wreturn-type] 476 | } | ^ vox.c: In function 'recvAudio': vox.c:498:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 498 | write(STDOUT_FILENO, line, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:555:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 555 | write(audiofd, sbuff, 320); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vox.c:577:1: warning: control reaches end of non-void function [-Wreturn-type] 577 | } | ^ control.c: In function 'printHex': control.c:69:8: warning: unused variable 'line' [-Wunused-variable] 69 | char line[80]; | ^~~~ control.c: In function 'makeConnection': control.c:133:7: warning: missing sentinel in function call [-Wformat=] 133 | execlp("echoaudio", "echoaudio", remoteNode, callsign, 0); | ^~~~~~ control.c: In function 'readStdin': control.c:232:6: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] 232 | if(toupper(line[0]) == QUIT){ | ^~~~~~~ control.c:228:18: warning: unused variable 'bye' [-Wunused-variable] 228 | unsigned char *bye; | ^~~ control.c:227:11: warning: unused variable 'length' [-Wunused-variable] 227 | int i, length; | ^~~~~~ control.c:227:8: warning: unused variable 'i' [-Wunused-variable] 227 | int i, length; | ^ control.c: In function 'main': control.c:330:30: warning: passing argument 1 of 'rtp_make_sdes' from incompatible pointer type [-Wincompatible-pointer-types] 330 | sdesLength = rtp_make_sdes(sdesPacket, 0, 1); | ^~~~~~~~~~ | | | unsigned char ** In file included from control.c:35: 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:384:4: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 384 | &len_inet); | ^~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from control.c:22: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ control.c:262:8: warning: unused variable 'c' [-Wunused-variable] 262 | char c, remoteName[40], line[80], *home; | ^ control.c: In function 'makeConnection': control.c:125:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | dup(audioOutPipe[0]); | ^~~~~~~~~~~~~~~~~~~~ control.c:129:7: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | dup(audioInPipe[1]); | ^~~~~~~~~~~~~~~~~~~ control.c:183:1: warning: control reaches end of non-void function [-Wreturn-type] 183 | } | ^ control.c: In function 'disconnect': control.c:220:1: warning: control reaches end of non-void function [-Wreturn-type] 220 | } | ^ control.c: In function 'readStdin': control.c:230:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | fgets(line, 80,stdin); | ^~~~~~~~~~~~~~~~~~~~~ control.c: In function 'main': control.c:287:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 287 | fgets(callsign, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:289:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | fgets(name, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~ control.c:291:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | fgets(location, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:293:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 293 | fgets(password, 40, userData); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ control.c:446:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 446 | write(STDOUT_FILENO, inBuffer, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: control.c:91:13: warning: 'sigChild' defined but not used [-Wunused-function] 91 | static void sigChild( int signo){ | ^~~~~~~~ In file included from /usr/include/sys/socket.h:269, from vox.c:23: In function 'recvfrom', inlined from 'sendAudio' at vox.c:446:16: /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 [-Wattribute-warning] 73 | return __recvfrom_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | __addr, __addr_len); | ~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from control.c:13: In function 'fgets', inlined from 'main' at control.c:287:3: /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 [-Wattribute-warning] 263 | return __fgets_chk_warn (__s, __bos (__s), __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fgets', inlined from 'main' at control.c:293:3: /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 [-Wattribute-warning] 263 | return __fgets_chk_warn (__s, __bos (__s), __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'recvfrom', inlined from 'recvAudio' at vox.c:529:16: /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 [-Wattribute-warning] 73 | return __recvfrom_chk_warn (__fd, __buf, __n, __bos0 (__buf), __flags, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | __addr, __addr_len); | ~~~~~~~~~~~~~~~~~~~ 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 -fcommon -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection \ -lgsm -lm -o echolinux 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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 -fcommon -m64 -mcpu=power8 -mtune=power8 -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 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:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from servercode.c:11: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 34 | __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:385:35: note: expected 'const char *' but argument is of type 'unsigned char *' 385 | 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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from servercode.c:11: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from servercode.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 126 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from servercode.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 126 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from servercode.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 126 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from servercode.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 126 | __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 * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from servercode.c:11: /usr/include/bits/string_fortified.h:126:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 126 | __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