Mock Version: 2.16 Mock Version: 2.16 Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-twig3.spec'], chrootPath='/var/lib/mock/f36-build-34385201-4564869/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-twig3.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1649203200 Wrote: /builddir/build/SRPMS/php-twig3-3.3.10-1.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-twig3.spec'], chrootPath='/var/lib/mock/f36-build-34385201-4564869/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-twig3.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1649203200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tOrQy0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Twig-8442df056c51b706793adf80a9fd363406dd3674 + /usr/bin/gzip -dc /builddir/build/SOURCES/php-twig3-3.3.10-8442df0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Twig-8442df056c51b706793adf80a9fd363406dd3674 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fpLdbc + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Twig-8442df056c51b706793adf80a9fd363406dd3674 + : Create classmap autoloader + phpab --template fedora --output src/autoload.php src phpab 1.27.1 - Copyright (C) 2009 - 2022 by Arne Blankerts and Contributors Scanning directory src Autoload file src/autoload.php generated. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wzvm4Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch ++ dirname /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Twig-8442df056c51b706793adf80a9fd363406dd3674 + mkdir -p /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php + cp -rp src /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php/Twig3 + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 3.3.10-1.fc36 --unique-debug-suffix -3.3.10-1.fc36.noarch --unique-debug-src-base php-twig3-3.3.10-1.fc36.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Twig-8442df056c51b706793adf80a9fd363406dd3674 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.I8slC0 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Twig-8442df056c51b706793adf80a9fd363406dd3674 + : Check library version + /usr/bin/php -r 'require_once "/builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php/Twig3/autoload.php"; exit(version_compare("3.3.10", Twig\Environment::VERSION, "=") ? 0 : 1);' + mkdir vendor + phpab --output vendor/autoload.php tests phpab 1.27.1 - Copyright (C) 2009 - 2022 by Arne Blankerts and Contributors Scanning directory tests Autoload file vendor/autoload.php generated. + cat + tee -a vendor/autoload.php // This library require_once '/builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php/Twig3/autoload.php'; // Dependencies (require-dev) \Fedora\Autoloader\Dependencies::required([ '/usr/share/php/Psr/Container/autoload.php', ]); + : Disable listener from symfony/phpunit-bridge 4.4 + sed -e /listener/d phpunit.xml.dist + RETURN_CODE=0 + : Upstream tests with SCLs if available + for SCL in "php /usr/bin/phpunit9" php74 php80 php81 + which php /usr/bin/phpunit9 + alias + eval declare -f ++ declare -f + /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot php /usr/bin/phpunit9 /usr/bin/php /usr/bin/phpunit9 + set php /usr/bin/phpunit9 + php /usr/bin/phpunit9 --verbose PHPUnit 9.5.18 #StandWithUkraine Runtime: PHP 8.1.4 Configuration: /builddir/build/BUILD/Twig-8442df056c51b706793adf80a9fd363406dd3674/phpunit.xml ..............S.............................................. 61 / 1649 ( 3%) ............................................................. 122 / 1649 ( 7%) ............................................................. 183 / 1649 ( 11%) ............................................................. 244 / 1649 ( 14%) ............................................................. 305 / 1649 ( 18%) ............................................................. 366 / 1649 ( 22%) ............................................................. 427 / 1649 ( 25%) ............................................................. 488 / 1649 ( 29%) ............................................................. 549 / 1649 ( 33%) .....S........................................S.............. 610 / 1649 ( 36%) ............................................................. 671 / 1649 ( 40%) ............................................................. 732 / 1649 ( 44%) ..........S.................................................. 793 / 1649 ( 48%) ............................................................. 854 / 1649 ( 51%) ............................................................. 915 / 1649 ( 55%) ............................................................. 976 / 1649 ( 59%) ............................................................. 1037 / 1649 ( 62%) ............................................................. 1098 / 1649 ( 66%) ............................................................. 1159 / 1649 ( 70%) ............................................................. 1220 / 1649 ( 73%) ............................................................. 1281 / 1649 ( 77%) ............................................................. 1342 / 1649 ( 81%) ............................................................. 1403 / 1649 ( 85%) ............................................................. 1464 / 1649 ( 88%) ............................................................. 1525 / 1649 ( 92%) ............................................................. 1586 / 1649 ( 96%) ............................................................. 1647 / 1649 ( 99%) .. 1649 / 1649 (100%) Time: 00:00.644, Memory: 36.00 MB There were 4 skipped tests: 1) Twig\Tests\CompilerTest::testReprNumericValueWithLocale Could not set any of required locales: fr_FR.UTF-8, fr_FR.UTF8, fr_FR.utf-8, fr_FR.utf8, French_France.1252 /builddir/build/BUILD/Twig-8442df056c51b706793adf80a9fd363406dd3674/tests/CompilerTest.php:32 2) Twig\Tests\IntegrationTest::testIntegration with data set #273 ('regression/simple_xml_element.test', 'Twig is able to deal with Sim...iables', 'version_compare(phpversion(),...'<')\n', array('\nHello '{{ images.image.0.gr...for %}'), false, array(array('--DATA--\nreturn ['images' =>... - bar', '\nreturn ['images' => new \Si...>')]\n', '', '\nHello 'foo'!\nexample\n2\n ... - bar')), '') version_compare(phpversion(), '8.0', '<') /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php/Twig3/Test/IntegrationTestCase.php:153 /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php/Twig3/Test/IntegrationTestCase.php:82 3) Twig\Tests\IntegrationTest::testIntegration with data set #314 ('functions/template_from_strin...0.test', '"template_from_string" function', 'PHP_VERSION_ID < 80100\n', array('\n{% include template_from_st...g") %}'), 'Twig\Error\SyntaxError: Unclo...e 1.\n', array(array(null, 'return []\n', null, '')), '') PHP_VERSION_ID < 80100 /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php/Twig3/Test/IntegrationTestCase.php:153 /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/php/Twig3/Test/IntegrationTestCase.php:82 4) Twig\Tests\Node\Expression\CallTest::testResolveArgumentsWithMissingValueForOptionalArgument substr_compare() has a default value in 8.0, so the test does not work anymore, one should find another PHP built-in function for this test to work in PHP 8. /builddir/build/BUILD/Twig-8442df056c51b706793adf80a9fd363406dd3674/tests/Node/Expression/CallTest.php:65 OK, but incomplete, skipped, or risky tests! Tests: 1649, Assertions: 4382, Skipped: 4. + for SCL in "php /usr/bin/phpunit9" php74 php80 php81 + which php74 + alias + eval declare -f ++ declare -f + /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot php74 /usr/bin/which: no php74 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) + for SCL in "php /usr/bin/phpunit9" php74 php80 php81 + which php80 + alias + eval declare -f ++ declare -f + /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot php80 /usr/bin/which: no php80 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) + for SCL in "php /usr/bin/phpunit9" php74 php80 php81 + which php81 + alias + eval declare -f ++ declare -f + /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot php81 /usr/bin/which: no php81 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin) + exit 0 Processing files: php-twig3-3.3.10-1.fc36.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.whl4ee + umask 022 + cd /builddir/build/BUILD + cd Twig-8442df056c51b706793adf80a9fd363406dd3674 + DOCDIR=/builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/doc/php-twig3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/doc/php-twig3 + cp -pr CHANGELOG /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/doc/php-twig3 + cp -pr README.rst /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/doc/php-twig3 + cp -pr composer.json /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/doc/php-twig3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3WxP7s + umask 022 + cd /builddir/build/BUILD + cd Twig-8442df056c51b706793adf80a9fd363406dd3674 + LICENSEDIR=/builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/licenses/php-twig3 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/licenses/php-twig3 + cp -pr LICENSE /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch/usr/share/licenses/php-twig3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: php-composer(twig/twig) = 3.3.10 php-twig3 = 3.3.10-1.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch Wrote: /builddir/build/RPMS/php-twig3-3.3.10-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0zOctR + umask 022 + cd /builddir/build/BUILD + cd Twig-8442df056c51b706793adf80a9fd363406dd3674 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-twig3-3.3.10-1.fc36.noarch + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0