+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/perl-Inline-Python.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A4nIXq + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PDKigr + 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 ' NO_PACKLIST=1 Found these python executables on your PATH: 1. /usr/bin/python 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/python DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out Using These Settings: Extra Libs: -lpthread -ldl -lutil Python Lib: -L/usr/lib64/python2.7/config -lpython2.7 Includes: -I/usr/include/python2.7 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 + 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/python2.7 -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 -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 -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/python2.7 -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 -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 -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/python2.7 -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 -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 -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/python2.7 -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 -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 -DVERSION=\"0.56\" -DXS_VERSION=\"0.56\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL Python.c In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from py2pl.c:5: /usr/include/python2.7/pyconfig-64.h:1199:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from py2pl.c:2: /usr/include/features.h:265:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from py2pl.c:5: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from py2pl.c:2: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from util.c:9: /usr/include/python2.7/pyconfig-64.h:1199:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from util.c:6: /usr/include/features.h:265:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from util.c:9: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from util.c:6: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from perlmodule.c:9: /usr/include/python2.7/pyconfig-64.h:1199:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from perlmodule.c:6: /usr/include/features.h:265:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from perlmodule.c:9: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from perlmodule.c:6: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from Python.xs:7: /usr/include/python2.7/pyconfig-64.h:1199:0: warning: "_POSIX_C_SOURCE" redefined #define _POSIX_C_SOURCE 200112L In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from Python.xs:4: /usr/include/features.h:265:0: note: this is the location of the previous definition # define _POSIX_C_SOURCE 200809L In file included from /usr/include/python2.7/pyconfig.h:6:0, from /usr/include/python2.7/Python.h:8, from Python.xs:7: /usr/include/python2.7/pyconfig-64.h:1221:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /usr/include/sys/types.h:25:0, from /usr/lib64/perl5/CORE/perl.h:694, from Python.xs:4: /usr/include/features.h:202:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 perlmodule.c:967:27: warning: 'PerlSub_methods' defined but not used [-Wunused-variable] static struct PyMethodDef PerlSub_methods[] = { ^~~~~~~~~~~~~~~ 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 perlmodule.c: In function 'PerlObj_compare': perlmodule.c:600:16: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] return retval; ^~~~~~ rm -f blib/arch/auto/Inline/Python/Python.so gcc -lpthread -shared -Wl,-z,relro -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/python2.7/config -lpython2.7 -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.F8pPVp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64 + cd Inline-Python-0.56 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.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-1.fc28.riscv64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64/usr/lib64/perl5/vendor_perl/Inline/Python.pm Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64/usr/lib64/perl5/vendor_perl/Inline/Python.pod Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64/usr/share/man/man3/Inline::Python.3pm + find /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.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-1.fc28.riscv64/usr + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 Processing files: perl-Inline-Python-0.56-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uXvOYm + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + DOCDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.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-1.fc28.riscv64/usr/share/doc/perl-Inline-Python + cp -pr Changes /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64/usr/share/doc/perl-Inline-Python + cp -pr README /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64/usr/share/doc/perl-Inline-Python + cp -pr ToDo /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.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-1.fc28 perl-Inline-Python(riscv-64) = 0.56-1.fc28 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.26()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) libutil.so.1()(64bit) perl(Carp) perl(DynaLoader) perl(Exporter) perl(overload) perl(strict) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/perl-Inline-Python-0.56-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/perl-Inline-Python-0.56-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YhBrWb + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.56 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.56-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff