mono/libgdiplus

Docker build failing - Libtiff dependency not found

QuickScoP3s opened this issue · 9 comments

As of now, 7 hours ago, a new version of Libgdiplus was released:
image

https://git.alpinelinux.org/aports/commit/testing/libgdiplus?id=2c36b1c27f4f7b1338dfdbc790c9284858d64255

And we're now experiencing the following issue trying to build our docker container using the library:
image

Anyone that can help?
None of us are very experienced with either docker, nor (alpine) linux packaging 😇

We have same issue( How can we downgrade to previos stable version?

I'm afraid you have to complain to the package maintainer. There was no activity or release for way over a year for the official repo. The project is effectively in limited maintenance mode as long as some supported products depend on it.

(.NET Core 3.1 went out of support last Tuesday; .NET 6 already deprecated the support; the only supported products that may still depend on libgdiplus are some versions of Xamarin/Mono but calling that "supported" is quite a stretch)

Any idea how we can release using the old version? (as @moxiemaks requests as well)
We tried this command apk add libgdiplus=6.1-r0, but that doesn't work either:
image

If we shouldn't use this library anymore, any idea which library we can use on Linux to replace System.Drawing?

same issue here

danvy commented

Idem

FYI , we managed to install libgdiplus using

apk add tiff=4.5.0-r1 --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main/ --allow-untrusted
apk add libgdiplus --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted

Awesome!
We're currently looking into moving to SkiaSharp instead of relying on libgdiplus, but the Nuget libraries need to support it of course... 🤞

Yeah this is outside of our control since this is done by Alpine, please contact their package maintainers.

BTW: the libgdiplus package has been moved to the community package.
More info here : https://pkgs.alpinelinux.org/package/edge/community/x86/libgdiplus

So we fixed the original issue by adding following install:
apk add tiff --repository http://dl-3.alpinelinux.org/alpine/edge/main/ --allow-untrusted
apk add libgdiplus --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted