Opened 11 months ago

Closed 8 months ago

#69014 closed update (fixed)

texlive-bin uses an old version of LuaTeX

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: dports@…
Port: texlive-bin

Description

Origin of my investigation s that MacPorts' texlive-bin depends on libzzip while my own installation of TeXLive 2023 does not provide or use a system libzzip. The command luatex --credits reveals that two different versions of LuaTeX are used, 1.16 in MacPorts and 1.17 in TL '23. Karl Berry mentioned this: LuaTeX README file. It provides an rsync command which fetches possibly the whole TeX Live tree. This variant downloads an updated version of the contents of texlive-source-2023.66589-stripped.tar.xz:

rsync -av --delete --exclude=.svn --exclude=Work --exclude=inst  --exclude=libs/icu --exclude=libs/cairo --exclude=libs/freetype2 --exclude=libs/gd --exclude=libs/gmp --exclude=libs/graphite2 --exclude=libs/harfbuzz --exclude=libs/icu --exclude=libs/libpaper --exclude=libs/libpng --exclude=libs/mpfr --exclude=libs/pixman --exclude=libs/zlib --exclude=libs/zziplib --exclude=texk/detex --exclude=texk/dvi2tty --exclude=texk/dvipng --exclude=texk/dvisvgm --exclude=texk/lcdf-typetools --exclude=utils/asymptote --exclude=utils/t1utils --exclude=utils/xindy tug.org::tlbranch .

(I am no regular user of rsync, maybe the --delete can be deleted.)

I exchanged the original sources archive texlive-source-2023.66589-stripped.tar.xz with one containing the just downloaded sources and corrected the checksums Portfileport configure texlive-bin succeeded:

** Configuration summary for TeX Live 2023-03-09 (2023/MacPorts 2023.66589_3):

   compiling for x86_64-apple-darwin23.2.0
      in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/build
      from sources in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-source-2023.66589-stripped

   C compiler (CC):              /usr/bin/clang (Apple clang version 15.0.0 (clang-1500.1.0.2.5))
   C++ compiler (CXX):           /usr/bin/clang++ (Apple clang version 15.0.0 (clang-1500.1.0.2.5))
   PATH:                         /usr/local/texlive/2023/bin/universal-darwin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin

   enable_native_texlive_build:  no
   enable_largefile:             yes
   enable_shared:                yes
   enable_multiplatform:         no
   enable_cxx_runtime_hack:      no
   enable_libtool_hack:          yes
   enable_compiler_warnings:     min

   prefix:                       /opt/local
   includedir:                   ${prefix}/include
   datarootdir:                  ${prefix}/share
   mandir:                       /opt/local/libexec/texlive/binaries
   infodir:                      /opt/local/share/info
   exec_prefix:                  ${prefix}
   bindir:                       /opt/local/libexec/texlive/binaries
   libdir:                       ${exec_prefix}/lib

** Next run `make' to configure and build each library and program.

It's building right now…

Change History (4)

comment:1 Changed 11 months ago by ballapete (Peter "Pete" Dyballa)

It built!

root 349 /\ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/build/texk/web2c/.libs/luatex --credits
This is LuaTeX, Version 1.17.0 (TeX Live 2023/MacPorts 2023.66589_3)

The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater, Luigi Scarso.

LuaTeX merges and builds upon (parts of) the code from these projects:

tex       : Donald Knuth
etex      : Peter Breitenlohner, Phil Taylor and friends
omega     : John Plaice and Yannis Haralambous
aleph     : Giuseppe Bilotta
pdftex    : Han The Thanh and friends
kpathsea  : Karl Berry, Olaf Weber and others
lua       : Roberto Ierusalimschy, Waldemar Celes and Luiz Henrique de Figueiredo
metapost  : John Hobby, Taco Hoekwater, Luigi Scarso, Hans Hagen and friends
pplib     : Paweł Jackowski
fontforge : George Williams (partial)
luajit    : Mike Pall (used in LuajitTeX)

Compiled with libpng 1.6.40; using 1.6.40
Compiled with lua version 5.3.6
Compiled with mplib version 2.02
Compiled with zlib 1.3; using 1.3

Development id: 7581

MacPorts' LuaTeX, Version 1.16.0 has Development id: 7567, TL '23's LuaTeX, Version 1.17.0 has Development id: 7581.

I think more parts of TeX Live in MacPorts can be updated to the recent sosurces - it's still four or five months until TL '24 will actually be released and some time later MacPorts will do too.

A final note: make check did not perform well:

Making check in .
Making check in doc
make[1]: Nothing to be done for `check'.
Making check in texk/kpathsea
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-recursive
Making check in .
/Applications/Xcode.app/Contents/Developer/usr/bin/make  check-TESTS
PASS: tests/cnfline.test
PASS: tests/cnfnewline.test
PASS: tests/cnfnull.test
PASS: tests/cnfprog.test
PASS: tests/kpseaccess.test
PASS: tests/kpsereadlink.test
PASS: tests/kpsestat.test
FAIL: tests/kpsewhich.test
============================================================================
Testsuite summary for Kpathsea 6.3.5
============================================================================
# TOTAL: 8
# PASS:  7
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to tex-k@tug.org
============================================================================
make[5]: *** [test-suite.log] Error 1
make[4]: *** [check-TESTS] Error 2
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1

I'll save ./test-suite.log and see how the original sources behave.

comment:2 Changed 11 months ago by ballapete (Peter "Pete" Dyballa)

The top-level log files are the same. The configure script was upgraded, it now reports:

configure: Assuming `--with-clisp-runtime=system'

and also:

configure: Using installed `harfbuzz' headers and library
configure: Using installed `icu' headers and library
configure: Using installed `graphite2' headers and library
configure: Using installed `zziplib' headers and library
configure: Using installed `mpfr' headers and library
configure: Using installed `gmp' headers and library
configure: Using installed `cairo' headers and library
configure: Using installed `pixman' headers and library
configure: Using installed `gd' headers and library
configure: Using installed `potrace' headers and library
configure: Using installed `freetype2' headers and library
configure: Using installed `libpng' headers and library
configure: Using installed `libpaper' headers and library
configure: Using installed `zlib' headers and library

I started reading the documentation in order to understand what CLisp has to do with (Lua)TeX…

The sources seem to make use of features from C11/C++11.

comment:3 Changed 11 months ago by ballapete (Peter "Pete" Dyballa)

The CLisp dependency comes from xindy. Using the Build script and passing the appropriate options to it the final make check fails here when MacPorts' libpaper is used as shared library. It's a minimal difference in the length of stokes like these:

./psresize -Pa4 -pa5 playsel.ps \
| sed -e 's/-0\.000000 /0.000000 /' >playres.ps \
&& diff playres.ps $srcdir/tests/playres.ps \
&& echo "psresize tests OK" \
|| failed="$failed psresize"
+ ./psresize -Pa4 -pa5 playsel.ps
+ sed -e 's/-0\.000000 /0.000000 /'
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Wrote 11 pages, 16065 bytes
+ diff playres.ps ../../../texk/psutils/tests/playres.ps
283c283
<  595.275591 0 rlineto 0 844.647797 rlineto -595.275591 0 rlineto
---
595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
296c296
<  595.275591 0 rlineto 0 844.647797 rlineto -595.275591 0 rlineto
---
595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto

and so on.

I'm thinking of upgrading texlive-bin from these up-to-date sources…

comment:4 Changed 8 months ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

Fixed by upgrading to TL2024.

Note: See TracTickets for help on using tickets.