Bug 2048953

Summary: perl-GDGraph-1.54-18.fc36 FTBFS: t/bugfixes.t test fails: GD Warning: Cannot open TIFF imagegdImageCreateFromTiff error at /usr/lib64/perl5/vendor_perl/GD/Image.pm line 233
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-GDAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jose.p.oliveira.oss, paul, perl-devel, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl-GDGraph
Whiteboard:
Fixed In Version: perl-GD-2.75-2.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-01 13:46:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1992484    

Description Petr Pisar 2022-02-01 09:05:47 UTC
perl-GDGraph-1.54-18.fc36 fails to build in Fedora 36 because a test fails:

$ perl -Iblib/{lib,arch} t/bugfixes.t 
1..33
ok 1 - use GD::Graph;
ok 2 - Got an object from new()
ok 3 - An object of class 'GD::Graph' isa 'GD::Graph'
ok 4 - _read_logo_file succeeds for gif with file extension
ok 5 - An object of class 'GD::Image' isa 'GD::Image'
ok 6 - _read_logo_file succeeds for gif without file extension
ok 7 - An object of class 'GD::Image' isa 'GD::Image'
ok 8 - _read_logo_file succeeds for jpeg with file extension
ok 9 - An object of class 'GD::Image' isa 'GD::Image'
ok 10 - _read_logo_file succeeds for jpeg without file extension
ok 11 - An object of class 'GD::Image' isa 'GD::Image'
ok 12 - _read_logo_file succeeds for jpeg with alternate extension
ok 13 - An object of class 'GD::Image' isa 'GD::Image'
ok 14 - _read_logo_file succeeds for png with file extension
ok 15 - An object of class 'GD::Image' isa 'GD::Image'
ok 16 - _read_logo_file succeeds for png without file extension
ok 17 - An object of class 'GD::Image' isa 'GD::Image'
ok 18 - _read_logo_file succeeds for png with alternate extension
ok 19 - An object of class 'GD::Image' isa 'GD::Image'
: Not a TIFF or MDI file, bad magic number 25635 (0x6423).
GD Warning: Cannot open TIFF imagegdImageCreateFromTiff error at /usr/lib64/perl5/vendor_perl/GD/Image.pm line 233.
# Looks like your test exited with 25 just after 19.

This failure is triggered by upgrading perl-GD from 2.74-1.fc36 to 2.75-1.fc36.

Comment 1 Paul Howarth 2022-02-01 13:06:22 UTC
Should be fixed with perl-GD-2.75-2.fc36.

Comment 2 Paul Howarth 2022-02-01 13:46:40 UTC
Fix worked, merged upstream.