[Pkg-gmagick-im-team] Bug#763686: imagemagick: identify -quiet has non zero exit code on warnings

Bastien ROUCARIES roucaries.bastien at gmail.com
Thu Oct 2 15:38:19 UTC 2014


Le 1 oct. 2014 22:21, "Cédric Boutillier" <boutil at debian.org> a écrit :
>
> Package: imagemagick
> Version: 8:6.8.9.6-4
> Severity: important
> Control: blocks 761532 with -1
>
> Dear Maintainer,
>
> When running the following command:
>
> identify -quiet -ping -format "%w %h\n" erroneous.jpg; echo $?
>
> I get the following output
>
> 10 10
> 1
>
> Without the -quiet option, I get an additional line of output:
>
> identify: Corrupt JPEG data: 2 extraneous bytes before marker 0xdb
`/home/boutil/debian/pkg-ruby-extras/ruby-mini-magick/spec/files/erroneous.jpg'
@ warning/jpeg.c/JPEGWarningHandler/352.
>
> According to the documentation for the quiet option, the warning should
> be ignored.
>
>
> With 8:6.8.8.9-3, the exit code was 0.
>
> This change of behavior breaks a wrapper for ImageMagick, packaged as
> ruby-mini-magick. Commands on erroneous images now are causing errors.
>
> A similar problem, reported by one of the upstream developers of
> ruby-mini-magick about non wanted positive exit codes can be found here:
>
>
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26300&p=115618&hilit=identify#p115618
>
> It seems it is fixed in 6.8.9.9.

Will package about october 14. I am getting married now.

Bastien
>
> Attached is the erroneous.jpg file.
>
> Best wishes,
>
> Cédric
>
> -- Package-specific info:
> ImageMagick program version
> ---------------------------
> animate:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> compare:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> convert:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> composite:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> conjure:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> display:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> identify:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> import:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> mogrify:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> montage:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
> stream:  ImageMagick 6.8.9-6 Q16 x86_64 2014-09-06
http://www.imagemagick.org
>
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (990, 'unstable'), (500, 'testing'), (100, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages imagemagick depends on:
> ii  imagemagick-6.q16  8:6.8.9.6-4
>
> imagemagick recommends no packages.
>
> imagemagick suggests no packages.
>
> -- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20141002/00cbde5a/attachment-0001.html>


More information about the Pkg-gmagick-im-team mailing list