[OE-core] [PATCH 1/1] ncurses: enable-pc-files requires PKG_CONFIG_LIBDIR existed

Burton, Ross ross.burton at intel.com
Tue Sep 23 11:36:16 UTC 2014


On 23 September 2014 05:31, Robert Yang <liezhi.yang at windriver.com> wrote:
> The configure.in checks:
> [snip]
> if test -n "$PKG_CONFIG_LIBDIR" && test -d "$PKG_CONFIG_LIBDIR" ; then
> [snip]
>
> Create PKG_CONFIG_LIBDIR in do_configure will fix the problem.
>
> We can reproduce the problem by:
> Set SSTATE_DIR=/path/to/sstate-cache
> 1) In build1, make sure everything is ready in SSTATE_DIR
> $ bitbake ncurses
> 2) In build2, rebuild ncurses only:
> $ bitbake ncurses -ccleansstate && bitbake ncurses

With this fixed I expect you can remove what looks like a bad
assignment of PKG_CONFIG_LIBDIR in _install_cfgs.  Also note that it's
currently detecting the wrong path at configure time and the
install_cfgs assignment is forcing the right path.

Ross



More information about the Openembedded-core mailing list