[Pkg-xmpp-devel] gsasl on mips

Simon Josefsson simon at josefsson.org
Mon Mar 15 21:32:21 UTC 2010


I've just released upstream gsasl 1.4.2 with some minor but important
fixes that I'd like to get into squeeze.  However, gsasl doesn't build
on mips(el) since some time ago, see failed build logs:


The problem is in binutils:


I'm planning to apply the patch below to gsasl, to disable self tests on
mips(el).  What do you think about this?  I don't like to disable
self-tests, but the binutils bug doesn't seem to get solved, and every
day it is unsolved is another day that gsasl could have been tested in
'testing' but isn't.  And running self-tests on everything except
mips(el) should hopefully catch all the important problems anyway.


diff --git a/debian/rules b/debian/rules
index 6f8d81c..c71df74 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,11 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 DEB_DH_STRIP_ARGS = --dbg-package=gsasl-dbg
 DEB_DH_MAKESHLIBS_ARGS_libgsasl7 = -- -c4
+# Binutils is buggy on mips(el) see <http://bugs.debian.org/519006>,
+# so we have to disable self-tests.
+DEB_HOST_ARCH  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifeq (,$(filter $(DEB_HOST_ARCH),mips mipsel))

More information about the Pkg-xmpp-devel mailing list