Mock Version: 5.0
Mock Version: 5.0
Mock Version: 5.0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/php-doctrine-persistence2.spec'], chrootPath='/var/lib/mock/f40-build-2388337-60502/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff96e90910>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/php-doctrine-persistence2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1706140800
Wrote: /builddir/build/SRPMS/php-doctrine-persistence2-2.5.7-4.fc40.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/php-doctrine-persistence2.spec'], chrootPath='/var/lib/mock/f40-build-2388337-60502/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff96e90910>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/php-doctrine-persistence2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
setting SOURCE_DATE_EPOCH=1706140800
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CFKm4l
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf persistence-e36f22765f4d10a7748228babbf73da5edfeed3c
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/php-doctrine-persistence2-2.5.7-e36f227.tgz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd persistence-e36f22765f4d10a7748228babbf73da5edfeed3c
+ rm -rf /builddir/build/BUILD/persistence-e36f22765f4d10a7748228babbf73da5edfeed3c-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/persistence-e36f22765f4d10a7748228babbf73da5edfeed3c-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ mv src/Persistence src/Persistence2
+ mv src/Common/Persistence src/Common/Persistence2
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JAj0nT
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn'
+ export RUSTFLAGS
+ 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 persistence-e36f22765f4d10a7748228babbf73da5edfeed3c
+ : Generate a simple autoloader
+ /usr/bin/phpab --output src/Persistence2/autoload.php --template fedora src
phpab 1.29.0 - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
Scanning directory src
Autoload file src/Persistence2/autoload.php generated.
+ cat
+ tee -a src/Persistence2/autoload.php
// Dependencies
\Fedora\Autoloader\Dependencies::required([
    '/usr/share/php/Psr/Cache/autoload.php',
    '/usr/share/php/Doctrine/Deprecations/autoload.php',
    [
        '/usr/share/php/Doctrine/Common/Cache2/autoload.php',
        '/usr/share/php/Doctrine/Common/Cache/autoload.php',
    ],
    '/usr/share/php/Doctrine/Common/Collections/autoload.php',
    [
        '/usr/share/php/Doctrine/EventManager2/autoload.php',
        '/usr/share/php/Doctrine/Common/EventManager/autoload.php',
    ],
]);
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j7bO65
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/php-doctrine-persistence2-2.5.7-4.fc40.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/php-doctrine-persistence2-2.5.7-4.fc40.noarch
++ dirname /builddir/build/BUILDROOT/php-doctrine-persistence2-2.5.7-4.fc40.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/php-doctrine-persistence2-2.5.7-4.fc40.noarch
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn'
+ export RUSTFLAGS
+ 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 persistence-e36f22765f4d10a7748228babbf73da5edfeed3c
+ mkdir -p /builddir/build/BUILDROOT/php-doctrine-persistence2-2.5.7-4.fc40.noarch/usr/share/php
+ cp -pr src /builddir/build/BUILDROOT/php-doctrine-persistence2-2.5.7-4.fc40.noarch/usr/share/php/Doctrine
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.5.7-4.fc40 --unique-debug-suffix -2.5.7-4.fc40.noarch --unique-debug-src-base php-doctrine-persistence2-2.5.7-4.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/persistence-e36f22765f4d10a7748228babbf73da5edfeed3c
find-debuginfo: starting
Extracting debug info from 0 files
Creating .debug symlinks for symlinks to ELF files
find-debuginfo: done
+ /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/brp-remove-la-files
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8
+ /usr/lib/rpm/redhat/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WQAlVH
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2  -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn'
+ export RUSTFLAGS
+ 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 persistence-e36f22765f4d10a7748228babbf73da5edfeed3c
+ : Generate autoloader
+ mkdir vendor
+ /usr/bin/phpab --output vendor/autoload.php --template fedora tests
phpab 1.29.0 - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
Scanning directory tests
Autoload file vendor/autoload.php generated.
+ cat
+ tee -a vendor/autoload.php
require "/builddir/build/BUILDROOT/php-doctrine-persistence2-2.5.7-4.fc40.noarch/usr/share/php/Doctrine/Persistence2/autoload.php";
\Fedora\Autoloader\Dependencies::required([
    '/usr/share/php/Doctrine/Common3/autoload.php',
    [
        '/usr/share/php/Doctrine/Common/Annotations2/autoload.php',
        '/usr/share/php/Doctrine/Common/Annotations/autoload.php',
    ], [
        '/usr/share/php/Symfony6/Component/Cache/autoload.php',
        '/usr/share/php/Symfony5/Component/Cache/autoload.php',
        '/usr/share/php/Symfony4/Component/Cache/autoload.php',
    ],
]);
+ find tests -type f -exec grep -q PHPStan '{}' ';' -delete -print
+ : Run test suite
+ ret=0
+ for cmdarg in "php /usr/bin/phpunit9" php80 php81 php82
+ which php /usr/bin/phpunit9
/usr/bin/php
/usr/bin/phpunit9
+ set php /usr/bin/phpunit9
+ php /usr/bin/phpunit9 --bootstrap vendor/autoload.php --verbose
PHPUnit 9.6.16 by Sebastian Bergmann and contributors.
Error in bootstrap script: RuntimeException:
Files not found: '/usr/share/php/Symfony6/Component/Cache/autoload.php' || '/usr/share/php/Symfony5/Component/Cache/autoload.php' || '/usr/share/php/Symfony4/Component/Cache/autoload.php'
#0 /usr/share/php/Fedora/Autoloader/Dependencies.php(100): Fedora\Autoloader\Dependencies::process()
#1 /builddir/build/BUILD/persistence-e36f22765f4d10a7748228babbf73da5edfeed3c/vendor/autoload.php(60): Fedora\Autoloader\Dependencies::required()
#2 /usr/share/php/PHPUnit9/Util/FileLoader.php(66): include_once('...')
#3 /usr/share/php/PHPUnit9/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()
#4 /usr/share/php/PHPUnit9/TextUI/Command.php(565): PHPUnit\Util\FileLoader::checkAndLoad()
#5 /usr/share/php/PHPUnit9/TextUI/Command.php(343): PHPUnit\TextUI\Command->handleBootstrap()
#6 /usr/share/php/PHPUnit9/TextUI/Command.php(112): PHPUnit\TextUI\Command->handleArguments()
#7 /usr/share/php/PHPUnit9/TextUI/Command.php(97): PHPUnit\TextUI\Command->run()
#8 /usr/bin/phpunit9(99): PHPUnit\TextUI\Command::main()
#9 {main}
+ ret=1
+ for cmdarg in "php /usr/bin/phpunit9" php80 php81 php82
+ which php80
which: no php80 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.composer/vendor/bin)
+ for cmdarg in "php /usr/bin/phpunit9" php80 php81 php82
+ which php81
which: no php81 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.composer/vendor/bin)
+ for cmdarg in "php /usr/bin/phpunit9" php80 php81 php82
+ which php82
which: no php82 in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.composer/vendor/bin)
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.WQAlVH (%check)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.WQAlVH (%check)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/php-doctrine-persistence2.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/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 noarch --nodeps /builddir/build/SPECS/php-doctrine-persistence2.spec