Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2024 11:54:53 +0100
From:      Kaya Saman <kayasaman@optiplex-networks.com>
To:        ports@freebsd.org
Subject:   tex-luatex requires older version of zlib after upgrade from 13.2 to 13.3
Message-ID:  <3b2bfc33-7746-4229-91a5-56b08284ad69@optiplex-networks.com>

next in thread | raw e-mail | index | archive | help
Hi,


I'm trying to upgrade my ports collection but running into this error. I=20
performed the necessary upgrade steps:


uname -a
FreeBSD <hostname> 13.3-RELEASE-p5 FreeBSD 13.3-RELEASE-p5 GENERIC amd64


and have initiated a full ports rebuild. I'm using portmaster so I just=20
ran a: portmaster -adfy --no-confirm


Somehow luatex keeps throwing up this error??


I have seen two postings on this already but nothing seems to work for=20
me....


https://forums.freebsd.org/threads/lualatex-incorrect-version-of-zlib.931=
62/

https://lists.freebsd.org/archives/freebsd-ports/2024-June/006202.html


Does anyone have a solution to this? Output below:


Making install in .
 =C2=A0/bin/mkdir -p '/usr/ports/print/tex-luatex/work/stage/usr/local/bi=
n'
 =C2=A0 /bin/sh ./libtool=C2=A0=C2=A0 --mode=3Dinstall install=C2=A0 -s -=
m 555 luahbtex luatex=20
luajittex '/usr/ports/print/tex-luatex/work/stage/usr/local/bin'
libtool: install: install -m 555 -s luahbtex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/luahbtex
libtool: install: install -m 555 -s luatex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/luatex
libtool: install: install -m 555 -s luajittex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/luajittex
/usr/bin/make=C2=A0 install-exec-hook
/bin/mkdir -p /usr/ports/print/tex-luatex/work/stage/usr/local/bin
/usr/bin/find -s=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-dist -not=20
-type d | /usr/bin/sort |=C2=A0 /usr/bin/sed -e=20
's#^/usr/ports/print/tex-luatex/work/stage/usr/local/##' >>=20
/usr/ports/print/tex-luatex/work/.PLIST.mktmp
/usr/bin/find -s=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-dist -type=20
d -empty | /usr/bin/sort -r |=C2=A0 /usr/bin/sed -e=20
's#^/usr/ports/print/tex-luatex/work/stage/usr/local/#@dir #' >>=20
/usr/ports/print/tex-luatex/work/.PLIST.mktmp
echo "share/texmf-var/web2c/luatex/lollipop.log" >>=20
/usr/ports/print/tex-luatex/work/.PLIST.mktmp
echo "share/texmf-var/web2c/luatex/lollipop.fmt" >>=20
/usr/ports/print/tex-luatex/work/.PLIST.mktmp
/bin/ln -sf luahbtex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/lualatex
/bin/ln -sf luatex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/dviluatex
/bin/ln -sf luatex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/dvilualatex
/bin/ln -sf luatex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/lualollipop
/bin/ln -sf luatex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/texlua
/bin/ln -sf luatex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/texluac
/bin/ln -sf luajittex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/texluajit
/bin/ln -sf luajittex=20
/usr/ports/print/tex-luatex/work/stage/usr/local/bin/texluajitc
test -n '"luatex luatex language.def,language.dat.lua luatex.ini"=20
"dviluatex luatex language.def,language.dat.lua dviluatex.ini"=20
"dvilualatex luatex language.dat,language.dat.lua dvilualatex.ini"=C2=A0=20
"lualatex luahbtex language.dat,language.dat.lua lualatex.ini"=C2=A0=20
"luajittex luajittex language.def,language.dat.lua luatex.ini"=C2=A0=20
"pdfcsplain luatex - -etex csplain.ini"=C2=A0 "lollipop luatex - lollipop=
.ini"'
/usr/bin/printf "%s\t#luatex\n" "luatex luatex=20
language.def,language.dat.lua luatex.ini"=C2=A0 "dviluatex luatex=20
language.def,language.dat.lua dviluatex.ini"=C2=A0 "dvilualatex luatex=20
language.dat,language.dat.lua dvilualatex.ini"=C2=A0 "lualatex luahbtex=20
language.dat,language.dat.lua lualatex.ini"=C2=A0 "luajittex luajittex=20
language.def,language.dat.lua luatex.ini"=C2=A0 "pdfcsplain luatex - -ete=
x=20
csplain.ini"=C2=A0 "lollipop luatex - lollipop.ini"=C2=A0 >=20
/usr/ports/print/tex-luatex/work/fmtutil.cnf
/bin/mkdir -p=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-var/web2c=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-dist/web2c
/bin/ln -f -s /usr/local/share/texmf-dist/web2c/texmf.cnf=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-dist/web2c/t=
exmf.cnf
/usr/local/bin/mktexlsr=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-dist=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-var
mktexlsr: Updating=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-dist/ls-R...
mktexlsr: Updating=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-var/ls-R...
mktexlsr: Done.
/bin/cat /usr/ports/print/tex-luatex/work/fmtutil.cnf |=C2=A0 while read=20
format dum; do=C2=A0 /usr/bin/env=20
PATH=3D/usr/ports/print/tex-luatex/work/stage/usr/local/bin:/usr/ports/pr=
int/tex-luatex/work/.bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/us=
r/local/sbin:/usr/local/bin=20
TEXMFDIST=3D/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-=
dist:/usr/local/share/texmf-dist=20
/usr/local/bin/fmtutil-sys=C2=A0 --byfmt $format=C2=A0 --fmtdir=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-var/web2c=20
--cnffile /usr/ports/print/tex-luatex/work/fmtutil.cnf;=C2=A0 done
fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence=20
order):
fmtutil:=C2=A0=C2=A0 /usr/ports/print/tex-luatex/work/fmtutil.cnf
fmtutil: fmtutil is using the following fmtutil.cnf file for writing=20
changes:
fmtutil:=C2=A0=C2=A0 /usr/ports/print/tex-luatex/work/fmtutil.cnf
fmtutil [INFO]: writing formats under=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-var/web2c
fmtutil [INFO]: --- remaking luatex with luatex
fmtutil: running `luatex -ini=C2=A0=C2=A0 -jobname=3Dluatex -progname=3Dl=
uatex=20
luatex.ini' ...
PANIC: unprotected error in call to Lua API (zlib library version does=20
not match - header: 1.2.12, library: 1.3.1)
fmtutil [INFO]: log file copied to:=20
/usr/ports/print/tex-luatex/work/stage/usr/local/share/texmf-var/web2c/lu=
atex/luatex.log
fmtutil [ERROR]: running `luatex -ini=C2=A0=C2=A0 -jobname=3Dluatex -prog=
name=3Dluatex=20
luatex.ini </dev/null' return status: 0.5234375
fmtutil [ERROR]: returning error due to option --strict
fmtutil [INFO]: not selected formats: 6
fmtutil [INFO]: failed to build: 1 (luatex/luatex)
fmtutil [INFO]: total formats: 7
fmtutil [INFO]: exiting with status 1
*** Error code 1

Stop.
make: stopped in /usr/ports/print/tex-luatex



Thanks,


Kaya




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3b2bfc33-7746-4229-91a5-56b08284ad69>