[OE-core] [PATCH] libtasn: fixed cross build issue
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Wed May 30 15:17:03 UTC 2012
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(-)
diff --git a/meta/recipes-support/gnutls/libtasn1_2.12.bb b/meta/recipes-support/gnutls/libtasn1_2.12.bb
index d0b4191..dcc58a2 100644
--- a/meta/recipes-support/gnutls/libtasn1_2.12.bb
+++ b/meta/recipes-support/gnutls/libtasn1_2.12.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
file://README;endline=8;md5=c3803a3e8ca5ab5eb1e5912faa405351"
-PR = "r1"
+PR = "r2"
SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \
file://libtasn1_fix_for_automake_1.12.patch \
@@ -20,3 +20,11 @@ SRC_URI[sha256sum] = "0e257a8a01c80e464f73262e13c226e04a15165c2ad087a340f5390228
inherit autotools binconfig lib_package
BBCLASSEXTEND = "native"
+
+do_configure_prepend() {
+ # these autogenerated man pages depend on configure.ac which was
+ # modified by SRC_URI patches. Regenerating them fails because
+ # 'help2man' tries to execute the corresponding, cross-compiled
+ # binary with the '--help' option
+ touch doc/asn1Parser.1 doc/asn1Coding.1 doc/asn1Decoding.1
+}
--
1.7.7.6
More information about the Openembedded-core
mailing list