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/openeuler-23.09-x86_64-1722613988.772774/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} and shell False warning: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ftp-0.17-89.src.rpm RPM build warnings: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Child return code was: 0 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/openeuler-23.09-x86_64-1722613988.772774/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} and shell False warning: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ftp-0.17-89.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 --target x86_64 --nodeps /builddir/build/SPECS/ftp.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1722613988.772774/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=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['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'} and shell False warning: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Eja4Tw + 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 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 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 + echo 'Patch #5 (netkit-ftp-0.17-volatile.patch):' 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 + echo 'Patch #19 (netkit-ftp-0.17-size.patch):' 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 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 + echo 'Patch #32 (netkit-ftp-0.17-lsn-timeout.patch):' 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 + echo 'Patch #34 (netkit-ftp-0.17-token.patch):' 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.ASgYSO + umask 022 + cd /builddir/build/BUILD + 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... 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 -j4 V=1 VERBOSE=1 (cd ftp && /usr/bin/make) make[1]: Entering directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -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 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.no5iPu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ftp-0.17-89.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ftp-0.17-89.x86_64 ++ dirname /builddir/build/BUILDROOT/ftp-0.17-89.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ftp-0.17-89.x86_64 + cd netkit-ftp-0.17 + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/bin + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/share/man/man5 + make INSTALLROOT=/builddir/build/BUILDROOT/ftp-0.17-89.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-89.x86_64/usr/bin install -p -m755 ftp /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/bin ln -sf ftp /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/bin/pftp install -p -d /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/share/man/man1 install -p -m644 ftp.1 /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/share/man/man1 ln -sf ftp.1 /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/share/man/man1/pftp.1 install -p -d /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/share/man/man5 install -p -m644 netrc.5 /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/share/man/man5 make[1]: Leaving directory '/builddir/build/BUILD/netkit-ftp-0.17/ftp' + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.17-89 --unique-debug-suffix -0.17-89.x86_64 --unique-debug-src-base ftp-0.17-89.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/netkit-ftp-0.17 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/bin/ftp extracting debug info from /builddir/build/BUILDROOT/ftp-0.17-89.x86_64/usr/bin/ftp Support for debuginfod is not compiled into GDB. 296 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: ftp-0.17-89.x86_64 Provides: ftp = 0.17-89 ftp(x86-64) = 0.17-89 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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libncurses.so.6()(64bit) libreadline.so.8()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: ftp-debuginfo-0.17-89.x86_64 Provides: ftp-debuginfo = 0.17-89 ftp-debuginfo(x86-64) = 0.17-89 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-89 Processing files: ftp-debugsource-0.17-89.x86_64 Provides: ftp-debugsource = 0.17-89 ftp-debugsource(x86-64) = 0.17-89 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ftp-0.17-89.x86_64 Wrote: /builddir/build/RPMS/ftp-debugsource-0.17-89.x86_64.rpm Wrote: /builddir/build/RPMS/ftp-0.17-89.x86_64.rpm Wrote: /builddir/build/RPMS/ftp-debuginfo-0.17-89.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.bw1rmA + umask 022 + cd /builddir/build/BUILD + cd netkit-ftp-0.17 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ftp-0.17-89.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.HiNAoE + umask 022 + cd /builddir/build/BUILD + rm -rf netkit-ftp-0.17 netkit-ftp-0.17.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (36 usages found), use %patch N (or %patch -P N) Child return code was: 0