Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/perl-Inline-Python.spec'], chrootPath='/var/lib/mock/f30-build-15124570-1076275/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --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': 'C.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/perl-Inline-Python-0.56-7.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/perl-Inline-Python.spec'], chrootPath='/var/lib/mock/f30-build-15124570-1076275/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --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': 'C.UTF-8'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jYEC6e + 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.Wrb8Q3 + 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 -m64 -mcpu=power8 -mtune=power8 -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-ppc64le-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/vendor_perl/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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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.pm blib/lib/Inline/Python.pm cp Python.pod blib/lib/Inline/Python.pod 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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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 -m64 -mcpu=power8 -mtune=power8 -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: 581 | croak("%s: %s at line %i\n", ((PyTypeObject *)ex_type)->tp_name, c_ex_message, PyInt_AsLong(tb_lineno)); BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %li BUILDSTDERR: perlmodule.c:967:27: warning: 'PerlSub_methods' defined but not used [-Wunused-variable] BUILDSTDERR: 967 | static struct PyMethodDef PerlSub_methods[] = { BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: Python.xs: In function 'do_pyinit': BUILDSTDERR: Python.xs:52:5: warning: implicit declaration of function 'initperl' [-Wimplicit-function-declaration] BUILDSTDERR: 52 | initperl(); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: perlmodule.c: In function 'PerlObj_richcompare': BUILDSTDERR: perlmodule.c:549:11: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 549 | if(retval == 0) {Py_RETURN_TRUE;} BUILDSTDERR: | ^ 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.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.k4hzBT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le + cd Inline-Python-0.56 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le "/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-7.fc30.ppc64le/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/usr/lib64/perl5/vendor_perl/Inline/Python.pod Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/usr/lib64/perl5/vendor_perl/Inline/Python.pm Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/usr/share/man/man3/Inline::Python.3pm + find /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le -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-7.fc30.ppc64le/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.56-7.fc30 --unique-debug-suffix -0.56-7.fc30.ppc64le --unique-debug-src-base perl-Inline-Python-0.56-7.fc30.ppc64le --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-7.fc30.ppc64le/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so extracting debug info from /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/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 + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HDwFfK + 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, 24 wallclock secs ( 0.17 usr 0.04 sys + 23.02 cusr 0.29 csys = 23.52 CPU) Result: PASS + exit 0 Processing files: perl-Inline-Python-0.56-7.fc30.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kNBJ5N + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + DOCDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/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-7.fc30.ppc64le/usr/share/doc/perl-Inline-Python + cp -pr Changes /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/usr/share/doc/perl-Inline-Python + cp -pr README /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/usr/share/doc/perl-Inline-Python + cp -pr ToDo /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le/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-7.fc30 perl-Inline-Python(ppc-64) = 0.56-7.fc30 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.17)(64bit) libperl.so.5.28()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libpython3.7m.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-7.fc30.ppc64le Provides: perl-Inline-Python-debugsource = 0.56-7.fc30 perl-Inline-Python-debugsource(ppc-64) = 0.56-7.fc30 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-7.fc30.ppc64le Provides: debuginfo(build-id) = 7ede65aff500de655855b87abe7a335c15b2f531 perl-Inline-Python-debuginfo = 0.56-7.fc30 perl-Inline-Python-debuginfo(ppc-64) = 0.56-7.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Inline-Python-debugsource(ppc-64) = 0.56-7.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le Wrote: /builddir/build/RPMS/perl-Inline-Python-0.56-7.fc30.ppc64le.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-debugsource-0.56-7.fc30.ppc64le.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-debuginfo-0.56-7.fc30.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gBeZkS + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-7.fc30.ppc64le + exit 0 Child return code was: 0