[tlbuild] Horrible ICU

Alan BRASLAU alan.braslau at cea.fr
Sat Apr 19 08:03:15 CEST 2014


Hello,

I tried building TL on a 64bit kfreebsd userland under a freebsd
jail. It is a complete, clean system, intended to have the minimal
number of dependencies for the TL build.

I get the following (obscure) error:


Making all in icu
make[3]: Entering directory
`/usr/local/texlive/Build/source/Work/libs/icu' Making all in .
make[4]: Entering directory
`/usr/local/texlive/Build/source/Work/libs/icu' /bin/mkdir -p icu-build
=== configuring in icu-build
(/usr/local/texlive/Build/source/Work/libs/icu/icu-build) make:
running /bin/bash
'/usr/local/texlive/Build/source/Work/libs/icu/../../../libs/icu'/icu-53.1/source/configure
--enable-static --disable-shared --disable-extras --disable-samples
--disable-tests --disable-dyload --disable-layout --disable-strict
--build=x86_64-unknown-kfreebsd10.0-gnu checking for ICU version
numbers... release 53.1, library 53.1, unicode version 6.3 checking
build system type... x86_64-unknown-kfreebsd10.0-gnu checking host
system type... x86_64-unknown-kfreebsd10.0-gnu checking whether to
build debug libraries... no checking whether to build release
libraries... yes checking for clang... clang checking whether the C
compiler works... yes checking for C compiler default output file
name... a.out checking for suffix of executables... checking whether we
are cross compiling... configure: error: in
`/usr/local/texlive/Build/source/Work/libs/icu/icu-build': configure:
error: cannot run C compiled programs. If you meant to cross compile,
use `--host'. See `config.log' for more details make[4]: ***
[icu-build/Makefile] Error 1 make[4]: Leaving directory
`/usr/local/texlive/Build/source/Work/libs/icu' make[3]: ***
[all-recursive] Error 1 make[3]: Leaving directory
`/usr/local/texlive/Build/source/Work/libs/icu' make[2]: *** [recurse]
Error 1 make[2]: Leaving directory
`/usr/local/texlive/Build/source/Work/libs' make[1]: ***
[all-recursive] Error 1 make[1]: Leaving directory
`/usr/local/texlive/Build/source/Work/libs' make: *** [all-recursive]
Error 1
+ echo 2
done (exit status 2) Fri Apr 18 18:16:10 UTC 2014



It appears that icu is trying some (too) clever scheme to detect
cross-compiling, which this is NOT. Building in this way (kfreebsd
userland in a jail running under a freebsd kernel) should work, and
such a build succeeds with 32bit versions (kfreebsd+freebsd).

I could not figure out what the
'/usr/local/texlive/Build/source/Work/libs/icu/../../../libs/icu'/icu-53.1/source/configure
was doing, so I have given up on this for now.

Maybe somebody has some ideas or pointers?

Alan

-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.braslau at cea.fr



More information about the tlbuild mailing list