Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rubygem-mini_magick.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1721897157.364936/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-mini_magick-5.0.1-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-mini_magick.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1721897157.364936/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rubygem-mini_magick-5.0.1-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-mini_magick.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS-x86_64-1721897157.364936/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HBYUeh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mini_magick-5.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mini_magick-5.0.1.gem `did_you_mean' was not loaded. `did_you_mean' was not loaded. Unpacked gem: '/builddir/build/BUILD/mini_magick-5.0.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd mini_magick-5.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cOAJoo + umask 022 + cd /builddir/build/BUILD + cd mini_magick-5.0.1 + gem build ../mini_magick-5.0.1.gemspec `did_you_mean' was not loaded. 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 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: 5.0.1 File: mini_magick-5.0.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection '\'' --with-cxxflags='\''-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -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 mini_magick-5.0.1.gem `did_you_mean' was not loaded. WARNING: You build with buildroot. Build root: /builddir/build/BUILD/mini_magick-5.0.1 Bin dir: /builddir/build/BUILD/mini_magick-5.0.1/usr/bin Gem home: /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems Plugins dir: /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/plugins /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/MIT-LICENSE /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/README.md /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/Rakefile /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick.rb /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick/configuration.rb /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick/image.rb /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick/image/info.rb /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick/shell.rb /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick/tool.rb /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick/utilities.rb /builddir/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1/lib/mini_magick/version.rb Successfully installed mini_magick-5.0.1 Parsing documentation for mini_magick-5.0.1 Parsing sources... 12% [ 1/ 8] lib/mini_magick.rb 25% [ 2/ 8] lib/mini_magick/configuration.rb 37% [ 3/ 8] lib/mini_magick/image.rb 50% [ 4/ 8] lib/mini_magick/image/info.rb 62% [ 5/ 8] lib/mini_magick/shell.rb 75% [ 6/ 8] lib/mini_magick/tool.rb 87% [ 7/ 8] lib/mini_magick/utilities.rb 100% [ 8/ 8] lib/mini_magick/version.rb Installing ri documentation for mini_magick-5.0.1 Installing darkfish documentation for mini_magick-5.0.1 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.7EzME2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-mini_magick-5.0.1-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-mini_magick-5.0.1-1.x86_64 ++ dirname /builddir/build/BUILDROOT/rubygem-mini_magick-5.0.1-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-mini_magick-5.0.1-1.x86_64 + cd mini_magick-5.0.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-mini_magick-5.0.1-1.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/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-mini_magick-5.0.1-1.x86_64/usr/share/gems/ + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 5.0.1-1 --unique-debug-suffix -5.0.1-1.x86_64 --unique-debug-src-base rubygem-mini_magick-5.0.1-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/mini_magick-5.0.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wfl1zV + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/mini_magick-5.0.1/usr/share/gems/gems/mini_magick-5.0.1 ~/build/BUILD/mini_magick-5.0.1 + cd mini_magick-5.0.1 + pushd ./usr/share/gems/gems/mini_magick-5.0.1 + tar xzvf /builddir/build/SOURCES/v5.0.1.tar.gz minimagick-5.0.1/ minimagick-5.0.1/.github/ minimagick-5.0.1/.github/workflows/ minimagick-5.0.1/.github/workflows/ci.yml minimagick-5.0.1/.gitignore minimagick-5.0.1/.yardopts minimagick-5.0.1/CHANGELOG.md minimagick-5.0.1/Gemfile minimagick-5.0.1/MIT-LICENSE minimagick-5.0.1/README.md minimagick-5.0.1/Rakefile minimagick-5.0.1/lib/ minimagick-5.0.1/lib/mini_magick.rb minimagick-5.0.1/lib/mini_magick/ minimagick-5.0.1/lib/mini_magick/configuration.rb minimagick-5.0.1/lib/mini_magick/image.rb minimagick-5.0.1/lib/mini_magick/image/ minimagick-5.0.1/lib/mini_magick/image/info.rb minimagick-5.0.1/lib/mini_magick/shell.rb minimagick-5.0.1/lib/mini_magick/tool.rb minimagick-5.0.1/lib/mini_magick/utilities.rb minimagick-5.0.1/lib/mini_magick/version.rb minimagick-5.0.1/mini_magick.gemspec minimagick-5.0.1/spec/ minimagick-5.0.1/spec/fixtures/ minimagick-5.0.1/spec/fixtures/animation.gif minimagick-5.0.1/spec/fixtures/badly_encoded_line.jpg minimagick-5.0.1/spec/fixtures/clipping_path.jpg minimagick-5.0.1/spec/fixtures/default.jpg minimagick-5.0.1/spec/fixtures/empty_identify_line.png minimagick-5.0.1/spec/fixtures/engine.png minimagick-5.0.1/spec/fixtures/exif.jpg minimagick-5.0.1/spec/fixtures/get_pixels.png minimagick-5.0.1/spec/fixtures/large_webp.webp minimagick-5.0.1/spec/fixtures/no_exif.jpg minimagick-5.0.1/spec/fixtures/not_an_image.rb minimagick-5.0.1/spec/fixtures/rgb.png minimagick-5.0.1/spec/fixtures/with:colon.jpg minimagick-5.0.1/spec/fixtures/\343\202\271\343\202\257\343\203\252\343\203\274\343\203\263\343\202\267\343\203\247\343\203\203\343\203\210 2019-07-13 1.32.01.png minimagick-5.0.1/spec/lib/ minimagick-5.0.1/spec/lib/mini_magick/ minimagick-5.0.1/spec/lib/mini_magick/image_spec.rb minimagick-5.0.1/spec/lib/mini_magick/shell_spec.rb minimagick-5.0.1/spec/lib/mini_magick/tool_spec.rb minimagick-5.0.1/spec/lib/mini_magick/utilities_spec.rb minimagick-5.0.1/spec/lib/mini_magick_spec.rb minimagick-5.0.1/spec/spec_helper.rb minimagick-5.0.1/spec/support/ minimagick-5.0.1/spec/support/helpers.rb + cd minimagick-5.0.1 + sed -i -e '/require "bundler/ s/^/#/g' spec/spec_helper.rb + sed -i '/^ it "identifies when gm exists" do$/,/ end/ s/^/#/g' spec/lib/mini_magick/utilities_spec.rb + bundle exec rspec `did_you_mean' was not loaded. 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 does not mistake a path with a colon for a URI schema .create creates an image when a tmpdir is configured uses the tmpdir to create the file #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 generates the same hash code for an instance of the same 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 not change tempfile when convert failed #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 passes unknown values directly to -format #size returns the correct value even if the log contains unit prefixes #exif returns a hash of EXIF data decodes the ExifVersion handles no EXIF data #resolution accepts units #data when the data return is not an array returns image JSON data when the data return is an array (ex png) returns image JSON data #layers returns a list of images returns multiple images for GIFs, PDFs and PSDs returns one image for other formats #get_pixels without modifications returns a width-by-height matrix returns a magenta pixel returns a gray pixel returns a green pixel returns a cyan pixel after cropping returns a matrix of the requested height returns a matrix of the requested width returns a magenta pixel returns a gray pixel returns a cyan pixel returns a green pixel after resizing and desaturating returns a matrix of the requested height returns a matrix of the requested width returns gray pixels when first or last byte could be interpreted as control characters returns a matrix where all pixel has 3 values missing methods is executed by #method_missing returns self doesn't let ruby call #to_ary when flattening #combine_options chains multiple options and executes them in one command doesn't allow calling of #format clears the info only at the end returns self #composite creates a composite of two images creates a composite of two images with mask yields an optional block makes the composited image with the provided extension defaults the extension to the extension of the base image #collapse! collapses the image to one frame keeps the extension clears the info returns self #destroy! deletes the underlying tempfile doesn't delete when there is no tempfile deletes .cache files generated by handling .mpc files #identify returns the output of identify yields an optional block #landscape? returns true if image width greater than height returns false if image width less than height #portrait? returns true if image width greater than height returns false if image width less than height MiniMagick::Shell #run calls #execute with the command returns stdout, stderr and status uses stderr and status for error messages raises an error when executable wasn't found raises errors only in error mode prints to stderr output to $stderr in non-error mode terminate long running commands if timeout is set #execute executes the command in the shell returns an appropriate response when command wasn't found logs the command and execution time in debug mode doesn't break on spaces MiniMagick::Tool defines creation operator methods #call calls the shell to run the command strips the output accepts a block, and yields stdin, stdout and exit status accepts stdin .new accepts a block, and immediately executes the command #command includes the executable and the arguments #executable prepends 'magick' to the command list when using ImageMagick 7 respects #cli_prefix as a string respects #cli_prefix as an array #<< adds argument to the args list #merge! adds arguments to the args list #+ switches the last option to + form #stdin appends the '-' pseudo-filename #stdout appends the '-' pseudo-filename #stack it surrounds added arguments with parentheses accepts hash of options #clone adds an option instead of the default behaviour accepts arguments is convertible to plus version #method_missing adds CLI options MiniMagick::Utilities .which identifies when executable exists returns nil on nonexistent executables MiniMagick .cli_version returns ImageMagick's version Finished in 4.42 seconds (files took 0.29255 seconds to load) 138 examples, 0 failures + popd ~/build/BUILD/mini_magick-5.0.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-mini_magick-5.0.1-1.noarch `did_you_mean' was not loaded. `did_you_mean' was not loaded. `did_you_mean' was not loaded. Provides: rubygem(mini_magick) = 5.0.1 rubygem-mini_magick = 5.0.1-1 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-mini_magick-doc-5.0.1-1.noarch Provides: rubygem-mini_magick-doc = 5.0.1-1 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-mini_magick-5.0.1-1.x86_64 Wrote: /builddir/build/RPMS/rubygem-mini_magick-5.0.1-1.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-mini_magick-doc-5.0.1-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sMAwrc + umask 022 + cd /builddir/build/BUILD + cd mini_magick-5.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-mini_magick-5.0.1-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.AmdGQm + umask 022 + cd /builddir/build/BUILD + rm -rf mini_magick-5.0.1 mini_magick-5.0.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0