Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/composer.spec'], chrootPath='/var/lib/mock/openeuler-23.03-x86_64-1691421289.430600/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 x86_64 --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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/composer-2.5.8-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/composer.spec'], chrootPath='/var/lib/mock/openeuler-23.03-x86_64-1691421289.430600/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 x86_64 --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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/composer-2.5.8-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/composer.spec'], chrootPath='/var/lib/mock/openeuler-23.03-x86_64-1691421289.430600/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 x86_64 --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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZbEanc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf composer-4c516146167d1392c8b9b269bb7c24115d262164 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/composer-2.5.8-4c51614.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd composer-4c516146167d1392c8b9b269bb7c24115d262164 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/composer-rpm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/composer-noxdg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /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.6 Provides: bundled(php-composer-class-map-generator) = 1.0.0 Provides: bundled(php-composer-metadata-minifier) = 1.0.0 Provides: bundled(php-composer-pcre) = 2.1.0 Provides: bundled(php-composer-semver) = 3.3.2 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) = v2.10.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.1 Provides: bundled(php-symfony-console) = v5.4.24 Provides: bundled(php-symfony-deprecation-contracts) = v2.5.2 Provides: bundled(php-symfony-filesystem) = v5.4.23 Provides: bundled(php-symfony-finder) = v5.4.21 Provides: bundled(php-symfony-polyfill-ctype) = v1.27.0 Provides: bundled(php-symfony-polyfill-intl-grapheme) = v1.27.0 Provides: bundled(php-symfony-polyfill-intl-normalizer) = v1.27.0 Provides: bundled(php-symfony-polyfill-mbstring) = v1.27.0 Provides: bundled(php-symfony-polyfill-php73) = v1.27.0 Provides: bundled(php-symfony-polyfill-php80) = v1.27.0 Provides: bundled(php-symfony-polyfill-php81) = v1.27.0 Provides: bundled(php-symfony-process) = v5.4.24 Provides: bundled(php-symfony-service-contracts) = v2.5.2 Provides: bundled(php-symfony-string) = v5.4.22 + : 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.3.0")) { printf("Plugin API version is %s, expected %s\n", Plugin\PluginInterface::PLUGIN_API_VERSION, "2.3.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.QRQTai + umask 022 + cd /builddir/build/BUILD + cd composer-4c516146167d1392c8b9b269bb7c24115d262164 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iVGLCw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64 ++ dirname /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64 + cd composer-4c516146167d1392c8b9b269bb7c24115d262164 + install -Dpm 644 /builddir/build/SOURCES/composer-bash-completion /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/bash-completion/completions/composer + mkdir -p /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/etc/profile.d + install -m 644 /builddir/build/SOURCES/composer.sh /builddir/build/SOURCES/composer.csh /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/etc/profile.d/ + mkdir -p /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/php + cp -pr src/Composer /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/php + mkdir -p /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/composer + cp -pr res /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/composer/res + cp -p LICENSE /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/composer/LICENSE + ln -sf /usr/share/composer/LICENSE LICENSE + install -Dpm 755 bin/composer /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/bin/composer + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.5.8-1 --unique-debug-suffix -2.5.8-1.x86_64 --unique-debug-src-base composer-2.5.8-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/composer-4c516146167d1392c8b9b269bb7c24115d262164 + /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.5.8-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hgsedb + umask 022 + cd /builddir/build/BUILD + cd composer-4c516146167d1392c8b9b269bb7c24115d262164 + DOCDIR=/builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/doc/composer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/doc/composer + cp -pr CHANGELOG.md CODE_OF_CONDUCT.md README.md UPGRADE-2.0.md /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/doc/composer + cp -pr doc /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/doc/composer + cp -pr composer.json /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/doc/composer + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LVgz88 + umask 022 + cd /builddir/build/BUILD + cd composer-4c516146167d1392c8b9b269bb7c24115d262164 + LICENSEDIR=/builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/licenses/composer + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/usr/share/licenses/composer + cp -pr LICENSE /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64/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.6 bundled(php-composer-class-map-generator) = 1.0.0 bundled(php-composer-metadata-minifier) = 1.0.0 bundled(php-composer-pcre) = 2.1.0 bundled(php-composer-semver) = 3.3.2 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) = v2.10.0 bundled(php-seld-jsonlint) = 1.10.0 bundled(php-seld-phar-utils) = 1.2.1 bundled(php-seld-signal-handler) = 2.0.1 bundled(php-symfony-console) = v5.4.24 bundled(php-symfony-deprecation-contracts) = v2.5.2 bundled(php-symfony-filesystem) = v5.4.23 bundled(php-symfony-finder) = v5.4.21 bundled(php-symfony-polyfill-ctype) = v1.27.0 bundled(php-symfony-polyfill-intl-grapheme) = v1.27.0 bundled(php-symfony-polyfill-intl-normalizer) = v1.27.0 bundled(php-symfony-polyfill-mbstring) = v1.27.0 bundled(php-symfony-polyfill-php73) = v1.27.0 bundled(php-symfony-polyfill-php80) = v1.27.0 bundled(php-symfony-polyfill-php81) = v1.27.0 bundled(php-symfony-process) = v5.4.24 bundled(php-symfony-service-contracts) = v2.5.2 bundled(php-symfony-string) = v5.4.22 composer = 2.5.8-1 config(composer) = 2.5.8-1 php-composer(composer-plugin-api) = 2.3.0 php-composer(composer-runtime-api) = 2.2.2 php-composer(composer/composer) = 2.5.8 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.5.8-1.x86_64 Wrote: /builddir/build/RPMS/composer-2.5.8-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lrnEmO + umask 022 + cd /builddir/build/BUILD + cd composer-4c516146167d1392c8b9b269bb7c24115d262164 + /usr/bin/rm -rf /builddir/build/BUILDROOT/composer-2.5.8-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Bi5BYc + umask 022 + cd /builddir/build/BUILD + rm -rf composer-4c516146167d1392c8b9b269bb7c24115d262164 composer-4c516146167d1392c8b9b269bb7c24115d262164.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/share/licenses/composer/LICENSE -> /usr/share/composer/LICENSE Child return code was: 0