Skip Menu |

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

Report information
The Basics
Id: 123757
Status: resolved
Worked: 30 min
Priority: 0/
Queue: PDF-Builder

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.008
Fixed in: 3.009



Subject: Undeclared dependency Graphics::TIFF
t/00-all-usable.t fails if Graphics::TIFF is not installed: ... # Failed test 'use PDF::Builder::Resource::XObject::Image::TIFF_GT;' # at t/00-all-usable.t line 30. # Tried to use 'PDF::Builder::Resource::XObject::Image::TIFF_GT'. # Error: Can't locate Graphics/TIFF.pm in @INC (you may need to install the Graphics::TIFF module) (@INC contains: /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008-7/blib/lib /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008-7/blib/arch /usr/perl5.26.1t/lib/site_perl/5.26.1/amd64-freebsd-thread-multi /usr/perl5.26.1t/lib/site_perl/5.26.1 /usr/perl5.26.1t/lib/5.26.1/amd64-freebsd-thread-multi /usr/perl5.26.1t/lib/5.26.1 .) at /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008-7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF/File_GT.pm line 10. # BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008-7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF/File_GT.pm line 10. # Compilation failed in require at /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008-7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm line 16. # BEGIN failed--compilation aborted at /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008-7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm line 16. # Compilation failed in require at t/00-all-usable.t line 30. # BEGIN failed--compilation aborted at t/00-all-usable.t line 30. # Failed test 'use PDF::Builder::Resource::XObject::Image::TIFF::File_GT;' # at t/00-all-usable.t line 30. # Tried to use 'PDF::Builder::Resource::XObject::Image::TIFF::File_GT'. # Error: Attempt to reload PDF/Builder/Resource/XObject/Image/TIFF/File_GT.pm aborted. # Compilation failed in require at t/00-all-usable.t line 30. # BEGIN failed--compilation aborted at t/00-all-usable.t line 30. # Looks like you failed 2 tests of 105. t/00-all-usable.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/105 subtests ... Maybe the module has to be declared as a PREREQ_PM, or the test should skip this case if the module is not installed.
On Mon Nov 27 03:30:20 2017, SREZIC wrote: Show quoted text
> t/00-all-usable.t fails if Graphics::TIFF is not installed: > > ... > # Failed test 'use PDF::Builder::Resource::XObject::Image::TIFF_GT;' > # at t/00-all-usable.t line 30. > # Tried to use 'PDF::Builder::Resource::XObject::Image::TIFF_GT'. > # Error: Can't locate Graphics/TIFF.pm in @INC (you may need to > install the Graphics::TIFF module) (@INC contains: > /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008-7/blib/lib > /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008- > 7/blib/arch /usr/perl5.26.1t/lib/site_perl/5.26.1/amd64-freebsd- > thread-multi /usr/perl5.26.1t/lib/site_perl/5.26.1 > /usr/perl5.26.1t/lib/5.26.1/amd64-freebsd-thread-multi > /usr/perl5.26.1t/lib/5.26.1 .) at > /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008- > 7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF/File_GT.pm line 10. > # BEGIN failed--compilation aborted at > /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008- > 7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF/File_GT.pm line 10. > # Compilation failed in require at > /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008- > 7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm line 16. > # BEGIN failed--compilation aborted at > /usr/home/cpansand/.cpan/build/2017112700/PDF-Builder-3.008- > 7/blib/lib/PDF/Builder/Resource/XObject/Image/TIFF_GT.pm line 16. > # Compilation failed in require at t/00-all-usable.t line 30. > # BEGIN failed--compilation aborted at t/00-all-usable.t line 30. > > # Failed test 'use > PDF::Builder::Resource::XObject::Image::TIFF::File_GT;' > # at t/00-all-usable.t line 30. > # Tried to use > 'PDF::Builder::Resource::XObject::Image::TIFF::File_GT'. > # Error: Attempt to reload > PDF/Builder/Resource/XObject/Image/TIFF/File_GT.pm aborted. > # Compilation failed in require at t/00-all-usable.t line 30. > # BEGIN failed--compilation aborted at t/00-all-usable.t line 30. > # Looks like you failed 2 tests of 105. > t/00-all-usable.t ........... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/105 subtests > ... > > > Maybe the module has to be declared as a PREREQ_PM, or the test should > skip this case if the module is not installed.
This was just fixed, along with a couple of minor POD errors in a file. Graphics::TIFF is a non-mandatory prereq package that is used only if installed, and I overlooked one of the "t" tests that referenced it. I have uploaded release 3.009 and so far all the tests are "green". Thanks for raising the issue (although I did see it checking the CPAN page earlier today).
The testing seems to be going along fine, so I'll close this ticket.