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 aarch64 --nodeps /builddir/build/SPECS/php.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69622-3999/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/php.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/php-8.2.9-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/php.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-69622-3999/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/php.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9UgIZA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf php-8.2.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/php-8.2.9.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd php-8.2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-7.4.0-httpd.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-7.2.0-includedir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-8.0.0-embed.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-8.1.0-libdb.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-8.2.0-parser.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-8.1.0-systzdata-v23.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-7.4.0-phpize.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-7.4.0-ldap_r.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-8.1.0-phpinfo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/php-7.4.0-datetests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp Zend/LICENSE ZEND_LICENSE + cp TSRM/LICENSE TSRM_LICENSE + cp Zend/asm/LICENSE BOOST_LICENSE + cp sapi/fpm/LICENSE fpm_LICENSE + cp ext/mbstring/libmbfl/LICENSE libmbfl_LICENSE + cp ext/fileinfo/libmagic/LICENSE libmagic_LICENSE + cp ext/bcmath/libbcmath/LICENSE libbcmath_LICENSE + cp ext/date/lib/LICENSE.rst timelib_LICENSE + mkdir build-cgi build-embedded build-fpm + rm ext/date/tests/timezone_location_get.phpt + rm ext/date/tests/timezone_version_get.phpt + rm ext/date/tests/timezone_version_get_basic1.phpt + rm ext/sockets/tests/mcast_ipv4_recv.phpt ext/sockets/tests/mcast_ipv6_recv.phpt + rm Zend/tests/bug54268.phpt + rm Zend/tests/bug68412.phpt + rm ext/zlib/tests/004-mb.phpt ++ sed -n '/#define PHP_VERSION /{s/.* "//;s/".*$//;p}' main/php_version.h + pver=8.2.9 + test x8.2.9 '!=' x8.2.9 ++ sed -n '/#define PHP_API_VERSION/{s/.* //;p}' main/php.h + vapi=20220829 + test x20220829 '!=' x20220829 ++ sed -n '/#define ZEND_MODULE_API_NO/{s/^[^0-9]*//;p;}' Zend/zend_modules.h + vzend=20220829 + test x20220829 '!=' x20220829 ++ sed -n '/#define PDO_DRIVER_API/{s/.*[ ]//;p}' ext/pdo/php_pdo_driver.h + vpdo=20170320 + test x20170320 '!=' x20170320 + rm -f TSRM/tsrm_win32.h TSRM/tsrm_config.w32.h Zend/zend_config.w32.h ext/mysqlnd/config-win.h ext/standard/winver.h main/win32_internal_function_disabled.h main/win95nt.h + find . -name '*.[ch]' -exec chmod 644 '{}' ';' + chmod 644 README.REDIST.BINS README.md + cp /builddir/build/SOURCES/10-opcache.ini /builddir/build/SOURCES/opcache-default.blacklist /builddir/build/SOURCES/20-ffi.ini . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SFrRQj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 php-8.2.9 ++ date +%s -r NEWS + export SOURCE_DATE_EPOCH=1691062748 + SOURCE_DATE_EPOCH=1691062748 ++ uname + export PHP_UNAME=Linux + PHP_UNAME=Linux ++ cat /etc/system-release ++ sed -e 's/ Beta//' + export 'PHP_BUILD_SYSTEM=OpenCloudOS Stream release 23' + PHP_BUILD_SYSTEM='OpenCloudOS Stream release 23' + export PHP_BUILD_PROVIDER=OpenCloudOS + PHP_BUILD_PROVIDER=OpenCloudOS ++ gcc --version ++ head -n1 + export 'PHP_BUILD_COMPILER=gcc (GCC) 12.3.0 20230508 (OpenCloudOS 12.3.0-3)' + PHP_BUILD_COMPILER='gcc (GCC) 12.3.0 20230508 (OpenCloudOS 12.3.0-3)' + export PHP_BUILD_ARCH=aarch64 + PHP_BUILD_ARCH=aarch64 + libtoolize --force --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: copying file 'build/ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. ++ aclocal --print-ac-dir Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/share/perl5/vendor_perl/File/Path.pm line 6. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/File/Path.pm line 6. Compilation failed in require at /usr/bin/aclocal line 33. BEGIN failed--compilation aborted at /usr/bin/aclocal line 33. ++ aclocal --print-ac-dir Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/share/perl5/vendor_perl/File/Path.pm line 6. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/File/Path.pm line 6. Compilation failed in require at /usr/bin/aclocal line 33. BEGIN failed--compilation aborted at /usr/bin/aclocal line 33. ++ aclocal --print-ac-dir Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/share/perl5/vendor_perl/File/Path.pm line 6. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/File/Path.pm line 6. Compilation failed in require at /usr/bin/aclocal line 33. BEGIN failed--compilation aborted at /usr/bin/aclocal line 33. ++ aclocal --print-ac-dir Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/share/perl5/vendor_perl/File/Path.pm line 6. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/File/Path.pm line 6. Compilation failed in require at /usr/bin/aclocal line 33. BEGIN failed--compilation aborted at /usr/bin/aclocal line 33. ++ aclocal --print-ac-dir Can't load '/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so' for module Cwd: /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so: undefined symbol: Perl_my_strlcat at /usr/share/perl5/XSLoader.pm line 94. at /usr/lib64/perl5/vendor_perl/Cwd.pm line 82. Compilation failed in require at /usr/share/perl5/vendor_perl/File/Path.pm line 6. BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/File/Path.pm line 6. Compilation failed in require at /usr/bin/aclocal line 33. BEGIN failed--compilation aborted at /usr/bin/aclocal line 33. + cat /libtool.m4 /ltoptions.m4 /ltsugar.m4 /ltversion.m4 /lt~obsolete.m4 cat: /libtool.m4: No such file or directory cat: /ltoptions.m4: No such file or directory cat: /ltsugar.m4: No such file or directory cat: /ltversion.m4: No such file or directory cat: /lt~obsolete.m4: No such file or directory RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.SFrRQj (%build) Bad exit status from /var/tmp/rpm-tmp.SFrRQj (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/php.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/php.spec