D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: Macro expanded in comment on line 141: %{_initrddir}/vsftpd

sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/vsftpd-3.0.5-3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fKxnSm
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bcvWkF
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vsftpd-3.0.5-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/vsftpd-3.0.5-build
+ rm -rf vsftpd-3.0.5
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/vsftpd-3.0.5.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd vsftpd-3.0.5
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp /home/pterjan/rpmbuild/SOURCES/vsftpd.xinetd .
+ echo 'Patch #1 (vsftpd-2.1.0-libs.patch):'
Patch #1 (vsftpd-2.1.0-libs.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .libs --fuzz=0
patching file Makefile
+ echo 'Patch #2 (vsftpd-2.1.0-build_ssl.patch):'
Patch #2 (vsftpd-2.1.0-build_ssl.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build_ssl --fuzz=0
patching file builddefs.h
+ echo 'Patch #3 (vsftpd-2.1.0-tcp_wrappers.patch):'
Patch #3 (vsftpd-2.1.0-tcp_wrappers.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .tcp_wrappers --fuzz=0
patching file builddefs.h
+ echo 'Patch #4 (vsftpd-2.2.2-configuration.patch):'
Patch #4 (vsftpd-2.2.2-configuration.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .configuration --fuzz=0
patching file defs.h
patching file EXAMPLE/INTERNET_SITE_NOINETD/README
patching file EXAMPLE/INTERNET_SITE/README
patching file EXAMPLE/PER_IP_CONFIG/README
patching file EXAMPLE/VIRTUAL_USERS/README
patching file FAQ
Hunk #1 succeeded at 35 (offset 1 line).
Hunk #2 succeeded at 47 (offset 1 line).
Hunk #3 succeeded at 88 (offset 1 line).
patching file INSTALL
patching file README
patching file tunables.c
Hunk #1 succeeded at 194 (offset 8 lines).
Hunk #2 succeeded at 269 (offset 15 lines).
Hunk #3 succeeded at 286 (offset 15 lines).
patching file vsftpd.8
patching file vsftpd.conf.5
Hunk #6 succeeded at 788 (offset 24 lines).
Hunk #7 succeeded at 827 (offset 26 lines).
Hunk #8 succeeded at 888 (offset 26 lines).
Hunk #9 succeeded at 1017 (offset 32 lines).
Hunk #10 succeeded at 1056 (offset 32 lines).
patching file vsftpd.conf
Hunk #3 succeeded at 98 (offset 3 lines).
Hunk #4 succeeded at 115 (offset 3 lines).
+ echo 'Patch #5 (vsftpd-2.2.2-pam_hostname.patch):'
Patch #5 (vsftpd-2.2.2-pam_hostname.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pam_hostname --fuzz=0
patching file sysdeputil.c
Hunk #2 succeeded at 327 (offset -2 lines).
Hunk #3 succeeded at 354 (offset 1 line).
Hunk #4 succeeded at 572 (offset 1 line).
Hunk #5 succeeded at 1094 (offset 1 line).
+ echo 'Patch #6 (vsftpd-close-std-fds.patch):'
Patch #6 (vsftpd-close-std-fds.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .close_fds --fuzz=0
patching file standalone.c
Hunk #1 succeeded at 130 (offset -1 lines).
+ echo 'Patch #7 (vsftpd-2.1.0-filter.patch):'
Patch #7 (vsftpd-2.1.0-filter.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .filter --fuzz=0
patching file ls.c
patching file str.c
Hunk #1 succeeded at 711 (offset -59 lines).
patching file str.h
Hunk #1 succeeded at 100 (offset -1 lines).
+ echo 'Patch #8 (vsftpd-2.0.5-greedy.patch):'
Patch #8 (vsftpd-2.0.5-greedy.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .greedy --fuzz=0
patching file ls.c
Hunk #1 succeeded at 321 (offset 18 lines).
+ echo 'Patch #9 (vsftpd-2.1.0-userlist_log.patch):'
Patch #9 (vsftpd-2.1.0-userlist_log.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .userlist_log --fuzz=0
patching file logging.c
Hunk #1 succeeded at 103 (offset 8 lines).
patching file logging.h
patching file parseconf.c
Hunk #1 succeeded at 94 (offset -2 lines).
patching file prelogin.c
Hunk #1 succeeded at 259 (offset 39 lines).
patching file tunables.c
Hunk #1 succeeded at 75 (offset 3 lines).
Hunk #2 succeeded at 220 (offset 13 lines).
patching file tunables.h
Hunk #1 succeeded at 76 (offset 3 lines).
patching file vsftpd.conf.5
Hunk #1 succeeded at 612 (offset 27 lines).
+ echo 'Patch #10 (vsftpd-2.2.2-trim.patch):'
Patch #10 (vsftpd-2.2.2-trim.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .trim --fuzz=0
patching file parseconf.c
Hunk #1 succeeded at 284 (offset 9 lines).
patching file str.c
Hunk #1 succeeded at 104 (offset 15 lines).
patching file str.h
patching file sysutil.c
Hunk #1 succeeded at 1035 (offset 3 lines).
patching file sysutil.h
Hunk #1 succeeded at 187 (offset 1 line).
+ echo 'Patch #12 (vsftpd-2.2.2-daemonize_plus.patch):'
Patch #12 (vsftpd-2.2.2-daemonize_plus.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .daemonize_plus --fuzz=0
patching file standalone.c
Hunk #3 succeeded at 113 (offset 1 line).
Hunk #4 succeeded at 147 (offset 2 lines).
Hunk #5 succeeded at 290 (offset 16 lines).
patching file sysutil.c
Hunk #1 succeeded at 201 (offset -1 lines).
Hunk #2 succeeded at 552 (offset 10 lines).
Hunk #3 succeeded at 2880 (offset 64 lines).
patching file sysutil.h
Hunk #1 succeeded at 30 (offset 1 line).
Hunk #2 succeeded at 167 (offset 1 line).
Hunk #3 succeeded at 185 (offset 1 line).
+ echo 'Patch #13 (vsftpd-2.3.4-listen_ipv6.patch):'
Patch #13 (vsftpd-2.3.4-listen_ipv6.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ipv6 --fuzz=0
patching file vsftpd.conf
Hunk #1 succeeded at 109 (offset 1 line).
patching file vsftpd.conf.5
+ echo 'Patch #44 (vsftpd-disable-anonymous-access-by-default.patch):'
Patch #44 (vsftpd-disable-anonymous-access-by-default.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .anonymous --fuzz=0
patching file vsftpd.conf
+ echo 'Patch #101 (vsftpd-2.0.5-anon.patch):'
Patch #101 (vsftpd-2.0.5-anon.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .anon --fuzz=0
patching file privops.c
Hunk #2 succeeded at 328 (offset 178 lines).
+ echo 'Patch #102 (vsftpd-2.0.1-server_args.patch):'
Patch #102 (vsftpd-2.0.1-server_args.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .server_args --fuzz=0
patching file xinetd.d/vsftpd
+ echo 'Patch #103 (vsftpd-2.2.2-use_localtime.patch):'
Patch #103 (vsftpd-2.2.2-use_localtime.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .use_localtime --fuzz=0
patching file logging.c
Hunk #1 succeeded at 193 (offset 16 lines).
Hunk #2 succeeded at 275 (offset 16 lines).
patching file sysutil.c
Hunk #1 succeeded at 2637 (offset 60 lines).
patching file sysutil.h
Hunk #1 succeeded at 310 (offset 7 lines).
+ echo 'Patch #104 (vsftpd-3.0.2-chowngroup.patch):'
Patch #104 (vsftpd-3.0.2-chowngroup.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chowngroup --fuzz=0
patching file main.c
patching file parseconf.c
Hunk #1 succeeded at 154 (offset 3 lines).
patching file privops.c
patching file session.h
Hunk #1 succeeded at 56 (offset 1 line).
patching file sysutil.c
patching file sysutil.h
Hunk #1 succeeded at 298 (offset 1 line).
patching file tunables.c
Hunk #1 succeeded at 117 (offset 3 lines).
Hunk #2 succeeded at 267 (offset 7 lines).
patching file tunables.h
Hunk #1 succeeded at 120 (offset 3 lines).
patching file vsftpd.conf.5
Hunk #1 succeeded at 826 (offset 24 lines).
patching file vsftpd.conf
+ echo 'Patch #150 (vsftpd-fix-seccomp.patch):'
Patch #150 (vsftpd-fix-seccomp.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .seccomp --fuzz=0
patching file seccompsandbox.c
Hunk #1 succeeded at 307 (offset 10 lines).
+ echo 'Patch #200 (vsftpd-drop-newpid-from-clone.patch):'
Patch #200 (vsftpd-drop-newpid-from-clone.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .newpid --fuzz=0
patching file sysdeputil.c
Hunk #1 succeeded at 1283 (offset 11 lines).
Hunk #2 succeeded at 1306 (offset 11 lines).
+ echo 'Patch #201 (vsftpd-enable-gettimeofday-sec.patch):'
Patch #201 (vsftpd-enable-gettimeofday-sec.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gettimeofday --fuzz=0
patching file seccompsandbox.c
Hunk #1 succeeded at 317 (offset 14 lines).
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XzpF7T
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vsftpd-3.0.5-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd vsftpd-3.0.5
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ /usr/bin/make -O -j48 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE' 'LINK=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
gcc -c utility.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c secbuf.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c banner.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c filestr.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c access.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c features.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c tcpwrap.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c opts.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c netstr.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c postprivparent.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c secutil.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c ascii.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c oneprocess.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c sslslave.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c hash.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c strlist.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c tunables.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c parseconf.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c main.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c sysstr.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c readwrite.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c ftpcmdio.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c privsock.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c prelogin.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c ipaddrparse.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c standalone.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c logging.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c ftppolicy.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c privops.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c ls.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
ls.c: In function 'vsf_filename_passes_filter':
ls.c:414:8: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  414 |   free(normname);
      |        ^~~~~~~~
In file included from ls.c:10:
/usr/include/stdlib.h:687:25: note: expected 'void *' but argument is of type 'const char *'
  687 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
ls.c:415:8: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  415 |   free(path);
      |        ^~~~
/usr/include/stdlib.h:687:25: note: expected 'void *' but argument is of type 'const char *'
  687 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
gcc -c twoprocess.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c ssl.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
ssl.c: In function 'ssl_init':
ssl.c:143:7: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  143 |       EC_KEY* key = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
      |       ^~~~~~
In file included from /usr/include/openssl/x509.h:33,
                 from /usr/include/openssl/ssl.h:32,
                 from ssl.c:27:
/usr/include/openssl/ec.h:1017:31: note: declared here
 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
ssl.c:149:7: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  149 |       EC_KEY_free(key);
      |       ^~~~~~~~~~~
/usr/include/openssl/ec.h:1022:28: note: declared here
 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
ssl.c: In function 'ssl_accept':
ssl.c:493:3: error: too many arguments to function 'setup_bio_callbacks'; expected 0, have 1
  493 |   setup_bio_callbacks(p_ssl);
      |   ^~~~~~~~~~~~~~~~~~~ ~~~~~
ssl.c:37:13: note: declared here
   37 | static void setup_bio_callbacks();
      |             ^~~~~~~~~~~~~~~~~~~
ssl.c: In function 'ssl_session_init':
ssl.c:647:3: error: too many arguments to function 'setup_bio_callbacks'; expected 0, have 1
  647 |   setup_bio_callbacks(p_ssl);
      |   ^~~~~~~~~~~~~~~~~~~ ~~~~~
ssl.c:37:13: note: declared here
   37 | static void setup_bio_callbacks();
      |             ^~~~~~~~~~~~~~~~~~~
ssl.c: At top level:
ssl.c:692:13: error: conflicting types for 'setup_bio_callbacks'; have 'void(SSL *)' {aka 'void(struct ssl_st *)'}
  692 | static void setup_bio_callbacks(SSL* p_ssl)
      |             ^~~~~~~~~~~~~~~~~~~
ssl.c:37:13: note: previous declaration of 'setup_bio_callbacks' with type 'void(void)'
   37 | static void setup_bio_callbacks();
      |             ^~~~~~~~~~~~~~~~~~~
ssl.c: In function 'setup_bio_callbacks':
ssl.c:695:3: warning: 'BIO_set_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  695 |   BIO_set_callback(p_bio, bio_callback);
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:30:
/usr/include/openssl/bio.h:311:28: note: declared here
  311 | OSSL_DEPRECATEDIN_3_0 void BIO_set_callback(BIO *b, BIO_callback_fn callback);
      |                            ^~~~~~~~~~~~~~~~
ssl.c:697:3: warning: 'BIO_set_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  697 |   BIO_set_callback(p_bio, bio_callback);
      |   ^~~~~~~~~~~~~~~~
/usr/include/openssl/bio.h:311:28: note: declared here
  311 | OSSL_DEPRECATEDIN_3_0 void BIO_set_callback(BIO *b, BIO_callback_fn callback);
      |                            ^~~~~~~~~~~~~~~~
ssl.c: At top level:
ssl.c:37:13: warning: 'setup_bio_callbacks' used but never defined
   37 | static void setup_bio_callbacks();
      |             ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:26: ssl.o] Error 1
make: *** Waiting for unfinished jobs....
gcc -c ptracesandbox.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c ftpdataio.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c seccompsandbox.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c sysdeputil.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c str.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c postlogin.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
gcc -c sysutil.c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIE -idirafter dummyinc
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XzpF7T (%build)

RPM build warnings:
    Macro expanded in comment on line 141: %{_initrddir}/vsftpd


RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XzpF7T (%build)
I: [iurt_root_command] ERROR: chroot