Re: make pdfdocs fails on Debian stable

From: Christoph Hellwig
Date: Tue Jan 04 2022 - 08:20:00 EST


On Tue, Jan 04, 2022 at 06:31:01PM +0900, Akira Yokosawa wrote:
> Hi, getting back to the error message, I remember seeing a similar error
> when I failed to permit PDF output of ImageMagick.
>
> What I did back then was this (as root):
>
> # cd /etc/ImageMagick-6
> # sed -i 's+policy domain="coder" rights="none" pattern="PDF"+policy domain="coder" rights="read|write" pattern="PDF"+' policy.xml ; \
>
> In case this resolves your issue.

I've definitively seen permission denied errors earlier in the (rather
noisy) build log. But I absolutely do not feel comfortable changing
global security policies for a kernel build, especially for something
like ImageMagic that had its fair share of security issues. Is there any
way to side step this by using a different tool?