Your message dated Wed, 07 Jan 2026 21:33:43 +0000
with message-id <[email protected]>
and subject line Bug#1112338: fixed in luajit 2.1.0+openresty20251030-1
has caused the Debian Bug report #1112338,
regarding luajit: FTBFS due to invalid .option arch -c
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1112338: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1112338
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: luajit
Version: 2.1.0+openresty20250117-2
Severity: normal
Tags: patch ftbfs
User: [email protected]
Usertags: origin-ubuntu questing ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
LuaJit fails to build on riscv64 Ubuntu 25.10:
https://launchpadlibrarian.net/813730444/buildlog_ubuntu-questing-riscv64.luajit_2.1.0+openresty20250117-2build1_BUILDING.txt.gz
buildvm_riscv.dasc: Assembler messages:
buildvm_riscv.dasc:3: Error: deprecated - extension `c' in .option arch `-c'
make[4]: *** [Makefile:751: lj_vm.o] Error 1
The bug code line is introduced by debian/patches/0003_support_riscv64.patch
* Use .option norvc for avoiding compressed instructions.
(LP: #2121590)
Thanks for considering the patch.
-- System Information:
Debian Release: forky/sid
APT prefers questing
APT policy: (500, 'questing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, riscv64
Kernel: Linux 6.16.0-16-generic (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru
luajit-2.1.0+openresty20250117/debian/patches/0003_support_riscv64.patch
luajit-2.1.0+openresty20250117/debian/patches/0003_support_riscv64.patch
--- luajit-2.1.0+openresty20250117/debian/patches/0003_support_riscv64.patch
2025-02-05 17:27:22.000000000 +0100
+++ luajit-2.1.0+openresty20250117/debian/patches/0003_support_riscv64.patch
2025-08-28 14:03:37.000000000 +0200
@@ -3,7 +3,7 @@
Author: [email protected]
Origin: https://github.com/plctlab/LuaJIT/commits/riscv64-v2.1-branch/
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034484
-Last-Update: 2024-06-25
+Last-Update: 2024-08-28
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: luajit/Makefile
@@ -1578,7 +1578,7 @@
fprintf(ctx->fp, "\t.set nomips16\n\t.abicalls\n\t.set noreorder\n\t.set
nomacro\n");
#endif
+#if LJ_TARGET_RISCV64
-+ fprintf(ctx->fp, ".option arch, -c\n.option norelax\n");
++ fprintf(ctx->fp, ".option norvc\n.option norelax\n");
+#endif
emit_asm_align(ctx, 4);
--- End Message ---
--- Begin Message ---
Source: luajit
Source-Version: 2.1.0+openresty20251030-1
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
luajit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated luajit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 07 Jan 2026 22:15:30 +0100
Source: luajit
Architecture: source
Version: 2.1.0+openresty20251030-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Lua Team <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 1112338
Changes:
luajit (2.1.0+openresty20251030-1) unstable; urgency=medium
.
* Team upload
.
[ Heinrich Schuchardt ]
* Use .option norvc for avoiding compressed instructions (Closes: #1112338)
Checksums-Sha1:
dc8423f0a398b22d9c79f139f62e42ffbe75ea82 2585
luajit_2.1.0+openresty20251030-1.dsc
6e9c9e990dfb6420aac0babf48e067be3084ad24 97184
luajit_2.1.0+openresty20251030-1.debian.tar.xz
e338e80b3bb9005c1b2a9cb800d3ef5c9204a2d3 5684
luajit_2.1.0+openresty20251030-1_source.buildinfo
Checksums-Sha256:
37e86ebf0e4b563c250c8e88214d571f4c7fc78c905eb95e3e698d7930eb2f1f 2585
luajit_2.1.0+openresty20251030-1.dsc
4358c4deced139ec614931810333724943d644d4ed8f47665910389f186ca09b 97184
luajit_2.1.0+openresty20251030-1.debian.tar.xz
0184a800caa6b521cf1d4204024297ea0cab8d9995a0a3e6e194fdd42ba94ad7 5684
luajit_2.1.0+openresty20251030-1_source.buildinfo
Files:
285bd237ecd6dbb9755fed572c2d79da 2585 interpreters optional
luajit_2.1.0+openresty20251030-1.dsc
817753b01cc55678170b901a6c176a61 97184 interpreters optional
luajit_2.1.0+openresty20251030-1.debian.tar.xz
3393775066b1fdbf73c96e87427abddd 5684 interpreters optional
luajit_2.1.0+openresty20251030-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmlezTAQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFLc7C/9cemDox/QE/FWJgGccHvkIQkcS1zBO7BhL
Xx809ZDATNfLv5YnObEbooCVkpUGJZ4Hi83mx26pUntNw5gH4bz44PRZGIB/a3KO
KCNuDGC/ucf7F9lmT9MwQGivwzQKnP1eXCii/af/SRFn/zQ6e+95dbBd63z9Wmn7
j5NhPp+EycNLcRNVkSEiFfE3JYiYo+gfzt/vAy6q26NGy4BC+8X+D0Mz4aNRtlRE
uD8tWYKERmDeZoZbrOuWTUkxPa2sAfaMb1K0YwIOMKst8SltqoJMzoIA749PVX8J
yif9By7KKbjygHH3G06G8WRdcquANLmfveaKp7Cszslo0ZDw76XLluNoM+mlkTTP
oLh//7e02SansgTBXYE08GRLkiBo7JPNZ9HebvWfKEG4s+qkppOQWX7YOOznb6Am
VUIP8OQz4qON7SjzqzWca94VUYT/KpA1Xs1fKIN60rqWi4RO5/GZwv31AWTN5xJs
8anwXkcG0VdYaKkTZkK2COsKyPIB0e0=
=9luQ
-----END PGP SIGNATURE-----
pgpi9LoINldpv.pgp
Description: PGP signature
--- End Message ---