Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Andreas Radke (AndyRTR) - Tuesday, 16 March 2021, 06:15 GMT
Task Type Bug Report
Category Packages: Core
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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...