[tlbuild] TeX Live 2021 and FreeBSD 13 and 14

Nelson H. F. Beebe beebe at math.utah.edu
Thu Mar 18 22:11:18 CET 2021


FreeBSD 13 has been in development for two years, and by the end of
this month, is expected to be officially released: see

	https://www.freebsd.org/
	https://www.freebsd.org/releases/13.0R/schedule/

I have had several machines running various development snapshots of
version 13 of that O/S, and in February and March, was able to build
all of TeX Live 2021 with both gcc and clang compilers.

A few days ago, the first prerelease of FreeBSD 14 became available,
and I created a new machine for it, plus a new one for 13 from the
latest ISO image.

We have two moving targets: FreeBSD, and the TeX Live source tree,
making it hard to know which is the source of the new build failure.

Despite multiple attempts with different compilers, and on different
generations of the FreeBSD 13 development, compilation now fails on
both FreeBSD 13 and 14 like this, using FreeBSD-packaged compilers:

	/usr/local/bin/g++8 -g -I/usr/uumath/include/freetype2 -I/usr/include        \
			    -I/usr/local/include -I/usr/uumath/include  -std=c++11   \
			    -Wl,-rpath,/usr/local/lib -L/usr/local/lib               \
			    -Wl,-rpath,/usr/uumath/lib -L/usr/uumath/lib             \
			    -o ../../bin/makeconv                                    \
			    gencnvex.o genmbcs.o makeconv.o ucnvstat.o               \
			    -L../../lib -licutu -L../../lib -licui18n -L../../lib    \
			    -licuuc -L../../stubdata -licudata -lpthread -lm -lm
	config.status: creating tools/makeconv/makeconv.1
	/usr/local/bin/ld: gencnvex.o: in function `CnvExtOpen':
	/local/build/gcc/texlive-20210317/source/Work/libs/icu/../../../libs/icu/icu-src/source/tools/makeconv/gencnvex.c:77: \
		undefined reference to `uprv_malloc_68'
	... long chain of messages about more undefined references ...

My next experiment will be to use an older TeX Live tree that
previously compiled successfully on FreeBSD 13.  I'm also going to try
a build of these latest TeX Live source snapshots on FreeBSD 12.1 and
12.2.

The odd thing is that the above failure has happened with three daily
snapshots this week, but the same snapshots have built without
problems on FreeBSD 10.4 and 11.4, and about 50 other machines as
well, and for multiple CPU architecture.s

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


More information about the tlbuild mailing list.