https://bugzilla.redhat.com/show_bug.cgi?id=2055109
Bug ID: 2055109 Summary: perl-PDF-API2-2.043-2.fc37 FTBFS: t/tiff.t fails with lcms2-2.13-1.fc36 Product: Fedora Version: 36 Status: NEW Component: perl-PDF-API2 Assignee: jplesnik@redhat.com Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: jplesnik@redhat.com, perl-devel@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
After upgrading lcms2 from 2.12-3.fc36 to 2.13-1.fc36, t/tiff.t fails like this:
$ perl -Ilib t/tiff.t 1..9 ok 1 - '$pdf->image_tiff(filename)' isa 'PDF::API2::Resource::XObject::Image::TIFF' ok 2 - Image from filename has a width ok 3 - Add TIFF to PDF ok 4 - '$pdf->image_tiff(), LZW compression' isa 'PDF::API2::Resource::XObject::Image::TIFF' ok 5 - Add TIFF to PDF ok 6 - Fail fast if the requested file doesn't exist ok 7 # skip tiff2pdf doesn't deal with the alpha layer properly either in this case ok 8 # skip files created with tiffcp -c g3 previously produced the 'message chunked ccitt g4 tif not supported' not ok 9 - lzw (converted to flate) # Failed test 'lzw (converted to flate)' # at t/tiff.t line 106. # got: '# ImageMagick pixel enumeration: 1,1,255,gray # 0,0: (0,0,0) #000000 gray(0) # ' # expected: '# ImageMagick pixel enumeration: 1,1,255,gray # 0,0: (248.008,248.008,248.008) #F8F8F8 gray(97.258%) # ' # Looks like you failed 1 test of 9.
There seems to be changes in lmcs-2.13.0 regarding alpha in TIFF:
2.13 Featured release ----------------------- Added support for premultiplied alpha tifficc can now handle alpha channels, both unassociated and premultiplied Better documentation CGATS parser can now deal with very long strings Added Projects for Visual Studio 2020 Travis CI discontinued, GitHub actions used instead Added a very preliminar meson build script (thanks to xclaesse) Added ARM64 target to visual studio 2019 (thanks to gaborkertesz-linaro) Added thread safe code to get time Added automatic linear space detection Added cmsGetStageContextID function Added cmsDetectRGBProfileGamma function configure now accepts --without-fastfloat to turn plugin off autogen.sh has now a --distclean toggle to get rid of all autotools generated files Checked to work on STM32 Cortex-A, Cortex-M families Bug & typos fixing (thanks to many reporters and contributors)
https://bugzilla.redhat.com/show_bug.cgi?id=2055109
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1992484 (F36FTBFS), 2045102 | |(F37FTBFS,RAWHIDEFTBFS) Link ID| |Red Hat Bugzilla 2055111
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1992484 [Bug 1992484] Fedora 36 FTBFS Tracker https://bugzilla.redhat.com/show_bug.cgi?id=2045102 [Bug 2045102] Fedora 37 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2055109
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |CLOSED Last Closed| |2022-02-16 10:40:34
--- Comment #1 from Petr Pisar ppisar@redhat.com --- That's a bug in lcms2 fixed in a new upstream release 2.13.1 (bug #2050365).
*** This bug has been marked as a duplicate of bug 2050365 ***
perl-devel@lists.fedoraproject.org