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 Portfile
– port 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)
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: | new → closed |
Fixed by upgrading to TL2024.
It built!
MacPorts' LuaTeX, Version 1.16.0
hasDevelopment id: 7567
,TL '23's LuaTeX, Version 1.17.0
hasDevelopment 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:I'll save ./test-suite.log and see how the original sources behave.