tags 991060 - patch
thanks

Le 16/07/2021 à 21:33, Debian Bug Tracking System a écrit :
> Processing control commands:
> 
>> tag -1 patch
> Bug #991060 [src:mlpost] mlpost FTBFS with imagemagick with the #987504 
change
> Added tag(s) patch.
> [...]
> +     test -d $(HOME)/.magick || mkdir -p $(HOME)/.magick
> +     sed -e '/<policy domain="coder" rights="none" pattern="PS" 
> .>/s@"none"@"read|write"@' $(POLFILE) > $(HOME)/.magick/policy.xml
>       $(OCAMLBUILD) doc/index.html
> +     rm -Rf $(HOME)/.magick
>       ln -s _build/doc doc

Package builds are not allowed to fiddle with $HOME like that, by
policy: what if the builder already has its own imagemagick policy? But
I think your idea can be used: create a temporary home directory (e.g.
in debian or /tmp), and set $HOME to that.


Cheers,

-- 
Stéphane

Reply via email to