Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-em-websocket.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477798.135304/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 x86_64 --nodeps /builddir/build/SPECS/rubygem-em-websocket.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-em-websocket-0.5.3-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/rubygem-em-websocket.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477798.135304/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 x86_64 --nodeps /builddir/build/SPECS/rubygem-em-websocket.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-em-websocket-0.5.3-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/rubygem-em-websocket.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678477798.135304/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 x86_64 --nodeps /builddir/build/SPECS/rubygem-em-websocket.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n72K6r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf em-websocket-0.5.3 + /usr/bin/gem unpack /builddir/build/SOURCES/em-websocket-0.5.3.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/em-websocket-0.5.3' + /usr/bin/gem spec /builddir/build/SOURCES/em-websocket-0.5.3.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd em-websocket-0.5.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/em-websocket-0.5.3.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.FX0BwI + umask 022 + cd /builddir/build/BUILD + cd em-websocket-0.5.3 + gem build em-websocket.gemspec `did_you_mean' was not loaded. WARNING: description and summary are identical WARNING: open-ended dependency on eventmachine (>= 0.12.9) is not recommended if eventmachine is semantically versioned, use: add_runtime_dependency 'eventmachine', '~> 0.12', '>= 0.12.9' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: em-websocket Version: 0.5.3 File: em-websocket-0.5.3.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 -m64 -mtune=generic -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 -m64 -mtune=generic -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 em-websocket-0.5.3.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/em-websocket-0.5.3 Bin dir: /builddir/build/BUILD/em-websocket-0.5.3/usr/bin Gem home: /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems Plugins dir: /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/plugins /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/.gitignore /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/CHANGELOG.rdoc /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/Gemfile /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/LICENCE /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/README.md /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/Rakefile /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/em-websocket.gemspec /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/examples/echo.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/examples/multicast.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/examples/ping.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/examples/test.html /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/close03.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/close05.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/close06.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/close75.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/connection.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/debugger.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/framing03.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/framing04.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/framing05.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/framing07.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/framing76.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler03.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler05.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler06.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler07.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler08.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler13.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler75.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handler76.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handshake.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handshake04.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handshake75.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/handshake76.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/masking04.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/message_processor_03.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/message_processor_06.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/version.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/lib/em-websocket/websocket.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/helper.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/common_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/draft03_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/draft05_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/draft06_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/draft13_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/draft75_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/draft76_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/gte_03_examples.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/integration/shared_examples.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/unit/framing_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/unit/handshake_spec.rb /builddir/build/BUILD/em-websocket-0.5.3/usr/share/gems/gems/em-websocket-0.5.3/spec/unit/masking_spec.rb Successfully installed em-websocket-0.5.3 Parsing documentation for em-websocket-0.5.3 Parsing sources... 3% [ 1/30] lib/em-websocket.rb 6% [ 2/30] lib/em-websocket/close03.rb 10% [ 3/30] lib/em-websocket/close05.rb 13% [ 4/30] lib/em-websocket/close06.rb 16% [ 5/30] lib/em-websocket/close75.rb 20% [ 6/30] lib/em-websocket/connection.rb 23% [ 7/30] lib/em-websocket/debugger.rb 26% [ 8/30] lib/em-websocket/framing03.rb 30% [ 9/30] lib/em-websocket/framing04.rb 33% [10/30] lib/em-websocket/framing05.rb 36% [11/30] lib/em-websocket/framing07.rb 40% [12/30] lib/em-websocket/framing76.rb 43% [13/30] lib/em-websocket/handler.rb 46% [14/30] lib/em-websocket/handler03.rb 50% [15/30] lib/em-websocket/handler05.rb 53% [16/30] lib/em-websocket/handler06.rb 56% [17/30] lib/em-websocket/handler07.rb 60% [18/30] lib/em-websocket/handler08.rb 63% [19/30] lib/em-websocket/handler13.rb 66% [20/30] lib/em-websocket/handler75.rb 70% [21/30] lib/em-websocket/handler76.rb 73% [22/30] lib/em-websocket/handshake.rb 76% [23/30] lib/em-websocket/handshake04.rb 80% [24/30] lib/em-websocket/handshake75.rb 83% [25/30] lib/em-websocket/handshake76.rb 86% [26/30] lib/em-websocket/masking04.rb 90% [27/30] lib/em-websocket/message_processor_03.rb 93% [28/30] lib/em-websocket/message_processor_06.rb 96% [29/30] lib/em-websocket/version.rb 100% [30/30] lib/em-websocket/websocket.rb Installing ri documentation for em-websocket-0.5.3 Installing darkfish documentation for em-websocket-0.5.3 Done installing documentation for em-websocket after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GEN7k1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64 + cd em-websocket-0.5.3 + mkdir -p /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64/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-em-websocket-0.5.3-1.x86_64/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-em-websocket-0.5.3-1.x86_64/usr/share/gems/ + '[' -d ./usr/bin ']' ~/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64 ~/build/BUILD/em-websocket-0.5.3 + '[' -d ext ']' + pushd /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64 + touch filelist.lst + '[' -d /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64/usr/bin ']' + popd ~/build/BUILD/em-websocket-0.5.3 + mv /builddir/build/BUILDROOT/rubygem-em-websocket-0.5.3-1.x86_64/filelist.lst . + /usr/bin/find-debuginfo -j32 --strict-build-id -i --build-id-seed 0.5.3-1 --unique-debug-suffix -0.5.3-1.x86_64 --unique-debug-src-base rubygem-em-websocket-0.5.3-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/em-websocket-0.5.3 + /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-em-websocket-0.5.3-1.noarch warning: Empty %files file /builddir/build/BUILD/em-websocket-0.5.3/filelist.lst `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(em-websocket) = 0.5.3 rubygem-em-websocket rubygem-em-websocket = 0.5.3-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(http_parser.rb) with rubygem(http_parser.rb) < 1) ruby(rubygems) rubygem(eventmachine) >= 0.12.9 Processing files: rubygem-em-websocket-help-0.5.3-1.noarch Provides: rubygem-em-websocket-doc rubygem-em-websocket-help = 0.5.3-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-em-websocket-0.5.3-1.x86_64 error: Installed (but unpackaged) file(s) found: /usr/share/gems/gems/em-websocket-0.5.3/.gitignore Empty %files file /builddir/build/BUILD/em-websocket-0.5.3/filelist.lst Installed (but unpackaged) file(s) found: /usr/share/gems/gems/em-websocket-0.5.3/.gitignore RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-em-websocket.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 598, 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 --target x86_64 --nodeps /builddir/build/SPECS/rubygem-em-websocket.spec