Created attachment 1133233 [details] example TIFF that can reproduce the error Description of problem: Upgrading GraphicsMagick from 1.3.20 to 1.3.23 on my CentOS 6.6 servers broke LCMS support. Attempting to use "gm convert" with an ICC profile now gives the error "LCMS encoding not enabled". I attached an image that can reproduce this. $ wget http://twily.info/d/.icc/AdobeRGB1998.icc $ gm convert 77095.f2.tif -profile AdobeRGB1998.icc foo.jpg gm convert: LCMS encoding not enabled (77095.f2.tif). Additionally, running "gm version" shows "Little CMS no" under "Feature Support:". Before the upgrade, it said "yes". Version-Release number of selected component (if applicable): GraphicsMagick.x86_64-1.3.23-4.el6 How reproducible: Always. Steps to Reproduce: 1. Run "gm convert 77095.f2.tif -profile AdobeRGB1998.icc foo.jpg" with the attached TIFF in the latest version of GraphicsMagick. Notice the error. 2. Download and install the old version on a Centos 6.x box: https://kojipkgs.fedoraproject.org//packages/GraphicsMagick/1.3.20/3.el6/x86_64/GraphicsMagick-1.3.20-3.el6.x86_64.rpm 2. Run the command again. Now it succeeds. Actual results: gm convert: LCMS encoding not enabled (77095.f2.tif). Expected results: No output. foo.jpg created successfully. Additional info: I believe this happened because GraphicsMagick removed support for the legacy LCMS 1.x in version 1.3.22. Link to the commit: http://marc.info/?l=graphicsmagick-commit&m=143551691329485&w=2 However, GraphicsMagick.spec still tries to compile GraphicsMagick with "--with-lcms", which no longer does anything. Since LCMS2 is available for EL6, I think the spec file should be changed to always use LCMS2.
Created attachment 1133234 [details] ICC profile to reproduce the error
GraphicsMagick-1.3.23-5.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-da9cc78fe7
GraphicsMagick-1.3.23-5.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-da9cc78fe7
GraphicsMagick-1.3.23-5.el5 lcms2-2.7-3.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-684ad9e4b8
GraphicsMagick-1.3.23-5.el5, lcms2-2.7-3.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-684ad9e4b8
GraphicsMagick-1.3.23-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
GraphicsMagick-1.3.23-5.el5, lcms2-2.7-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.