Skip Menu |

This queue is for tickets about the PDF-Builder CPAN distribution.

Report information
The Basics
Id: 127456
Status: resolved
Priority: 0/
Queue: PDF-Builder

People
Owner: PMPERRY [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.011
Fixed in: 3.012



Subject: Can't locate Image/PNG/Libpng.pm
t/00-all-usable.t may fail, probably if Image::PNG::Libpng is not installed: ... # Failed test 'use PDF::Builder::Resource::XObject::Image::PNG_IPL;' # at t/00-all-usable.t line 42. # Tried to use 'PDF::Builder::Resource::XObject::Image::PNG_IPL'. # Error: Can't locate Image/PNG/Libpng.pm in @INC (you may need to install the Image::PNG::Libpng module) (@INC contains: ... .) at /home/cpansand/.cpan/build/2018102611/PDF-Builder-3.011-0/blib/lib/PDF/Builder/Resource/XObject/Image/PNG_IPL.pm line 17. # BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018102611/PDF-Builder-3.011-0/blib/lib/PDF/Builder/Resource/XObject/Image/PNG_IPL.pm line 17. # Compilation failed in require at t/00-all-usable.t line 42. # BEGIN failed--compilation aborted at t/00-all-usable.t line 42. # Looks like you failed 1 test of 107. t/00-all-usable.t ........... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/107 subtests (2 TODO tests unexpectedly succeeded) ...
On Fri Oct 26 04:07:26 2018, SREZIC wrote: Show quoted text
> t/00-all-usable.t may fail, probably if Image::PNG::Libpng is not > installed: >
Yeah, I woke up this morning to find this failure. I fixed that t-test to bypass PNG_IPL, just in case Image::PNG::Libpng isn't installed (it seems to be installed by about a third of the testers). I also added a reminder to myself in the build process to check for any new optional libraries (like Image::PNG::Libpng and Graphics::TIFF) and to update 00-all-usable to skip modules depending on them. Thanks for taking the time to report this. I will close this ticket as soon as I get a bunch of clean tests.