[oe] luajit fails to build

Martin Jansa martin.jansa at gmail.com
Fri Oct 30 15:03:31 UTC 2015


On Fri, Oct 30, 2015 at 07:27:00AM +0100, Andreas Müller wrote:
> Hi with latest masters luajit fails to build. I did already test - it
> is the same for luajit 2.04. I get
> 
> ERROR: oe_runmake failed
> ERROR: Function failed: do_compile (log file is located at
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
> ERROR: Logfile of failure stored in:
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725
> Log data follows:
> | DEBUG: Executing shell function do_compile
> | NOTE: make -j8 CROSS=arm-angstrom-linux-gnueabi- TARGET_CFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> -march=armv7-a -mthumb  -mthumb-interwork -mfloat-abi=hard
> -mfpu=neon-vfpv4 -mtune=cortex-a7 TARGET_LDFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> TARGET_SHLDFLAGS=
> --sysroot=/home/superandy/tmp/oe-core-glibc/sysroots/raspberrypi2
> TARGET_STRIP=/bin/echo HOST_CC=gcc  -m32
> | ==== Building LuaJIT 2.1.0-beta1 ====
> | make -C src
> | make[1]: Entering directory
> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
> | HOSTCC    host/buildvm_peobj.o
> | HOSTCC    host/minilua.o
> | HOSTCC    host/buildvm_asm.o
> | CC        lj_gc.o
> | HOSTCC    host/buildvm_fold.o
> | HOSTCC    host/buildvm_lib.o
> | CC        lj_char.o
> | CC        lj_obj.o
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_peobj.c:9:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_lib.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_fold.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | compilation terminated.
> | compilation terminated.
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_asm.c:6:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | In file included from /usr/include/features.h:389:0,
> |                  from /usr/include/limits.h:25,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:168,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/syslimits.h:7,
> |                  from
> /usr/lib/gcc/x86_64-redhat-linux/4.9.2/include/limits.h:34,
> |                  from host/minilua.c:33:
> | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory
> |  # include <gnu/stubs-32.h>
> |                            ^
> | compilation terminated.
> | Makefile:672: recipe for target 'host/buildvm_fold.o' failed
> | make[1]: *** [host/buildvm_fold.o] Error 1
> | make[1]: *** Waiting for unfinished jobs....
> | Makefile:672: recipe for target 'host/buildvm_lib.o' failed
> | make[1]: *** [host/buildvm_lib.o] Error 1
> | Makefile:672: recipe for target 'host/buildvm_peobj.o' failed
> | make[1]: *** [host/buildvm_peobj.o] Error 1
> | Makefile:672: recipe for target 'host/minilua.o' failed
> | make[1]: *** [host/minilua.o] Error 1
> | Makefile:672: recipe for target 'host/buildvm_asm.o' failed
> | make[1]: *** [host/buildvm_asm.o] Error 1
> | make[1]: Leaving directory
> '/home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/git/src'
> | Makefile:105: recipe for target 'default' failed
> | make: *** [default] Error 2
> | WARNING: /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/run.do_compile.9725:1
> exit 1 from
> |   exit 1
> | ERROR: oe_runmake failed
> | ERROR: Function failed: do_compile (log file is located at
> /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-vfp-vfpv4-neon-angstrom-linux-gnueabi/luajit/2.1-r0/temp/log.do_compile.9725)
> ERROR: Task 7633
> (/home/superandy/data/oe-core/sources/meta-openembedded/meta-oe/recipes-devtools/luajit/luajit_2.1.bb,
> do_compile) failed with exit code '1'
> 
> Seems it tries to use my host headers. Anybody with an idea why it does that?

Here it still fails with:
| -- Detecting CXX compile features - done
| -- Could NOT find Lua51 (missing:  LUA_LIBRARIES)
| CMake Error at CMakeLists.txt:128 (message):
|   Couldn't find system LuaJIT or Lua

Even after Khem's update, he also sent separate lua5.1 recipe, but
without adding dependency on it from sysdig. I'm trying if it fails
after replacing luajit with lua5.1 in depends.

> 
> Andreas
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20151030/895c8ef0/attachment-0002.sig>


More information about the Openembedded-devel mailing list