[tldistro] dvisvgm is building bundled libs when it shouldn't?

Edd Barrett edd at theunixzoo.co.uk
Thu May 2 23:18:02 CEST 2024


Hi folks,

Updating the OpenBSD package to 2024.

I notice that when I build the tex engines from the source tarball, dvisvgm is
building bundled libs when I don't think it should be:

```
...
Making all in dvisvgm
...
gmake[7]: Entering directory '/usr/ports/pobj/texlive_base-2024/texlive-20240312-source/Work/texk/dvisvgm/dvisvgm-src/libs/brotli'
depbase=`echo common/constants.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../../../../.././../texk/dvisvgm/dvisvgm-src/libs/brotli -I../../..   -I/usr/X11R6/include -I/usr/local/include -Wall -I../../../../.././../texk/dvisvgm/dvisvgm-src/libs/brotli/include -O2 -p
ipe -MT common/constants.o -MD -MP -MF $depbase.Tpo -c -o common/constants.o ../../../../.././../texk/dvisvgm/dvisvgm-src/libs/brotli/common/constants.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo common/context.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
cc -DHAVE_CONFIG_H -I. -I../../../../.././../texk/dvisvgm/dvisvgm-src/libs/brotli -I../../..   -I/usr/X11R6/include -I/usr/local/include -Wall -I../../../../.././../texk/dvisvgm/dvisvgm-src/libs/brotli/include -O2 -p
...
```

It eventually fails to build brotli, but that's kind of moot. We have a brotli
package that I'd like to link to if I can.

As I understand it from reading the build system patches, bundled libs should
only be used for "native texlive builds", or if --enable-bundled-libs is
passed.

The above log was generated when I configured with
--disable-native-texlive-build, so I wouldn't expect bundled libs.

What am I missing? Is there a way to link to the system libs?

Thanks

--
Best Regards
Edd Barrett

https://www.theunixzoo.co.uk


More information about the tldistro mailing list.