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-Inline-Python.spec'], chrootPath='/var/lib/mock/f33-build-123666-38945/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-Inline-Python.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: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/perl-Inline-Python-0.56-11.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-Inline-Python.spec'], chrootPath='/var/lib/mock/f33-build-123666-38945/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-Inline-Python.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=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G5fvAk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Inline-Python-0.56 + /usr/bin/gzip -dc /builddir/build/SOURCES/Inline-Python-0.56.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Inline-Python-0.56 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Inline-Python-0.56-Use-python3.patch):' Patch #0 (Inline-Python-0.56-Use-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BThjZn + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' NO_PACKLIST=1 Found these python executables on your PATH: 1. /usr/bin/python3 Using the only python executable I could find Set the INLINE_PYTHON_EXECUTABLE environment variable to the full path to your python executable to override this selection. Using /usr/bin/python3 This python's configuration files are messed up. You'll have have to answer the questions yourself. Here is what Python said: Extra Libs: -lcrypt -lpthread -ldl -lutil -lm Python Library: /usr/lib64/python3.8/config-3.8-riscv64-linux-gnu/libpython3.8.a Include Path: /usr/include/python3.8 1. LIBS option. I need to know what extra libraries, if any, are required by this build of python. I recommend this: -lcrypt -lpthread -ldl -lutil -lm Enter extra libraries (e.g. -lfoo -lbar) [-lcrypt -lpthread -ldl -lutil -lm] -lcrypt -lpthread -ldl -lutil -lm 2. LIBRARY option. The location of the python library. Inline::Python needs to link against it to use Python. Here are the libraries I know about: 1) /usr/lib64/libpython3.8.so 2) /usr/lib64/libpython3.so Which? Or enter another. [1] 1 3. INCLUDE option. The location of the python include files. Inline::Python needs these to compile. Here are the locations I know about: 1) /usr/include/python3.8 Which? Or enter another. [1] 1 Using These Settings: Extra Libs: -lcrypt -lpthread -ldl -lutil -lm Python Lib: -L/usr/lib64 -lpython3.8 Includes: -I/usr/include/python3.8 Extra Flags: none (perl Makefile.PL --help for details) Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Inline::Python + make -j4 Running Mkbootstrap for Python () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Python.xs > Python.xsc gcc -c -I/usr/include/python3.8 -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL py2pl.c chmod 644 "Python.bs" gcc -c -I/usr/include/python3.8 -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL perlmodule.c cp Python.pod blib/lib/Inline/Python.pod cp Python.pm blib/lib/Inline/Python.pm gcc -c -I/usr/include/python3.8 -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL util.c mv Python.xsc Python.c "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Python.bs blib/arch/auto/Inline/Python/Python.bs 644 gcc -c -I/usr/include/python3.8 -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL Python.c py2pl.c: In function 'croak_python_exception': py2pl.c:581:36: warning: format '%i' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 581 | croak("%s: %s at line %i\n", ((PyTypeObject *)ex_type)->tp_name, c_ex_message, PyInt_AsLong(tb_lineno)); | ~^ | | | int | %li perlmodule.c:967:27: warning: 'PerlSub_methods' defined but not used [-Wunused-variable] 967 | static struct PyMethodDef PerlSub_methods[] = { | ^~~~~~~~~~~~~~~ Python.xs: In function 'do_pyinit': Python.xs:52:5: warning: implicit declaration of function 'initperl' [-Wimplicit-function-declaration] 52 | initperl(); | ^~~~~~~~ perlmodule.c: In function 'PerlObj_richcompare': perlmodule.c:549:11: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] 549 | if(retval == 0) {Py_RETURN_TRUE;} | ^ rm -f blib/arch/auto/Inline/Python/Python.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 Python.o py2pl.o perlmodule.o util.o -o blib/arch/auto/Inline/Python/Python.so \ -L/usr/lib64 -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lperl \ chmod 755 blib/arch/auto/Inline/Python/Python.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I9z2Uk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 + cd Inline-Python-0.56 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Python.bs blib/arch/auto/Inline/Python/Python.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-Inline-Python-0.56-11.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/lib64/perl5/vendor_perl/Inline/Python.pod Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/lib64/perl5/vendor_perl/Inline/Python.pm Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/share/man/man3/Inline::Python.3pm + find /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.56-11.fc33 --unique-debug-suffix -0.56-11.fc33.riscv64 --unique-debug-src-base perl-Inline-Python-0.56-11.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Inline-Python-0.56 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so extracting debug info from /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so original debug info size: 352kB, size after compression: 268kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 214 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XoHq9n + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Python.bs blib/arch/auto/Inline/Python/Python.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00init.t ................ ok t/01testpl.t .............. ok t/02testpl.t .............. ok t/03parse.t ............... ok t/04func.t ................ ok t/05JAxH.t ................ ok t/06dict.t ................ ok t/07nherit.t .............. ok t/08ipyobj.t .............. ok t/09bind.t ................ ok t/10pyeval.t .............. ok t/11factor.t .............. ok t/12evnodd.t .............. ok t/13fibbon.t .............. ok t/14study.t ............... ok t/15anon.t ................ ok t/16evalpy.t .............. ok t/17once.t ................ ok t/18newclass.t ............ ok t/19testref.t ............. ok t/20unicode.t ............. ok t/21arrayref.t ............ ok t/22int.t ................. ok t/23getattr.t ............. ok t/24getitem.t ............. ok t/25py_sub.t .............. ok t/26undef.t ............... ok t/27pyattrs.t ............. ok t/28exception.t ........... ok t/29named_params.t ........ ok t/30floats.t .............. ok t/31stringification.t ..... ok t/32boolean.t ............. ok t/33reinit.t .............. ok t/34env.t ................. ok t/35dictunicodememleak.t .. ok t/cmp.t ................... ok All tests successful. Files=37, Tests=840, 553 wallclock secs ( 3.37 usr 1.26 sys + 532.44 cusr 18.05 csys = 555.12 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Inline-Python-0.56-11.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pdmOLn + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + DOCDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/share/doc/perl-Inline-Python + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/share/doc/perl-Inline-Python + cp -pr Changes /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/share/doc/perl-Inline-Python + cp -pr README /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/share/doc/perl-Inline-Python + cp -pr ToDo /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64/usr/share/doc/perl-Inline-Python + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Inline::Python) = 0.56 perl(Inline::Python::Boolean) perl(Inline::Python::Function) perl(Inline::Python::Object) perl(Inline::Python::Object::Data) perl-Inline-Python = 0.56-11.fc33 perl-Inline-Python(riscv-64) = 0.56-11.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) libperl.so.5.30()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython3.8.so.1.0()(64bit) perl(Carp) perl(DynaLoader) perl(Exporter) perl(overload) perl(strict) rtld(GNU_HASH) Processing files: perl-Inline-Python-debugsource-0.56-11.fc33.riscv64 Provides: perl-Inline-Python-debugsource = 0.56-11.fc33 perl-Inline-Python-debugsource(riscv-64) = 0.56-11.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Inline-Python-debuginfo-0.56-11.fc33.riscv64 Provides: debuginfo(build-id) = 17a41ded97c09e10e08e7478b3af6fa1d7a2172f perl-Inline-Python-debuginfo = 0.56-11.fc33 perl-Inline-Python-debuginfo(riscv-64) = 0.56-11.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Inline-Python-debugsource(riscv-64) = 0.56-11.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 Wrote: /builddir/build/RPMS/perl-Inline-Python-0.56-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-debugsource-0.56-11.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-debuginfo-0.56-11.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.irzjho + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-11.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0