[tlbuild] TeX Live 2014 build status report from Utah: [Debian MIPS]

Peter Breitenlohner peb at mppmu.mpg.de
Thu Apr 10 09:48:07 CEST 2014


On Wed, 9 Apr 2014, Nelson H. F. Beebe wrote:

> My TeX Live 2014 build on 32-bit big-endian Debian MIPS fails like
> this:
>
> 	% set path=(/bin /usr/bin)
> 	% env CC=gcc CXX=g++ \
> 		LDFLAGS='-Wl,-rpath,/usr/local/lib -L/usr/local/lib' \
> 		source/Build --disable-luajittex --with-iconv=no
> 	...
> 	[5 hours 22 minutes later]
>
> 	make[7]: Leaving directory `/local/build/bare/texlive-20140405/source/Work/libs/icu/icu-build/data'
> 	LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH \
> 		../bin/icupkg -tb \
> 		/local/build/bare/texlive-20140405/source/Work/libs/icu/../../../libs/icu/icu-53.1/source/data/in/icudt53l.dat \
> 		./out/icudt53b.dat
> 	udata_swapDataHeader(): header size mismatch - headerSize 32768 infoSize 5120 length 1024
> 	make[6]: *** [out/icudt53b.dat] Error 8
>
> I seem to recall an ICU package endian bug on GNU/Linux SPARC from
> previous years of TeX Live builds.

Hi Nelson,

(1) Please have a look at World/build.log.  When configuring ICU this should
report 'bigendian yes' same as found in World/libs/icu/icu-build/config.log.

Unfortunately the ICU maintainers (in their infinite wisdom) have decided to
ignore the result from configure and determine U_IS_BIG_ENDIAN from scratch
in common/unicode/platform.h line 371ff.

Perhaps there is a preprocessor symbol __MIPS__, __mips__, or similar (as
opposed to __MIPSEL__, __mipsel__, ...) that can be used to extend the code
in platform.h (the analogous extension for sparc in lines 388-390 was added
2012-06-19).  Otherwise you may have to define CPPFLAGS=-DU_IS_BIG_ENDIAN=1.

BTW: LuaJIT-2.0.3/src/lj_arch.h tests for
   defined(__mips__) || defined(__mips) || defined(__MIPS__) || defined(__MIPS)
and building luajittex should actually be possible.

Regards
Peter



More information about the tlbuild mailing list