Skip Menu |

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

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

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

Bug Information
Severity: (no value)
Broken in: 3.004
Fixed in: 3.005



Subject: Undeclared dependency PDF::API2
t/font-synfont.t fails if PDF::API2 is not installed: Can't locate PDF/API2.pm in @INC (@INC contains: /home/cpansand/.cpan/build/2017071221/PDF-Builder-3.004-Tcs05g/blib/lib /home/cpansand/.cpan/build/2017071221/PDF-Builder-3.004-Tcs05g/blib/arch /opt/perl-5.10.1/lib/5.10.1/x86_64-linux /opt/perl-5.10.1/lib/5.10.1 /opt/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux /opt/perl-5.10.1/lib/site_perl/5.10.1 .) at t/font-synfont.t line 7. BEGIN failed--compilation aborted at t/font-synfont.t line 7. # Looks like your test exited with 2 before it could output anything. t/font-synfont.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests
On 2017-07-13 01:20:54, SREZIC wrote: Show quoted text
> t/font-synfont.t fails if PDF::API2 is not installed: > > Can't locate PDF/API2.pm in @INC (@INC contains: > /home/cpansand/.cpan/build/2017071221/PDF-Builder-3.004- > Tcs05g/blib/lib /home/cpansand/.cpan/build/2017071221/PDF-Builder- > 3.004-Tcs05g/blib/arch /opt/perl-5.10.1/lib/5.10.1/x86_64-linux > /opt/perl-5.10.1/lib/5.10.1 /opt/perl- > 5.10.1/lib/site_perl/5.10.1/x86_64-linux /opt/perl- > 5.10.1/lib/site_perl/5.10.1 .) at t/font-synfont.t line 7. > BEGIN failed--compilation aborted at t/font-synfont.t line 7. > # Looks like your test exited with 2 before it could output anything. > t/font-synfont.t ............ > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/2 subtests
... and even if it's installed I see failures on some of my smoker systems: Can't locate object method "name" via package "PDF::API2::Resource::CIDFont::TrueType=HASH(0x34d4460)" (perhaps you forgot to load "PDF::API2::Resource::CIDFont::TrueType=HASH(0x34d4460)"?) at /opt/perl-5.20.3/lib/site_perl/5.20.3/PDF/API2/Resource/Font/SynFont.pm line 92. # Looks like your test exited with 255 before it could output anything. t/font-synfont.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 2/2 subtests
Subject: [rt.cpan.org #122465]
Date: Fri, 14 Jul 2017 09:50:45 -0400
To: bug-PDF-API2 [...] rt.cpan.org
From: Phil M Perry <phil4597 [...] catskilltech.com>
I've had another report of PDF::API2 still lurking in the SynFont code, but so far I can't find it in the build source. When I get it cleared up, I will push out release 3.005. In the mean time, you can simply change any reference to PDF::API2 to PDF::Builder, and it should work. Thanks for the report and sorry about the inconvenience.
Subject: [rt.cpan.org #122465]
Date: Tue, 18 Jul 2017 09:12:29 -0400
To: bug-PDF-API2 [...] rt.cpan.org
From: Phil M Perry <phil4597 [...] catskilltech.com>
3.005 has been released, and should have no references to PDF::API2. Please give it a try.
On 2017-07-18 09:12:46, phil4597@catskilltech.com wrote: Show quoted text
> 3.005 has been released, and should have no references to PDF::API2. > Please give it a try.
Looks good now!