Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#990028: /usr/bin/mogrify-im6.q16: raw support requires ufraw-batch which is no longer in Debian

112 views
Skip to first unread message

Brian May

unread,
Jun 18, 2021, 6:10:03 AM6/18/21
to
Package: imagemagick-6.q16
Version: 8:6.9.11.60+dfsg-1.3
Severity: important
File: /usr/bin/mogrify-im6.q16

$ /usr/bin/mogrify-im6.q16 -verbose -write /dev/null /home/brian/photos/images/orig/2005/03/19/IMG_4706.CR2
'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 --output='/tmp/brian/magick-aPpSXk_qYFPwWeU4ZgkO-dXXYC9Ra4Et.png' '/tmp/brian/magick-OJc3dM30MFW8f-1VFUjQY1N_xwaRFy6r'
mogrify-im6.q16: delegate failed `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 --output='%u.png' '%i'' @ error/delegate.c/InvokeDelegate/1966.
mogrify-im6.q16: unable to open image `/tmp/brian/magick-aPpSXk_qYFPwWeU4ZgkO-dXXYC9Ra4Et.ppm': No such file or directory @ error/blob.c/OpenBlob/2924.

ufraw was removed from Debian - see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931725

According to https://github.com/ImageMagick/ImageMagick/issues/1617 it
looks like imagemagick fully supports using libraw instead. But this
needs to be compiled into the binary.

"If you install libraw development (header files are required), you must
then build/install ImageMagick from source. It will detect the delegate
library when you run the configure script and leverage it to read your
CR2 image."

-- Package-specific info:
ImageMagick program version
---------------------------
animate: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
compare: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
convert: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
composite: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
conjure: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
display: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
identify: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
import: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
mogrify: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
montage: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org
stream: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org

-- System Information:
Debian Release: 11.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-7-amd64 (SMP w/20 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages imagemagick-6.q16 depends on:
ii hicolor-icon-theme 0.17-2
ii libc6 2.31-12
ii libmagickcore-6.q16-6 8:6.9.11.60+dfsg-1.3
ii libmagickwand-6.q16-6 8:6.9.11.60+dfsg-1.3

Versions of packages imagemagick-6.q16 recommends:
ii ghostscript 9.53.3~dfsg-7
ii libmagickcore-6.q16-6-extra 8:6.9.11.60+dfsg-1.3
ii netpbm 2:10.0-15.4

Versions of packages imagemagick-6.q16 suggests:
pn autotrace <none>
pn cups-bsd | lpr | lprng <none>
ii curl 7.74.0-1.2
pn enscript <none>
ii ffmpeg 7:4.3.2-0+deb11u2
ii gimp 2.10.22-4
pn gnuplot <none>
pn grads <none>
ii graphviz 2.42.2-5
ii groff-base 1.22.4-6
pn hp2xx <none>
pn html2ps <none>
pn imagemagick-doc <none>
pn libwmf-bin <none>
ii mplayer 2:1.4+ds1-1
pn povray <none>
pn radiance <none>
ii sane-utils 1.0.31-4
pn texlive-base-bin <none>
pn transfig <none>
pn ufraw-batch <none>
ii xdg-utils 1.1.3-4.1

-- debconf-show failed

Darshaka Pathirana

unread,
Jul 24, 2023, 1:31:09 PM7/24/23
to
Hi,

On Fri, 03 Sep 2021 22:00:12 +0000 Debian FTP Masters <ftpm...@ftp-master.debian.org> wrote:
> Source: imagemagick
> Source-Version: 8:6.9.12.20+dfsg1-1
> Done: Bastien Roucariès <ro...@debian.org>

If just stumbled over this:

❯ identify -format "%f: %wx%h\n" "DSC_0597.NEF"
identify-im6.q16: delegate failed `'ufraw-batch' --silent --create-id=also --out-type=png --out-depth=16 --output='%u.png' '%i'' @ error/delegate.c/InvokeDelegate/1966.
identify-im6.q16: unable to open image `/tmp/magick-vD_smqp7YJHGABZ2bxgam6OJlqxQ5NMN.ppm': No such file or directory @ error/blob.c/OpenBlob/2924.

I am still running Debian/bullseye, but as far as I can see version 6.9.12.20+dfsg1-1 is only in experimental.
Any plans to bring it to unstable?

Apart from that, imagemagick-6.q16 + imagemagick-6.q16hdri do still have "Suggests: ufraw-batch"[1][2].
This should be removed.

[1] https://salsa.debian.org/debian/imagemagick/-/blob/debian/lastest/debian/control?ref_type=heads#L200
[2] https://salsa.debian.org/debian/imagemagick/-/blob/debian/lastest/debian/control?ref_type=heads#L411

And finally: is there a workaround for this problem, as Debian/bullseye + bookworm still seem to be affected by this bug?
Should we open a new issue or re-open this bug?

Thx for maintaining!

Best,
- Darsha
OpenPGP_signature

Bastien ROUCARIES

unread,
Jul 29, 2023, 10:10:05 AM7/29/23
to
Hi,

Help is welcome on the imagemagick side. You could step in as a maint
or test salsa tree
0 new messages