Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ftp.spec'], chrootPath='/var/lib/mock/f40-build-795385-140106/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1lbyfbrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1lbyfbrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '25e464318d7a4aa4b39c2bd0b7182fde', '-D', '/var/lib/mock/f40-build-795385-140106/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1lbyfbrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --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 warning: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/ftp-0.17-95.fc40.src.rpm RPM build warnings: %patchN is deprecated (36 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/ftp.spec'], chrootPath='/var/lib/mock/f40-build-795385-140106/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1lbyfbrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1lbyfbrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'd221e457ae1e41819d9e424e171e5822', '-D', '/var/lib/mock/f40-build-795385-140106/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1lbyfbrw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target riscv64 --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 warning: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MnCMc8 + 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 + rm -rf /builddir/build/BUILD/netkit-ftp-0.17-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/netkit-ftp-0.17-SPECPARTS + /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 Patch #2 (netkit-ftp-0.17-acct.patch): + echo '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 Patch #3 (netkit-ftp.usagi-ipv6.patch): + echo '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 + echo 'Patch #4 (netkit-ftp-0.17-segv.patch):' 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 Patch #26 (netkit-ftp-0.17-man.patch): + echo '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 Patch #30 (netkit-ftp-0.17-active-mode-option.patch): + echo '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 Patch #36 (netkit-ftp-0.17-out-of-memory.patch): + echo '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.2EElBP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -j64 V=1 VERBOSE=1 (cd ftp && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' 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]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' main.c: In function ‘main’: main.c:289:17: warning: ‘__builtin_strncpy’ specified bound 4296 equals destination size [-Wstringop-truncation] 289 | strncpy(buf, lineread, buflen); | ^ make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' ftp.c: In function ‘hookup’: ftp.c:197:25: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 197 | strncpy(hostnamebuf, host, sizeof(hostnamebuf)); | ^ ftp.c:194:25: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 194 | strncpy(hostnamebuf, res0->ai_canonname, sizeof(hostnamebuf)); | ^ make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' 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]: 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-errors -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.F7VKZ0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-95.fc40.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/share/man/man5 + make INSTALLROOT=/builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64 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-95.fc40.riscv64/usr/bin install -p -m755 ftp /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/bin ln -sf ftp /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/bin/pftp install -p -d /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/share/man/man1 install -p -m644 ftp.1 /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/share/man/man1 ln -sf ftp.1 /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/share/man/man1/pftp.1 install -p -d /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/share/man/man5 install -p -m644 netrc.5 /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64/usr/share/man/man5 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 0.17-95.fc40 --unique-debug-suffix -0.17-95.fc40.riscv64 --unique-debug-src-base ftp-0.17-95.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/netkit-ftp-0.17 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ftp-0.17-95.fc40.riscv64 296 blocks find-debuginfo: done + /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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ftp-0.17-95.fc40.riscv64 Provides: ftp = 0.17-95.fc40 ftp(riscv-64) = 0.17-95.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH) Processing files: ftp-debugsource-0.17-95.fc40.riscv64 Provides: ftp-debugsource = 0.17-95.fc40 ftp-debugsource(riscv-64) = 0.17-95.fc40 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-95.fc40.riscv64 Provides: debuginfo(build-id) = f67b46bd32a10296078759a7559ea07d5154f535 ftp-debuginfo = 0.17-95.fc40 ftp-debuginfo(riscv-64) = 0.17-95.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ftp-debugsource(riscv-64) = 0.17-95.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ftp-0.17-95.fc40.riscv64 Wrote: /builddir/build/RPMS/ftp-0.17-95.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ftp-debugsource-0.17-95.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ftp-debuginfo-0.17-95.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Child return code was: 0