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 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
