← Back to team overview

openjdk team mailing list archive

Bug#776295: openjdk-8: add mips64el to list of 64-bit arches in d/rules

 

Source: openjdk-8
Version: 8u40~b09-1
Severity: normal
Tags: patch

Hi,

Please add mips64 and mips64el to the list of 64-bit arches in
debian/rules to avoid using the 32-bit version of uname (which causes
the build to fail). I've attached a patch which fixes this.

Logs before and after:
http://mipsdebian.imgtec.com/debian/logs/o/openjdk-8/openjdk-8_8u40~b09-1_mips64el-20150120-2330.build.gz
http://mipsdebian.imgtec.com/debian/logs/o/openjdk-8/openjdk-8_8u40~b09-1+mips64_mips64el-20150121-1737.build.gz

Thanks,
James

diff -u -r a/debian/rules b/debian/rules
--- a/debian/rules	2015-01-21 16:18:21.000000000 +0000
+++ b/debian/rules	2015-01-21 16:18:46.835920643 +0000
@@ -1005,7 +1005,7 @@
 	-cat /etc/hosts
 
 	mkdir -p bin
-ifeq (,$(filter $(DEB_HOST_ARCH), alpha amd64 arm64 hppa ppc64 ppc64el s390x sparc64 x32))
+ifeq (,$(filter $(DEB_HOST_ARCH), alpha amd64 arm64 hppa mips64 mips64el ppc64 ppc64el s390x sparc64 x32))
 	( \
 	  echo '#! /bin/sh'; \
 	  echo 'if [ -x /usr/bin/linux32 ]; then'; \