[OE-core] [PATCH v2 2/2] diffutils: allow native & nativesdk builds
Sai Pavan Boddu
saipava at xilinx.com
Thu Mar 8 07:50:27 UTC 2018
Hi,
This patch breaks nativesdk-qemu build with x86_64-oesdk-mingw32 toolchain. Below are the errors i see
| In file included from ./fcntl.h:67:0,
| from ../../diffutils-3.6/lib/careadlinkat.h:23,
| from ../../diffutils-3.6/lib/areadlink.c:27:
| ./unistd.h:592:11: fatal error: getopt-cdefs.h: No such file or directory
| # include <getopt-cdefs.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [areadlink.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| In file included from ../../diffutils-3.6/lib/c-stack.c:72:0:
| ./unistd.h:592:11: fatal error: getopt-cdefs.h: No such file or directory
| # include <getopt-cdefs.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [c-stack.o] Error 1
| In file included from ./fcntl.h:67:0,
| from ../../diffutils-3.6/lib/binary-io.h:22,
| from ../../diffutils-3.6/lib/binary-io.c:20:
| ./unistd.h:592:11: fatal error: getopt-cdefs.h: No such file or directory
| # include <getopt-cdefs.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from ./fcntl.h:67:0,
| from ../../diffutils-3.6/lib/careadlinkat.h:23,
| from ../../diffutils-3.6/lib/careadlinkat.c:23:
| ./unistd.h:592:11: fatal error: getopt-cdefs.h: No such file or directory
| # include <getopt-cdefs.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [binary-io.o] Error 1
| make[2]: *** [careadlinkat.o] Error 1
| In file included from ./fcntl.h:67:0,
| from ../../diffutils-3.6/lib/localcharset.c:25:
| ./unistd.h:592:11: fatal error: getopt-cdefs.h: No such file or directory
| # include <getopt-cdefs.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
| make[2]: *** [localcharset.o] Error 1
| In file included from ./fcntl.h:67:0,
| from ../../diffutils-3.6/lib/freopen-safer.c:25:
| ./unistd.h:592:11: fatal error: getopt-cdefs.h: No such file or directory
| # include <getopt-cdefs.h>
| ^~~~~~~~~~~~~~~~
| compilation terminated.
Thanks,
Sai Pavan
> -----Original Message-----
> From: openembedded-core-bounces at lists.openembedded.org
> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf
> Of Ioan-Adrian Ratiu
> Sent: Monday, March 5, 2018 5:11 AM
> To: openembedded-core at lists.openembedded.org
> Subject: [OE-core] [PATCH v2 2/2] diffutils: allow native & nativesdk builds
>
> Required by the new dtc rdepends to avoid errors like this:
>
> ERROR: Required build target 'ionel-rpi-image' has no buildable providers.
> Missing or unbuildable dependency chain was: ['ionel-rpi-image', 'nativesdk-
> packagegroup-sdk-host', 'nativesdk-qemu', 'nativesdk-dtc', 'nativesdk-
> diffutils']
>
> Signed-off-by: Ioan-Adrian Ratiu <adi at adirat.com>
> ---
> meta/recipes-extended/diffutils/diffutils.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-extended/diffutils/diffutils.inc b/meta/recipes-
> extended/diffutils/diffutils.inc
> index 7c5be50fb7..c9e3130587 100644
> --- a/meta/recipes-extended/diffutils/diffutils.inc
> +++ b/meta/recipes-extended/diffutils/diffutils.inc
> @@ -10,3 +10,4 @@ inherit autotools texinfo update-alternatives gettext
> ALTERNATIVE_${PN} = "diff cmp"
> ALTERNATIVE_PRIORITY = "100"
>
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.16.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list