problem(s) with extractbb and extractbb.lua recently introduced

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Jul 8 12:48:24 CEST 2024


Hi everybody,

since a few days ago we have a failure in our l3kernel testsuite on 
Github: one test file suddenly changed the size of a box from a positive 
value to zero.

Doing a bit of tracing it appears that extractbb (which is used some of 
the graphic backends to determine the bounding box of a graphic) stopped 
working in the linux system used on github showing in the action log

sh: 1: extractbb: not found

Check failed with log file
   - ../../build/test/m3graphics001.log


When I run the testsuite locally it also fails on that test, but on my 
system (Mac) it is not the case that extractbb is fully missing. However 
it seems to be unable to find a necessary lua script, e.g.


~/GitHub/latex2e/base @ Franks-Air(frankmittelbach): extractbb --version
! ERROR (extractbb.lua): The script is in an incorrect location: 
/Library/TeX/texbin
stack traceback:
	/Library/TeX/texbin/extractbb:189: in main chunk

On windows, however, no test failures are seen, so there it is found, 
used and returns the correct bounding box values.

looking a bit further, the reason for the failure on github is probably 
that we load not a full set of packages and while extractbb comes with 
the platform binary the necessary new wrapper is not installed as part 
of that but in texlive-scripts-extra which we hadn't any need to load 
before. Is that intended?

-------

however, on my Mac I have the full distribution and extractbb.lua is in

/usr/local/texlive/2024/texmf-dist/scripts/texlive

so something else is going wrong on that platform.

So it looks as if there is one or more packaging issues (or some coding 
issue in the lua file from Max in the case of MacOS) that were 
introduced fairly recently, i.e, when extractbb.lua got added.


thanks
frank


More information about the tex-live mailing list.