Source: dico
Version: 2.2-8
Severity: important

Hi,

dico FTBFS on mips64el due to testsuite failures. I think you need to
add -E to the LDFLAGS on mips64el in addition to the other mips arches.
I've attached a patch which does this.

The full logs before and after applying my patch:
http://mipsdebian.imgtec.com/debian/logs/d/dico/dico_2.2-8_mips64el-20150113-0534.build.gz
http://mipsdebian.imgtec.com/debian/logs/d/dico/dico_2.2-8+mips64_mips64el-20150115-1405.build.gz

Thanks,
James
diff -u -r a/debian/rules b/debian/rules
--- a/debian/rules	2014-10-19 10:16:15.000000000 +0100
+++ b/debian/rules	2015-01-15 13:35:15.037276219 +0000
@@ -5,14 +5,9 @@
 
 # Append -Wl,-E to LDFLAGS for mips,mipsel,s390x archs, see:
 # https://lists.debian.org/debian-mips/2014/09/msg00041.html
-ifeq (mips,$(shell dpkg-architecture -qDEB_BUILD_ARCH))
-LDFLAGS += "-Wl,-E"
-endif
-ifeq (mipsel,$(shell dpkg-architecture -qDEB_BUILD_ARCH))
-LDFLAGS += "-Wl,-E"
-endif
-ifeq (s390x,$(shell dpkg-architecture -qDEB_BUILD_ARCH))
-LDFLAGS += "-Wl,-E"
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifneq (,$(filter mips mipsel mips64 mips64el s390x,$(DEB_HOST_ARCH)))
+	LDFLAGS += "-Wl,-E"
 endif
 
 %:

Reply via email to