2015-08-06 20:18:15 +02:00
|
|
|
Peter Simons wrote:
|
|
|
|
> I'm getting the following test suite failure in Nix, probably because
|
|
|
|
> some Perl dependency was updated to a newer version recently:
|
2015-08-06 20:23:16 +02:00
|
|
|
|
|
|
|
# Failed test at t/img.t line 79.
|
|
|
|
# got: 'no image'
|
|
|
|
# expected: '12x12'
|
|
|
|
|
|
|
|
# Failed test at t/img.t line 80.
|
|
|
|
# got: 'no image'
|
|
|
|
# expected: '16x2'
|
|
|
|
# Looks like you failed 2 tests of 19.
|
|
|
|
t/img.t ........................
|
|
|
|
Dubious, test returned 2 (wstat 512, 0x200)
|
|
|
|
Failed 2/19 subtests
|
|
|
|
|
2015-08-06 20:18:15 +02:00
|
|
|
> Do you have any idea how to fix this issue?
|
2015-11-30 22:32:56 +01:00
|
|
|
|
|
|
|
>> As far as I can tell, this indicates that your ImageMagick doesn't
|
|
|
|
>> support PDF (in Debian and its derivatives this requires `libmagickcore-extra`).
|
|
|
|
>> Please run tests on a system with a fully-featured ImageMagick (in Debian we put
|
|
|
|
>> `libmagickcore-extra` in the `Build-Depends-Indep` for this), or if you are testing
|
|
|
|
>> at install time on arbitrary end-user systems, please tell me what this says on a
|
|
|
|
>> system where the test fails:
|
|
|
|
>>
|
|
|
|
>> perl -MData::Dumper -MImage::Magick -e 'print Dumper([(new Image::Magick)->QueryFormat("pdf")])'
|
|
|
|
>>
|
|
|
|
>> If the result is `$VAR1 = [ undef ]`, then we can easily make the test skip that bit if PDFs don't work.
|
|
|
|
>> --[[smcv]]
|
2016-01-18 10:19:42 +01:00
|
|
|
|
|
|
|
>>> That configuration test doesn't actually work because of the way
|
|
|
|
>>> ImageMagick processes PDFs via ghostscript, but loading a sample
|
|
|
|
>>> PDF and probing its width does seem to work. [[done]] --[[smcv]]
|