Bug 1226627

Summary: ghostscript version mismatch with 9.15 and 9.16
Product: [Fedora] Fedora Reporter: Ali Akcaagac <aliakc>
Component: poppler-dataAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jgrulich, mhatina, mkasik, rdieter, twaugh
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: poppler-data-0.4.7-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-25 08:19:07 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:

Description Ali Akcaagac 2015-05-31 08:56:29 UTC
Something caught my attention after installing Fedora 22 (which I sadly have seen in older Fedora releases as well). I believe this to be a bug and thus would like to discuss a solution:

/usr/share/ghostscript/9.15/Resource/CMap/<poppler links>
/usr/share/ghostscript/9.16/Resource/CMap/<empty>

Please explain, how ghostscript 9.16 (which clearly knows only about ghostscript 9.16 (and the paths 9.16)) find the correct CMap files when they are stored in 9.15 ?

Comment 1 Tim Waugh 2015-06-16 15:27:17 UTC
The poppler data needs to be updated to the right location for 9.16.

Comment 2 Rex Dieter 2015-06-16 15:50:34 UTC
OK.


Tim, can we do something to make this more robust in the future?

options off the top of my head include:

* make the data dir that ghostscript uses unversioned (don't need to worry about supporting multiple ghostscripts being installed, so we?)
* similar to ^^, add (and use) some unversioned dir to gs search path
* give you commit access to poppler-data so that you can bump-n-build it whenever you bump ghostscript version
* some_better_idea

Comment 3 Fedora Update System 2015-06-16 16:12:36 UTC
poppler-data-0.4.7-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/poppler-data-0.4.7-4.fc22

Comment 4 Tim Waugh 2015-06-19 11:35:03 UTC
Probably the add-unversion-dir-to-search-path is the better option.
jgrulich: what do you think?

Comment 5 Fedora Update System 2015-06-21 00:10:31 UTC
Package poppler-data-0.4.7-4.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing poppler-data-0.4.7-4.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-10416/poppler-data-0.4.7-4.fc22
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-06-25 08:19:07 UTC
poppler-data-0.4.7-4.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.