[OE-core] [PATCH v2] elfutils: add PACKAGECONFIG for compression algorithms
Ross Burton
ross.burton at intel.com
Tue Oct 15 10:55:31 UTC 2019
On 15/10/2019 08:21, Dan Callaghan wrote:
> Poky has "bzip2-native" in ASSUME_PROVIDED. Presumably, this is because
> bzip2 (the command line program) is a required host tool and so there is
> no need to build bzip2-native just to get a working bzip2 program.
>
> However that also means that bzip2-native libraries and headers are
> silently omitted from the recipe-sysroot-native for elfutils-native,
> even though it depends on bzip2-native. On our Jenkins, which has a very
> minimal build environment and lacks the bzip2 headers, elfutils-native
> fails to configure:
>
> | checking for library containing BZ2_bzdopen... no
> | configure: error: missing -lbz2 for --with-bzlib
>
> It seems to me the real problem here is that "bzip2-native" does not
> really belong in ASSUME_PROVIDED. Recipes can assume that the host
> provides the bzip2 *command* but not necessarily its headers and
> libraries.
>
> So now I am not quite sure what to do...
If you need bzip-native for the libraries, DEPEND on
bzip2-replacement-native.
Ross
More information about the Openembedded-core
mailing list