Message ID | 20250831075336.7857-1-zboszor@gmail.com |
---|---|
State | New |
Headers | show |
Series | tiff: Disable liblerc | expand |
On Sun, Aug 31, 2025 at 12:53 AM Zoltan Boszormenyi via lists.openembedded.org <zboszor=gmail.com@lists.openembedded.org> 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 <zboszor@gmail.com> > 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 (#222629): https://lists.openembedded.org/g/openembedded-core/message/222629 > Mute This Topic: https://lists.openembedded.org/mt/114987790/1997914 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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" + PACKAGECONFIG ?= "cxx jpeg zlib lzma \ strip-chopping extrasample-as-alpha check-ycbcr-subsampling"
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 <zboszor@gmail.com> Backport-to: walnascar --- meta/recipes-multimedia/libtiff/tiff_4.7.0.bb | 2 ++ 1 file changed, 2 insertions(+)