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/telnet.spec'], chrootPath='/var/lib/mock/f29-build-33265-17981/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/telnet.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/telnet-0.17-75.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/telnet.spec'], chrootPath='/var/lib/mock/f29-build-33265-17981/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/telnet.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.zNQNME + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-telnet-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/netkit-telnet-0.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-telnet-0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv telnet telnet-NETKIT + cd /builddir/build/BUILD + cd netkit-telnet-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/telnet-client.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (telnet-client-cvs.patch):' Patch #1 (telnet-client-cvs.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .cvs --fuzz=0 patching file telnet/Makefile patching file telnet/commands.c patching file telnet/externs.h patching file telnet/main.c patching file telnet/sys_bsd.c patching file telnet/telnet.c patching file telnet/telnet_locl.h patching file libtelnet/kerberos.c patching file telnet/telnet.1 + echo 'Patch #5 (telnetd-0.17.diff):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .fix --fuzz=0 Patch #5 (telnetd-0.17.diff): patching file telnetd/telnetd.c patching file telnetd/defs.h + echo 'Patch #6 (telnet-0.17-env.patch):' Patch #6 (telnet-0.17-env.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .env --fuzz=0 patching file telnet/commands.c patching file telnet/telnet.c Hunk #1 succeeded at 440 (offset 2 lines). Hunk #2 succeeded at 675 (offset -18 lines). Hunk #3 succeeded at 852 (offset -18 lines). Hunk #4 succeeded at 1514 (offset -13 lines). Hunk #5 succeeded at 2161 (offset -9 lines). patching file telnet/externs.h Patch #10 (telnet-0.17-pek.patch): + echo 'Patch #10 (telnet-0.17-pek.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pek --fuzz=0 patching file telnet/commands.c Patch #7 (telnet-0.17-issue.patch): + echo 'Patch #7 (telnet-0.17-issue.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .issue --fuzz=0 patching file telnetd/utility.c patching file telnetd/issue.net.5 Patch #8 (telnet-0.17-sa-01-49.patch): + echo 'Patch #8 (telnet-0.17-sa-01-49.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sa-01-49 --fuzz=0 patching file telnetd/ext.h patching file telnetd/slc.c patching file telnetd/state.c patching file telnetd/termstat.c patching file telnetd/utility.c Patch #11 (telnet-0.17-8bit.patch): + echo 'Patch #11 (telnet-0.17-8bit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .8bit --fuzz=0 patching file telnet/main.c patching file telnet/telnet.1 Patch #12 (telnet-0.17-argv.patch): + echo 'Patch #12 (telnet-0.17-argv.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .argv --fuzz=0 patching file telnetd/setproctitle.c Patch #13 (telnet-0.17-conf.patch): + echo 'Patch #13 (telnet-0.17-conf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .confverb --fuzz=0 patching file configure Patch #14 (telnet-0.17-cleanup_race.patch): + echo 'Patch #14 (telnet-0.17-cleanup_race.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cleanup_race --fuzz=0 patching file telnetd/telnetd.c Patch #15 (telnetd-0.17-pty_read.patch): + echo 'Patch #15 (telnetd-0.17-pty_read.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pty_read --fuzz=0 patching file telnetd/telnetd.c Patch #16 (telnet-0.17-CAN-2005-468_469.patch): + echo 'Patch #16 (telnet-0.17-CAN-2005-468_469.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CAN-2005-468_469 --fuzz=0 patching file telnet/telnet.c Patch #18 (telnet-gethostbyname.patch): + echo 'Patch #18 (telnet-gethostbyname.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gethost --fuzz=0 patching file telnet/commands.c Patch #19 (netkit-telnet-0.17-ipv6.diff): + echo 'Patch #19 (netkit-telnet-0.17-ipv6.diff):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gethost2 --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file telnetd/telnetd.c Patch #20 (netkit-telnet-0.17-nodns.patch): + echo 'Patch #20 (netkit-telnet-0.17-nodns.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nodns --fuzz=0 patching file telnetd/telnetd.c + echo 'Patch #21 (telnet-0.17-errno_test_sys_bsd.patch):' Patch #21 (telnet-0.17-errno_test_sys_bsd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .errnosysbsd --fuzz=0 patching file telnet/sys_bsd.c Patch #22 (netkit-telnet-0.17-reallynodns.patch): + echo 'Patch #22 (netkit-telnet-0.17-reallynodns.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .reallynodns --fuzz=0 patching file telnetd/telnetd.c patching file telnetd/telnetd.8 Patch #23 (telnet-rh678324.patch): + echo 'Patch #23 (telnet-rh678324.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh678324 --fuzz=0 patching file telnetd/telnetd.c Patch #24 (telnet-rh674942.patch): + echo 'Patch #24 (telnet-rh674942.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh674942 --fuzz=0 patching file telnetd/telnetd.c Patch #25 (telnet-rh704604.patch): + echo 'Patch #25 (telnet-rh704604.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh704604 --fuzz=0 patching file telnet/commands.c Patch #26 (telnet-rh825946.patch): + echo 'Patch #26 (telnet-rh825946.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rh825946 --fuzz=0 patching file telnetd/sys_term.c patching file telnetd/telnetd.c Patch #27 (telnet-0.17-force-ipv6-ipv4.patch): + echo 'Patch #27 (telnet-0.17-force-ipv6-ipv4.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ipv6-support --fuzz=0 patching file telnet/commands.c patching file telnet/main.c patching file telnet/telnet.1 Patch #28 (netkit-telnet-0.17-core-dump.patch): + echo 'Patch #28 (netkit-telnet-0.17-core-dump.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .core-dump --fuzz=0 patching file telnet/main.c Patch #29 (netkit-telnet-0.17-gcc7.patch): + echo 'Patch #29 (netkit-telnet-0.17-gcc7.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc7 --fuzz=0 patching file telnet/utilities.c patching file telnetd/utility.c Patch #30 (netkit-telnet-0.17-manpage.patch): + echo 'Patch #30 (netkit-telnet-0.17-manpage.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpage --fuzz=0 patching file telnet/telnet.1 Patch #31 (netkit-telnet-0.17-telnetrc.patch): + echo 'Patch #31 (netkit-telnet-0.17-telnetrc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .telnetrc --fuzz=0 patching file telnet/commands.c Patch #32 (telnet-log-address.patch): + echo 'Patch #32 (telnet-log-address.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .log-address --fuzz=0 patching file telnetd/telnetd.8 patching file telnetd/telnetd.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QIt62H + umask 022 + cd /builddir/build/BUILD + cd netkit-telnet-0.17 + export 'CC_FLAGS=-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 -fpie' + CC_FLAGS='-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 -fpie' + export 'LD_FLAGS= -z now -pie' + LD_FLAGS=' -z now -pie' + sh configure --with-c-compiler=gcc Directories: /usr/bin /usr/sbin /usr/man Checking if C compiler works... yes Checking if gcc accepts gcc warnings... yes Looking for a C++ compiler... gcc Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking if gcc accepts -fno-rtti... yes Checking if gcc accepts -fno-exceptions... yes Checking for BSD signal semantics... yes Checking for ncurses... yes Checking for GNU libc... yes Checking for forkpty... -lutil Checking for logwtmp... -lutil Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + perl -pi -e ' BUILDSTDERR: s,-O2,\$(CC_FLAGS),; BUILDSTDERR: s,LDFLAGS=.*,LDFLAGS=\$(LD_FLAGS),; BUILDSTDERR: s,^BINDIR=.*$,BINDIR=/usr/bin,; BUILDSTDERR: s,^MANDIR=.*$,MANDIR=/usr/share/man,; BUILDSTDERR: s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; BUILDSTDERR: ' MCONFIG + perl -pi -e 's|install[ ]+-s|install|g' ./telnet/GNUmakefile ./telnetd/Makefile ./telnetlogin/Makefile ./telnet-NETKIT/Makefile + make -j4 (cd telnet && make) (cd telnetd && make) make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS telnetd.c -c make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ authenc.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS state.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ commands.c -c BUILDSTDERR: state.c: In function 'suboption': BUILDSTDERR: state.c:1208:10: warning: comparison of distinct pointer types lacks a cast BUILDSTDERR: if (cp < subbuffer+sizeof(subbuffer)-1) *cp++ = c; BUILDSTDERR: ^ BUILDSTDERR: state.c: In function 'send_status': BUILDSTDERR: state.c:1369:20: warning: pointer targets in passing argument 1 of 'output_datalen' differ in signedness [-Wpointer-sign] BUILDSTDERR: output_datalen(statusbuf, ncp - statusbuf); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from telnetd.h:39, BUILDSTDERR: from state.c:41: BUILDSTDERR: ext.h:92:6: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: void output_datalen(const char *, int); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: telnetd.c: In function 'main': BUILDSTDERR: telnetd.c:388:7: warning: passing argument 1 of 'doit' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: doit(&from, fromlen); BUILDSTDERR: ^~~~~ BUILDSTDERR: telnetd.c:72:35: note: expected 'struct sockaddr *' but argument is of type 'struct sockaddr_storage *' BUILDSTDERR: static void doit(struct sockaddr *who, socklen_t wholen); BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: state.c: In function 'willoption': BUILDSTDERR: state.c:519:32: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: slctab[SLC_XOFF].defset.flag |= SLC_DEFAULT; BUILDSTDERR: ^ BUILDSTDERR: state.c:520:6: note: here BUILDSTDERR: case TELOPT_TTYPE: BUILDSTDERR: ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS termstat.c -c BUILDSTDERR: commands.c:258:58: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(const char *)' [-Wcast-function-type] BUILDSTDERR: { "synch", "Perform Telnet 'Synch operation'", 1, 0, (send_handler_t)dosynch, 2, 0 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c:259:54: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(const char *)' [-Wcast-function-type] BUILDSTDERR: { "getstatus", "Send request for STATUS", 1, 0, (send_handler_t)get_status, 6, 0 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c: In function 'send_tncmd': BUILDSTDERR: commands.c:400:18: warning: passing argument 1 of 'isprefix' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (isprefix(name, "help") || isprefix(name, "?")) { 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 telnet_locl.h:43, BUILDSTDERR: from commands.c:37: BUILDSTDERR: ../libtelnet/misc-proto.h:80:19: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int isprefix __P((char *, char *)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: commands.c:400:44: warning: passing argument 1 of 'isprefix' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (isprefix(name, "help") || isprefix(name, "?")) { 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 telnet_locl.h:43, BUILDSTDERR: from commands.c:37: BUILDSTDERR: ../libtelnet/misc-proto.h:80:19: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: int isprefix __P((char *, char *)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: commands.c:420:27: warning: passing argument 1 of 'genget' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: cpp = (char **)genget(name, telopts, sizeof(char *)); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from ../libtelnet/misc.h:44, BUILDSTDERR: from telnet_locl.h:79, BUILDSTDERR: from commands.c:37: BUILDSTDERR: ../libtelnet/misc-proto.h:79:8: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: char **genget __P((char *, char **, int)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: commands.c: At top level: BUILDSTDERR: commands.c:860:58: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(int)' [-Wcast-function-type] BUILDSTDERR: { "tracefile", "file to write trace information to", (set_handler_t)SetNetTrace, (cc_t *)NetTraceFile}, BUILDSTDERR: ^ BUILDSTDERR: commands.c: In function 'setcmd': BUILDSTDERR: commands.c:964:21: warning: passing argument 1 of 'ct->handler' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: (*ct->handler)(argv[2]); BUILDSTDERR: ~~~~^~~ BUILDSTDERR: commands.c:964:21: note: expected 'int' but argument is of type 'char *' BUILDSTDERR: commands.c: In function 'shell': BUILDSTDERR: commands.c:1382:3: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: execl(shellp, shellname, "-c", &saveline[1], 0); BUILDSTDERR: ^~~~~ BUILDSTDERR: commands.c:1384:3: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: execl(shellp, shellname, 0); BUILDSTDERR: ^~~~~ BUILDSTDERR: commands.c: At top level: BUILDSTDERR: commands.c:1542:7: warning: cast between incompatible function types from 'struct env_lst * (*)(unsigned char *, unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] BUILDSTDERR: (env_handler_t)env_define, 2 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c:1544:7: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] BUILDSTDERR: (env_handler_t)env_undefine, 1 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c:1546:7: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] BUILDSTDERR: (env_handler_t)env_export, 1 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c:1548:7: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] BUILDSTDERR: (env_handler_t)env_unexport, 1 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c:1549:47: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] BUILDSTDERR: { "send", "Send an environment variable", (env_handler_t)env_send, 1 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c: In function 'env_cmd': BUILDSTDERR: commands.c:1612:23: warning: pointer targets in passing argument 1 of 'c->handler' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*c->handler)(argv[2], argv[3]); BUILDSTDERR: ~~~~^~~ BUILDSTDERR: commands.c:1612:23: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: commands.c:1612:32: warning: pointer targets in passing argument 2 of 'c->handler' differ in signedness [-Wpointer-sign] BUILDSTDERR: (*c->handler)(argv[2], argv[3]); BUILDSTDERR: ~~~~^~~ BUILDSTDERR: commands.c:1612:32: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: commands.c: In function 'env_init': BUILDSTDERR: commands.c:1662:21: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((ep = env_find("DISPLAY")) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: commands.c:1628:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: env_find(unsigned char *var) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: commands.c:1696:16: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: commands.c:1628:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: env_find(unsigned char *var) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: commands.c:1696:51: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: commands.c:1628:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: env_find(unsigned char *var) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: commands.c: In function 'env_define': BUILDSTDERR: commands.c:1726:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((ep->var = strdup((char *)var)) == NULL) BUILDSTDERR: ^ BUILDSTDERR: commands.c:1728:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: if ((ep->value = strdup((char *)value)) == NULL) BUILDSTDERR: ^ BUILDSTDERR: commands.c: In function 'tn': BUILDSTDERR: commands.c:2363:18: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] BUILDSTDERR: } else if (temp == -1) { BUILDSTDERR: ^~ BUILDSTDERR: commands.c: At top level: BUILDSTDERR: commands.c:2555:22: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(int, char **)' [-Wcast-function-type] BUILDSTDERR: { "quit", quithelp, (cmd_handler_t)quit, 0 }, BUILDSTDERR: ^ BUILDSTDERR: commands.c: In function 'help': BUILDSTDERR: commands.c:2716:15: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] BUILDSTDERR: printf("%-*s\t%s\r\n", HELPINDENT, c->name, BUILDSTDERR: ~~^~ BUILDSTDERR: commands.c: In function 'sourceroute': BUILDSTDERR: commands.c:2786:18: warning: unused variable 'host' [-Wunused-variable] BUILDSTDERR: struct hostent *host = 0; BUILDSTDERR: ^~~~ BUILDSTDERR: commands.c:2784:6: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: int tmp; BUILDSTDERR: ^~~ BUILDSTDERR: commands.c: In function 'env_init': BUILDSTDERR: commands.c:1684:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: asprintf (&cp, "%s%s", hbuf, cp2); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands.c: In function 'tn': BUILDSTDERR: commands.c:2289:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: commands.c: In function 'setescape': BUILDSTDERR: commands.c:1294:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) fgets(buf, sizeof(buf), stdin); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: commands.c:45:13: warning: '_hostname' defined but not used [-Wunused-variable] BUILDSTDERR: static char _hostname[MAXHOSTNAMELEN]; BUILDSTDERR: ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ main.c -c BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:165:16: warning: pointer targets in passing argument 1 of 'env_define' differ in signedness [-Wpointer-sign] BUILDSTDERR: env_define("DISPLAY", (unsigned char*)p); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from telnet_locl.h:85, BUILDSTDERR: from main.c:43: BUILDSTDERR: externs.h:197:17: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: struct env_lst *env_define (unsigned char *, unsigned char *); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: main.c:38:13: warning: 'copyright' defined but not used [-Wunused-variable] BUILDSTDERR: static char copyright[] = BUILDSTDERR: ^~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ network.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS slc.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ ring.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS sys_term.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS utility.c -c BUILDSTDERR: sys_term.c: In function 'start_login': BUILDSTDERR: sys_term.c:671:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(1,"I don't hear you!\r\n",19); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sys_term.c: In function 'cleanup': BUILDSTDERR: sys_term.c:741:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chown(line, 0, 0); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: sys_term.c:744:5: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chown(line, 0, 0); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: utility.c: In function 'printsub': BUILDSTDERR: utility.c:683:35: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf("(Empty suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:704:33: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf(" (empty suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:726:33: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf(" (empty suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:745:33: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf(" (empty suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:770:33: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf(" (empty suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:787:30: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf("(no option???)"); BUILDSTDERR: BUILDSTDERR: utility.c:844:28: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf("(no mode???)"); BUILDSTDERR: BUILDSTDERR: utility.c:1023:33: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf(" (empty suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:1036:38: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf("(partial suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:1058:35: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf("(partial suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:1099:33: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf(" (empty suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c:1124:39: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: netoprintf(" (partial suboption???)"); BUILDSTDERR: BUILDSTDERR: utility.c: In function 'fatal': BUILDSTDERR: utility.c:439:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: (void) write(f, buf, (int)strlen(buf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS global.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ sys_bsd.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ telnet.c -c BUILDSTDERR: sys_bsd.c: In function 'TerminalNewMode': BUILDSTDERR: sys_bsd.c:651:2: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: (void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); BUILDSTDERR: ^ BUILDSTDERR: In file included from telnet_locl.h:48, BUILDSTDERR: from sys_bsd.c:37: BUILDSTDERR: /usr/include/signal.h:173:12: note: declared here BUILDSTDERR: extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: sys_bsd.c:651:2: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: (void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); BUILDSTDERR: ^ BUILDSTDERR: In file included from telnet_locl.h:48, BUILDSTDERR: from sys_bsd.c:37: BUILDSTDERR: /usr/include/signal.h:170:12: note: declared here BUILDSTDERR: extern int sigblock (int __mask) __THROW __attribute_deprecated__; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: sys_bsd.c:652:8: warning: extra tokens at end of #else directive [-Wendif-labels] BUILDSTDERR: # else SOLARIS BUILDSTDERR: ^~~~~~~ BUILDSTDERR: sys_bsd.c:654:9: warning: extra tokens at end of #endif directive [-Wendif-labels] BUILDSTDERR: # endif SOLARIS BUILDSTDERR: ^~~~~~~ BUILDSTDERR: sys_bsd.c: At top level: BUILDSTDERR: sys_bsd.c:834:1: warning: no previous prototype for 'deadpeer' [-Wmissing-prototypes] BUILDSTDERR: deadpeer(int sig) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: sys_bsd.c:843:1: warning: no previous prototype for 'intr' [-Wmissing-prototypes] BUILDSTDERR: intr(int sig) BUILDSTDERR: ^~~~ BUILDSTDERR: sys_bsd.c:856:1: warning: no previous prototype for 'intr2' [-Wmissing-prototypes] BUILDSTDERR: intr2(int sig) BUILDSTDERR: ^~~~~ BUILDSTDERR: sys_bsd.c:886:1: warning: no previous prototype for 'sendwin' [-Wmissing-prototypes] BUILDSTDERR: sendwin(int sig) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: utility.c: In function 'printsub': BUILDSTDERR: utility.c:849:45: warning: '%s' directive output may be truncated writing up to 4 bytes into a region of size between 1 and 32 [-Wformat-truncation=] BUILDSTDERR: snprintf(tbuf, sizeof(tbuf), "%s%s%s%s%s", BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from utility.c:44: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 36 bytes into a destination of size 32 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: telnet.c: In function 'lm_will': BUILDSTDERR: telnet.c:987:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (NETROOM() > sizeof(str_lm)) { BUILDSTDERR: ^ BUILDSTDERR: telnet.c: In function 'lm_do': BUILDSTDERR: telnet.c:1023:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (NETROOM() > sizeof(str_lm)) { BUILDSTDERR: ^ BUILDSTDERR: telnet.c: In function 'lm_mode': BUILDSTDERR: telnet.c:1064:16: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (NETROOM() > sizeof(str_lm_mode)) { BUILDSTDERR: ^ BUILDSTDERR: telnet.c: In function 'slc_import': BUILDSTDERR: telnet.c:1188:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: if (NETROOM() > sizeof(slc_import_val)) { BUILDSTDERR: ^ BUILDSTDERR: telnet.c: In function 'wontoption': BUILDSTDERR: telnet.c:342:6: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: if (!kludgelinemode) BUILDSTDERR: ^ BUILDSTDERR: telnet.c:346:6: note: here BUILDSTDERR: case TELOPT_ECHO: BUILDSTDERR: ^~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS -DNO_REVOKE -DKLUDGELINEMODE -DDIAGNOSTICS setproctitle.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ terminal.c -c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ tn3270.c -c gcc -z now -pie telnetd.o state.o termstat.o slc.o sys_term.o utility.o global.o setproctitle.o -lutil -lutil -o telnetd make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ utilities.c -c BUILDSTDERR: terminal.c: In function 'ttyflush': BUILDSTDERR: terminal.c:134:31: warning: pointer targets in passing argument 1 of 'TerminalWrite' differ in signedness [-Wpointer-sign] BUILDSTDERR: n1 = TerminalWrite(ttyoring.bottom, n1); BUILDSTDERR: ~~~~~~~~^~~~~~~ BUILDSTDERR: In file included from telnet_locl.h:85, BUILDSTDERR: from terminal.c:37: BUILDSTDERR: externs.h:251:5: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: int TerminalWrite(char *buf, int n); BUILDSTDERR: ^~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D_GNU_SOURCE -DUSE_TERMIO -DKLUDGELINEMODE -I../ ../libtelnet/genget.c -c BUILDSTDERR: tn3270.c:72:1: warning: no previous prototype for 'init_3270' [-Wmissing-prototypes] BUILDSTDERR: init_3270(void) BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ../libtelnet/genget.c:39:14: warning: 'rcsid' defined but not used [-Wunused-variable] BUILDSTDERR: static char *rcsid = "$OpenBSD: genget.c,v 1.4 1998/03/12 04:48:50 art Exp $"; BUILDSTDERR: ^~~~~ BUILDSTDERR: utilities.c: In function 'printsub': BUILDSTDERR: utilities.c:275:10: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: char buf[512]; BUILDSTDERR: ^~~ gcc -z now -pie authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o tn3270.o utilities.o genget.o -lutil -lutil -lncurses -o telnet make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5FLMxQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64 + cd netkit-telnet-0.17 + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/sbin + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/man/man5 + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/man/man8 + make INSTALLROOT=/builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64 install (cd telnet && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' install -m755 telnet /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/bin install -m644 telnet.1 /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/man/man1 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' (cd telnetd && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' install -m755 telnetd /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/sbin/in.telnetd install -m644 issue.net.5 /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/man/man5/ install -m644 telnetd.8 /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/man/man8/in.telnetd.8 ln -sf in.telnetd.8 /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/man/man8/telnetd.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' + install -p -m644 /builddir/build/SOURCES/telnet@.service /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/lib/systemd/system/telnet@.service + install -p -m644 /builddir/build/SOURCES/telnet.socket /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/lib/systemd/system/telnet.socket + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.17-75.fc29 --unique-debug-suffix -0.17-75.fc29.riscv64 --unique-debug-src-base telnet-0.17-75.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-telnet-0.17 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/sbin/in.telnetd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/bin/telnet extracting debug info from /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/bin/telnet extracting debug info from /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/sbin/in.telnetd /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 859 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: telnet-0.17-75.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Hj5Giv + umask 022 + cd /builddir/build/BUILD + cd netkit-telnet-0.17 + DOCDIR=/builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/doc/telnet + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/doc/telnet + cp -pr README /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64/usr/share/doc/telnet + exit 0 Provides: telnet = 1:0.17-75.fc29 telnet(riscv-64) = 1:0.17-75.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) libutil.so.1()(64bit) rtld(GNU_HASH) Processing files: telnet-server-0.17-75.fc29.riscv64 Provides: telnet-server = 1:0.17-75.fc29 telnet-server(riscv-64) = 1:0.17-75.fc29 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libutil.so.1()(64bit) libutil.so.1(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: telnet-debugsource-0.17-75.fc29.riscv64 Provides: telnet-debugsource = 1:0.17-75.fc29 telnet-debugsource(riscv-64) = 1:0.17-75.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: telnet-debuginfo-0.17-75.fc29.riscv64 Provides: debuginfo(build-id) = e5bfa22f83ca7b459fe781ec4c7f93bf0f250f19 telnet-debuginfo = 1:0.17-75.fc29 telnet-debuginfo(riscv-64) = 1:0.17-75.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: telnet-debugsource(riscv-64) = 1:0.17-75.fc29 Processing files: telnet-server-debuginfo-0.17-75.fc29.riscv64 Provides: debuginfo(build-id) = ebaf18de84338fdc90157222226183ad20dc37c3 telnet-server-debuginfo = 1:0.17-75.fc29 telnet-server-debuginfo(riscv-64) = 1:0.17-75.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: telnet-debugsource(riscv-64) = 1:0.17-75.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64 Wrote: /builddir/build/RPMS/telnet-0.17-75.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/telnet-server-0.17-75.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/telnet-debugsource-0.17-75.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/telnet-debuginfo-0.17-75.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/telnet-server-debuginfo-0.17-75.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SHq3vz + umask 022 + cd /builddir/build/BUILD + cd netkit-telnet-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/telnet-0.17-75.fc29.riscv64 + exit 0 Child return code was: 0