[Reproducible-commits] [texlive-bin] 02/10: try fixing test errors on icu-related progs

Alexis Bienvenüe jboulix-guest at moszumanska.debian.org
Thu May 19 13:43:15 UTC 2016


This is an automated email from the git hooks/post-receive script.

jboulix-guest pushed a commit to annotated tag debian/2016.20160513.41080-2
in repository texlive-bin.

commit 346229ec86ccdd1ef8ce3ecf770072a4627a5528
Author: Norbert Preining <preining at debian.org>
Date:   Mon May 16 08:14:34 2016 +0900

    try fixing test errors on icu-related progs
---
 debian/rules | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/debian/rules b/debian/rules
index 0fada49..c8dca67 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,12 @@ export CONFIG_SHELL=/bin/sh
 # and building only on some platforms.
 LUAJIT_GOOD_ARCHS := amd64 armel armhf hurd-i386 i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc 
 
+#
+# architectures where icu related programs (upmendex, xetex) have problems
+# and core dump etc. Possible fix, but sub-optimal because slowing down
+# programs
+BROKEN_ICU_ARCHS := mips mipsel sparc64
+
 # In case one wants to build with old automake (<< 1.13.1), the following
 # variable has to be set. By default the debian/control requires high
 # enough versions of automake and friends
@@ -35,6 +41,15 @@ ifeq ($(DEB_HOST_ARCH), s390x)
   export CXXFLAGS = -O1
 endif
 
+#
+# building on mips/sparc etc is somehow broken, try fix from tlbuild
+# by setting U_IS_BIG_ENDIAN=0
+ifneq (,$(findstring $(DEB_HOST_ARCH)), $(BROKEN_ICU_ARCHS))
+  export CFLAGS = $(CFLAGS) -DU_IS_BIG_ENDIAN=0
+  export CXXFLAGS = $(CFLAGS) -DU_IS_BIG_ENDIAN=0
+endif
+
+
 # for whitelisting good archs
 ifeq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_GOOD_ARCHS)))
   # it is not in the list of good archs -> disable luajittex

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/texlive-bin.git



More information about the Reproducible-commits mailing list