[MacPorts] #20250: ICU 4.2.1 fails to build
MacPorts
noreply at macports.org
Tue Jul 21 23:06:41 PDT 2009
#20250: ICU 4.2.1 fails to build
------------------------------+---------------------------------------------
Reporter: dbsgeo@… | Owner: nox@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: icu
------------------------------+---------------------------------------------
Comment(by blb@…):
It looks like icu's configure script thinks that having even one -arch
flag means universal mode is enabled. Without any -arch, it says:
{{{
checking whether byte ordering is bigendian... no
}}}
but with MacPorts trunk adding just {{{-arch i386}}}:
{{{
checking whether byte ordering is bigendian... universal
}}}
configure has:
{{{
# Check for potential -arch flags. It is not universal unless
# there are some -arch flags. Note that *ppc* also matches
# ppc64. This check is also rather less than ideal.
case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
*-arch*ppc*|*-arch*i386*|*-arch*x86_64*)
ac_cv_c_bigendian=universal;;
esac
}}}
so it seems any -arch will set off its universal belief, and hits the
error. FWIW, the error appears to be related to paths that include some
sort of type size:
{{{
DYLD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$DYLD_LIBRARY_PATH
../bin/genbrk -c -i ./out/build/icudt42b -r brkitr/word_POSIX.txt -o
out/build/icudt42b/brkitr/word_POSIX.brk
udata_openChoice(): Opening: NULL : cnvalias . icu
P=icudt42l T=
tocEntryName = icudt42l/cnvalias.icu
tocEntryPath = icudt42l/cnvalias.icu
IND: inBasename = (n/a), pkg=icudt42l
Trying individual files
SUFFIX1=/cnvalias.icu PATH=./out/build/icudt42b
STUB=/icudt42l [9]
SUFFIX=/cnvalias.icu [0xbffff0d0]
0xbfffef18: init icudt42l -> [path=./out/build/icudt42b], [base=icudt42l],
[suff=/cnvalias.icu], [itempath=], [nextpath=./out/build/icudt42b],
[checklast4=false]
rest of path (IDD) = ./out/build/icudt42b
^
--> ./out/build/icudt42b/icudt42l/cnvalias.icu
...
}}}
Note the {{{icudt42b/icudt42l}}} where it appears to be trying both 42b
and 42l; without -arch, it only uses one (icudt42l).
--
Ticket URL: <http://trac.macports.org/ticket/20250#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list