Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-gio2.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678469427.676322/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-gio2.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-gio2-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-gio2.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678469427.676322/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-gio2.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-gio2-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-gio2.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1678469427.676322/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-gio2.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.wXXdKA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gio2-4.1.2 + /usr/bin/gem unpack /builddir/build/SOURCES/gio2-4.1.2.gem `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/gio2-4.1.2' + /usr/bin/gem spec /builddir/build/SOURCES/gio2-4.1.2.gem --ruby `did_you_mean' was not loaded. + STATUS=0 + '[' 0 -ne 0 ']' + cd gio2-4.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/gio2-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.wDdP1k + umask 022 + cd /builddir/build/BUILD + cd gio2-4.1.2 + gem build gio2.gemspec `did_you_mean' was not loaded. WARNING: open-ended dependency on fiddle (>= 0) 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: gio2 Version: 4.1.2 File: gio2-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 gio2-4.1.2.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/gio2-4.1.2 Bin dir: /builddir/build/BUILD/gio2-4.1.2/usr/bin Gem home: /builddir/build/BUILD/gio2-4.1.2/usr/share/gems Plugins dir: /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/plugins /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/COPYING.LIB /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/README.md /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/Rakefile /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2/depend /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2/extconf.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2/rb-gio2-application.c /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2/rb-gio2-pollable-source.c /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2/rb-gio2.c /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2/rb-gio2.h /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/extconf.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/gio2.gemspec /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/action-map.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/action.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/application-command-line.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/content-type.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/deprecated.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/file.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/icon.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/inet-address.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/loader.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/menu-item.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/output-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/pollable-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/pollable-output-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/resources.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/ruby-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/ruby-output-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/ruby-seekable.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/settings-schema-source.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/settings.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/simple-action.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/lib/gio2/volume.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/fixture/Rakefile /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/fixture/content-type/x-content/unix-software/autorun.sh /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/fixture/resource/Rakefile /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/fixture/resource/logo.png /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/fixture/resource/ruby-gio2.gresource.xml /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/fixture/schema/default/jp.ruby-gnome2.test.settings.gschema.xml /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/fixture/schema/source/jp.ruby-gnome2.test.source.gschema.xml /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/gio2-test-utils.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/gio2-test-utils/fixture.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/gio2-test-utils/omissions.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/gio2-test-utils/socket-client.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/run-test.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-action-map.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-application-command-line.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-buffered-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-charset-converter.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-content-type.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-data-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-dbus.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-file-enumerator.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-file-monitor.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-file.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-icon.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-inet-address.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-memory-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-memory-output-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-menu-item.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-mount.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-output-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-pollable-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-pollable-output-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-resolver.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-resources.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-ruby-input-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-ruby-output-stream.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-settings-schema-source.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-settings.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-simple-action.rb /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/test/test-version.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2 ["/usr/bin/ruby", "-I", "/usr/share/rubygems", "-r", "./siteconf20230310-1296-w2so8k.rb", "extconf.rb"] ERROR: Error installing gio2-4.1.2.gem: ERROR: Failed to build gem native extension. current directory: /builddir/build/BUILD/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2/ext/gio2 /usr/bin/ruby -I /usr/share/rubygems -r ./siteconf20230310-1296-w2so8k.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/gio2-4.1.2/usr/share/gems/gems/gio2-4.1.2 for inspection. Results logged to /builddir/build/BUILD/gio2-4.1.2/usr/lib64/gems/ruby/gio2-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.wDdP1k (%build) Bad exit status from /var/tmp/rpm-tmp.wDdP1k (%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-gio2.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-gio2.spec