-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Description
Package Name
luajit2
Maintainer
OpenWrt Version
snapshot
OpenWrt Target/Subtarget
riscv64/generic
Steps to Reproduce
Click here: https://downloads.openwrt.org/snapshots/faillogs/riscv64_generic/packages/luajit2/compile.txt
Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/luajit2/patches/010-lua-path.patch using plaintext:
patching file src/luaconf.h
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_generic_musl/luajit2-2.1.2025.05.29'
==== Building LuaJIT 2.1 ====
make -C src
make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_generic_musl/luajit2-2.1.2025.05.29/src'
lj_arch.h:73:2: error: #error "Architecture not supported (in this version), see: https://luajit.org/status.html#architectures"
73 | #error "Architecture not supported (in this version), see: https://luajit.org/status.html#architectures"
| ^~~~~
lj_arch.h:475:2: error: #error "No target architecture defined"
475 | #error "No target architecture defined"
| ^~~~~
Makefile:273: *** Unsupported target architecture. Stop.
make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_generic_musl/luajit2-2.1.2025.05.29/src'
make[4]: *** [Makefile:127: default] Error 2
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_generic_musl/luajit2-2.1.2025.05.29'
make[3]: *** [Makefile:100: /builder/shared-workdir/build/sdk/build_dir/target-riscv64_generic_musl/luajit2-2.1.2025.05.29/.built] Error 2
time: package/feeds/packages/luajit2/compile#0.52#0.42#1.08
Actual Behaviour
You need to backport this: openresty/luajit2#236 to fix it
Confirmation Checklist
- The package is maintained in this repository.
- I understand that issues related to the base OpenWrt repository or LuCI repository will be closed.
- I am reporting an issue for OpenWrt, not an unsupported fork.
Copilot