Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-FCGI.spec'], chrootPath='/var/lib/mock/f33-build-300988-56676/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-FCGI.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': 'en_US.UTF-8'} and shell False sh: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/perl-FCGI-0.79-5.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-FCGI.spec'], chrootPath='/var/lib/mock/f33-build-300988-56676/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-FCGI.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z5nqm4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf FCGI-0.79 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/FCGI-0.79.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd FCGI-0.79 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (FCGI-0.78-CVE-2012-6687.patch):' Patch #0 (FCGI-0.78-CVE-2012-6687.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file os_unix.c Hunk #4 succeeded at 775 (offset 10 lines). Hunk #5 succeeded at 1134 (offset 10 lines). + find . -type f -exec chmod -c -x '{}' + mode of './os_win32.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './fcgios.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './os_unix.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './LICENSE' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './configure' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uW6CW6 + umask 022 + cd /builddir/build/BUILD + cd FCGI-0.79 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-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 -fasynchronous-unwind-tables -fstack-clash-protection' NO_PACKLIST=1 NO_PERLLOCAL=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for FCGI Running ./configure for you Please read configure.readme for information on how to run it yourself checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for ssize_t... yes checking for sun_len in sys/un.h... no checking for fpos_t in stdio.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for a fileno() prototype in stdio.h... yes checking whether cross-process locking is required by accept()... no checking whether va_arg(arg, long double) crashes the compiler... no checking for an ANSI C-conforming const... yes configure: creating ./config.status config.status: creating fcgi_config.h + /usr/bin/make -O -j4 V=1 VERBOSE=1 Running Mkbootstrap for FCGI () chmod 644 "FCGI.bs" cp FCGI.pm blib/arch/FCGI.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FCGI.bs blib/arch/auto/FCGI/FCGI.bs 644 "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/FCGI-0.79/typemap' FCGI.xs > FCGI.xsc mv FCGI.xsc FCGI.c gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.79\" -DXS_VERSION=\"0.79\" -fPIC "-I/usr/lib64/perl5/CORE" os_unix.c os_unix.c: In function 'OS_Accept': os_unix.c:1182:70: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 1182 | socket = accept(listen_sock, (struct sockaddr *)&sa, &len); | ^~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from os_unix.c:22: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ os_unix.c: In function 'OS_IsFcgi': os_unix.c:1282:51: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 1282 | if (getpeername(sock, (struct sockaddr *)&sa, &len) != 0 && errno == ENOTCONN) { | ^~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from os_unix.c:22: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ At top level: os_unix.c:14:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 14 | static const char rcsid[] = "$Id: os_unix.c,v 1.38 2003/06/22 00:16:43 robs Exp $"; | ^~~~~ gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.79\" -DXS_VERSION=\"0.79\" -fPIC "-I/usr/lib64/perl5/CORE" fcgiapp.c fcgiapp.c:14:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 14 | static const char rcsid[] = "$Id: fcgiapp.c,v 1.35 2003/06/22 00:16:43 robs Exp $"; | ^~~~~ gcc -c -I. -D_REENTRANT -D_GNU_SOURCE -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.79\" -DXS_VERSION=\"0.79\" -fPIC "-I/usr/lib64/perl5/CORE" FCGI.c FCGI.xs: In function 'FCGI_Finish': FCGI.xs:187:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 187 | if (was_bound = request->bound) | ^~~~~~~~~ FCGI.c: In function 'XS_FCGI_LastCall': FCGI.c:731:7: warning: variable 'request' set but not used [-Wunused-but-set-variable] 731 | FCGI request; | ^~~~~~~ In file included from FCGI.xs:5: FCGI.c: In function 'XS_FCGI__Stream_WRITE': /usr/lib64/perl5/CORE/XSUB.h:177:28: warning: unused variable 'targ' [-Wunused-variable] 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:177:28: note: in definition of macro 'dXSTARG' 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ FCGI.c:869:6: warning: unused variable 'RETVAL' [-Wunused-variable] 869 | int RETVAL; | ^~~~~~ FCGI.c: In function 'XS_FCGI__Stream_GETC': FCGI.c:979:7: warning: unused variable 'RETVAL' [-Wunused-variable] 979 | SV * RETVAL; | ^~~~~~ FCGI.c: In function 'XS_FCGI__Stream_EOF': FCGI.c:1011:5: warning: variable 'called' set but not used [-Wunused-but-set-variable] 1011 | IV called; | ^~~~~~ rm -f blib/arch/auto/FCGI/FCGI.so gcc -lpthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong FCGI.o fcgiapp.o os_unix.o -o blib/arch/auto/FCGI/FCGI.so \ -lperl \ chmod 755 blib/arch/auto/FCGI/FCGI.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7apxO5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64 + cd FCGI-0.79 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FCGI.bs blib/arch/auto/FCGI/FCGI.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/lib64/perl5/vendor_perl/FCGI.pm Installing /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/FCGI/FCGI.so Installing /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/man/man3/FCGI.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.79-5.fc33 --unique-debug-suffix -0.79-5.fc33.riscv64 --unique-debug-src-base perl-FCGI-0.79-5.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/FCGI-0.79 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/FCGI/FCGI.so extracting debug info from /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/FCGI/FCGI.so original debug info size: 596kB, size after compression: 588kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 334 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.PM5Gr7 + umask 022 + cd /builddir/build/BUILD + cd FCGI-0.79 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FCGI.bs blib/arch/auto/FCGI/FCGI.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl 1..1 # Running under perl version 5.032000 for linux # Current time local: Sat Aug 15 03:00:40 2020 # Current time GMT: Sat Aug 15 07:00:40 2020 # Using Test.pm version 1.31 ok 1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-FCGI-0.79-5.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.S94Hw8 + umask 022 + cd /builddir/build/BUILD + cd FCGI-0.79 + DOCDIR=/builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/doc/perl-FCGI + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/doc/perl-FCGI + cp -pr ChangeLog /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/doc/perl-FCGI + cp -pr README /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/doc/perl-FCGI + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nxBVT7 + umask 022 + cd /builddir/build/BUILD + cd FCGI-0.79 + LICENSEDIR=/builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/licenses/perl-FCGI + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/licenses/perl-FCGI + cp -pr LICENSE /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64/usr/share/licenses/perl-FCGI + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(fcgi) perl(FCGI) = 0.79 perl(FCGI::Stream) perl-FCGI = 1:0.79-5.fc33 perl-FCGI(riscv-64) = 1:0.79-5.fc33 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.28)(64bit) libperl.so.5.32()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(strict) rtld(GNU_HASH) Processing files: perl-FCGI-debugsource-0.79-5.fc33.riscv64 Provides: perl-FCGI-debugsource = 1:0.79-5.fc33 perl-FCGI-debugsource(riscv-64) = 1:0.79-5.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-FCGI-debuginfo-0.79-5.fc33.riscv64 Provides: debuginfo(build-id) = 35949dcfa6eb7777153e637ff7281d205ccfc58e perl-FCGI-debuginfo = 1:0.79-5.fc33 perl-FCGI-debuginfo(riscv-64) = 1:0.79-5.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-FCGI-debugsource(riscv-64) = 1:0.79-5.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64 Wrote: /builddir/build/RPMS/perl-FCGI-0.79-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-FCGI-debugsource-0.79-5.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-FCGI-debuginfo-0.79-5.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zLp2u7 + umask 022 + cd /builddir/build/BUILD + cd FCGI-0.79 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-FCGI-0.79-5.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0