FS#69999 - [groff] Does not work with new ghostscript

Attached to Project: Arch Linux
Opened by Björn Ballard (csorian) - Monday, 15 March 2021, 23:35 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 30 March 2022, 14:28 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
groff not using new ghostscript location.

Details:
Using this short example.ms file:
fam P
.LP
Example
and compile it with `groff -Tpdf example.ms > example.pdf`. This results in the error "Failed to open '/usr/share/ghostscript/9.53.1/Resource/Font/P052-Roman'".

Workaround:
sudo ln -s /usr/share/ghostscript/9.53.3 /usr/share/ghostscript/9.53.1

Package versions:
* groff 1.22.4
* ghostscript 9.53.3

Refer to:
 FS#67751 
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 30 March 2022, 14:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.22.4-7
Comment by Ivy Foster (escondida) - Wednesday, 15 December 2021, 17:35 GMT
AndyRTR, as the ghostscript packager, question for you: would it be an option, in ghostscript, to add a symlink from /usr/share/ghostscript/$VERSION to /usr/share/ghostscript/current, so that groff could check in current and only rebuild when strictly necessary? That way, it wouldn't need to get fixed every time there's a ghostscript version bump.
Comment by Ivy Foster (escondida) - Wednesday, 15 December 2021, 17:39 GMT
Side note: there is also a groff configuration file that can be edited as a temporary workaround: /usr/share/groff/$VERSION/font/devpdf/download contains a list of paths checked for ghostscript fonts, so if tpowa still has the built package lying around, an edit to this file and repackaging should hopefully do the trick in the short term.

Loading...