[tlbuild] Horrible ICU

Nikola Lečić nikola.lecic at anthesphoria.net
Sat Apr 19 12:39:28 CEST 2014


On Sat, 19 Apr 2014 08:03:15 +0200
Alan BRASLAU <alan.braslau at cea.fr> wrote:

> 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.
[...]
> 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).

Hi Alan,

FreeBSD jails don't affect the output of kernel-related commands,
including the output of uname (if will show you the truth, i.e. the
configuration of the physical machine).

Try to set

MACHINE_ARCH
OSVERSION
BRANCH "STABLE"
REVISION "7.2"
UNAME_p
UNAME_m
UNAME_s
UNAME_r
UNAME_v

according to the jailed system and test the output of `uname -a`. If you
set them properly, it is virtually impossible for the compiler to find
out that it's operating in a jail (except if it uses sysctl, which is
not the case with the software included in TL).

HTH,
-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://tug.org/pipermail/tlbuild/attachments/20140419/34ea44ff/attachment.bin>


More information about the tlbuild mailing list