Hi! Sorry for late reply. On Fri, Sep 22, 2023 at 11:51:38PM +0200, Preuße, Hilmar wrote:
Dear porters,the CPU support of luajit has extended in the last years (see [1]), hence I'd like to know if the package texlive-binaries-sse2 can be built on arm64, mips64el and riscv64. Unfortunately I don't have all CPU's available to test a build. Would you be so kind to do the task for me?Simply download the source package of texlive-bin, unpack it and append your arch to the line containing "amd64 armel armhf hurd-i386 i386 powerpc" in d/rules and d/control; then rebuild. The build executes some kind of test suite at the end.
I did this as your hint but unfortunately it fail to build. The log is here[0] and debdiff is attached. ``` ... checking for _LARGEFILE_SOURCE value needed for large files... (cached) no checking how to run the C preprocessor... (cached) gcc -E configure: error: Sorry, can not preprocess <lj_arch.h> === configuring in luajit failed make[3]: *** [Makefile:868: recurse] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/Work/libs' make[2]: *** [Makefile:439: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/Work/libs' make[1]: *** [Makefile:534: all-recursive] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>/Work' dh_auto_build: error: cd Work && make -j4 returned exit code 2 make: *** [debian/rules:69: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-09-25T11:29:20Z ``` For luajit on Debian riscv64, I opened a issue[1] some time ago and hope this helps. Please let me know if any issues.BR, Bo
[0]: https://drive.google.com/file/d/1vohK1uHAsYJJheh6s2l_FY_HH_fn1FpS/view?usp=sharing [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1034484
I would be very glad, to get some test results. Thanks, Hilmar [1] https://luajit.org/status.html -- sigfault
-- Regards, -- Bo YU
diff -Nru texlive-bin-2023.20230311.66589/debian/control texlive-bin-2023.20230311.66589/debian/control
--- texlive-bin-2023.20230311.66589/debian/control 2023-09-14 21:24:22.000000000 +0000
+++ texlive-bin-2023.20230311.66589/debian/control 2023-09-14 21:27:32.000000000 +0000
@@ -68,7 +68,7 @@
texlive-latex-recommended or context
Package: texlive-binaries-sse2
-Architecture: amd64 armel armhf hurd-i386 i386 powerpc
+Architecture: amd64 armel armhf hurd-i386 i386 powerpc riscv64
Multi-Arch: same
Depends: libptexenc1 (>= ${source:Version}),
libptexenc1 (<< ${source:Version}.1~),
@@ -78,8 +78,8 @@
libsynctex2 (<< ${source:Version}.1~),
libtexlua53-5 (>= ${source:Version}),
libtexlua53-5 (<< ${source:Version}.1~),
- libtexluajit2 (>= ${source:Version}) [amd64 armel armhf hurd-i386 i386 powerpc],
- libtexluajit2 (<< ${source:Version}.1~) [amd64 armel armhf hurd-i386 i386 powerpc],
+ libtexluajit2 (>= ${source:Version}) [amd64 armel armhf hurd-i386 i386 powerpci riscv64],
+ libtexluajit2 (<< ${source:Version}.1~) [amd64 armel armhf hurd-i386 i386 powerpc riscv64],
sse2-support [i386],
t1utils, tex-common, perl:any,
${shlibs:Depends}, ${misc:Depends}, texlive-binaries
@@ -191,7 +191,7 @@
Package: libtexluajit2
Section: libs
-Architecture: amd64 armel armhf hurd-i386 i386 powerpc
+Architecture: amd64 armel armhf hurd-i386 i386 powerpc riscv64
Multi-Arch: same
Depends: ${misc:Depends}, ${shlibs:Depends}
Pre-Depends: ${misc:Pre-Depends}
@@ -200,7 +200,7 @@
Package: libtexluajit-dev
Section: libdevel
-Architecture: amd64 armel armhf hurd-i386 i386 powerpc
+Architecture: amd64 armel armhf hurd-i386 i386 powerpc riscv64
Multi-Arch: same
Depends: ${misc:Depends}, libtexluajit2 (= ${binary:Version})
Description: TeX Live: LuaJIT, modified for use with LuaJITTeX (development part)
diff -Nru texlive-bin-2023.20230311.66589/debian/rules texlive-bin-2023.20230311.66589/debian/rules
--- texlive-bin-2023.20230311.66589/debian/rules 2023-09-13 08:59:57.000000000 +0000
+++ texlive-bin-2023.20230311.66589/debian/rules 2023-09-14 21:27:32.000000000 +0000
@@ -14,7 +14,7 @@
# all cases. We have now two ways to test for where to build.
# One by disabling on the other platforms, one by whitelisting
# and building only on some platforms.
-LUAJIT_GOOD_ARCHS := amd64 armel armhf hurd-i386 i386 powerpc
+LUAJIT_GOOD_ARCHS := amd64 armel armhf hurd-i386 i386 powerpc riscv64
# In case one wants to build with old automake (<< 1.13.1), the following
# variable has to be set. By default the debian/control requires high
Attachment:
signature.asc
Description: PGP signature