FS#73476 - [imagemagick] cannot use convert with pdf files,
Attached to Project:
Arch Linux
Opened by vnoel (kaouete) - Sunday, 23 January 2022, 17:17 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 26 January 2022, 10:52 GMT
Opened by vnoel (kaouete) - Sunday, 23 January 2022, 17:17 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 26 January 2022, 10:52 GMT
|
Details
Description:
Calling convert on a pdf, e.g., "convert input.pdf output.pdf", gives the following error: convert: attempt to perform an operation not allowed by the security policy `gs' @ error/delegate.c/ExternalDelegateCommand/384. convert: no images defined `output.pdf' @ error/convert.c/ConvertImageCommand/3327. Removing the line "<policy domain="delegate" rights="none" pattern="gs" />" from "/etc/ImageMagick-7/policy.xml" solves the problem. This line is added by our package, it was introduced 3 years ago in relation to https://bugs.archlinux.org/task/62785: https://github.com/archlinux/svntogit-packages/blob/packages/imagemagick/trunk/PKGBUILD#L114 I wonder if now, years later, the security workaround is still needed or if it could be removed? Additional info: * package version: 7.1.0.19-1 |
This task depends upon
Closed by Antonio Rojas (arojas)
Wednesday, 26 January 2022, 10:52 GMT
Reason for closing: Fixed
Additional comments about closing: imagemagick 7.1.0.20-2
Wednesday, 26 January 2022, 10:52 GMT
Reason for closing: Fixed
Additional comments about closing: imagemagick 7.1.0.20-2
Comment by Antonio Rojas (arojas) -
Wednesday, 26 January 2022, 10:52 GMT
Yah, bugs in libraries should be fixed there instead of crippling
unrelated packages