D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Inline-Python-0.560.0-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Z5TNIS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Inline-Python-0.56 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/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 . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/Inline-Python-0.56-Use-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9OoBQb + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Inline-Python-0.56 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 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 Python Library: /usr/lib64/python3.7/config-3.7m-x86_64-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: -lcrypt -lpthread -ldl -lutil Enter extra libraries (e.g. -lfoo -lbar) [-lcrypt -lpthread -ldl -lutil] -lcrypt -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.7.so 2) /usr/lib64/libpython3.7m.so 3) /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: -lcrypt -lpthread -ldl -lutil Python Lib: -L/usr/lib64 -lpython3.7 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 Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j8 cp Python.pm blib/lib/Inline/Python.pm cp Python.pod blib/lib/Inline/Python.pod Running Mkbootstrap for Python () chmod 644 "Python.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Python.bs blib/arch/auto/Inline/Python/Python.bs 644 "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Python.xs > Python.xsc mv Python.xsc Python.c gcc -c -I/usr/include/python3.7m -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL py2pl.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=] croak("%s: %s at line %i\n", ((PyTypeObject *)ex_type)->tp_name, c_ex_message, PyInt_AsLong(tb_lineno)); ~^ %li gcc -c -I/usr/include/python3.7m -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL util.c gcc -c -I/usr/include/python3.7m -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL perlmodule.c gcc -c -I/usr/include/python3.7m -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL Python.c Python.xs: In function 'do_pyinit': Python.xs:52:5: warning: implicit declaration of function 'initperl'; did you mean 'finitel'? [-Wimplicit-function-declaration] initperl(); ^~~~~~~~ finitel rm -f blib/arch/auto/Inline/Python/Python.so LD_RUN_PATH="/usr/lib64" gcc -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/local/lib64 -fstack-protector-strong Python.o py2pl.o perlmodule.o util.o -o blib/arch/auto/Inline/Python/Python.so \ -L/usr/lib64 -lpython3.7 -lcrypt -lpthread -ldl -lutil -lperl \ chmod 755 blib/arch/auto/Inline/Python/Python.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L4IofC + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64 + cd Inline-Python-0.56 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64 'INSTALL=/usr/bin/install -p' "/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 /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr/lib64/perl5/vendor_perl/Inline/Python.pod Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr/lib64/perl5/vendor_perl/Inline/Python.pm Installing /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr/share/man/man3/Inline::Python.3pm Appending installation info to /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr/lib64/perl5/perllocal.pod + find /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.560.0-6.mga7 --unique-debug-suffix -0.560.0-6.mga7.x86_64 --unique-debug-src-base perl-Inline-Python-0.560.0-6.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/Inline-Python-0.56 explicitly decompress any DWARF compressed ELF sections in /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/perl-Inline-Python-0.560.0-6.mga7.x86_64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread GC Warning: Couldn't read /proc/stat /usr/lib/rpm/find-debuginfo.sh: line 523: /dev/fd/62: No such file or directory 214 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs /usr/lib/rpm/redhat/brp-mangle-shebangs: line 139: /dev/fd/62: No such file or directory Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vbm3M6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Inline-Python-0.56 + '[' 1 -eq 1 ']' + 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 PERL_USE_UNSAFE_INC=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 Can't call method "rss" on an undefined value at t/35dictunicodememleak.t line 28. # Looks like your test exited with 2 before it could output anything. t/35dictunicodememleak.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests t/cmp.t ................... ok Test Summary Report ------------------- t/35dictunicodememleak.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=37, Tests=838, 7 wallclock secs ( 0.25 usr 0.09 sys + 4.41 cusr 0.99 csys = 5.74 CPU) Result: FAIL Failed 1/37 test programs. 0/838 subtests failed. make: *** [Makefile:1067: test_dynamic] Error 255 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vbm3M6 (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vbm3M6 (%check) I: [iurt_root_command] ERROR: chroot