Building icu for mips, seem to break down in some checksumming or test bits. rm -rf icupkg.inc mkdir ./out mkdir ./out/build mkdir ./out/build/icudt53b mkdir ./out/build/icudt53b/curr mkdir ./out/build/icudt53b/lang mkdir ./out/build/icudt53b/region mkdir ./out/build/icudt53b/zone mkdir ./out/build/icudt53b/brkitr mkdir ./out/build/icudt53b/coll mkdir ./out/build/icudt53b/rbnf mkdir ./out/build/icudt53b/translit mkdir ./out/tmp mkdir ./out/tmp/curr mkdir ./out/tmp/lang mkdir ./out/tmp/region mkdir ./out/tmp/zone mkdir ./out/tmp/coll mkdir ./out/tmp/rbnf mkdir ./out/tmp/translit mkdir ./out/tmp/brkitr mv build-dir.tmp build-dir LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH ../bin/icupkg -tb ./in/icudt53l.dat ./out/icudt53b.dat udata_swapDataHeader(): header size mismatch - headerSize 32768 infoSize 5120 length 1024 Makefile:168: recipe for target 'out/icudt53b.dat' failed gmake[2]: *** [out/icudt53b.dat] Error 8 gmake[2]: *** Waiting for unfinished jobs.... gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/icu/work/icu/source/data' gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/icu/work/icu/source/data' Makefile:141: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/icu/work/icu/source' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1
Created attachment 156307 [details] set CPPFLAGS to define internal big endian flag RedHat bug https://bugzilla.redhat.com/show_bug.cgi?id=889781 gave me the hint that the icu build needs an explicit CPPFLAGS set for bigendian architectures. This Makefile patch does that for the bigendian architectures that are supported.
Mips build log: http://tasty.ysv.freebsd.org/build.html?mastername=11mips-default&build=2015-05-03_23h45m50s Mips64 build log: http://tasty.ysv.freebsd.org/build.html?mastername=11mips64-default&build=2015-05-04_06h24m50s
A commit references this bug: Author: sbruno Date: Sun May 31 18:51:28 UTC 2015 New revision: 388126 URL: https://svnweb.freebsd.org/changeset/ports/388126 Log: Fix builds on big-endian architectures by declaring a CPPFLAG used internally by the source to handle big vs little endianess. PR: 199471 Changes: head/devel/icu/Makefile