[tlbuild] Freebsd build errors

Jonathan Kew jonathan_kew at sil.org
Wed May 28 23:35:55 CEST 2008


On 28 May 2008, at 9:22 pm, Randy Au wrote:

> After setting up a small army of VMs to do test builds, I started
> getting build errors.
> Normally I'd blame myself for not installing xorg and friends, but
> even on the box that used to build fine is throwing errors this time,
> so it's not all me.
>
> running just ./Build --with-fontconfig=/usr/local
>
> on freebsd6.3 and 7.0 AMD64, (still haven't tested whether 6.3 and 7.0
> binaries are compatible, though they probably are) looks like a
> missing header?
>
> gcc -DHAVE_CONFIG_H  -I. -I../../../texk/web2c -I..
> -I../../../texk/web2c/..  -I/usr/local/include -I../../libs/obsdcompat
> -I../../libs/obsdcompat/.. -I../../../texk/web2c/../../libs/obsdcompat
> -I../../../texk/web2c/../../libs/obsdcompat/..
> -I../../../texk/web2c/../../libs/zlib
> -I../../../texk/web2c/../../libs/libpng
> -I../../../texk/web2c/../../libs/xpdf -Dextra_version_info=`date
> +-%Y%m%d%H` -g -O2  -c -I../../../texk/web2c/synctex -I../../libs/zlib
> -I../../../texk/web2c/../../libs/zlib -o synctex_parser.o
> ../../../texk/web2c/synctex/synctex_parser.c
> ../../../texk/web2c/synctex/synctex_parser.c:1405:21: error:
> xlocale.h: No such file or directory

Hmm, so apparently FreeBSD doesn't have xlocale.h. Drat. OK, we'll  
have to do something configure-ish about that. I'll try to look at it  
tomorrow, unless someone else wants to go first....

If you comment out that line, does it proceed to compile or does it  
fail with undefined symbols due to the missing header?


>
> on freebsd6.3 i386, icu-xetex is exploding for some reason:
>
> LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH
> ../bin/genccode -n icudt38l_coll -d ./out/tmp
> /usr/home/agilis/texlive/Build/source/Work/libs/icu-xetex/data/out/ 
> build/icudt38l/coll/root.res
> -f coll_root_res
> generating C code for
> /usr/home/agilis/texlive/Build/source/Work/libs/icu-xetex/data/out/ 
> build/icudt38l/coll/root.res
> gcc: Internal error: Killed: 9 (program cc1)
> Please submit a full bug report.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.

That looks like a gcc bug -- any possibility of updating to a more  
recent version? (Or even going back to an earlier one?)

JK



More information about the tlbuild mailing list