diff mbox series

[meta-oe] mpv: disable lua for arm

Message ID 20250401065148.1388290-1-f_l_k@t-online.de
State New
Headers show
Series [meta-oe] mpv: disable lua for arm | expand

Commit Message

Markus Volk April 1, 2025, 6:51 a.m. UTC
luajit currently fails for arm:
e -c -o lj_vmmath_dyn.o lj_vmmath.c
| In file included from /usr/include/sys/cdefs.h:731,
|                  from /usr/include/features.h:524,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_asm.c:6:
| /usr/include/bits/long-double.h:23:10: fatal error: bits/long-double-32.h: No such file or directory
|    23 | #include <bits/long-double-32.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from /usr/include/sys/cdefs.h:731,
|                  from /usr/include/features.h:524,
|                  from /usr/include/sys/types.h:25,
|                  from host/buildvm.h:9,
|                  from host/buildvm_lib.c:6:
| /usr/include/bits/long-double.h:23:10: fatal error: bits/long-double-32.h: No such file or directory
|    23 | #include <bits/long-double-32.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| In file included from /usr/include/sys/cdefs.h:731,
|                  from /usr/include/features.h:524,
|                  from /usr/include/bits/libc-header-start.h:33,
|                  from /usr/include/limits.h:26,
|                  from /usr/lib/gcc/x86_64-poky-linux/14.2.0/include/limits.h:210,
|                  from /usr/lib/gcc/x86_64-poky-linux/14.2.0/include/syslimits.h:7,
|                  from /usr/lib/gcc/x86_64-poky-linux/14.2.0/include/limits.h:34,
|                  from host/minilua.c:33:
| /usr/include/bits/long-double.h:23:10: fatal error: bits/long-double-32.h: No such file or directory
|    23 | #include <bits/long-double-32.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Khem Raj April 1, 2025, 2:07 p.m. UTC | #1
On Mon, Mar 31, 2025 at 11:51 PM Markus Volk via
lists.openembedded.org <f_l_k=t-online.de@lists.openembedded.org>
wrote:
>
> luajit currently fails for arm:
> e -c -o lj_vmmath_dyn.o lj_vmmath.c
> | In file included from /usr/include/sys/cdefs.h:731,
> |                  from /usr/include/features.h:524,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_asm.c:6:
> | /usr/include/bits/long-double.h:23:10: fatal error: bits/long-double-32.h: No such file or directory
> |    23 | #include <bits/long-double-32.h>
> |       |          ^~~~~~~~~~~~~~~~~~~~~~~
> | compilation terminated.
> | In file included from /usr/include/sys/cdefs.h:731,
> |                  from /usr/include/features.h:524,
> |                  from /usr/include/sys/types.h:25,
> |                  from host/buildvm.h:9,
> |                  from host/buildvm_lib.c:6:
> | /usr/include/bits/long-double.h:23:10: fatal error: bits/long-double-32.h: No such file or directory
> |    23 | #include <bits/long-double-32.h>
> |       |          ^~~~~~~~~~~~~~~~~~~~~~~
> | compilation terminated.
> | In file included from /usr/include/sys/cdefs.h:731,
> |                  from /usr/include/features.h:524,
> |                  from /usr/include/bits/libc-header-start.h:33,
> |                  from /usr/include/limits.h:26,
> |                  from /usr/lib/gcc/x86_64-poky-linux/14.2.0/include/limits.h:210,
> |                  from /usr/lib/gcc/x86_64-poky-linux/14.2.0/include/syslimits.h:7,
> |                  from /usr/lib/gcc/x86_64-poky-linux/14.2.0/include/limits.h:34,
> |                  from host/minilua.c:33:
> | /usr/include/bits/long-double.h:23:10: fatal error: bits/long-double-32.h: No such file or directory
> |    23 | #include <bits/long-double-32.h>
> |       |          ^~~~~~~~~~~~~~~~~~~~~~~
> | compilation terminated.

The problem here is that you need to install 32bit build environment
on build host. luajit cross build does need that
especially when target will be 32bit

>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
> index 3d54bbb341..55da637227 100644
> --- a/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
> +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
> @@ -25,6 +25,7 @@ inherit meson pkgconfig mime-xdg
>  LDFLAGS:append:riscv64 = " -latomic"
>
>  LUA ?= "lua"
> +LUA:arm = ""
>  LUA:mips64  = ""
>  LUA:powerpc64  = ""
>  LUA:powerpc64le  = ""
> --
> 2.49.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116464): https://lists.openembedded.org/g/openembedded-devel/message/116464
> Mute This Topic: https://lists.openembedded.org/mt/112020693/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
index 3d54bbb341..55da637227 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb
@@ -25,6 +25,7 @@  inherit meson pkgconfig mime-xdg
 LDFLAGS:append:riscv64 = " -latomic"
 
 LUA ?= "lua"
+LUA:arm = ""
 LUA:mips64  = ""
 LUA:powerpc64  = ""
 LUA:powerpc64le  = ""