Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-foreigner.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1678468971.382295/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-foreigner.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/rubygem-foreigner-1.7.4-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/rubygem-foreigner.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1678468971.382295/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-foreigner.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/rubygem-foreigner-1.7.4-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/rubygem-foreigner.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1678468971.382295/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=0gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-foreigner.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.tiQMe4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf foreigner-1.7.4 + /usr/bin/gem unpack /builddir/build/SOURCES/foreigner-1.7.4.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/foreigner-1.7.4' + /usr/bin/gem spec /builddir/build/SOURCES/foreigner-1.7.4.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd foreigner-1.7.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/foreigner-1.7.4.gem -l --ruby `did_you_mean' was not loaded. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.m46tWW + umask 022 + cd /builddir/build/BUILD + cd foreigner-1.7.4 + gem build foreigner.gemspec `did_you_mean' was not loaded. WARNING: open-ended dependency on activerecord (>= 3.0.0) is not recommended if activerecord is semantically versioned, use: add_runtime_dependency 'activerecord', '~> 3.0', '>= 3.0.0' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on mocha (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: foreigner Version: 1.7.4 File: foreigner-1.7.4.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc foreigner-1.7.4.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/foreigner-1.7.4 Bin dir: /builddir/build/BUILD/foreigner-1.7.4/usr/bin Gem home: /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems Plugins dir: /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/plugins /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/MIT-LICENSE /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/README.md /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/Rakefile /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/adapter.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/abstract/foreign_key_definition.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/abstract/schema_definitions.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/abstract/schema_statements.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/abstract/table.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/abstract/table_definition.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/mysql2_adapter.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/mysql_adapter.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/noop_adapter.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/postgresql_adapter.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/connection_adapters/sql2003.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/helper.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/loader.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/migration/command_recorder.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/railtie.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/lib/foreigner/schema_dumper.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/adapter_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/connection_adapters/abstract/schema_statements_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/connection_adapters/abstract/table_definition_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/connection_adapters/mysql2_adapter_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/connection_adapters/mysql_adapter_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/connection_adapters/postgresql_adapter_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/connection_adapters/sql2003_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/migration/command_recorder_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/foreigner/schema_dumper_test.rb /builddir/build/BUILD/foreigner-1.7.4/usr/share/gems/gems/foreigner-1.7.4/test/helper.rb Successfully installed foreigner-1.7.4 Parsing documentation for foreigner-1.7.4 Parsing sources... 5% [ 1/17] lib/foreigner.rb 11% [ 2/17] lib/foreigner/adapter.rb 17% [ 3/17] lib/foreigner/connection_adapters/abstract/foreign_key_definition.rb 23% [ 4/17] lib/foreigner/connection_adapters/abstract/schema_definitions.rb 29% [ 5/17] lib/foreigner/connection_adapters/abstract/schema_statements.rb 35% [ 6/17] lib/foreigner/connection_adapters/abstract/table.rb 41% [ 7/17] lib/foreigner/connection_adapters/abstract/table_definition.rb 47% [ 8/17] lib/foreigner/connection_adapters/mysql2_adapter.rb 52% [ 9/17] lib/foreigner/connection_adapters/mysql_adapter.rb 58% [10/17] lib/foreigner/connection_adapters/noop_adapter.rb 64% [11/17] lib/foreigner/connection_adapters/postgresql_adapter.rb 70% [12/17] lib/foreigner/connection_adapters/sql2003.rb 76% [13/17] lib/foreigner/helper.rb 82% [14/17] lib/foreigner/loader.rb 88% [15/17] lib/foreigner/migration/command_recorder.rb 94% [16/17] lib/foreigner/railtie.rb 100% [17/17] lib/foreigner/schema_dumper.rb Installing ri documentation for foreigner-1.7.4 Installing darkfish documentation for foreigner-1.7.4 Done installing documentation for foreigner after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nSyRig + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64 + cd foreigner-1.7.4 + mkdir -p /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64/usr/share/gems/ + rsync -a '--exclude=.*' ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64 ~/build/BUILD/foreigner-1.7.4 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64/usr/bin ']' ~/build/BUILD/foreigner-1.7.4 + popd + mv /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 1.7.4-1 --unique-debug-suffix -1.7.4-1.aarch64 --unique-debug-src-base rubygem-foreigner-1.7.4-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/foreigner-1.7.4 + /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: rubygem-foreigner-1.7.4-1.noarch warning: Empty %files file /builddir/build/BUILD/foreigner-1.7.4/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(foreigner) = 1.7.4 rubygem-foreigner rubygem-foreigner = 1.7.4-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) >= 1.3.5 rubygem(activerecord) >= 3.0.0 Processing files: rubygem-foreigner-help-1.7.4-1.noarch Provides: rubygem-foreigner-doc rubygem-foreigner-help = 1.7.4-1 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/rubygem-foreigner-1.7.4-1.aarch64 Wrote: /builddir/build/RPMS/rubygem-foreigner-1.7.4-1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-foreigner-help-1.7.4-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AoX3Bf + umask 022 + cd /builddir/build/BUILD + cd foreigner-1.7.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-foreigner-1.7.4-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0