GNU bug report logs -
#48018
ImageMagick’s ‘convert’ fails to delegate to ‘dwebp’
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Sun, 25 Apr 2021 13:39:02 UTC
Severity: normal
Tags: easy
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48018 in the body.
You can then email your comments to 48018 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org:
bug#48018; Package
guix.
(Sun, 25 Apr 2021 13:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org.
(Sun, 25 Apr 2021 13:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
ImageMagick’s ‘convert’ refers to the ‘dwebp’ program with a leading
space, which prevents conversion to/from webp:
--8<---------------cut here---------------start------------->8---
$ 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 +++
--8<---------------cut here---------------end--------------->8---
Ludo’.
Added tag(s) easy.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org.
(Tue, 27 Apr 2021 07:31:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org:
bug#48018; Package
guix.
(Thu, 20 Jul 2023 18:41:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 48018 <at> debbugs.gnu.org (full text, mbox):
Fixes <https://issues.guix.gnu.org/48018>.
* gnu/packages/imagemagick.scm (imagemagick)[inputs]: Add libwebp.
---
The comments in the code imply that this could be applied to master, but
`guix refresh` claimed it to have over 3 000 dependents. Go figure.
gnu/packages/imagemagick.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/imagemagick.scm b/gnu/packages/imagemagick.scm
index 169dc12f35..55e100a71c 100644
--- a/gnu/packages/imagemagick.scm
+++ b/gnu/packages/imagemagick.scm
@@ -158,6 +158,8 @@ (define-public imagemagick
(base32
"0didbs10i9zb4dgripa851j7fivxb9jar7l3vvxz6i4kn6xvdv7r"))
(patches (search-patches "imagemagick-Fix-tests.patch"))))
+ (inputs (cons `("libwebp" ,libwebp)
+ (package-inputs imagemagick/stable)))
(arguments
(append (package-arguments imagemagick/stable)
'(#:tests? #t)))))
--
2.41.0
Information forwarded
to
bug-guix <at> gnu.org:
bug#48018; Package
guix.
(Mon, 06 Nov 2023 11:08:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 48018 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I've checked the patch above which works like a charm. I've created a new patch. Please credit the original author before merging.
[Message part 2 (text/html, inline)]
[0001-gnu-Fix-imagemagick-webp-related-failures.patch (text/x-patch, attachment)]
Information forwarded
to
bug-guix <at> gnu.org:
bug#48018; Package
guix.
(Wed, 03 Jan 2024 22:21:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 48018 <at> debbugs.gnu.org (full text, mbox):
Hi,
"Wicki Gabriel (wicg)" <wicg <at> zhaw.ch> writes:
> I've checked the patch above which works like a charm. I've created a
> new patch. Please credit the original author before merging.
I've applied it on core-updates, as imagemagick causes a large number of
rebuilds.
--
Thanks,
Maxim
Information forwarded
to
bug-guix <at> gnu.org:
bug#48018; Package
guix.
(Thu, 04 Jan 2024 13:15:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 48018 <at> debbugs.gnu.org (full text, mbox):
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
> I've applied it on core-updates, as imagemagick causes a large number
> of rebuilds.
Unfortunately a small bug crept in with commit 62d1806f42: ",name" needs
to be changed to "$name" or building ImageMagick fails with
unquote: expression not valid outside of quasiquote in form (unquote name)
--
Simon South
simon <at> simonsouth.net
Information forwarded
to
bug-guix <at> gnu.org:
bug#48018; Package
guix.
(Thu, 04 Jan 2024 17:53:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 48018 <at> debbugs.gnu.org (full text, mbox):
Hi,
Simon South <simon <at> simonsouth.net> writes:
> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes:
>> I've applied it on core-updates, as imagemagick causes a large number
>> of rebuilds.
>
> Unfortunately a small bug crept in with commit 62d1806f42: ",name" needs
> to be changed to "$name" or building ImageMagick fails with
>
> unquote: expression not valid outside of quasiquote in form (unquote name)
Thanks for the heads-up. That's now fixed. Apologies for sloppy QA
:-).
--
Thanks,
Maxim
bug closed, send any further explanations to
48018 <at> debbugs.gnu.org and Ludovic Courtès <ludo <at> gnu.org>
Request was from
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
to
control <at> debbugs.gnu.org.
(Sun, 21 Jan 2024 23:07:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org.
(Mon, 19 Feb 2024 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 291 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.