XPost: linux.debian.ports.mips
--ytnl3egbm5xz2s3s
Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
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
--ytnl3egbm5xz2s3s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
filename="texlive-bin_enable_riscv64.debdiff" Content-Transfer-Encoding: quoted-printable
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}) [a