<div dir="ltr">Here we go. It appears I have accumulated quite a few papercuts, I should have started this earlier!<div><br></div><div>The attached patches fix the following bugs, which can be triggered with certain configure flags<div><ul><li>bibtex-x should always check for kpathsea, even if bibtexu is disabled</li><li>harfbuzz should be checked for lua[jit]hbtex, not luatex[53]</li><li>ptexenc should include unicode-jp.h to work as system library</li><li>upweb symlinks should only be created when UPWEB is true (this patch is moderately annoying, because it causes lots of changes in Makefile.in)</li><li>fontconfig does not need to be checked if xetex is disabled (not causing problems per se, but why not)<br></li></ul><div>and the following 'typos', which cause no issues in standard builds</div><ul><li>mpfi has a typo in its dependencies</li><li>pplib should depend on zlib</li><li>the vendored xpdf library does not pass its own '--with-system-xpdf' test (the test calls a function that is not defined)<br></li></ul><div><br></div><div>Other issues for which I am happy to send tiny patches, but make me nervous about side effects I did not consider:</div><ul><li>etex should depend on $(proglib) -- once you do that, you can move lib.a, libp.a to EXTRA_LIBRARIES and stop recursing into lib (this marginally improves parallel building)</li><li>the main configure script checks for kpathsea before giving KPSE_ALL_SYSTEM_FLAGS a chance to fill the relevant variables with pkg-config (and the test should be made identical to the one in texk/web2c/<a href="http://configure.ac">configure.ac</a>)</li></ul><div><br></div><div>Then there are some weird things for which I have no suggestions, all about web2c.</div><ul><li>web2c/<a href="http://configure.ac">configure.ac</a>: the logic around PWEB, UPWEB is off: the current AS_IF is always false so PWEB, UPWEB always coincide with $enable_webprogs (which seems fine to me, it makes '--enable-web-progs' work independently of ptex)</li><li>web2c/<a href="http://configure.ac">configure.ac</a>: WEB2C_DISABLE is called on 'luatex' and 'luatex53', but it should be called on all lua[jit][hb]tex variants, I think?</li><li>hitex does not cross compile nicely, because it compile and runs himktables -- I figure this could be mentioned in 'Cross problems'</li><li>web2c/<a href="http://configure.ac">configure.ac</a> has some counterintuitive test about $enable_omfonts and omegaware (you can trigger a build of otangle by *disabling* omfonts)</li></ul><div><br></div><div>Best,</div><div>Vincenzo</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 8 Jun 2024 at 22:19, Norbert Preining <<a href="mailto:norbert@preining.info">norbert@preining.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Is this the right place to send bug reports and/or patches to?<br>
<br>
Yes, please! Thanks a lot for looking into this.<br>
<br>
Best regards<br>
<br>
Norbert<br>
<br>
--<br>
PREINING Norbert                              <a href="https://www.preining.info" rel="noreferrer" target="_blank">https://www.preining.info</a><br>
arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live<br>
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13<br>
</blockquote></div>