-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HEIF builds fail with latest distros #729
Comments
can you post a build snippet of the failure you're seeing & the version you're using ? then maybe @YakoYakoYokuYoku can take a look. |
I can't replicate on my system, I've built and run ( |
Hi :) Ubuntu 20.04 LTS CI: https://github.com/libgd/libgd/runs/3382353339?check_suite_focus=true convert_hdr_to_8bit is only available from 1.7 upwards, which is not available widely yet in the distributions. In any case, whether we support <1.7 or not, we should add checks, in CMake to disable it all if no suitable version has been found, or also in the code if we like to support <1.7.
|
Sidenote, if you use SET(CMAKE_C_FLAGS_DEBUG "-g -Wall -Wextra -O0 -fsanitize=address"), libheif latest versions leak. It does not unregister its plugins. I reported a bug to them, no answer so far. I will see if I can provide a PR. |
Knowing the fact that version |
@YakoYakoYokuYoku Thanks :) do I understand correctly that you are ok to require 1.7 or later? If <1.7 we disable HEIF codec, correct? |
if the user has explicitly requested heif support, we should fail the build if the needed versions weren't found, not just warn+disable. afaik, no version of Debian or Ubuntu includes libheif. not sure where GH containers are getting this.
so if no distros are shipping it, requiring 1.7.0+ sounds fine to me. that was released almost 2 years ago at this point. |
sorry, you better phrased it and what I meant. Fix on the way to require >=
1.7
…On Sat, Aug 21, 2021, 9:29 AM Mike Frysinger ***@***.***> wrote:
if the user has explicitly requested heif support, we should fail the
build if the needed versions weren't found, not just warn+disable.
afaik, no version of Debian or Ubuntu includes libheif. not sure where GH
containers are getting this.
-
https://packages.debian.org/search?keywords=lbheif&searchon=names&suite=all§ion=all
-
https://packages.ubuntu.com/search?keywords=lbheif&searchon=names&suite=all§ion=all
so if no distros are shipping it, requiring 1.7.0+ sounds fine to me. that
was released almost 2 years ago at this point.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#729 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6KFTBCMCBG7C3YDLWILT54FPHANCNFSM5CQPGW3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
about Ubuntu, it has it. Maybe from extra? I have it on 20.04 (using heif
master tho to dev)
…On Sat, Aug 21, 2021, 9:29 AM Mike Frysinger ***@***.***> wrote:
if the user has explicitly requested heif support, we should fail the
build if the needed versions weren't found, not just warn+disable.
afaik, no version of Debian or Ubuntu includes libheif. not sure where GH
containers are getting this.
-
https://packages.debian.org/search?keywords=lbheif&searchon=names&suite=all§ion=all
-
https://packages.ubuntu.com/search?keywords=lbheif&searchon=names&suite=all§ion=all
so if no distros are shipping it, requiring 1.7.0+ sounds fine to me. that
was released almost 2 years ago at this point.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#729 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACE6KFTBCMCBG7C3YDLWILT54FPHANCNFSM5CQPGW3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
I'd go by putting a hard requirement on Also there are packages for libheif for both Debian and Ubuntu: |
oh, i typod the package name in the search. oddly i typed it multiple times, but maybe my keyboard is being squishy when i press "i". Debian bullseye is going to stable now and includes 1.11.0. i''m fine requiring 1.7+ if it makes our lives easier. we're cutting new gd releases now. |
We need to either update configure/cmake to check for the min version or wrap the 8bit conversion part with whatever was there before. Only recent HEIF have it and most if not all distros do not distribute these versions yet.
The text was updated successfully, but these errors were encountered: