Bug 912307

Summary: Threading issue with plugin registration
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: lcms2Assignee: Richard Hughes <rhughes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: hobbes1069, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lcms2-2.4-5.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-08 13:09:36 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: 911517    

Description Tim Waugh 2013-02-18 11:17:50 UTC
Description of problem:
Ghostscript 9.07 depends on an lcms2 API function (cmsPluginTHR) which is committed upstream but not yet released, and may not be until around June.  It would be very useful to have this function available so that the most recent version of Ghostscript can be built.

Version-Release number of selected component (if applicable):
lcms2-2.4-3.fc19

Here is the upstream fix, adding cmsPluginTHR:
https://github.com/mm2/Little-CMS/commit/df3194a9139edeaa1293ad360cd5c50b176c0652

Comment 1 Richard Shaw 2013-02-19 17:31:02 UTC
Tim,

I assume this is for rawhide only? Have you done any testing yet? 

Richard,

Assuming you approve, I can take care of this if you want to approve ACL's for me, I'm currently only approved for the el6 branch...

I did a local mock test build with a patch from the commit and it seems fine but I'm not sure how to test it.

Looks like a coule of things could be cleaned up but nothing serious:
$ rpmlint mockbuild/rawhide/lcms2/*.rpm
lcms2.src: W: spelling-error %description -l en_US lcms -> lams, LCM
lcms2.x86_64: W: spelling-error %description -l en_US lcms -> lams, LCM
lcms2.x86_64: W: file-not-utf8 /usr/share/doc/lcms2-2.4/AUTHORS
lcms2-debuginfo.x86_64: W: spurious-executable-perm /usr/src/debug/lcms2-2.4/src/cmshalf.c
lcms2-utils.x86_64: W: manual-page-warning /usr/share/man/man1/jpgicc2.1.gz 40: warning: macro `p' not defined
lcms2-utils.x86_64: W: manual-page-warning /usr/share/man/man1/tificc2.1.gz 52: warning: macro `p' not defined
lcms2-utils.x86_64: W: no-manual-page-for-binary psicc2
lcms2-utils.x86_64: W: no-manual-page-for-binary linkicc2
lcms2-utils.x86_64: W: no-manual-page-for-binary transicc2
5 packages and 0 specfiles checked; 0 errors, 9 warnings.

Comment 2 Tim Waugh 2013-02-19 22:13:10 UTC
Yes, rawhide.  No, no testing yet.  My plan for testing was: build ghostscript against it, then see that ghostscript still works when using colour profiles.

Comment 3 Richard Shaw 2013-02-20 20:37:02 UTC
Well you can try these scratch builds I did:

http://koji.fedoraproject.org/koji/taskinfo?taskID=5037795

Comment 4 Tim Waugh 2013-04-25 14:48:10 UTC
These fixes are needed too (see bug #951984):

https://github.com/mm2/Little-CMS/commit/5dc965b15eb516e3472f154348634e0e1df78a77

I'll add them in.