Building documents in Debian 10 has been blocked by ImageMagick due to a security vulnerability that has been addressed in Ghostscript 9.24. However if you check the version of gs in Debian 10 it's past 9.2.4.
Code:
john@d10cave:~$ gs --version
9.27
Seems that ImageMagick failed to correct the blocking policy. To fix that open up /etc/ImageMagick-6/policy.xml as sudo
Code:
sudo pluma /etc/ImageMagick-6/policy.xml
Either comment out the offending lines or delete them. I chose to comment them out.
Code:
<!-- disable ghostscript format types -->
<!-- <policy domain="coder" rights="none" pattern="PS" /> -->
<!-- <policy domain="coder" rights="none" pattern="PS2" /> -->
<!-- <policy domain="coder" rights="none" pattern="PS3" /> -->
<!-- <policy domain="coder" rights="none" pattern="EPS" /> -->
<!-- <policy domain="coder" rights="none" pattern="PDF" /> -->
<!-- <policy domain="coder" rights="none" pattern="XPS" /> -->
The documents will now build as usual.
JT