Skip Menu |

This queue is for tickets about the Graphics-TIFF CPAN distribution.

Report information
The Basics
Id: 122665
Status: resolved
Priority: 0/
Queue: Graphics-TIFF

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

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



Subject: t/1.t fails on some Linux systems (version 5)
On Ubuntu 16.04, Debian 8 and 9 systems I see the following test failure, but not for all versions: ... TIFFFetchDirectory: Sanity check on directory count failed, this is probably not a valid IFD offset. TIFFReadCustomDirectory: Failed to read custom directory at offset 0. test.tif: Can not read tiles from a stripped image. # Looks like you planned 43 tests but ran 57. t/1.t ............ Dubious, test returned 255 (wstat 65280, 0xff00) All 43 subtests passed (less 15 skipped subtests: 28 okay) ... Sometimes it's a variation without the TIFF* warnings. I don't see a pattern that specific perl versions are affected, or a threaded vs. non-threaded pattern. The tests pass fine on freebsd systems (9 and 10).
The TIFF warnings are expected and can be ignored. In a future release I might try and connect the TIFF error handler to Perl, and then I will catch them. The problem was merely that I was unable to count when I specified the number of tests to skip if particular packages/executables are not available. I'll upload v6 to fix this.