Public bug reported:

Aegisub does not build on riscv64:

In file included from /tmp/tmp20cxkpnv/testfile.c:2:
/<<PKGBUILDDIR>>/subprojects/luajit/src/lj_arch.h:69:2: error: #error 
"Architecture not supported (in this version), see: 
https://luajit.org/status.html#architectures";
   69 | #error "Architecture not supported (in this version), see: 
https://luajit.org/status.html#architectures";
      |  ^~~~~
/<<PKGBUILDDIR>>/subprojects/luajit/src/lj_arch.h:443:2: error: #error "No 
target architecture defined"
  443 | #error "No target architecture defined"
      |  ^~~~~

The luajit in the archive has not been built in Lua 5.2 mode which is
required by upstream Aegisub.

The Debian maintainer has added the upstream luajit code in folder
subprojects/ to avoid downloading by meson. Upstream luajit does not
support riscv64 yet.

The Ubuntu luajit source package contains a patch based on
https://github.com/plctlab/LuaJIT/commits/riscv64-v2.1-branch/ enabling
the riscv64 architecture. Maybe this patch could be applied here too.

** Affects: aegisub (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2134595

Title:
  FTBFS: aegisub does not build on riscv64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aegisub/+bug/2134595/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to