SoftCreatR / imei

IMEI - ImageMagick Easy Install
ISC License
293 stars 35 forks source link

delegate failed `'dwebp' #95

Closed suntong closed 1 year ago

suntong commented 1 year ago

Symptom:

$ identify /tmp/test.webp 
identify: delegate failed `'dwebp' -pam '%i' -o '%o'' @ error/delegate.c/InvokeDelegate/1924.
identify: unable to load module '/usr/local/lib/ImageMagick-7.1.1/modules-Q16HDRI/coders/webp.la': file not found @ error/module.c/OpenModule/1291.
identify: unable to open file '/tmp/magick-KaC5RluS7eQOHIwYj93unSHJd5AmyKSJ': No such file or directory @ error/constitute.c/ReadImage/785.

But I've already have all these packages installed:

ii libwebp-dev:amd64  amd64 Lossy compression of digital photographic images
ii libwebp7:amd64  amd64 Lossy compression of digital photographic images
ii libwebpdemux2:amd64  amd64 Lossy compression of digital photographic images.
ii libwebpmux3:amd64  amd64 Lossy compression of digital photographic images

Symptom the same on both Debian GNU/Linux 12 (bookworm) and Ubuntu 22.04.2 LTS.

SoftCreatR commented 1 year ago

Can't reproduce this:

image

suntong commented 1 year ago

Hmm.. instead of running identify in the build environment, which will have the full dependencies, better test the built package in an empty Ubuntu.

SoftCreatR commented 1 year ago

That's what I did.

SoftCreatR commented 1 year ago

Or are you still working with checkinstall? Because a default build via IMEI works as expected:

image

suntong commented 1 year ago

Yes, using the latest --use-checkinstall and --build-only

SoftCreatR commented 1 year ago

Fine. Give me 10 minutes to test that as well.

suntong commented 1 year ago

That's what I did.

Your're running identify in the build environment, which will have the full dependencies before build, right?

SoftCreatR commented 1 year ago

That's what I did.

Your're running identify in the build environment, which will have the full dependencies before build, right?

I always create a fresh server, and run a default installation.

suntong commented 1 year ago
 #####################
 Installation Process
 #####################

 Installing dependencies       [OK]

This is the step I was talking about -- before build was even started, a full build dependencies is installed on to the system.

Yet, when the built package is installed into an empty Ubuntu, that might be the real cause of this issue.

SoftCreatR commented 1 year ago

I already understood, what you were talking about, and I can reproduce this issue actually.

SoftCreatR commented 1 year ago

Found the problem. I'm currently perfoming a final test, before publishing version 6.10.1, that should fix it.

suntong commented 1 year ago

hmm... when would https://dist.1-2.dev/imei.sh be updated?

I just did a rebuild from it but found the built version is still 6.10.0.

SoftCreatR commented 1 year ago

As soon as I draft a new release on GitHub, which happened just now.