On Sun, Aug 31, 2025 at 12:53 AM Zoltan Boszormenyi via
lists.openembedded.org <[email protected]>
wrote:
>
> tiff-native may pick up liblerc from the host, in which case
> it's added as a private requirement in libtiff-4.pc.
> That in turn causes a build error in gtk4-native in Yocto.
>
> This was observed on Fedora 42 with gdk-pixbuf2-devel installed
> on the host, where libtiff 4.7.0 is built with liblerc enabled.
>
> Since liblerc does not exist in Yocto, disable its use in tiff.
>
> Signed-off-by: Zoltán Böszörményi <[email protected]>
> Backport-to: walnascar
> ---
>  meta/recipes-multimedia/libtiff/tiff_4.7.0.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb 
> b/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb
> index 26e3811ff8..c21b352d3c 100644
> --- a/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb
> +++ b/meta/recipes-multimedia/libtiff/tiff_4.7.0.bb
> @@ -32,6 +32,8 @@ inherit autotools multilib_header
>
>  CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no"
>
> +EXTRA_OECONF = "--disable-lerc"

It would be good to make it a packageconfig that is disabled by default.

> +
>  PACKAGECONFIG ?= "cxx jpeg zlib lzma \
>                    strip-chopping extrasample-as-alpha 
> check-ycbcr-subsampling"
>
> --
> 2.51.0
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#222634): 
https://lists.openembedded.org/g/openembedded-core/message/222634
Mute This Topic: https://lists.openembedded.org/mt/114987790/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to