Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-gstreamer.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678469856.552956/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-gstreamer.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-gstreamer-4.1.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 x86_64 --nodeps /builddir/build/SPECS/rubygem-gstreamer.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678469856.552956/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-gstreamer.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-gstreamer-4.1.2-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-gstreamer.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678469856.552956/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-gstreamer.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.olCBK6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gstreamer-4.1.2 + /usr/bin/gem unpack /builddir/build/SOURCES/gstreamer-4.1.2.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/gstreamer-4.1.2' + /usr/bin/gem spec /builddir/build/SOURCES/gstreamer-4.1.2.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd gstreamer-4.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/gstreamer-4.1.2.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.dWplYr + umask 022 + cd /builddir/build/BUILD + cd gstreamer-4.1.2 + gem build gstreamer.gemspec `did_you_mean' was not loaded. WARNING: description and summary are identical WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: gstreamer Version: 4.1.2 File: gstreamer-4.1.2.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 gstreamer-4.1.2.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/gstreamer-4.1.2 Bin dir: /builddir/build/BUILD/gstreamer-4.1.2/usr/bin Gem home: /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems Plugins dir: /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/plugins /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/COPYING.LIB /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/README.md /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/Rakefile /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/ext/gstreamer/depend /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/ext/gstreamer/extconf.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/ext/gstreamer/rbgst-child-proxy.c /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/ext/gstreamer/rbgst.c /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/ext/gstreamer/rbgst.h /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/extconf.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/gstreamer.gemspec /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/base-loader.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/bin.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/bus.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/caps.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/controller-loader.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/element-factory.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/element.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/loader.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/plugin-feature.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/registry.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/structure.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/tag-list.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/type-find-factory.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gst/version.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/lib/gstreamer.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/audio-example.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/framestep1.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/gst-inspect.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/gtk-video.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/helloworld.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/mp3parselaunch.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/queue.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/stream-status.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/text-color-example.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/sample/typefind.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/gstreamer-test-utils.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/run-test.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-bin.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-bus.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-caps.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-child-proxy.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-element-factory.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-map-info.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-tag-list.rb /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/test/test-version.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/ext/gstreamer ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1301-wdt7w2.rb", "extconf.rb"] ERROR: Error installing gstreamer-4.1.2.gem: ERROR: Failed to build gem native extension. current directory: /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2/ext/gstreamer /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1301-wdt7w2.rb extconf.rb Building has failed. See above output for more information on the failure. extconf failed, exit code 1 Gem files will remain installed in /builddir/build/BUILD/gstreamer-4.1.2/usr/share/gems/gems/gstreamer-4.1.2 for inspection. Results logged to /builddir/build/BUILD/gstreamer-4.1.2/usr/lib64/gems/ruby/gstreamer-4.1.2/gem_make.out `did_you_mean' was not loaded. :85:in `require': cannot load such file -- mkmf-gnome (LoadError) from :85:in `require' from extconf.rb:32:in `
' error: Bad exit status from /var/tmp/rpm-tmp.dWplYr (%build) Bad exit status from /var/tmp/rpm-tmp.dWplYr (%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-gstreamer.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-gstreamer.spec