[OE-core] [PATCH] libtasn: fixed cross build issue

Richard Purdie richard.purdie at linuxfoundation.org
Wed May 30 15:44:40 UTC 2012


On Wed, 2012-05-30 at 17:17 +0200, Enrico Scholz wrote:
> Fixes
> 
> | /bin/sh ../libtasn1-2.12-r1/libtasn1-2.12/build-aux/missing --run help2man --info-page libtasn1 \
> |       --name="ASN.1 DER encoder" \
> |       --output=asn1Coding.1 ../src/asn1Coding
> | help2man: can't get `--help' info from ../src/asn1Coding
> | Try `--no-discard-stderr' if option outputs to stderr
> | make[3]: *** [asn1Coding.1] Error 1
> 
> which was caused by touching configure.ac which is a dependency of the
> generated man pages.
> 
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
> ---
>  meta/recipes-support/gnutls/libtasn1_2.12.bb |   10 +++++++++-
>  1 files changed, 9 insertions(+), 1 deletions(-)

This is just a workaround, I thought we'd found a better way to handle
this.

I think a reproducer for the above is:

"bitbake help2man-native; bitbake libtasn1 -c cleansstate; bitbake libtasn1"

and the real fix will be to reorder PATH so the scripts directory comes
before the native sysroot...

Cheers,

Richard





More information about the Openembedded-core mailing list