Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rubygem-factory_bot.spec'], chrootPath='/var/lib/mock/fedora-38-ppc64le-1686706930.748349/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3rdsqy4g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.3rdsqy4g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '0f89f4cf52034b128bb2400e8b467ad6', '-D', '/var/lib/mock/fedora-38-ppc64le-1686706930.748349/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3rdsqy4g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --nodeps /builddir/build/SPECS/rubygem-factory_bot.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rubygem-factory_bot-6.2.1-4.fc38.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rubygem-factory_bot.spec'], chrootPath='/var/lib/mock/fedora-38-ppc64le-1686706930.748349/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3rdsqy4g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.3rdsqy4g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '11f6d56c3a094fa2b9bf48c1ab85eb05', '-D', '/var/lib/mock/fedora-38-ppc64le-1686706930.748349/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3rdsqy4g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --nodeps /builddir/build/SPECS/rubygem-factory_bot.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5iqdmN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf factory_bot-6.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/factory_bot-6.2.1-specs.txz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/factory_bot-6.2.1-features.txz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/factory_bot-6.2.1.gem Unpacked gem: '/builddir/build/BUILD/factory_bot-6.2.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd factory_bot-6.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + mv factory_bot-6.2.1/lib . Patch #0 (rubygem-factory_bot-pr1561-ruby32-ruby32-did_you_mean-test.patch): + echo 'Patch #0 (rubygem-factory_bot-pr1561-ruby32-ruby32-did_you_mean-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file lib/factory_bot/definition.rb patching file lib/factory_bot/registry.rb patching file spec/acceptance/traits_spec.rb patching file spec/factory_bot/registry_spec.rb patching file spec/support/matchers/raise_did_you_mean_error.rb + mv lib factory_bot-6.2.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VlsFym + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd factory_bot-6.2.1 + gem build ../factory_bot-6.2.1.gemspec WARNING: open-ended dependency on activesupport (>= 5.0.0) is not recommended if activesupport is semantically versioned, use: add_runtime_dependency 'activesupport', '~> 5.0', '>= 5.0.0' WARNING: open-ended dependency on activerecord (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on appraisal (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on aruba (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on cucumber (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rspec (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on rspec-its (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on standard (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on simplecov (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on yard (>= 0, development) 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: factory_bot Version: 6.2.1 File: factory_bot-6.2.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc factory_bot-6.2.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/factory_bot-6.2.1 Bin dir: /builddir/build/BUILD/factory_bot-6.2.1/usr/bin Gem home: /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems Plugins dir: /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/plugins /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/.yardopts /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/CONTRIBUTING.md /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/GETTING_STARTED.md /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/LICENSE /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/NAME.md /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/NEWS.md /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/README.md /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/aliases.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/attribute.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/attribute/association.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/attribute/dynamic.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/attribute/sequence.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/attribute_assigner.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/attribute_list.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/callback.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/callbacks_observer.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/configuration.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/declaration.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/declaration/association.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/declaration/dynamic.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/declaration/implicit.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/declaration_list.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/decorator.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/decorator/attribute_hash.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/decorator/disallows_duplicates_registry.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/decorator/invocation_tracker.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/decorator/new_constructor.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/definition.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/definition_hierarchy.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/definition_proxy.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/enum.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/errors.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/evaluation.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/evaluator.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/evaluator_class_definer.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/factory.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/factory_runner.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/find_definitions.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/internal.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/linter.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/null_factory.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/null_object.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/registry.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/reload.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/sequence.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/strategy/attributes_for.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/strategy/build.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/strategy/create.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/strategy/null.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/strategy/stub.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/strategy_calculator.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/strategy_syntax_method_registrar.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/syntax.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/syntax/default.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/syntax/methods.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/syntax_runner.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/trait.rb /builddir/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1/lib/factory_bot/version.rb Successfully installed factory_bot-6.2.1 Parsing documentation for factory_bot-6.2.1 Parsing sources... 1% [ 1/52] lib/factory_bot.rb 3% [ 2/52] lib/factory_bot/aliases.rb 5% [ 3/52] lib/factory_bot/attribute.rb 7% [ 4/52] lib/factory_bot/attribute/association.rb 9% [ 5/52] lib/factory_bot/attribute/dynamic.rb 11% [ 6/52] lib/factory_bot/attribute/sequence.rb 13% [ 7/52] lib/factory_bot/attribute_assigner.rb 15% [ 8/52] lib/factory_bot/attribute_list.rb 17% [ 9/52] lib/factory_bot/callback.rb 19% [10/52] lib/factory_bot/callbacks_observer.rb 21% [11/52] lib/factory_bot/configuration.rb 23% [12/52] lib/factory_bot/declaration.rb 25% [13/52] lib/factory_bot/declaration/association.rb 26% [14/52] lib/factory_bot/declaration/dynamic.rb 28% [15/52] lib/factory_bot/declaration/implicit.rb 30% [16/52] lib/factory_bot/declaration_list.rb 32% [17/52] lib/factory_bot/decorator.rb 34% [18/52] lib/factory_bot/decorator/attribute_hash.rb 36% [19/52] lib/factory_bot/decorator/disallows_duplicates_registry.rb 38% [20/52] lib/factory_bot/decorator/invocation_tracker.rb 40% [21/52] lib/factory_bot/decorator/new_constructor.rb 42% [22/52] lib/factory_bot/definition.rb 44% [23/52] lib/factory_bot/definition_hierarchy.rb 46% [24/52] lib/factory_bot/definition_proxy.rb 48% [25/52] lib/factory_bot/enum.rb 50% [26/52] lib/factory_bot/errors.rb 51% [27/52] lib/factory_bot/evaluation.rb 53% [28/52] lib/factory_bot/evaluator.rb 55% [29/52] lib/factory_bot/evaluator_class_definer.rb 57% [30/52] lib/factory_bot/factory.rb 59% [31/52] lib/factory_bot/factory_runner.rb 61% [32/52] lib/factory_bot/find_definitions.rb 63% [33/52] lib/factory_bot/internal.rb 65% [34/52] lib/factory_bot/linter.rb 67% [35/52] lib/factory_bot/null_factory.rb 69% [36/52] lib/factory_bot/null_object.rb 71% [37/52] lib/factory_bot/registry.rb 73% [38/52] lib/factory_bot/reload.rb 75% [39/52] lib/factory_bot/sequence.rb 76% [40/52] lib/factory_bot/strategy/attributes_for.rb 78% [41/52] lib/factory_bot/strategy/build.rb 80% [42/52] lib/factory_bot/strategy/create.rb 82% [43/52] lib/factory_bot/strategy/null.rb 84% [44/52] lib/factory_bot/strategy/stub.rb 86% [45/52] lib/factory_bot/strategy_calculator.rb 88% [46/52] lib/factory_bot/strategy_syntax_method_registrar.rb 90% [47/52] lib/factory_bot/syntax.rb 92% [48/52] lib/factory_bot/syntax/default.rb 94% [49/52] lib/factory_bot/syntax/methods.rb 96% [50/52] lib/factory_bot/syntax_runner.rb 98% [51/52] lib/factory_bot/trait.rb 100% [52/52] lib/factory_bot/version.rb Installing ri documentation for factory_bot-6.2.1 Installing darkfish documentation for factory_bot-6.2.1 Done installing documentation for factory_bot after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1BrAAK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-factory_bot-6.2.1-4.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-factory_bot-6.2.1-4.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/rubygem-factory_bot-6.2.1-4.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-factory_bot-6.2.1-4.fc38.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd factory_bot-6.2.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-factory_bot-6.2.1-4.fc38.ppc64le/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-factory_bot-6.2.1-4.fc38.ppc64le/usr/share/gems/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 6.2.1-4.fc38 --unique-debug-suffix -6.2.1-4.fc38.ppc64le --unique-debug-src-base rubygem-factory_bot-6.2.1-4.fc38.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/factory_bot-6.2.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FRFWCH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd factory_bot-6.2.1 + pushd ./usr/share/gems/gems/factory_bot-6.2.1 ~/build/BUILD/factory_bot-6.2.1/usr/share/gems/gems/factory_bot-6.2.1 ~/build/BUILD/factory_bot-6.2.1 + cp -a /builddir/build/BUILD/spec . + sed -i '/simplecov/ s/^/#/' spec/spec_helper.rb + rspec -rfileutils -rspec_helper spec Randomized with seed 12911 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 4 deprecation warnings total Finished in 3.19 seconds (files took 0.69059 seconds to load) 652 examples, 0 failures Randomized with seed 12911 Deprecation Warnings: The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g `expect { value }.to raise Exception with an instance of KeyError and having attributes {:detailed_message => /Did you mean\?/}` not `expect(value).to raise Exception with an instance of KeyError and having attributes {:detailed_message => /Did you mean\?/}` The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g `expect { value }.to raise FactoryBot::MethodDefinitionError with message matching /Defining methods in blocks \(trait or factory\) is not supported \(generate_name\)/` not `expect(value).to raise FactoryBot::MethodDefinitionError with message matching /Defining methods in blocks \(trait or factory\) is not supported \(generate_name\)/` The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g `expect { value }.to raise KeyError` not `expect(value).to raise KeyError` The implicit block expectation syntax is deprecated, you should pass a block rather than an argument to `expect` to use the provided block expectation matcher or the matcher must implement `supports_value_expectations?`. e.g `expect { value }.to raise NoMethodError with "undefined method 'static_attributes_are_gone' in 'broken' factory\nDid you mean? 'static_attributes_are_gone { \"true\" }'\n"` not `expect(value).to raise NoMethodError with "undefined method 'static_attributes_are_gone' in 'broken' factory\nDid you mean? 'static_attributes_are_gone { \"true\" }'\n"` If you need more of the backtrace for any of these deprecations to identify where to make the necessary changes, you can configure `config.raise_errors_for_deprecations!`, and it will turn the deprecation warnings into errors, giving you the full backtrace. + ln -s /builddir/build/BUILD/features . + sed -i '/simplecov/ s/^/#/' features/support/env.rb + cucumber Feature: FactoryBot can find factory definitions correctly Scenario: Find definitions with a path # features/find_definitions.feature:2 Given a file named "awesome_factories.rb" with: # aruba-2.1.0/lib/aruba/cucumber/file.rb:26 """ FactoryBot.define do factory :awesome_category, :class => Category do name { "awesome!!!" } end end """ When "awesome_factories.rb" is added to FactoryBot's file definitions path # features/step_definitions/factory_bot_steps.rb:10 And I create a "awesome_category" instance from FactoryBot # features/step_definitions/factory_bot_steps.rb:26 Then I should find the following for the last category: # features/step_definitions/database_steps.rb:1 | name | | awesome!!! | Scenario: Find definitions with an absolute path # features/find_definitions.feature:17 Given a file named "awesome_factories.rb" with: # aruba-2.1.0/lib/aruba/cucumber/file.rb:26 """ FactoryBot.define do factory :another_awesome_category, :class => Category do name { "awesome!!!" } end end """ When "awesome_factories.rb" is added to FactoryBot's file definitions path as an absolute path # features/step_definitions/factory_bot_steps.rb:18 And I create a "another_awesome_category" instance from FactoryBot # features/step_definitions/factory_bot_steps.rb:26 Then I should find the following for the last category: # features/step_definitions/database_steps.rb:1 | name | | awesome!!! | Scenario: Find definitions with a folder # features/find_definitions.feature:32 Given a file named "nested/great_factories.rb" with: # aruba-2.1.0/lib/aruba/cucumber/file.rb:26 """ FactoryBot.define do factory :great_category, :class => Category do name { "great!!!" } end end """ When "nested" is added to FactoryBot's file definitions path # features/step_definitions/factory_bot_steps.rb:10 And I create a "great_category" instance from FactoryBot # features/step_definitions/factory_bot_steps.rb:26 Then I should find the following for the last category: # features/step_definitions/database_steps.rb:1 | name | | great!!! | Scenario: Reload FactoryBot # features/find_definitions.feature:47 Given a file named "nested/reload_factories.rb" with: # aruba-2.1.0/lib/aruba/cucumber/file.rb:26 """ FactoryBot.define do sequence(:great) trait :admin do admin { true } end factory :handy_category, :class => Category do name { "handy" } end end """ When "nested" is added to FactoryBot's file definitions path # features/step_definitions/factory_bot_steps.rb:10 And I append to "nested/reload_factories.rb" with: # aruba-2.1.0/lib/aruba/cucumber/file.rb:67 """ FactoryBot.modify do factory :handy_category do name { "HANDY!!!" } end end """ And I reload factories # features/step_definitions/factory_bot_steps.rb:34 And I create a "handy_category" instance from FactoryBot # features/step_definitions/factory_bot_steps.rb:26 Then I should find the following for the last category: # features/step_definitions/database_steps.rb:1 | name | | HANDY!!! | 4 scenarios (4 passed) 18 steps (18 passed) 0m0.056s ┌──────────────────────────────────────────────────────────────────────────────┐ │ Share your Cucumber Report with your team at https://reports.cucumber.io │ │ │ │ Command line option: --publish │ │ Environment variable: CUCUMBER_PUBLISH_ENABLED=true │ │ cucumber.yml: default: --publish │ │ │ │ More information at https://cucumber.io/docs/cucumber/environment-variables/ │ │ │ │ To disable this message, specify CUCUMBER_PUBLISH_QUIET=true or use the │ │ --publish-quiet option. You can also add this to your cucumber.yml: │ │ default: --publish-quiet │ └──────────────────────────────────────────────────────────────────────────────┘ + popd ~/build/BUILD/factory_bot-6.2.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-factory_bot-6.2.1-4.fc38.noarch Provides: rubygem(factory_bot) = 6.2.1 rubygem-factory_bot = 6.2.1-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ruby(rubygems) rubygem(activesupport) >= 5.0.0 Obsoletes: rubygem-factory_girl < 4.10.0 Processing files: rubygem-factory_bot-doc-6.2.1-4.fc38.noarch Provides: rubygem-factory_bot-doc = 6.2.1-4.fc38 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-factory_bot-6.2.1-4.fc38.ppc64le Wrote: /builddir/build/RPMS/rubygem-factory_bot-6.2.1-4.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-factory_bot-doc-6.2.1-4.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SNTwig + umask 022 + cd /builddir/build/BUILD + cd factory_bot-6.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-factory_bot-6.2.1-4.fc38.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.8RKY6a + umask 022 + cd /builddir/build/BUILD + rm -rf factory_bot-6.2.1 factory_bot-6.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0