Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/telnet.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684961127.569146/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vq3sek8k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vq3sek8k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ae829568147b4527a574b7b011ea6e8a', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684961127.569146/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vq3sek8k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (29 usages found), use %patch N (or %patch -P N) Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1679270400 Wrote: /builddir/build/SRPMS/telnet-0.17-89.fc39.src.rpm RPM build warnings: %patchN is deprecated (29 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/telnet.spec'], chrootPath='/var/lib/mock/fedora-rawhide-s390x-1684961127.569146/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vq3sek8k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vq3sek8k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6d489ef61b70430881eebc9d9a8ab47f', '-D', '/var/lib/mock/fedora-rawhide-s390x-1684961127.569146/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vq3sek8k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (29 usages found), use %patch N (or %patch -P N) Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1679270400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.molnmE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-telnet-0.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netkit-telnet-0.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-telnet-0.17 + /usr/bin/mkdir -p SPECPARTS + /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/mkdir -p SPECPARTS + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/telnet-client.tar.gz + 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 -f -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):' Patch #5 (telnetd-0.17.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .fix --fuzz=0 patching file telnetd/telnetd.c patching file telnetd/defs.h Patch #6 (telnet-0.17-env.patch): + echo 'Patch #6 (telnet-0.17-env.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -p1 -b --suffix .nodns --fuzz=0 patching file telnetd/telnetd.c Patch #21 (telnet-0.17-errno_test_sys_bsd.patch): + echo 'Patch #21 (telnet-0.17-errno_test_sys_bsd.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -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 -f -p1 -b --suffix .log-address --fuzz=0 patching file telnetd/telnetd.8 patching file telnetd/telnetd.c Patch #33 (telnet-0.17-overflow-exploit.patch): + echo 'Patch #33 (telnet-0.17-overflow-exploit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .overflow --fuzz=0 patching file telnetd/utility.c Hunk #1 succeeded at 219 (offset -2 lines). Hunk #2 succeeded at 276 (offset -2 lines). Hunk #3 succeeded at 284 (offset -2 lines). Hunk #4 succeeded at 296 (offset -2 lines). Patch #34 (telnet-0.17-pty-retry.patch): + echo 'Patch #34 (telnet-0.17-pty-retry.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pty-retry --fuzz=0 patching file telnetd/telnetd.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.T4Sus5 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-telnet-0.17 + export 'CC_FLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE' + CC_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE' + export 'LD_FLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -z now -pie' + LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 Checking if C++ compiler works... yes Checking if g++ accepts gcc warnings... yes Checking if gcc accepts -O2... yes Checking if g++ accepts -O2... yes Checking if g++ accepts -fno-rtti... yes Checking if g++ accepts -fno-exceptions... yes Checking for BSD signal semantics... yes Checking for ncurses... yes Checking for GNU libc... yes Checking for forkpty... yes Checking for logwtmp... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + perl -pi -e ' s,-O2,\$(CC_FLAGS),; s,LDFLAGS=.*,LDFLAGS=\$(LD_FLAGS),; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; ' MCONFIG + perl -pi -e 's|install[ ]+-s|install|g' ./telnet/GNUmakefile ./telnetd/Makefile ./telnetlogin/Makefile ./telnet-NETKIT/Makefile + /usr/bin/make -O -j2 V=1 VERBOSE=1 (cd telnet && /usr/bin/make) (cd telnetd && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' telnetd.c: In function 'main': telnetd.c:388:14: warning: passing argument 1 of 'doit' from incompatible pointer type [-Wincompatible-pointer-types] 388 | doit(&from, fromlen); | ^~~~~ | | | struct sockaddr_storage * telnetd.c:72:35: note: expected 'struct sockaddr *' but argument is of type 'struct sockaddr_storage *' 72 | static void doit(struct sockaddr *who, socklen_t wholen); | ~~~~~~~~~~~~~~~~~^~~ make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' state.c: In function 'suboption': state.c:1208:24: warning: comparison of distinct pointer types lacks a cast 1208 | if (cp < subbuffer+sizeof(subbuffer)-1) *cp++ = c; | ^ state.c: In function 'send_status': state.c:1369:20: warning: pointer targets in passing argument 1 of 'output_datalen' differ in signedness [-Wpointer-sign] 1369 | output_datalen(statusbuf, ncp - statusbuf); | ^~~~~~~~~ | | | unsigned char * In file included from telnetd.h:39, from state.c:41: ext.h:92:24: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | void output_datalen(const char *, int); | ^~~~~~~~~~~~ state.c: In function 'willoption': state.c:519:46: warning: this statement may fall through [-Wimplicit-fallthrough=] 519 | slctab[SLC_XOFF].defset.flag |= SLC_DEFAULT; | ^ state.c:520:13: note: here 520 | case TELOPT_TTYPE: | ^~~~ make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 commands.c:258:63: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(const char *)' [-Wcast-function-type] 258 | { "synch", "Perform Telnet 'Synch operation'", 1, 0, (send_handler_t)dosynch, 2, 0 }, | ^ commands.c:259:63: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(const char *)' [-Wcast-function-type] 259 | { "getstatus", "Send request for STATUS", 1, 0, (send_handler_t)get_status, 6, 0 }, | ^ commands.c: In function 'send_tncmd': commands.c:400:18: warning: passing argument 1 of 'isprefix' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 400 | if (isprefix(name, "help") || isprefix(name, "?")) { | ^~~~ In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from telnet_locl.h:43, from commands.c:37: ../libtelnet/misc-proto.h:80:19: note: expected 'char *' but argument is of type 'const char *' 80 | int isprefix __P((char *, char *)); | ^~~~~~ commands.c:400:44: warning: passing argument 1 of 'isprefix' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 400 | if (isprefix(name, "help") || isprefix(name, "?")) { | ^~~~ ../libtelnet/misc-proto.h:80:19: note: expected 'char *' but argument is of type 'const char *' 80 | int isprefix __P((char *, char *)); | ^~~~~~ commands.c:420:27: warning: passing argument 1 of 'genget' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 420 | cpp = (char **)genget(name, telopts, sizeof(char *)); | ^~~~ ../libtelnet/misc-proto.h:79:20: note: expected 'char *' but argument is of type 'const char *' 79 | char **genget __P((char *, char **, int)); | ^~~~~~ commands.c: At top level: commands.c:860:58: warning: cast between incompatible function types from 'void (*)(char *)' to 'void (*)(int)' [-Wcast-function-type] 860 | { "tracefile", "file to write trace information to", (set_handler_t)SetNetTrace, (cc_t *)NetTraceFile}, | ^ commands.c: In function 'setcmd': commands.c:964:28: warning: passing argument 1 of 'ct->handler' makes integer from pointer without a cast [-Wint-conversion] 964 | (*ct->handler)(argv[2]); | ~~~~^~~ | | | char * commands.c:964:28: note: expected 'int' but argument is of type 'char *' commands.c: In function 'shell': commands.c:1382:17: warning: missing sentinel in function call [-Wformat=] 1382 | execl(shellp, shellname, "-c", &saveline[1], 0); | ^~~~~ commands.c:1384:17: warning: missing sentinel in function call [-Wformat=] 1384 | execl(shellp, shellname, 0); | ^~~~~ commands.c: At top level: commands.c:1542:49: warning: cast between incompatible function types from 'struct env_lst * (*)(unsigned char *, unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] 1542 | (env_handler_t)env_define, 2 }, | ^ commands.c:1544:49: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] 1544 | (env_handler_t)env_undefine, 1 }, | ^ commands.c:1546:49: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] 1546 | (env_handler_t)env_export, 1 }, | ^ commands.c:1548:49: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] 1548 | (env_handler_t)env_unexport, 1 }, | ^ commands.c:1549:49: warning: cast between incompatible function types from 'void (*)(unsigned char *)' to 'void (*)(unsigned char *, unsigned char *)' [-Wcast-function-type] 1549 | { "send", "Send an environment variable", (env_handler_t)env_send, 1 }, | ^ commands.c: In function 'env_cmd': commands.c:1612:23: warning: pointer targets in passing argument 1 of 'c->handler' differ in signedness [-Wpointer-sign] 1612 | (*c->handler)(argv[2], argv[3]); | ~~~~^~~ | | | char * commands.c:1612:23: note: expected 'unsigned char *' but argument is of type 'char *' commands.c:1612:32: warning: pointer targets in passing argument 2 of 'c->handler' differ in signedness [-Wpointer-sign] 1612 | (*c->handler)(argv[2], argv[3]); | ~~~~^~~ | | | char * commands.c:1612:32: note: expected 'unsigned char *' but argument is of type 'char *' commands.c: In function 'env_init': commands.c:1662:28: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] 1662 | if ((ep = env_find("DISPLAY")) | ^~~~~~~~~ | | | char * commands.c:1628:25: note: expected 'unsigned char *' but argument is of type 'char *' 1628 | env_find(unsigned char *var) | ~~~~~~~~~~~~~~~^~~ commands.c:1696:23: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] 1696 | if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { | ^~~~~~ | | | char * commands.c:1628:25: note: expected 'unsigned char *' but argument is of type 'char *' 1628 | env_find(unsigned char *var) | ~~~~~~~~~~~~~~~^~~ commands.c:1696:58: warning: pointer targets in passing argument 1 of 'env_find' differ in signedness [-Wpointer-sign] 1696 | if ((env_find("USER") == NULL) && (ep = env_find("LOGNAME"))) { | ^~~~~~~~~ | | | char * commands.c:1628:25: note: expected 'unsigned char *' but argument is of type 'char *' 1628 | env_find(unsigned char *var) | ~~~~~~~~~~~~~~~^~~ commands.c: In function 'env_define': commands.c:1726:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1726 | if ((ep->var = strdup((char *)var)) == NULL) | ^ commands.c:1728:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1728 | if ((ep->value = strdup((char *)value)) == NULL) | ^ commands.c: In function 'tn': commands.c:2363:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 2363 | } else if (temp == -1) { | ^~ commands.c: At top level: commands.c:2555:41: warning: cast between incompatible function types from 'int (*)(void)' to 'int (*)(int, char **)' [-Wcast-function-type] 2555 | { "quit", quithelp, (cmd_handler_t)quit, 0 }, | ^ commands.c: In function 'help': commands.c:2716:43: warning: field width specifier '*' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 2716 | printf("%-*s\t%s\r\n", HELPINDENT, c->name, | ~~^~ | | | int commands.c: In function 'sourceroute': commands.c:2786:25: warning: unused variable 'host' [-Wunused-variable] 2786 | struct hostent *host = 0; | ^~~~ commands.c:2784:13: warning: unused variable 'tmp' [-Wunused-variable] 2784 | int tmp; | ^~~ commands.c: In function 'env_init': commands.c:1684:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 1684 | asprintf (&cp, "%s%s", hbuf, cp2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'tn': commands.c:2289:16: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2289 | (void) fgets(&line[strlen(line)], sizeof(line) - strlen(line), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: In function 'setescape': commands.c:1294:24: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1294 | (void) fgets(buf, sizeof(buf), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ commands.c: At top level: commands.c:45:13: warning: '_hostname' defined but not used [-Wunused-variable] 45 | static char _hostname[MAXHOSTNAMELEN]; | ^~~~~~~~~ commands.c: In function 'tn': commands.c:2271:41: warning: variable 'user' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 2271 | char *cmd, *hostp = 0, *portp = 0, *user = 0, *aliasp = 0; | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 main.c: In function 'main': main.c:165:44: warning: pointer targets in passing argument 1 of 'env_define' differ in signedness [-Wpointer-sign] 165 | env_define("DISPLAY", (unsigned char*)p); | ^~~~~~~~~ | | | char * In file included from telnet_locl.h:85, from main.c:43: externs.h:197:29: note: expected 'unsigned char *' but argument is of type 'char *' 197 | struct env_lst *env_define (unsigned char *, unsigned char *); | ^~~~~~~~~~~~~~~ main.c: At top level: main.c:38:13: warning: 'copyright' defined but not used [-Wunused-variable] 38 | static char copyright[] = | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' sys_term.c: In function 'start_login': sys_term.c:671:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 671 | write(1,"I don't hear you!\r\n",19); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sys_term.c: In function 'cleanup': sys_term.c:741:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 741 | chown(line, 0, 0); | ^~~~~~~~~~~~~~~~~ sys_term.c:744:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 744 | chown(line, 0, 0); | ^~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' utility.c: In function 'printsub': utility.c:693:42: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 693 | netoprintf("(Empty suboption???)"); | utility.c:714:47: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 714 | netoprintf(" (empty suboption???)"); | utility.c:736:47: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 736 | netoprintf(" (empty suboption???)"); | utility.c:755:47: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 755 | netoprintf(" (empty suboption???)"); | utility.c:780:47: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 780 | netoprintf(" (empty suboption???)"); | utility.c:797:44: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 797 | netoprintf("(no option???)"); | utility.c:854:42: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 854 | netoprintf("(no mode???)"); | utility.c:1033:47: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 1033 | netoprintf(" (empty suboption???)"); | utility.c:1046:52: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 1046 | netoprintf("(partial suboption???)"); | utility.c:1068:56: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 1068 | netoprintf("(partial suboption???)"); | utility.c:1109:47: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 1109 | netoprintf(" (empty suboption???)"); | utility.c:1134:53: warning: trigraph ??) ignored, use -trigraphs to enable [-Wtrigraphs] 1134 | netoprintf(" (partial suboption???)"); | utility.c: In function 'fatal': utility.c:449:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 449 | (void) write(f, buf, (int)strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utility.c: In function 'printsub.part.0': utility.c:859:59: warning: '%s' directive output may be truncated writing up to 4 bytes into a region of size between 1 and 32 [-Wformat-truncation=] 859 | snprintf(tbuf, sizeof(tbuf), "%s%s%s%s%s", | ^~ In file included from /usr/include/stdio.h:964, from utility.c:44: In function 'snprintf', inlined from 'printsub.part.0' at utility.c:859:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 1 and 36 bytes into a destination of size 32 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 sys_bsd.c: In function 'TerminalNewMode': sys_bsd.c:651:9: warning: 'sigsetmask' is deprecated [-Wdeprecated-declarations] 651 | (void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); | ^ In file included from telnet_locl.h:48, from sys_bsd.c:37: /usr/include/signal.h:176:12: note: declared here 176 | extern int sigsetmask (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~~~ sys_bsd.c:651:9: warning: 'sigblock' is deprecated [-Wdeprecated-declarations] 651 | (void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1))); | ^ /usr/include/signal.h:173:12: note: declared here 173 | extern int sigblock (int __mask) __THROW __attribute_deprecated__; | ^~~~~~~~ sys_bsd.c:652:9: warning: extra tokens at end of #else directive [-Wendif-labels] 652 | # else SOLARIS | ^~~~~~~ sys_bsd.c:654:9: warning: extra tokens at end of #endif directive [-Wendif-labels] 654 | # endif SOLARIS | ^~~~~~~ sys_bsd.c: At top level: sys_bsd.c:834:1: warning: no previous prototype for 'deadpeer' [-Wmissing-prototypes] 834 | deadpeer(int sig) | ^~~~~~~~ sys_bsd.c:843:1: warning: no previous prototype for 'intr' [-Wmissing-prototypes] 843 | intr(int sig) | ^~~~ sys_bsd.c:856:1: warning: no previous prototype for 'intr2' [-Wmissing-prototypes] 856 | intr2(int sig) | ^~~~~ sys_bsd.c:886:1: warning: no previous prototype for 'sendwin' [-Wmissing-prototypes] 886 | sendwin(int sig) | ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 telnet.c: In function 'lm_will': telnet.c:987:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 987 | if (NETROOM() > sizeof(str_lm)) { | ^ telnet.c: In function 'lm_do': telnet.c:1023:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1023 | if (NETROOM() > sizeof(str_lm)) { | ^ telnet.c: In function 'lm_mode': telnet.c:1064:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1064 | if (NETROOM() > sizeof(str_lm_mode)) { | ^ telnet.c: In function 'slc_import': telnet.c:1188:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1188 | if (NETROOM() > sizeof(slc_import_val)) { | ^ telnet.c: In function 'wontoption': telnet.c:342:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 342 | if (!kludgelinemode) | ^ telnet.c:346:13: note: here 346 | case TELOPT_ECHO: | ^~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 terminal.c: In function 'ttyflush': terminal.c:134:52: warning: pointer targets in passing argument 1 of 'TerminalWrite' differ in signedness [-Wpointer-sign] 134 | n1 = TerminalWrite(ttyoring.bottom, n1); | ~~~~~~~~^~~~~~~ | | | unsigned char * In file included from telnet_locl.h:85, from terminal.c:37: externs.h:251:25: note: expected 'char *' but argument is of type 'unsigned char *' 251 | int TerminalWrite(char *buf, int n); | ~~~~~~^~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 tn3270.c:72:1: warning: no previous prototype for 'init_3270' [-Wmissing-prototypes] 72 | init_3270(void) | ^~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -z now -pie telnetd.o state.o termstat.o slc.o sys_term.o utility.o global.o setproctitle.o -o telnetd make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 ../libtelnet/genget.c:39:14: warning: 'rcsid' defined but not used [-Wunused-variable] 39 | static char *rcsid = "$OpenBSD: genget.c,v 1.4 1998/03/12 04:48:50 art Exp $"; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -fPIE -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -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 utilities.c: In function 'printsub': utilities.c:275:10: warning: unused variable 'buf' [-Wunused-variable] 275 | char buf[512]; | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' make[1]: Entering directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 -lncurses -o telnet make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnet' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ricyP1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x ++ dirname /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -fuse-ld=lld -Wl,--build-id=sha1 -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-telnet-0.17 + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/bin + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/sbin + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/man/man5 + mkdir -p /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/man/man8 + make INSTALLROOT=/builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x 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-89.fc39.s390x/usr/bin install -m644 telnet.1 /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/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-89.fc39.s390x/usr/sbin/in.telnetd install -m644 issue.net.5 /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/man/man5/ install -m644 telnetd.8 /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/man/man8/in.telnetd.8 ln -sf in.telnetd.8 /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/man/man8/telnetd.8 make[1]: Leaving directory '/builddir/build/BUILD/netkit-telnet-0.17/telnetd' + install -D -p -m644 /builddir/build/SOURCES/telnet@.service /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/lib/systemd/system/telnet@.service + install -D -p -m644 /builddir/build/SOURCES/telnet.socket /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/lib/systemd/system/telnet.socket + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.17-89.fc39 --unique-debug-suffix -0.17-89.fc39.s390x --unique-debug-src-base telnet-0.17-89.fc39.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-telnet-0.17 extracting debug info from /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/bin/telnet extracting debug info from /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/sbin/in.telnetd /usr/bin/gdb.minimal /usr/bin/gdb.minimal original debug info size: 452kB, size after compression: 424kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 861 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: telnet-0.17-89.fc39.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nLq6Ye + umask 022 + cd /builddir/build/BUILD + cd netkit-telnet-0.17 + DOCDIR=/builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/doc/telnet + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/doc/telnet + cp -pr /builddir/build/BUILD/netkit-telnet-0.17/README /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x/usr/share/doc/telnet + RPM_EC=0 ++ jobs -p + exit 0 Provides: telnet = 1:0.17-89.fc39 telnet(s390-64) = 1:0.17-89.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: telnet-server-0.17-89.fc39.s390x Provides: telnet-server = 1:0.17-89.fc39 telnet-server(s390-64) = 1:0.17-89.fc39 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: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) rtld(GNU_HASH) Processing files: telnet-debugsource-0.17-89.fc39.s390x Provides: telnet-debugsource = 1:0.17-89.fc39 telnet-debugsource(s390-64) = 1:0.17-89.fc39 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-89.fc39.s390x Provides: debuginfo(build-id) = 4116be5d65e00ccd6657df301717a529624548ff telnet-debuginfo = 1:0.17-89.fc39 telnet-debuginfo(s390-64) = 1:0.17-89.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: telnet-debugsource(s390-64) = 1:0.17-89.fc39 Processing files: telnet-server-debuginfo-0.17-89.fc39.s390x Provides: debuginfo(build-id) = 6cd1608a980da2681cb99f437440501502985c6c telnet-server-debuginfo = 1:0.17-89.fc39 telnet-server-debuginfo(s390-64) = 1:0.17-89.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: telnet-debugsource(s390-64) = 1:0.17-89.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x Wrote: /builddir/build/RPMS/telnet-debuginfo-0.17-89.fc39.s390x.rpm Wrote: /builddir/build/RPMS/telnet-debugsource-0.17-89.fc39.s390x.rpm Wrote: /builddir/build/RPMS/telnet-0.17-89.fc39.s390x.rpm Wrote: /builddir/build/RPMS/telnet-server-debuginfo-0.17-89.fc39.s390x.rpm Wrote: /builddir/build/RPMS/telnet-server-0.17-89.fc39.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oDCNko + umask 022 + cd /builddir/build/BUILD + cd netkit-telnet-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/telnet-0.17-89.fc39.s390x + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.RvbzwI + umask 022 + cd /builddir/build/BUILD + rm -rf netkit-telnet-0.17 netkit-telnet-0.17.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (29 usages found), use %patch N (or %patch -P N) Child return code was: 0