Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-Inline-Python.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-105971-66682/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-Inline-Python-0.57-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/perl-Inline-Python.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-105971-66682/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Qsze5m + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Inline-Python-0.57 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Inline-Python-0.57.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Inline-Python-0.57 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (perl-Inline-Python-makefile.patch): + echo 'Patch #0 (perl-Inline-Python-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.PL Patch #1 (perl-Inline-Python-c99.patch): + echo 'Patch #1 (perl-Inline-Python-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file perlmodule.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Lp9sG9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Inline-Python-0.57 + INLINE_PYTHON_EXECUTABLE=/usr/bin/python3 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 Using /usr/bin/python3 Using These Settings: Extra Libs: -ldl Python Lib: -L/usr/lib64 -lpython3.11 Includes: -I/usr/include/python3.11 Extra Flags: -DPY_MAJOR_VERSION=3 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Inline::Python + make -j32 "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Python.xs > Python.xsc Running Mkbootstrap for Python () gcc -c -I/usr/include/python3.11 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL py2pl.c gcc -c -I/usr/include/python3.11 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL perlmodule.c gcc -c -I/usr/include/python3.11 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL util.c chmod 644 "Python.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Python.bs blib/arch/auto/Inline/Python/Python.bs 644 cp Python.pod blib/lib/Inline/Python.pod cp Python.pm blib/lib/Inline/Python.pm mv Python.xsc Python.c gcc -c -I/usr/include/python3.11 -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.57\" -DXS_VERSION=\"0.57\" -fPIC "-I/usr/lib64/perl5/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL Python.c perlmodule.c:967:27: warning: 'PerlSub_methods' defined but not used [-Wunused-variable] 967 | static struct PyMethodDef PerlSub_methods[] = { | ^~~~~~~~~~~~~~~ py2pl.c: In function 'croak_python_exception': py2pl.c:571:36: warning: format '%i' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 571 | croak("%s: %s at line %i\n", ((PyTypeObject *)ex_type)->tp_name, c_ex_message, PyInt_AsLong(tb_lineno)); | ~^ | | | int | %li Python.xs: In function 'do_pyinit': Python.xs:33:5: warning: 'Py_SetProgramName' is deprecated [-Wdeprecated-declarations] 33 | Py_SetProgramName(L"python"); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11/Python.h:94, from Python.xs:7: /usr/include/python3.11/pylifecycle.h:37:38: note: declared here 37 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *); | ^~~~~~~~~~~~~~~~~ Python.xs:40:5: warning: 'PySys_SetArgv' is deprecated [-Wdeprecated-declarations] 40 | PySys_SetArgv(_python_argc, _python_argv); /* Tk needs this */ | ^~~~~~~~~~~~~ In file included from /usr/include/python3.11/Python.h:96: /usr/include/python3.11/sysmodule.h:13:38: note: declared here 13 | Py_DEPRECATED(3.11) PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); | ^~~~~~~~~~~~~ perlmodule.c: In function 'PerlObj_richcompare': perlmodule.c:549:11: warning: 'retval' may be used uninitialized [-Wmaybe-uninitialized] 549 | if(retval == 0) {Py_RETURN_TRUE;} | ^ perlmodule.c:519:13: note: 'retval' was declared here 519 | int retval; | ^~~~~~ rm -f blib/arch/auto/Inline/Python/Python.so gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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.11 -ldl -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.0z24tx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64 + cd Inline-Python-0.57 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64 "/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.57-1.oc9.x86_64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/usr/lib64/perl5/vendor_perl/Inline/Python.pm Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/usr/lib64/perl5/vendor_perl/Inline/Python.pod Installing /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/usr/share/man/man3/Inline::Python.3pm + find /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64 -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.57-1.oc9.x86_64/usr + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.57-1.oc9 --unique-debug-suffix -0.57-1.oc9.x86_64 --unique-debug-src-base perl-Inline-Python-0.57-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/Inline-Python-0.57 extracting debug info from /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/usr/lib64/perl5/vendor_perl/auto/Inline/Python/Python.so 215 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: perl-Inline-Python-0.57-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KuS4uo + umask 022 + cd /builddir/build/BUILD + cd Inline-Python-0.57 + DOCDIR=/builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/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.57-1.oc9.x86_64/usr/share/doc/perl-Inline-Python + cp -pr Changes /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/usr/share/doc/perl-Inline-Python + cp -pr README /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/usr/share/doc/perl-Inline-Python + cp -pr ToDo /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64/usr/share/doc/perl-Inline-Python + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Inline::Python) = 0.57 perl(Inline::Python::Boolean) perl(Inline::Python::Function) perl(Inline::Python::Object) perl(Inline::Python::Object::Data) perl-Inline-Python = 0.57-1.oc9 perl-Inline-Python(x86-64) = 0.57-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libperl.so.5.36()(64bit) libpython3.11.so.1.0()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(Carp) perl(DynaLoader) perl(Exporter) perl(overload) perl(strict) perl-libs rtld(GNU_HASH) Processing files: perl-Inline-Python-debugsource-0.57-1.oc9.x86_64 Provides: perl-Inline-Python-debugsource = 0.57-1.oc9 perl-Inline-Python-debugsource(x86-64) = 0.57-1.oc9 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.57-1.oc9.x86_64 Provides: debuginfo(build-id) = 60676557d9fd06066ac6d0333dadf3b95588325d perl-Inline-Python-debuginfo = 0.57-1.oc9 perl-Inline-Python-debuginfo(x86-64) = 0.57-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Inline-Python-debugsource(x86-64) = 0.57-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Inline-Python-0.57-1.oc9.x86_64 Wrote: /builddir/build/RPMS/perl-Inline-Python-debugsource-0.57-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-0.57-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/perl-Inline-Python-debuginfo-0.57-1.oc9.x86_64.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0