Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2022 13:03:07 +0200
From:      "Tobias C. Berner" <tcberner@freebsd.org>
To:        Moin Rahman <bofh@freebsd.org>
Cc:        Joerg Wunsch <joerg@freebsd.org>, tex@freebsd.org
Subject:   Re: print/tex-xetex: TeX capacity exceeded
Message-ID:  <CAOshKtccfm7_b1g=NnXL1nj23ofb5uGObw%2Bt7cMGq%2BOud0QUrg@mail.gmail.com>
In-Reply-To: <E8B188A9-F954-4BDB-862F-4E3079FFAA6E@freebsd.org>
References:  <Y1xPYraw2nxubZy4@uriah.heep.sax.de> <E8B188A9-F954-4BDB-862F-4E3079FFAA6E@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Moin moin

If I recall correctly from when I had to bump the limit recently to
build an animated pdf:

> kpsewhich -a texmf.cnf
edit that file, then run
>fmtutil-sys --all


mfg Tobias

On Sat, 29 Oct 2022 at 12:55, Moin Rahman <bofh@freebsd.org> wrote:
>
>
>
> > On Oct 28, 2022, at 11:53 PM, Joerg Wunsch <joerg@freebsd.org> wrote:
> >
> > Hi,
> >
> > I tried to upgrade my entire TeX ports, and it stops in xetex with
> >
> > [...]
> > UTF-8 Thai hyphenation patterns
> > (/usr/local/share/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-th=
.tex
> > ! TeX capacity exceeded, sorry [pattern memory=3D1000000].
> > l.3412 6=E0=B8=85.
> >
> > No pages of output.
> > Transcript written on xetex.log.
> > fmtutil [INFO]: log file copied to: /usr/ports/print/tex-xetex/work/sta=
ge/usr/local/share/texmf-var/web2c/xetex/xetex.log
> > fmtutil [ERROR]: running `xetex -ini   -jobname=3Dxetex -progname=3Dxet=
ex -etex xetex.ini </dev/null' return status: 1
> > fmtutil [ERROR]: returning error due to option --strict
> > fmtutil [INFO]: not selected formats: 4
> > fmtutil [INFO]: failed to build: 1 (xetex/xetex)
> > fmtutil [INFO]: total formats: 5
> > fmtutil [INFO]: exiting with status 1
> > *** Error code 1
> >
> > Stop.
> > make: stopped in /usr/ports/print/tex-xetex
> >
> >
> > Any ideas how to work around that?
> >
> > I looked into /usr/local/share/texmf-dist/web2c/texmf.cnf
> I don't think that is the correct file. Because the file that is used whi=
le building is dynamically generated from PORTSDIR/Mk/bsd.tex.mk so far I r=
emember. There were couple of issues while upgrading using ports and it is =
advisable that you remove all tex related ports before upgrading.
>
> You have also not shared the current OS version and ARCH so it's difficul=
t to anticipate what went wrong. But so far I can confirm all text ports bu=
ild perfectly in clean state or poudriere.
>
> > but cannot
> > see any "pattern memory" there. Tried bumping
> >
> > trie_size =3D 1100000
> >
> > but to no avail.
> >
> > --
> > cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL
> >
> > http://www.sax.de/~joerg/
> > Never trust an operating system you don't have sources for. ;-)
> >
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOshKtccfm7_b1g=NnXL1nj23ofb5uGObw%2Bt7cMGq%2BOud0QUrg>