Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-declarative_authorization.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1649292086.259478/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dclf0yj2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dclf0yj2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '70442b29df724619923cf796991a073e', '-D', '/var/lib/mock/centos-stream-8-x86_64-1649292086.259478/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dclf0yj2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-declarative_authorization.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-declarative_authorization-0.5.7-17.el8.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-declarative_authorization.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1649292086.259478/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dclf0yj2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dclf0yj2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c70e459953ce4abfa2a30349a29f83ae', '-D', '/var/lib/mock/centos-stream-8-x86_64-1649292086.259478/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dclf0yj2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/rubygem-declarative_authorization.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.B3QK7w + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/declarative_authorization-0.5.7.gem Unpacked gem: '/builddir/build/BUILD/declarative_authorization-0.5.7' + cd /builddir/build/BUILD + cd declarative_authorization-0.5.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/declarative_authorization-0.5.7.gem -l --ruby + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bwBIix + umask 022 + cd /builddir/build/BUILD + cd declarative_authorization-0.5.7 + gem build declarative_authorization.gemspec WARNING: licenses is empty, but is recommended. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: declarative_authorization Version: 0.5.7 File: declarative_authorization-0.5.7.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 -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc declarative_authorization-0.5.7.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/declarative_authorization-0.5.7 Bin dir: /builddir/build/BUILD/declarative_authorization-0.5.7/usr/bin Gem home: /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/CHANGELOG /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/MIT-LICENSE /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/README.rdoc /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/Rakefile /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/controllers/authorization_rules_controller.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/controllers/authorization_usages_controller.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/helpers/authorization_rules_helper.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/_change.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/_show_graph.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/_suggestions.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/change.html.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/graph.dot.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/graph.html.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_rules/index.html.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/app/views/authorization_usages/index.html.erb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/authorization_rules.dist.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/config/routes.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/garlic_example.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/init.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/authorization.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/analyzer.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/change_analyzer.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/change_supporter.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/development_support/development_support.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/helper.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/in_controller.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/in_model.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/maintenance.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/obligation_scope.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/rails_legacy.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/railsengine.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/declarative_authorization/reader.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/lib/tasks/authorization_tasks.rake /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/authorization_test.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/controller_filter_resource_access_test.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/controller_test.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/database.yml /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/dsl_reader_test.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/helper_test.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/maintenance_test.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/model_test.rb /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/schema.sql /builddir/build/BUILD/declarative_authorization-0.5.7/usr/share/gems/gems/declarative_authorization-0.5.7/test/test_helper.rb Successfully installed declarative_authorization-0.5.7 Parsing documentation for declarative_authorization-0.5.7 Parsing sources... 5% [ 1/17] CHANGELOG 11% [ 2/17] README.rdoc 17% [ 3/17] lib/declarative_authorization.rb 23% [ 4/17] lib/declarative_authorization/authorization.rb 29% [ 5/17] lib/declarative_authorization/development_support/analyzer.rb 35% [ 6/17] ...eclarative_authorization/development_support/change_analyzer.rb 41% [ 7/17] ...clarative_authorization/development_support/change_supporter.rb 47% [ 8/17] ...rative_authorization/development_support/development_support.rb 52% [ 9/17] lib/declarative_authorization/helper.rb 58% [10/17] lib/declarative_authorization/in_controller.rb 64% [11/17] lib/declarative_authorization/in_model.rb 70% [12/17] lib/declarative_authorization/maintenance.rb 76% [13/17] lib/declarative_authorization/obligation_scope.rb 82% [14/17] lib/declarative_authorization/rails_legacy.rb 88% [15/17] lib/declarative_authorization/railsengine.rb 94% [16/17] lib/declarative_authorization/reader.rb 100% [17/17] lib/tasks/authorization_tasks.rake Installing ri documentation for declarative_authorization-0.5.7 Installing darkfish documentation for declarative_authorization-0.5.7 Done installing documentation for declarative_authorization after 1 seconds 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.v2Pjgt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-declarative_authorization-0.5.7-17.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-declarative_authorization-0.5.7-17.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-declarative_authorization-0.5.7-17.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-declarative_authorization-0.5.7-17.el8.x86_64 + cd declarative_authorization-0.5.7 + mkdir -p /builddir/build/BUILDROOT/rubygem-declarative_authorization-0.5.7-17.el8.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/specifications /builddir/build/BUILDROOT/rubygem-declarative_authorization-0.5.7-17.el8.x86_64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.5.7-17.el8 --unique-debug-suffix -0.5.7-17.el8.x86_64 --unique-debug-src-base rubygem-declarative_authorization-0.5.7-17.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/declarative_authorization-0.5.7 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rubygem-declarative_authorization-0.5.7-17.el8.noarch warning: File listed twice: /usr/share/gems/gems/declarative_authorization-0.5.7/MIT-LICENSE Provides: rubygem(declarative_authorization) = 0.5.7-1 rubygem-declarative_authorization = 0.5.7-17.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) Processing files: rubygem-declarative_authorization-doc-0.5.7-17.el8.noarch Provides: rubygem-declarative_authorization-doc = 0.5.7-17.el8 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-declarative_authorization-0.5.7-17.el8.x86_64 Wrote: /builddir/build/RPMS/rubygem-declarative_authorization-0.5.7-17.el8.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-declarative_authorization-doc-0.5.7-17.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8fGbDw + umask 022 + cd /builddir/build/BUILD + cd declarative_authorization-0.5.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-declarative_authorization-0.5.7-17.el8.x86_64 + exit 0 Child return code was: 0