[tlbuild] --host is not passed to ICU

Angelo Graziosi angelo.graziosi at alice.it
Fri May 5 12:43:18 CEST 2017


Mojca Miklavec wrote:
> I'm sorry for the "wrong" report about cross compilation.

Really I didn't try a cross build but a native build, just to try, in 
MSYS2-MINGW64 shell

   rsync -a --delete --exclude=.svn tug.org::tldevsrc/Build/source/ 
/tmp/tlsource/
   cd /tmp/tlsource
   ./Build

The build fails in XeTeX:

[...]
libtool: link: g++ -g -O2 -o xetex.exe xetexdir/xetex-xetexextra.o 
synctexdir/xetex-synctex.o xetex-xetexini.o xetex-xetex0.o 
xetex-xetex-pool.o  libxetex.a 
/tmp/tlsource/Work/libs/harfbuzz/libharfbuzz.a 
/tmp/tlsource/Work/libs/graphite2/libgraphite2.a 
/tmp/tlsource/Work/libs/icu/icu-build/lib/libicuuc.a 
/tmp/tlsource/Work/libs/icu/icu-build/lib/libicudata.a 
/tmp/tlsource/Work/libs/teckit/libTECkit.a 
/tmp/tlsource/Work/libs/poppler/libpoppler.a -lgdi32 
/tmp/tlsource/Work/libs/libpng/libpng.a 
/tmp/tlsource/Work/libs/freetype2/libfreetype.a 
/tmp/tlsource/Work/libs/zlib/libz.a libmd5.a -LC:/msys64/mingw64/lib 
-lfontconfig -lfreetype lib/lib.a 
/tmp/tlsource/Work/texk/kpathsea/.libs/libkpathsea.a -lwsock32
g++.exe: error: 
C:/msys64/tmp/tlsource/Work/libs/icu/icu-build/lib/libicudata.a: No such 
file or directory
make[5]: *** [Makefile:5233: xetex.exe] Error 1
make[5]: Leaving directory '/tmp/tlsource/Work/texk/web2c'
make[4]: *** [Makefile:13433: all-recursive] Error 1
make[4]: Leaving directory '/tmp/tlsource/Work/texk/web2c'
make[3]: *** [Makefile:3823: all] Error 2
make[3]: Leaving directory '/tmp/tlsource/Work/texk/web2c'
make[2]: *** [Makefile:906: recurse] Error 1
make[2]: Leaving directory '/tmp/tlsource/Work/texk'
make[1]: *** [Makefile:486: all-recursive] Error 1
make[1]: Leaving directory '/tmp/tlsource/Work/texk'
make: *** [Makefile:575: all-recursive] Error 1
+ echo 2
done (exit status 2) Fri May 5 12:20:48 CEST 2017

Maybe I am wrong, but it seems that ICU has been built:

   ls  /tmp/tlsource/Work/libs/icu/icu-build/lib
   icudt.a  libicuin.a  libicuio.a  libicutu.a  libicuuc.a


only with the wrong name... Maybe someone of you can fix this quickly..

TIA,
   Angelo.




More information about the tlbuild mailing list