Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ftp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672242260.812076/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.subyx86t:/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.subyx86t:/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', 'f774e1efe1bb4abaa77020cd7cba39e6', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672242260.812076/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.subyx86t:/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 x86_64 --nodeps /builddir/build/SPECS/ftp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ftp-0.17-90.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ftp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672242260.812076/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.subyx86t:/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.subyx86t:/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', '2b8e200471f948f8a35038b9eb2cd96e', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672242260.812076/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.subyx86t:/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 x86_64 --nodeps /builddir/build/SPECS/ftp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pZvVgS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netkit-ftp-0.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/netkit-ftp-0.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netkit-ftp-0.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (netkit-ftp-0.17-pre20000412.pasv-security.patch):' Patch #1 (netkit-ftp-0.17-pre20000412.pasv-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ftp/ftp.1 patching file ftp/ftp.c patching file ftp/main.c + echo 'Patch #2 (netkit-ftp-0.17-acct.patch):' Patch #2 (netkit-ftp-0.17-acct.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .acct --fuzz=0 patching file ftp/ftp.c + echo 'Patch #3 (netkit-ftp.usagi-ipv6.patch):' Patch #3 (netkit-ftp.usagi-ipv6.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0 patching file ChangeLog patching file configure patching file ftp/CVS/Entries patching file ftp/CVS/Repository patching file ftp/CVS/Root patching file ftp/Makefile patching file ftp/cmds.c patching file ftp/cmdtab.c patching file ftp/domacro.c patching file ftp/ftp.1 patching file ftp/ftp.c Hunk #6 succeeded at 488 (offset 1 line). Hunk #7 succeeded at 503 (offset 1 line). Hunk #8 succeeded at 1183 (offset 1 line). Hunk #9 succeeded at 1210 (offset 1 line). Hunk #10 succeeded at 1433 (offset 1 line). Hunk #11 succeeded at 1484 (offset 1 line). Hunk #12 succeeded at 1502 (offset 1 line). Hunk #13 succeeded at 1518 (offset 1 line). Hunk #14 succeeded at 1585 (offset 1 line). Hunk #15 succeeded at 1624 (offset 1 line). Hunk #16 succeeded at 1653 (offset 1 line). patching file ftp/ftp_var.h Patch #4 (netkit-ftp-0.17-segv.patch): + echo 'Patch #4 (netkit-ftp-0.17-segv.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .segv --fuzz=0 patching file ftp/ftp.c Hunk #3 succeeded at 1801 (offset 2 lines). Hunk #4 succeeded at 1831 (offset 2 lines). Hunk #5 succeeded at 1918 (offset 2 lines). patching file ftp/main.c Patch #5 (netkit-ftp-0.17-volatile.patch): + echo 'Patch #5 (netkit-ftp-0.17-volatile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .volatile --fuzz=0 patching file configure Patch #6 (netkit-ftp-0.17-runique_mget.patch): + echo 'Patch #6 (netkit-ftp-0.17-runique_mget.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .runique_mget --fuzz=0 patching file ftp/ftp.c Hunk #1 succeeded at 932 (offset 9 lines). Patch #7 (netkit-ftp-locale.patch): + echo 'Patch #7 (netkit-ftp-locale.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .locale --fuzz=0 patching file ftp/main.c Patch #8 (netkit-ftp-0.17-printf.patch): + echo 'Patch #8 (netkit-ftp-0.17-printf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .printf --fuzz=0 patching file ftp/cmds.c Patch #9 (netkit-ftp-0.17-longint.patch): + echo 'Patch #9 (netkit-ftp-0.17-longint.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .longint --fuzz=0 patching file ftp/ftp.c Patch #10 (netkit-ftp-0.17-vsftp165083.patch): + echo 'Patch #10 (netkit-ftp-0.17-vsftp165083.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .vsftp165083 --fuzz=0 patching file ftp/ftp.c Patch #11 (netkit-ftp-0.17-C-Frame121.patch): + echo 'Patch #11 (netkit-ftp-0.17-C-Frame121.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .C-Frame121 --fuzz=0 patching file ftp/ftp.c Patch #12 (netkit-ftp-0.17-data.patch): + echo 'Patch #12 (netkit-ftp-0.17-data.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .data --fuzz=0 patching file ftp/ftp.c Patch #13 (netkit-ftp-0.17-multihome.patch): + echo 'Patch #13 (netkit-ftp-0.17-multihome.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multihome --fuzz=0 patching file ftp/ftp_var.h patching file ftp/ftp.c patching file ftp/main.c patching file ftp/ftp.1 Patch #14 (netkit-ftp-0.17-longnames.patch): + echo 'Patch #14 (netkit-ftp-0.17-longnames.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .patch --fuzz=0 patching file ftp/cmds.c patching file ftp/ftp.c patching file ftp/ftp_var.h Patch #15 (netkit-ftp-0.17-multiipv6.patch): + echo 'Patch #15 (netkit-ftp-0.17-multiipv6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multiipv6 --fuzz=0 patching file ftp/ftp.c Patch #16 (netkit-ftp-0.17-nodebug.patch): + echo 'Patch #16 (netkit-ftp-0.17-nodebug.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nodebug --fuzz=0 patching file ftp/Makefile Patch #17 (netkit-ftp-0.17-stamp.patch): + echo 'Patch #17 (netkit-ftp-0.17-stamp.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stamp --fuzz=0 patching file ftp/Makefile Patch #18 (netkit-ftp-0.17-sigseg.patch): + echo 'Patch #18 (netkit-ftp-0.17-sigseg.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sigseg --fuzz=0 patching file ftp/ftp.c Patch #19 (netkit-ftp-0.17-size.patch): + echo 'Patch #19 (netkit-ftp-0.17-size.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .size --fuzz=0 patching file ftp/cmds.c Patch #20 (netkit-ftp-0.17-fdleak.patch): + echo 'Patch #20 (netkit-ftp-0.17-fdleak.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fdleak --fuzz=0 patching file ftp/cmds.c Patch #21 (netkit-ftp-0.17-fprintf.patch): + echo 'Patch #21 (netkit-ftp-0.17-fprintf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fprintf --fuzz=0 patching file ftp/cmds.c Patch #22 (netkit-ftp-0.17-bitrate.patch): + echo 'Patch #22 (netkit-ftp-0.17-bitrate.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bitrate --fuzz=0 patching file ftp/ftp.c Patch #23 (netkit-ftp-0.17-arg_max.patch): + echo 'Patch #23 (netkit-ftp-0.17-arg_max.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .arg_max --fuzz=0 patching file ftp/glob.c Patch #24 (netkit-ftp-0.17-case.patch): + echo 'Patch #24 (netkit-ftp-0.17-case.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .case --fuzz=0 patching file ftp/cmds.c Patch #25 (netkit-ftp-0.17-chkmalloc.patch): + echo 'Patch #25 (netkit-ftp-0.17-chkmalloc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chkmalloc --fuzz=0 patching file ftp/ruserpass.c + echo 'Patch #26 (netkit-ftp-0.17-man.patch):' Patch #26 (netkit-ftp-0.17-man.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man --fuzz=0 patching file ftp/ftp.1 Patch #27 (netkit-ftp-0.17-acct_ovl.patch): + echo 'Patch #27 (netkit-ftp-0.17-acct_ovl.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .acct_ovl --fuzz=0 patching file ftp/cmds.c Patch #28 (netkit-ftp-0.17-remove-nested-include.patch): + echo 'Patch #28 (netkit-ftp-0.17-remove-nested-include.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file ftp/ftp.c Patch #29 (netkit-ftp-0.17-linelen.patch): + echo 'Patch #29 (netkit-ftp-0.17-linelen.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linelen --fuzz=0 patching file ftp/ftp_var.h Hunk #1 succeeded at 53 (offset -1 lines). Hunk #2 succeeded at 109 (offset -1 lines). patching file ftp/domacro.c + echo 'Patch #30 (netkit-ftp-0.17-active-mode-option.patch):' Patch #30 (netkit-ftp-0.17-active-mode-option.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .activemode --fuzz=0 patching file ftp/main.c patching file ftp/ftp.1 Patch #31 (netkit-ftp-0.17-commands-leaks.patch): + echo 'Patch #31 (netkit-ftp-0.17-commands-leaks.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cmds-leaks --fuzz=0 patching file ftp/cmds.c Patch #32 (netkit-ftp-0.17-lsn-timeout.patch): + echo 'Patch #32 (netkit-ftp-0.17-lsn-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lsn-timeout --fuzz=0 patching file ftp/ftp.c Patch #33 (netkit-ftp-0.17-getlogin.patch): + echo 'Patch #33 (netkit-ftp-0.17-getlogin.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .getlogin --fuzz=0 patching file ftp/ftp.c patching file ftp/main.c Patch #34 (netkit-ftp-0.17-token.patch): + echo 'Patch #34 (netkit-ftp-0.17-token.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .token --fuzz=0 patching file ftp/ruserpass.c Patch #35 (netkit-ftp-0.17-linelen-segfault.patch): + echo 'Patch #35 (netkit-ftp-0.17-linelen-segfault.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .linelen-segfault --fuzz=0 patching file ftp/main.c + echo 'Patch #36 (netkit-ftp-0.17-out-of-memory.patch):' Patch #36 (netkit-ftp-0.17-out-of-memory.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .out-of-memory --fuzz=0 patching file ftp/glob.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IP7zmV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-ftp-0.17 + sh configure --with-c-compiler=gcc --enable-ipv6 Directories: /usr/bin /usr/man Checking if C compiler works... yes Checking if gcc accepts gcc warnings... yes Checking if gcc accepts -O2... yes Whether to enable IPv6 support... yes Search for IPv6 library... not found Checking for BSD signal semantics... __conftest.c: In function 'handle': __conftest.c:4:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4 | void handle(int foo) { count++; write(1,"X",1);} | ^~~~~~~~~~~~~~ XXXyes Checking for ncurses... yes Checking for GNU libc... yes Checking for libreadline... yes Checking for socklen_t... yes Checking for snprintf declaration... ok Checking for snprintf implementation... ok Generating MCONFIG... + perl -pi -e ' s,^CC=.*$,CC=cc,; s,-O2,\$(RPM_OPT_FLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,; s,^LDFLAGS=.*$,LDFLAGS=\$(RPM_LD_FLAGS),; s,^BINDIR=.*$,BINDIR=/usr/bin,; s,^MANDIR=.*$,MANDIR=/usr/share/man,; s,^SBINDIR=.*$,SBINDIR=/usr/sbin,; ' MCONFIG + /usr/bin/make -O -j2 V=1 VERBOSE=1 (cd ftp && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ cmdtab.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ domacro.c -c domacro.c: In function 'domacro': domacro.c:100:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | if (*(cp1+1) == 'i') { | ^ domacro.c:110:29: note: here 110 | default: | ^~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ cmds.c -c cmds.c: In function 'domap': cmds.c:2167:36: warning: this statement may fall through [-Wimplicit-fallthrough=] 2167 | if (isdigit(*(cp2 + 1))) { | ^ cmds.c:2185:25: note: here 2185 | default: | ^~~~~~~ cmds.c: In function 'user': cmds.c:1548:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1548 | fgets(theacct, sizeof(theacct), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ ftp.c -c ftp.c: In function 'hookup': ftp.c:197:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 197 | strncpy(hostnamebuf, host, sizeof(hostnamebuf)); | ^ ftp.c:194:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 194 | strncpy(hostnamebuf, res0->ai_canonname, sizeof(hostnamebuf)); | ^ make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ main.c -c main.c: In function 'main': main.c:289:17: warning: 'strncpy' specified bound 4296 equals destination size [-Wstringop-truncation] 289 | strncpy(buf, lineread, buflen); | ^ make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ glob.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -DINET6 -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -D__USE_READLINE__ ruserpass.c -c make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -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 cmds.o cmdtab.o domacro.o ftp.o glob.o main.o ruserpass.o -lreadline -lncurses -o ftp make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Aa0TsG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd netkit-ftp-0.17 + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/share/man/man5 + make INSTALLROOT=/builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64 install (cd ftp && make install) make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' install -p -d /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/bin install -p -m755 ftp /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/bin ln -sf ftp /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/bin/pftp install -p -d /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/share/man/man1 install -p -m644 ftp.1 /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/share/man/man1 ln -sf ftp.1 /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/share/man/man1/pftp.1 install -p -d /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/share/man/man5 install -p -m644 netrc.5 /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/share/man/man5 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.17-90.fc38 --unique-debug-suffix -0.17-90.fc38.x86_64 --unique-debug-src-base ftp-0.17-90.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-ftp-0.17 extracting debug info from /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64/usr/bin/ftp original debug info size: 280kB, size after compression: 260kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 296 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ftp-0.17-90.fc38.x86_64 Provides: ftp = 0.17-90.fc38 ftp(x86-64) = 0.17-90.fc38 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.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: ftp-debugsource-0.17-90.fc38.x86_64 Provides: ftp-debugsource = 0.17-90.fc38 ftp-debugsource(x86-64) = 0.17-90.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ftp-debuginfo-0.17-90.fc38.x86_64 Provides: debuginfo(build-id) = 573dd180e273fd7ac4922fda89214e9bd1c36cd2 ftp-debuginfo = 0.17-90.fc38 ftp-debuginfo(x86-64) = 0.17-90.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ftp-debugsource(x86-64) = 0.17-90.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64 Wrote: /builddir/build/RPMS/ftp-debugsource-0.17-90.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ftp-debuginfo-0.17-90.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ftp-0.17-90.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.v3dqIr + umask 022 + cd /builddir/build/BUILD + cd netkit-ftp-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ftp-0.17-90.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cimWcL + umask 022 + cd /builddir/build/BUILD + rm -rf netkit-ftp-0.17 netkit-ftp-0.17.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0