[Pkg-xmpp-devel] gsasl on mips

cascardo at minaslivre.org cascardo at minaslivre.org
Mon Mar 15 21:46:53 UTC 2010


On Mon, Mar 15, 2010 at 10:32:21PM +0100, Simon Josefsson wrote:
> Folks,
> 
> 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:
> 
> https://buildd.debian.org/fetch.cgi?pkg=gsasl;ver=1.4.1-1;arch=mips;stamp=1267753305
> https://buildd.debian.org/fetch.cgi?pkg=gsasl;ver=1.4.1-1;arch=mipsel;stamp=1267503553
> 
> The problem is in binutils:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519006
> 
> 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.
> 
> /Simon
> 
> 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_MAKE_CHECK_TARGET = check
>  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))
> +  DEB_MAKE_CHECK_TARGET = check
> +endif
> 

Does this bug affect running code that Debian does distribute? Anyway to
work around it in the library code? Or is the buggy code produced in the
test code?

If it's the later, go ahead. If it's the former, perhaps we could look
at the symbol that conflicts with libc symbol and change its name. Do
you have any clue if the case is that of a conflicting symbol?

Regards,
Cascardo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xmpp-devel/attachments/20100315/abc22e12/attachment.pgp>


More information about the Pkg-xmpp-devel mailing list