Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-qpid_proton.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472563.628420/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-qpid_proton.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-qpid_proton-0.37.0-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-qpid_proton.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472563.628420/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-qpid_proton.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-qpid_proton-0.37.0-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-qpid_proton.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678472563.628420/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-qpid_proton.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.0ry3Dk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qpid_proton-0.37.0 + /usr/bin/gem unpack /builddir/build/SOURCES/qpid_proton-0.37.0.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/qpid_proton-0.37.0' + /usr/bin/gem spec /builddir/build/SOURCES/qpid_proton-0.37.0.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd qpid_proton-0.37.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/qpid_proton-0.37.0.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.mI48yg + umask 022 + cd /builddir/build/BUILD + cd qpid_proton-0.37.0 + gem build qpid_proton.gemspec `did_you_mean' was not loaded. Successfully built RubyGem Name: qpid_proton Version: 0.37.0 File: qpid_proton-0.37.0.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 qpid_proton-0.37.0.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/qpid_proton-0.37.0 Bin dir: /builddir/build/BUILD/qpid_proton-0.37.0/usr/bin Gem home: /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems Plugins dir: /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/plugins /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/LICENSE.txt /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/README.md /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/broker.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/client.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/direct_recv.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/direct_send.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/helloworld.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/server.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/simple_recv.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/simple_send.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/README.txt /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tclient-certificate.p12 /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tclient-certificate.pem /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tclient-full.p12 /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tclient-private-key.pem /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tserver-certificate.p12 /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tserver-certificate.pem /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tserver-full.p12 /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl-certs/tserver-private-key.pem /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/ssl_send.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/examples/testme /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/ext/cproton/cproton.c /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/ext/cproton/extconf.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/codec/data.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/codec/mapping.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/condition.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/connection.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/connection_driver.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/container.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/delivery.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/disposition.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/endpoint.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/event.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/exceptions.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/link.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/listener.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/message.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/messaging_handler.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/receiver.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/sasl.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/sender.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/session.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/ssl.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/ssl_details.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/ssl_domain.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/terminus.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/tracker.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/transfer.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/transport.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/uri.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/url.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/core/work_queue.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/handler/adapter.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/handler/messaging_adapter.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/handler/messaging_handler.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/handler/reactor_messaging_adapter.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/qpid_proton.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/reactor/container.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/types/array.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/types/described.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/types/hash.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/types/strings.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/types/type.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/util/deprecation.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/util/error_handler.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/util/schedule.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/util/version.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/lib/util/wrapper.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/collect_coverage.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_connection_driver.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_container.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_container_sasl.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_data.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_delivery.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_interop.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_messaging_adapter.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_old_adapter.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_tools.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_uri.rb /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/tests/test_utils.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/ext/cproton ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1301-cve6om.rb", "extconf.rb"] ERROR: Error installing qpid_proton-0.37.0.gem: ERROR: Failed to build gem native extension. current directory: /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0/ext/cproton /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1301-cve6om.rb extconf.rb Building has failed. See above output for more information on the failure. To see why this extension failed to compile, please check the mkmf.log which can be found here: /builddir/build/BUILD/qpid_proton-0.37.0/usr/lib64/gems/ruby/qpid_proton-0.37.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /builddir/build/BUILD/qpid_proton-0.37.0/usr/share/gems/gems/qpid_proton-0.37.0 for inspection. Results logged to /builddir/build/BUILD/qpid_proton-0.37.0/usr/lib64/gems/ruby/qpid_proton-0.37.0/gem_make.out `did_you_mean' was not loaded. checking for -lqpid-proton... no Missing library: qpid-proton *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib64 --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/bin/$(RUBY_BASE_NAME) --with-qpid-proton-dir --without-qpid-proton-dir --with-qpid-proton-include --without-qpid-proton-include=${qpid-proton-dir}/include --with-qpid-proton-lib --without-qpid-proton-lib=${qpid-proton-dir}/lib64 --with-qpid-protonlib --without-qpid-protonlib error: Bad exit status from /var/tmp/rpm-tmp.mI48yg (%build) Bad exit status from /var/tmp/rpm-tmp.mI48yg (%build) 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-qpid_proton.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-qpid_proton.spec