Discussion:
texlive-bin: test builds on your architectures
(too old to reply)
Preuße, Hilmar
2023-09-22 22:00:02 UTC
Permalink
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
Bo YU
2023-09-25 12:50:01 UTC
Permalink
Hi!

Sorry for late reply.
Post by Preuße, Hilmar
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
Post by Preuße, Hilmar
I would be very glad, to get some test results.
Thanks,
Hilmar
[1] https://luajit.org/status.html
--
sigfault
--
Regards,
--
Bo YU
Preuße, Hilmar
2023-09-26 09:20:01 UTC
Permalink
On 22.09.2023 23:51, Preuße, Hilmar wrote:

Hi all,
Post by Preuße, Hilmar
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 the test build for arm64 myself: successful.

Hilmar
--
sigfault

Loading...