[Reproducible-builds] Bug#835078: ruby-mini-magick: FTBFS: ./spec/lib/mini_magick_spec.rb:34 # MiniMagick.cli_version returns GraphicsMagick's version
Chris Lamb
lamby at debian.org
Mon Aug 22 07:22:13 UTC 2016
Source: ruby-mini-magick
Version: 4.4.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
ruby-mini-magick fails to build from source in unstable/amd64:
[..]
#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
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
#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
#exif
returns a hash of EXIF data
decodes the ExifVersion
#resolution
accepts units
#mime_type
returns the correct mime type
#details
returns a hash of verbose information
when verbose information includes an empty line
skips the empty line
when verbose information includes a badly encoded line do
skips the badly encoded line
when verbose information includes a clipping path
does not hang when parsing verbose data
#layers
returns a list of images
returns multiple images for GIFs, PDFs and PSDs
returns one image for other formats
missing methods
for a known method
is executed by #method_missing
returns self
can be responded to
#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
#identify
returns the output of identify
yields an optional block
#run_command
runs the given command
With GraphicsMagick
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
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 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
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-1rhqsbe.png).
gm identify: iCCP: known incorrect sRGB profile (/tmp/mini_magick20160822-4590-1rhqsbe.png).
changes the format of the photo
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-3e809w.png).
reformats an image with a given extension
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-zmo5gw.png).
creates the file with new extension
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-ol9v6r.png).
gm identify: iCCP: known incorrect sRGB profile (/tmp/mini_magick20160822-4590-ol9v6r.png).
accepts a block of additional commands
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-ivelmw.png).
gm identify: iCCP: known incorrect sRGB profile (/tmp/mini_magick20160822-4590-ivelmw.png).
works without an extension with .open
gm convert: profile matches sRGB but writing iCCP instead (/tmp/20160822-4590-roan0i.png) [No such file or directory].
gm identify: iCCP: known incorrect sRGB profile (/tmp/20160822-4590-roan0i.png).
works without an extension with .new
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-451akr.png).
deletes the previous tempfile
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
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-1siu19r.png).
gm identify: iCCP: known incorrect sRGB profile (/tmp/mini_magick20160822-4590-1siu19r.png).
clears the info only at the end
gm convert: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-1g6u5h9.png).
gm identify: iCCP: known incorrect sRGB profile (/tmp/mini_magick20160822-4590-1g6u5h9.png).
returns self
#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
#exif
returns a hash of EXIF data
decodes the ExifVersion
#resolution
accepts units (PENDING: around hook at ./spec/spec_helper.rb:17 did not execute the example)
#mime_type
returns the correct mime type
#details
returns a hash of verbose information
when verbose information includes an empty line
skips the empty line
when verbose information includes a badly encoded line do
skips the badly encoded line (PENDING: around hook at ./spec/spec_helper.rb:17 did not execute the example)
when verbose information includes a clipping path
does not hang when parsing verbose data (PENDING: around hook at ./spec/spec_helper.rb:17 did not execute the example)
#layers
returns a list of images
returns multiple images for GIFs, PDFs and PSDs
returns one image for other formats
missing methods
for a known method
is executed by #method_missing
returns self
can be responded to
#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
gm composite: profile matches sRGB but writing iCCP instead (/tmp/mini_magick20160822-4590-yh1v5w.png).
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
#identify
returns the output of identify
yields an optional block
#run_command
runs the given command
MiniMagick::Shell
#run
calls #execute with the command
stderr returns stdout
uses stderr for error messages
raises an error when executable wasn't found
raises errors only in whiny mode
prints to stderr output to $stderr in non-whiny mode
#execute
with open3
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
with posix-spawn
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
doesn't raise errors when false is passed to the constructor
#call
calls the shell to run the command
strips the output
.new
accepts a block, and immediately executes the command
#command
includes the executable and the arguments
#executable
prepends 'gm' to the command list when using GraphicsMagick
respects #cli_path
#<<
adds argument to the args list
#merge!
adds arguments to the args list
#+
switches the last option to + form
#stack
it surrounds added arguments with parantheses
#clone
adds an option instead of the default behaviour
accepts arguments
is convertable to plus version
#method_missing
adds CLI options
MiniMagick::Utilities
.which
identifies when mogrify exists
identifies when gm exists
returns nil on nonexistent executables
MiniMagick
.imagemagick?
returns true if CLI is minimagick
returns false if CLI isn't minimagick
.graphicsmagick?
returns true if CLI is graphicsmagick
returns false if CLI isn't graphicsmagick
.cli_version
returns ImageMagick's version
returns GraphicsMagick's version (FAILED - 1)
Pending: (Failures listed here are expected and do not affect your suite's status)
1) With GraphicsMagick MiniMagick::Image#resolution accepts units
# around hook at ./spec/spec_helper.rb:17 did not execute the example
# ./spec/lib/mini_magick/image_spec.rb:366
2) With GraphicsMagick MiniMagick::Image#details when verbose information includes a badly encoded line do skips the badly encoded line
# around hook at ./spec/spec_helper.rb:17 did not execute the example
# ./spec/lib/mini_magick/image_spec.rb:406
3) With GraphicsMagick MiniMagick::Image#details when verbose information includes a clipping path does not hang when parsing verbose data
# around hook at ./spec/spec_helper.rb:17 did not execute the example
# ./spec/lib/mini_magick/image_spec.rb:415
Failures:
1) MiniMagick.cli_version returns GraphicsMagick's version
Failure/Error: expect(described_class.cli_version).to match(/^\d+\.\d+\.\d+$/)
expected nil to match /^\d+\.\d+\.\d+$/
# ./spec/lib/mini_magick_spec.rb:36:in `block (3 levels) in <top (required)>'
Finished in 4.93 seconds (files took 0.28267 seconds to load)
205 examples, 1 failure, 3 pending
Failed examples:
rspec ./spec/lib/mini_magick_spec.rb:34 # MiniMagick.cli_version returns GraphicsMagick's version
/usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /home/lamby/temp/cdt.20160822082108.BhthOvE3M3.db.ruby-mini-magick/ruby-mini-magick-4.4.0/debian/ruby-mini-magick returned exit code 1
debian/rules:9: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/home/lamby/temp/cdt.20160822082108.BhthOvE3M3.db.ruby-mini-magick/ruby-mini-magick-4.4.0'
debian/rules:6: recipe for target 'binary' failed
make: *** [binary] Error 2
[..]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-mini-magick.4.4.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 9157 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160822/e28744c8/attachment.obj>
More information about the Reproducible-builds
mailing list