Source: ruby-mini-magick Version: 4.8.0-1 Severity: serious https://ci.debian.net/packages/r/ruby-mini-magick/unstable/amd64/ https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-mini-magick.html
... Failures: 1) With ImageMagick MiniMagick::Image#data when the data return is an array (ex png) returns image JSON data Failure/Error: data = JSON.parse(json) JSON::ParserError: 416: unexpected token at '{ "image": { "name": "spec/fixtures/engine.png[0]", "format": "PNG", "formatDescription": "Portable Network Graphics", "mimeType": "image/png", "class": "DirectClass", "geometry": { "width": 300, "height": 225, "x": 0, "y": 0 }, "resolution": { "x": 72, "y": 72 }, "printSize": { "x": 4.16667, "y": 3.125 }, "units": "Undefined", "type": "TrueColorAlpha", "endianess": "Undefined", "colorspace": "sRGB", "depth": 8, "baseDepth": 8, "channelDepth": { "alpha": 1, "red": 8, "green": 8, "blue": 8 }, "pixels": 67500, "imageStatistics": { "all": { "min": 6, "max": 255, "mean": 143.743, "standardDeviation": 42.8404, "kurtosis": -1.54497, "skewness": 0.345865, "entropy": -nan } }, "channelStatistics": { "alpha": { "min": 0, "max": 0, "mean": 0, "standardDeviation": 0, "kurtosis": 1.6384e+64, "skewness": 9.375e+44, "entropy": -nan }, "red": { "min": 6, "max": 255, "mean": 106.28, "standardDeviation": 57.799, "kurtosis": 0.0805948, "skewness": 1.04772, "entropy": 0.933194 }, "green": { "min": 13, "max": 255, "mean": 104.804, "standardDeviation": 57.6727, "kurtosis": 0.217234, "skewness": 1.11467, "entropy": 0.932031 }, "blue": { "min": 13, "max": 255, "mean": 108.887, "standardDeviation": 55.8899, "kurtosis": 0.233094, "skewness": 1.0827, "entropy": 0.937992 } }, "renderingIntent": "Perceptual", "gamma": 0.45455, "chromaticity": { "redPrimary": { "x": 0.64, "y": 0.33 }, "greenPrimary": { "x": 0.3, "y": 0.6 }, "bluePrimary": { "x": 0.15, "y": 0.06 }, "whitePrimary": { "x": 0.3127, "y": 0.329 } }, "backgroundColor": "#FFFFFFFF", "borderColor": "#DFDFDFFF", "matteColor": "#BDBDBDFF", "transparentColor": "#00000000", "interlace": "None", "intensity": "Undefined", "compose": "Over", "pageGeometry": { "width": 300, "height": 225, "x": 0, "y": 0 }, "dispose": "Undefined", "iterations": 0, "compression": "Zip", "orientation": "Undefined", "properties": { "comment": "File source: http://commons.wikimedia.org/wiki/File:Valve_original_(1).PNG", "date:create": "2019-04-07T12:21:15-12:00", "date:modify": "2017-07-05T21:50:52-12:00", "png:bKGD": "chunk was found (see Background color, above)", "png:cHRM": "chunk was found (see Chromaticity, above)", "png:gAMA": "gamma=0.45455 (See Gamma, above)", "png:IHDR.bit-depth-orig": "8", "png:IHDR.bit_depth": "8", "png:IHDR.color-type-orig": "6", "png:IHDR.color_type": "6 (RGBA)", "png:IHDR.interlace_method": "0 (Not interlaced)", "png:IHDR.width,height": "300, 225", "png:pHYs": "x_res=72, y_res=72, units=0", "png:sRGB": "intent=0 (Perceptual Intent)", "png:text": "11 tEXt/zTXt/iTXt chunks were found", "signature": "daa0f28510f957e9fe3a6b1f996050b8531977e2b4e2e5f06886d1a467731408", "software": "ImageMagick 6.6.2-6 2011-03-09 Q8 http://www.imagemagick.org", "Thumb::Document::Pages": "1", "Thumb::Image::height": "480", "Thumb::Image::Width": "640", "Thumb::Mimetype": "image/png", "Thumb::MTime": "1350427061", "Thumb::Size": "661KB", "Thumb::URI": "file:///tmp/localcopy_66ee7dc674fa-1.png" }, "artifacts": { "filename": "spec/fixtures/engine.png[0]" }, "tainted": false, "filesize": "0B", "numberPixels": "67500", "pixelsPerSecond": "2250000B", "userTime": "0.010u", "elapsedTime": "0:01.030", "version": "ImageMagick 6.9.9-34 Q16 x86_64 20180122 http://www.imagemagick.org" } } ]' # ./lib/mini_magick/image/info.rb:163:in `data' # ./lib/mini_magick/image/info.rb:33:in `[]' # ./lib/mini_magick/image.rb:132:in `block in attribute' # ./spec/lib/mini_magick/image_spec.rb:475:in `block (6 levels) in <top (required)>' # ./spec/spec_helper.rb:20:in `block (3 levels) in <top (required)>' Finished in 18.8 seconds (files took 5.88 seconds to load) 73 examples, 1 failure Failed examples: rspec ./spec/lib/mini_magick/image_spec.rb[1:1:20:2:1] # With ImageMagick MiniMagick::Image#data when the data return is an array (ex png) returns image JSON data /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed ERROR: Test "ruby2.5" failed. Exiting. dh_auto_install: dh_ruby --install /build/1st/ruby-mini-magick-4.8.0/debian/ruby-mini-magick returned exit code 1 make[1]: *** [debian/rules:9: override_dh_auto_install] Error 1