Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

texlive-bin: test builds on your architectures

1 view
Skip to first unread message

Preuße, Hilmar

unread,
Sep 22, 2023, 6:00:04 PM9/22/23
to
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 would be very glad, to get some test results.

Thanks,
Hilmar

[1] https://luajit.org/status.html
--
sigfault

OpenPGP_signature

Bo YU

unread,
Sep 25, 2023, 8:50:04 AM9/25/23
to
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

texlive-bin_enable_riscv64.debdiff
signature.asc

Preuße, Hilmar

unread,
Sep 27, 2023, 5:30:04 PM9/27/23
to
On 22.09.2023 23:51, Preuße, Hilmar wrote:

Dear mips porters,

> 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.
>

Were you able to do the test? I tried to do so in a qemu chroot, it
failed at the end:

make[7]: Leaving directory
'/root/texlive-bin-2023.20230311.66589/Work/libs/luajit/native'
native/buildvm -m bcdef -o lj_bcdef.h lib_base.c lib_math.c lib_bit.c
lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c
lib_jit.c lib_ffi.c
Error: pointer size mismatch in cross-build.
Try: make HOST_CC="gcc -m32" CROSS=...

make[6]: *** [Makefile:2035: lj_bcdef.h] Error 1

Not sure, if qemu the correct environment for these kind of tests.

H.
--
sigfault

OpenPGP_signature
0 new messages