ImageMagick’s_ ‘convert’ fails to delegate to ‘dwebp’

OpenSubmitted by Ludovic Courtès.
Details
One participant
  • Ludovic Courtès
Owner
unassigned
Severity
normal
L
L
Ludovic Courtès wrote on 25 Apr 2021 15:38
ImageMagick’s ‘convert’ fails to delegate to ‘dwebp’
(address . bug-guix@gnu.org)
87fszeh4bh.fsf@inria.fr
ImageMagick’s ‘convert’ refers to the ‘dwebp’ program with a leading
space, which prevents conversion to/from webp:

Toggle snippet (15 lines)
$ guix time-machine --commit=2a624253bc55e2a94f6581d6e790303575436c96 -- \
environment -C --ad-hoc strace imagemagick libwebp -- \
strace -f -e execve convert t.webp t.png
execve("/gnu/store/2rmnafvwqvl460qa370gn18yl09dx91h-profile/bin/convert", ["convert", "t.webp", "t.png"], 0x7ffe6637b988 /* 10 vars */) = 0
strace: Process 5 attached
[pid 5] execve("/gnu/store/2rmnafvwqvl460qa370gn18yl09dx91h-profile/bin/ dwebp", [" dwebp", "-pam", "/tmp/magick-FacyU5v0_s0CnpxpMzs0"..., "-o", "/tmp/magick-4R_OusxZBx5fjGrfq0KU"...], 0x7ffd7f3538e8 /* 10 vars */) = -1 ENOENT (No such file or directory)
[pid 5] +++ exited with 1 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5, si_uid=1000, si_status=1, si_utime=0, si_stime=0} ---
convert: unable to open image `t.webp': No such file or directory @ error/blob.c/OpenBlob/2924.
convert: delegate failed `' dwebp' -pam '%i' -o '%o'' @ error/delegate.c/InvokeDelegate/1970.
convert: unable to open file `/tmp/magick-e8GzrEcauG0mZICNZggy_vG77mtn29lu': No such file or directory @ error/constitute.c/ReadImage/615.
convert: no images defined `t.png' @ error/convert.c/ConvertImageCommand/3229.
+++ exited with 1 +++

Ludo’.
L
L
Ludovic Courtès wrote on 27 Apr 2021 09:30
control message for bug #48018
(address . control@debbugs.gnu.org)
87im486v7o.fsf@gnu.org
tags 48018 + easy
quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 48018@debbugs.gnu.org