Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/composer.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1693798026.617748/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/composer.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/composer-2.6.2-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/composer.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1693798026.617748/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/composer.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/composer-2.6.2-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/composer.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1693798026.617748/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/composer.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qNVo4s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + /usr/bin/gzip -dc /builddir/build/SOURCES/composer-2.6.2-623e5e1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/composer-rpm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/composer-noxdg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/composer-add-huaweicloud-repository.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find . '(' -name '*.rpm' -o -name '*noxdg' ')' -delete -print + grep -r '\.\./res' + rm src/bootstrap.php + rm src/Composer/vendor/composer/ca-bundle/res/cacert.pem + : symlink autoloader for library + ln -s vendor/autoload.php src/Composer/autoload.php + : fix layout + sed -e 's:/../..'\'' . '\''/src/Composer::' -i src/Composer/vendor/composer/autoload_static.php + : List bundled libraries and Licenses + php -r ' $pkgs = file_get_contents("src/Composer/vendor/composer/installed.json"); $pkgs = json_decode($pkgs, true); if (!is_array($pkgs) || !isset($pkgs["packages"])) { echo "cant decode json file\n"; exit(3); } $res = []; foreach($pkgs["packages"] as $pkg) { $lic = implode(" and ", $pkg["license"]); if (!isset($res[$lic])) $res[$lic] = []; $res[$lic][] = sprintf("Provides: bundled(php-%s) = %s", str_replace(["/", "_"], ["-", "-"], $pkg["name"]), $pkg["version"]); } foreach($res as $lic => $lib) { sort($lib); printf("# License %s\n%s\n", $lic, implode("\n", $lib)); } ' # License MIT Provides: bundled(php-composer-ca-bundle) = 1.3.7 Provides: bundled(php-composer-class-map-generator) = 1.1.0 Provides: bundled(php-composer-metadata-minifier) = 1.0.0 Provides: bundled(php-composer-pcre) = 2.1.0 Provides: bundled(php-composer-semver) = 3.4.0 Provides: bundled(php-composer-spdx-licenses) = 1.5.7 Provides: bundled(php-composer-xdebug-handler) = 3.0.3 Provides: bundled(php-justinrainbow-json-schema) = 5.2.12 Provides: bundled(php-psr-container) = 1.1.1 Provides: bundled(php-psr-log) = 1.1.4 Provides: bundled(php-react-promise) = v3.0.0 Provides: bundled(php-seld-jsonlint) = 1.10.0 Provides: bundled(php-seld-phar-utils) = 1.2.1 Provides: bundled(php-seld-signal-handler) = 2.0.2 Provides: bundled(php-symfony-console) = v5.4.28 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 Provides: bundled(php-symfony-filesystem) = v5.4.25 Provides: bundled(php-symfony-finder) = v5.4.27 Provides: bundled(php-symfony-polyfill-ctype) = v1.28.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.28.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.28.0 Provides: bundled(php-symfony-polyfill-mbstring) = v1.28.0 Provides: bundled(php-symfony-polyfill-php73) = v1.28.0 Provides: bundled(php-symfony-polyfill-php80) = v1.28.0 Provides: bundled(php-symfony-polyfill-php81) = v1.28.0 Provides: bundled(php-symfony-process) = v5.4.28 Provides: bundled(php-symfony-service-contracts) = v2.5.2 Provides: bundled(php-symfony-string) = v5.4.26 + : fix reported version + sed -e /BRANCH_ALIAS_VERSION/s/@package_branch_alias_version@// -i src/Composer/Composer.php + : check Plugin API version + php -r ' namespace Composer; include "src/Composer/autoload.php"; if (version_compare(Plugin\PluginInterface::PLUGIN_API_VERSION, "2.6.0")) { printf("Plugin API version is %s, expected %s\n", Plugin\PluginInterface::PLUGIN_API_VERSION, "2.6.0"); exit(1); } if (version_compare(Composer::RUNTIME_API_VERSION, "2.2.2")) { printf("Runtime API version is %s, expected %s\n", Composer::RUNTIME_API_VERSION, "2.2.2"); exit(1); }' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.88G3oB + umask 022 + cd /builddir/build/BUILD + cd composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JeMCQH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64 ++ dirname /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64 + cd composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + install -Dpm 644 /builddir/build/SOURCES/composer-bash-completion /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/bash-completion/completions/composer + mkdir -p /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/etc/profile.d + install -m 644 /builddir/build/SOURCES/composer.sh /builddir/build/SOURCES/composer.csh /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/etc/profile.d/ + mkdir -p /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/php + cp -pr src/Composer /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/php + mkdir -p /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/composer + cp -pr res /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/composer/res + cp -p LICENSE /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/composer/LICENSE + ln -sf /usr/share/composer/LICENSE LICENSE + install -Dpm 755 bin/composer /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/bin/composer + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.6.2-1 --unique-debug-suffix -2.6.2-1.aarch64 --unique-debug-src-base composer-2.6.2-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: composer-2.6.2-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YisBD9 + umask 022 + cd /builddir/build/BUILD + cd composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + DOCDIR=/builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/doc/composer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/doc/composer + cp -pr CHANGELOG.md CODE_OF_CONDUCT.md README.md UPGRADE-2.0.md /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/doc/composer + cp -pr doc /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/doc/composer + cp -pr composer.json /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/doc/composer + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HdDhPd + umask 022 + cd /builddir/build/BUILD + cd composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + LICENSEDIR=/builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/licenses/composer + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/licenses/composer + cp -pr LICENSE /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64/usr/share/licenses/composer + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/share/licenses/composer/LICENSE -> /usr/share/composer/LICENSE Provides: bundled(php-composer-ca-bundle) = 1.3.7 bundled(php-composer-class-map-generator) = 1.1.0 bundled(php-composer-metadata-minifier) = 1.0.0 bundled(php-composer-pcre) = 2.1.0 bundled(php-composer-semver) = 3.4.0 bundled(php-composer-spdx-licenses) = 1.5.7 bundled(php-composer-xdebug-handler) = 3.0.3 bundled(php-justinrainbow-json-schema) = 5.2.12 bundled(php-psr-container) = 1.1.1 bundled(php-psr-log) = 1.1.4 bundled(php-react-promise) = v3.0.0 bundled(php-seld-jsonlint) = 1.10.0 bundled(php-seld-phar-utils) = 1.2.1 bundled(php-seld-signal-handler) = 2.0.2 bundled(php-symfony-console) = v5.4.28 bundled(php-symfony-deprecation-contracts) = v2.5.2 bundled(php-symfony-filesystem) = v5.4.25 bundled(php-symfony-finder) = v5.4.27 bundled(php-symfony-polyfill-ctype) = v1.28.0 bundled(php-symfony-polyfill-intl-grapheme) = v1.28.0 bundled(php-symfony-polyfill-intl-normalizer) = v1.28.0 bundled(php-symfony-polyfill-mbstring) = v1.28.0 bundled(php-symfony-polyfill-php73) = v1.28.0 bundled(php-symfony-polyfill-php80) = v1.28.0 bundled(php-symfony-polyfill-php81) = v1.28.0 bundled(php-symfony-process) = v5.4.28 bundled(php-symfony-service-contracts) = v2.5.2 bundled(php-symfony-string) = v5.4.26 composer = 2.6.2-1 config(composer) = 2.6.2-1 php-composer(composer-plugin-api) = 2.6.0 php-composer(composer-runtime-api) = 2.2.2 php-composer(composer/composer) = 2.6.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env Supplements: php-cli Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64 Wrote: /builddir/build/RPMS/composer-2.6.2-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h9D7v8 + umask 022 + cd /builddir/build/BUILD + cd composer-623e5e1de055e65bc6c3c61b8348dc4662d75e2b + /usr/bin/rm -rf /builddir/build/BUILDROOT/composer-2.6.2-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0