Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61275 - graphicsmagick 1.31.1-1 needs libwebp for tiffs

Attached to Project: Arch Linux
Opened by Aaron Bishop (Erroneous) - Friday, 04 January 2019, 17:23 GMT
Last edited by Gaetan Bisson (vesath) - Monday, 09 September 2019, 08:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Starting with graphicsmagick 1.31.1-1 working with tiff images produces the following error:
gm convert -size 100x100 xc:white annotate.tif
gm convert: Unable to load module ("/usr/lib/GraphicsMagick-1.3.31/modules-Q16/coders/ file not found").

That file is indeed present, so using strace I found that it is getting openat(AT_FDCWD, "/usr/lib/", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

After installing libwebp and running the same command the error doesn't appear.

This didn't happen with graphicsmagick 1.3.30-4.

Adding --without-webp to ./configure fixes the error

If webp is a desired format to support, we should probably add libwebp as an optdepend (maybe include a note about TIFFs) or we should use --without-webp
This task depends upon

Closed by  Gaetan Bisson (vesath)
Monday, 09 September 2019, 08:51 GMT
Reason for closing:  Implemented
Additional comments about closing:  graphicsmagick-1.3.33-2 in [extra]
Comment by Gaetan Bisson (vesath) - Monday, 09 September 2019, 08:27 GMT
Let's add libwebp as a hard dependency. It's not too big and support for TIFF files is a pretty big feature to leave to an optdepends. And I note that libwebp is already required by a few other packages, like ffmpeg, gd, gimp and webkit.
Comment by Gaetan Bisson (vesath) - Monday, 09 September 2019, 08:28 GMT
And having said that I just realized that libtiff is in the optdepends. :)
Let's make it and libpng hard deps too.