[tlbuild] dvi test?

Bruno Voisin bvoisin at icloud.com
Sat Feb 12 13:03:30 CET 2022


Paul wrote:

> Could someone try this out (on a Mac) and check whether the seek operation
> still fails?  (This is relative to the latest dvi-init.c in the TeX Live
> repository, from about 10 days ago.)

John answered:

> Yes, it does! That is, without the patch, r61850 produces:
> 
> jhawk at lrr xdvik % TEXMFROOT=/usr/local/texlive/2021 TEXMFCNF=$TEXMFROOT/texmf-dist/web2c  ./xdvi-bin t2a
> xdvi-bin: Error: Couldn't seek to start of file /var/folders/m2/16zlwjgj2p5d3qdy99z2gzf40000gn/T/xdvi-oAjS3R: Invalid argument - disabling `useTempFp'; target_fp: 0x1dfbeed40.
> 
> And adding your patch to use dup() then produces no such output.

I can confirm this (on macOS 12.3 Beta 2, M1 chip, Xcode 13.2.1):

- Getting the latest sources and compiling them as is, I get

% env TEXMFROOT=/usr/local/texlive/2021 TEXMFCNF=/usr/local/texlive/2021/texmf-dist/web2c ./xdvi-bin ~/Desktop/Test/t2a.dvi
[...]
xdvi-bin: Error: Couldn't seek to start of file /var/folders/1r/dhdtft1s4qgfjwbcpkfhqf5c0000gn/T/xdvi-uAeCcl: Invalid argument - disabling `useTempFp'; target_fp: 0x1fdb51780.

- Applying your patch and compiling again, the error message vanishes.

Bruno




More information about the tlbuild mailing list.