Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-mini_magick.spec'], chrootPath='/var/lib/mock/f40-build-51698019-6188353/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '3b97cdc39e2e48b1b5c5387bfd74cc4d', '-D', '/var/lib/mock/f40-build-51698019-6188353/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-mini_magick.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/rubygem-mini_magick-4.11.0-9.fc40.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 --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-mini_magick.spec'], chrootPath='/var/lib/mock/f40-build-51698019-6188353/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'd1896c7d7de344379df7bea0f95466dd', '-D', '/var/lib/mock/f40-build-51698019-6188353/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-mini_magick.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9GkceZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mini_magick-4.11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mini_magick-4.11.0-tests.txz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mini_magick-4.11.0.gem Unpacked gem: '/builddir/build/BUILD/mini_magick-4.11.0' + STATUS=0 + '[' 0 -ne 0 ']' + cd mini_magick-4.11.0 + rm -rf /builddir/build/BUILD/mini_magick-4.11.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/mini_magick-4.11.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD/spec Patch #0 (rubygem-mini_magick-4.11.0-File_exists-removal.patch): + echo 'Patch #0 (rubygem-mini_magick-4.11.0-File_exists-removal.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file lib/mini_magick/image_spec.rb Hunk #2 succeeded at 250 (offset -13 lines). Hunk #3 succeeded at 711 (offset -20 lines). Hunk #4 succeeded at 726 (offset -20 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NE3Plu + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mini_magick-4.11.0 + gem build ../mini_magick-4.11.0.gemspec WARNING: description and summary are identical WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on guard (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on guard-rspec (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on posix-spawn (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on webmock (>= 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: mini_magick Version: 4.11.0 File: mini_magick-4.11.0.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 mini_magick-4.11.0.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/mini_magick-4.11.0 Bin dir: /builddir/build/BUILD/mini_magick-4.11.0/usr/bin Gem home: /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems Plugins dir: /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/plugins /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/MIT-LICENSE /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/Rakefile /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_gmagick.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/configuration.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/image.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/image/info.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/shell.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/animate.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/compare.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/composite.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/conjure.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/convert.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/display.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/identify.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/import.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/magick.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/mogrify.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/mogrify_restricted.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/montage.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/tool/stream.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/utilities.rb /builddir/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0/lib/mini_magick/version.rb Successfully installed mini_magick-4.11.0 Parsing documentation for mini_magick-4.11.0 Parsing sources... 4% [ 1/22] lib/mini_gmagick.rb 9% [ 2/22] lib/mini_magick.rb 13% [ 3/22] lib/mini_magick/configuration.rb 18% [ 4/22] lib/mini_magick/image.rb 22% [ 5/22] lib/mini_magick/image/info.rb 27% [ 6/22] lib/mini_magick/shell.rb 31% [ 7/22] lib/mini_magick/tool.rb 36% [ 8/22] lib/mini_magick/tool/animate.rb 40% [ 9/22] lib/mini_magick/tool/compare.rb 45% [10/22] lib/mini_magick/tool/composite.rb 50% [11/22] lib/mini_magick/tool/conjure.rb 54% [12/22] lib/mini_magick/tool/convert.rb 59% [13/22] lib/mini_magick/tool/display.rb 63% [14/22] lib/mini_magick/tool/identify.rb 68% [15/22] lib/mini_magick/tool/import.rb 72% [16/22] lib/mini_magick/tool/magick.rb 77% [17/22] lib/mini_magick/tool/mogrify.rb 81% [18/22] lib/mini_magick/tool/mogrify_restricted.rb 86% [19/22] lib/mini_magick/tool/montage.rb 90% [20/22] lib/mini_magick/tool/stream.rb 95% [21/22] lib/mini_magick/utilities.rb 100% [22/22] lib/mini_magick/version.rb Installing ri documentation for mini_magick-4.11.0 Installing darkfish documentation for mini_magick-4.11.0 Done installing documentation for mini_magick after 0 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7PRQBj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-mini_magick-4.11.0-9.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-mini_magick-4.11.0-9.fc40.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-mini_magick-4.11.0-9.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-mini_magick-4.11.0-9.fc40.noarch + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mini_magick-4.11.0 + mkdir -p /builddir/build/BUILDROOT/rubygem-mini_magick-4.11.0-9.fc40.noarch/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-mini_magick-4.11.0-9.fc40.noarch/usr/share/gems/ + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 4.11.0-9.fc40 --unique-debug-suffix -4.11.0-9.fc40.noarch --unique-debug-src-base rubygem-mini_magick-4.11.0-9.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mini_magick-4.11.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /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 -j80 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JX199v + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' ~/build/BUILD/mini_magick-4.11.0/usr/share/gems/gems/mini_magick-4.11.0 ~/build/BUILD/mini_magick-4.11.0 + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mini_magick-4.11.0 + pushd ./usr/share/gems/gems/mini_magick-4.11.0 + ln -s /builddir/build/BUILD/spec . + sed -i -e '/require "pry"/ s/^/#/g' -e '/require "bundler/ s/^/#/g' spec/spec_helper.rb + sed -i -e '/^ \[:imagemagick, :graphicsmagick\].each do |cli|$/ s/, :graphicsmagick//g' -e '/^ \["open3", "posix-spawn"\].each do |shell_api|$/ s/, "posix-spawn"//g' spec/spec_helper.rb + sed -i '/^ it "identifies when gm exists" do$/,/ end/ s/^/#/g' spec/lib/mini_magick/utilities_spec.rb + sed -i '/^ it "returns GraphicsMagick'\''s version" do$/,/ end/ s/^/#/g' spec/lib/mini_magick_spec.rb + sed -i -e 's|, "GraphicsMagick"||' spec/lib/mini_magick/image_spec.rb + sed -i '/ have_key("date:create")/ s/^/#/' spec/lib/mini_magick/image_spec.rb + sed -i '/^\s*it "does not hang when parsing verbose data" do$/ a \ skip' spec/lib/mini_magick/image_spec.rb + rspec spec Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} MiniMagick::Configuration #configure yields self #cli can be assigned returns :imagemagick if #processor is mogrify returns :graphicsmagick if #processor is gm raises an error if #processor could not be found #cli= raises an error when set to an invalid value #cli_prefix can be assigned #processor assigns 'mogrify' if ImageMagick 6 is available, and others are not assigns 'gm' if others are not available assigns 'magick' if ImageMagick 7 available returns nil if neither ImageMagick nor GraphicsMagick are available #processor= raises an error when set to an invalid value With ImageMagick MiniMagick::Image has attributes generates attributes of layers changes colorspace when called with an argument changes size when called with an argument .read reads image from String reads image from StringIO reads image from tempfile .import_pixels can import pixels with default format can import pixels with custom format .open makes a copy of the image accepts a Pathname accepts a non-ascii filename loads a remote image doesn't allow remote shell execution accepts open-uri options strips out colons from URL validates the image does not mistake a path with a colon for a URI schema .create creates an image validates the image if validation is set doesn't validate image if validation is disabled #initialize initializes a new image accepts a Pathname accepts a block which it passes on to #combine_options equivalence is #== and #eql? to itself is #== and #eql? to an instance of the same image is not #== nor #eql? to an instance of a different image generates the same hash code for an instance of the same image generates different same hash codes for a different image #tempfile returns the underlying temporary file #format changes the format of the photo reformats an image with a given extension creates the file with new extension accepts a block of additional commands works without an extension with .open works without an extension with .new deletes the previous tempfile deletes *.cache files generated from .mpc doesn't delete itself when formatted to the same format reformats multi-image formats to multiple images reformats multi-image formats to a single image reformats a layer clears the info only at the end returns self reads read_opts from passed arguments #write writes the image writes an image with stream writes layers accepts a Pathname works when writing to the same path #valid? returns true when image is valid returns false when image is not valid #[] inspects image meta info supports string keys reads exif (FAILED - 1) Failures: 1) With ImageMagick MiniMagick::Image#[] reads exif Failure/Error: expect(subject["EXIF:Flash"]).to eq "0" expected: # "0" got: # "0, " (compared using ==) # ./spec/lib/mini_magick/image_spec.rb:365:in `block (5 levels) in ' # /usr/share/gems/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in ' Finished in 2.31 seconds (files took 0.32544 seconds to load) 67 examples, 1 failure Failed examples: rspec ./spec/lib/mini_magick/image_spec.rb:363 # With ImageMagick MiniMagick::Image#[] reads exif error: Bad exit status from /var/tmp/rpm-tmp.JX199v (%check) %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.JX199v (%check) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d1896c7d7de344379df7bea0f95466dd -D /var/lib/mock/f40-build-51698019-6188353/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-mini_magick.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M d1896c7d7de344379df7bea0f95466dd -D /var/lib/mock/f40-build-51698019-6188353/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_CORE=infinity --bind=/tmp/mock-resolv.p1ubp2ut:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-mini_magick.spec'