Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Inline-Python.spec'], chrootPath='/var/lib/mock/f29-build-17803-8547/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/perl-Inline-Python-0.56-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Inline-Python.spec'], chrootPath='/var/lib/mock/f29-build-17803-8547/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2LpQ94 + 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 . Patch #0 (Inline-Python-0.56-Use-python3.patch): + echo 'Patch #0 (Inline-Python-0.56-Use-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.imiSo4 + 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: -lpthread -ldl -lutil Python Library: /usr/lib64/python3.7/config-3.7m-riscv64-linux-gnu/libpython3.7m.a Include Path: /usr/include/python3.7m 1. LIBS option. I need to know what extra libraries, if any, are required by this build of python. I recommend this: -lpthread -ldl -lutil Enter extra libraries (e.g. -lfoo -lbar) [-lpthread -ldl -lutil] -lpthread -ldl -lutil 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.7m.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.7m Which? Or enter another. [1] 1 Using These Settings: Extra Libs: -lpthread -ldl -lutil Python Lib: -L/usr/lib64 -lpython3.7m Includes: -I/usr/include/python3.7m 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/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Python.xs > Python.xsc gcc -c -I/usr/include/python3.7m -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.7m -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.7m -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.7m -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 BUILDSTDERR: py2pl.c: In function 'croak_python_exception': BUILDSTDERR: py2pl.c:581:36: warning: format '%i' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: croak("%s: %s at line %i\n", ((PyTypeObject *)ex_type)->tp_name, c_ex_message, PyInt_AsLong(tb_lineno)); BUILDSTDERR: ~^ BUILDSTDERR: %li BUILDSTDERR: perlmodule.c:967:27: warning: 'PerlSub_methods' defined but not used [-Wunused-variable] BUILDSTDERR: static struct PyMethodDef PerlSub_methods[] = { BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: Python.xs: In function 'do_pyinit': BUILDSTDERR: Python.xs:52:5: warning: implicit declaration of function 'initperl'; did you mean 'finitel'? [-Wimplicit-function-declaration] BUILDSTDERR: initperl(); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: finitel BUILDSTDERR: perlmodule.c: In function 'PerlObj_richcompare': BUILDSTDERR: perlmodule.c:549:11: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if(retval == 0) {Py_RETURN_TRUE;} BUILDSTDERR: ^ rm -f blib/arch/auto/Inline/Python/Python.so gcc -lpthread -shared -Wl,-z,relro -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.7m -lpthread -ldl -lutil -lperl \ chmod 755 blib/arch/auto/Inline/Python/Python.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2IZyLh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64 + cd Inline-Python-0.56 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.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-5.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64/usr/lib64/perl5/vendor_perl/Inline/Python.pm Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64/usr/lib64/perl5/vendor_perl/Inline/Python.pod Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64/usr/share/man/man3/Inline::Python.3pm + find /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.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-5.fc29.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.56-5.fc29 --unique-debug-suffix -0.56-5.fc29.riscv64 --unique-debug-src-base perl-Inline-Python-0.56-5.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Inline-Python-0.56 extracting debug info from /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 214 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.z8iDVk Processing files: perl-Inline-Python-0.56-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eY7RNq + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + DOCDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.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-5.fc29.riscv64/usr/share/doc/perl-Inline-Python + cp -pr Changes /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64/usr/share/doc/perl-Inline-Python + cp -pr README /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64/usr/share/doc/perl-Inline-Python + cp -pr ToDo /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64/usr/share/doc/perl-Inline-Python + 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-5.fc29 perl-Inline-Python(riscv-64) = 0.56-5.fc29 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) libdl.so.2()(64bit) libperl.so.5.28()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython3.7m.so.1.0()(64bit) libutil.so.1()(64bit) perl(Carp) perl(DynaLoader) perl(Exporter) perl(overload) perl(strict) rtld(GNU_HASH) Processing files: perl-Inline-Python-debugsource-0.56-5.fc29.riscv64 Provides: perl-Inline-Python-debugsource = 0.56-5.fc29 perl-Inline-Python-debugsource(riscv-64) = 0.56-5.fc29 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-5.fc29.riscv64 Provides: debuginfo(build-id) = 2bca0c5e252653352d2445ea39038a7f2141588a perl-Inline-Python-debuginfo = 0.56-5.fc29 perl-Inline-Python-debuginfo(riscv-64) = 0.56-5.fc29 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-5.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64 Wrote: /builddir/build/RPMS/perl-Inline-Python-0.56-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-debugsource-0.56-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-debuginfo-0.56-5.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oWktch + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-5.fc29.riscv64 + exit 0 Child return code was: 0