On Thu, Sep 7, 2023 at 8:41 AM Joakim Tjernlund via lists.openembedded.org <Joakim.Tjernlund=infinera....@lists.openembedded.org> wrote: > > Here is a partial log: > [2023-09-07T14:27:47.651Z] ERROR: lib32-luaposix-35.1-r0 do_compile: > ExecutionError('/home/builduser/workspace/XR/XR_PretestJobs/yocto_pipeline/build/build/infn- > xr/gmcu/tmp/work/cortexa53-32-xrmllib32-linux-musleabi/lib32-luaposix/35.1-r0/temp/run.do_compile.25384', > 1, None, None) > [2023-09-07T14:27:47.651Z] ERROR: Logfile of failure stored in: > /home/builduser/workspace/XR/XR_PretestJobs/yocto_pipeline/build/build/infn-xr/gmcu/tmp/work/cortexa53-32- > xrmllib32-linux-musleabi/lib32-luaposix/35.1-r0/temp/log.do_compile.25384 > [2023-09-07T14:27:47.651Z] Log data follows: > [2023-09-07T14:27:47.651Z] | DEBUG: Executing shell function do_compile > [2023-09-07T14:27:47.651Z] | creating lib/posix/version.lua > [2023-09-07T14:27:47.651Z] | creating build-aux/config.ld > [2023-09-07T14:27:47.651Z] | arm-xrmllib32-linux-musleabi-gcc > -march=armv8-a+crc -mcpu=cortex-a53 -fstack-protector-strong -Os > -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security - > Werror=format-security > --sysroot=/home/builduser/workspace/XR/XR_PretestJobs/yocto_pipeline/build/build/infn-xr/gmcu/tmp/work/cortexa53-32-xrmllib32-linux-musleabi/lib32- > luaposix/35.1-r0/lib32-recipe-sysroot -O2 -shared -fPIC > -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L > -D_FORTIFY_SOURCE=2 -DNDEBUG - > DVERSION='"builduser"' -Iext/include -I/usr/include/lua5.4 ext/posix/signal.c > -o linux/posix/signal.so -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed > -fmacro-prefix- > map=/home/builduser/workspace/XR/XR_PretestJobs/yocto_pipeline/build/build/infn-xr/gmcu/tmp/work/cortexa53-32-xrmllib32-linux-musleabi/lib32-luaposix/35.1- > r0=/usr/src/debug/lib32-luaposix/35.1-r0 > -fdebug-prefix-map=/home/builduser/workspace/XR/XR_PretestJobs/yocto_pipeline/build/build/infn- > xr/gmcu/tmp/work/cortexa53-32-xrmllib32-linux-musleabi/lib32-luaposix/35.1-r0=/usr/src/debug/lib32-luaposix/35.1-r0 > -fdebug-prefix- > map=/home/builduser/workspace/XR/XR_PretestJobs/yocto_pipeline/build/build/infn-xr/gmcu/tmp/work/cortexa53-32-xrmllib32-linux-musleabi/lib32-luaposix/35.1-r0/lib32-recipe- > sysroot= > -fdebug-prefix-map=/home/builduser/workspace/XR/XR_PretestJobs/yocto_pipeline/build/build/infn-xr/gmcu/tmp/work/cortexa53-32-xrmllib32-linux- > musleabi/lib32-luaposix/35.1-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now > [2023-09-07T14:27:47.651Z] | cc1: warning: include location > "/usr/include/lua5.4" is unsafe for cross-compilation > [-Wpoison-system-directories] > [2023-09-07T14:27:47.651Z] | In file included from > /usr/include/lua5.4/lua.h:16, > [2023-09-07T14:27:47.651Z] | from ext/include/_helpers.c:59, > [2023-09-07T14:27:47.651Z] | from ext/posix/signal.c:25: > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/luaconf.h:43:9: error: > #error "No ABI matched, please report a bug to bugs.gentoo.org" > [2023-09-07T14:27:47.651Z] | 43 | # error "No ABI matched, please > report a bug to bugs.gentoo.org" > [2023-09-07T14:27:47.651Z] | | ^~~~~ > [2023-09-07T14:27:47.651Z] | In file included from ext/include/_helpers.c:59, > [2023-09-07T14:27:47.651Z] | from ext/posix/signal.c:25: > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/lua.h:90:9: error: unknown > type name 'LUA_NUMBER' > [2023-09-07T14:27:47.651Z] | 90 | typedef LUA_NUMBER lua_Number; > [2023-09-07T14:27:47.651Z] | | ^~~~~~~~~~ > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/lua.h:94:9: error: unknown > type name 'LUA_INTEGER' > [2023-09-07T14:27:47.651Z] | 94 | typedef LUA_INTEGER lua_Integer; > [2023-09-07T14:27:47.651Z] | | ^~~~~~~~~~~ > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/lua.h:97:9: error: unknown > type name 'LUA_UNSIGNED' > [2023-09-07T14:27:47.651Z] | 97 | typedef LUA_UNSIGNED lua_Unsigned; > [2023-09-07T14:27:47.651Z] | | ^~~~~~~~~~~~ > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/lua.h:100:9: error: unknown > type name 'LUA_KCONTEXT' > [2023-09-07T14:27:47.651Z] | 100 | typedef LUA_KCONTEXT lua_KContext; > [2023-09-07T14:27:47.651Z] | | ^~~~~~~~~~~~ > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/lua.h:153:1: error: unknown > type name 'LUA_API' > [2023-09-07T14:27:47.651Z] | 153 | LUA_API lua_State *(lua_newstate) > (lua_Alloc f, void *ud); > [2023-09-07T14:27:47.651Z] | | ^~~~~~~ > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/lua.h:153:19: error: > expected '=', ',', ';', 'asm' or '__attribute__' before '*' token > [2023-09-07T14:27:47.651Z] | 153 | LUA_API lua_State *(lua_newstate) > (lua_Alloc f, void *ud); > [2023-09-07T14:27:47.651Z] | | ^ > [2023-09-07T14:27:47.651Z] | /usr/include/lua5.4/lua.h:154:8: error: expected > ';' before 'void' > > One can see -I/usr/include in the build cmd. > > building on latest Kirstone
yeah 32bit build seems to be leaking into host includes, this should be contained. Perhaps Makefiles of luaposix reveat something? > > Jocke > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#104796): https://lists.openembedded.org/g/openembedded-devel/message/104796 Mute This Topic: https://lists.openembedded.org/mt/101217104/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-