Bug#853947: [Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-09 Thread Andrew Cagney
On 9 February 2017 at 07:57, Radovan Birdic wrote: > Maybe a better solution would be to make changes in nspr package. > I have already suggested changes to the package: > https://bugs.debian.org/854472 Yes. Here, for instance, is the NSS compile line for nssver.c

Bug#853947: [Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-09 Thread Radovan Birdic
On Wed, 8 Feb 2017, Paul Wouters wrote: > So, try the attached patch, that basically does: > > +#ifndef _ABIO32 > +# define _ABIO321 > +#endif > + > +#ifndef _ABIN32 > +# define _ABIN322 > +#endif > + > +#ifndef _ABI64 > +# define _ABI64 3 > +#endif With this patch

Bug#853947: [Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-08 Thread Paul Wouters
On Wed, 8 Feb 2017, Daniel Kahn Gillmor wrote: #if _MIPS_SIM == _ABI64 ^~ cc1: all warnings being treated as errors ../../../mk/depend.mk:28: recipe for target 'base64_rsa_pubkey.o' failed Would you know how NSS deals with this on MIPS? I don't know what to say about

Bug#853947: [Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-08 Thread Daniel Kahn Gillmor
On Wed 2017-02-08 13:37:39 -0500, Andrew Cagney wrote: > On 3 February 2017 at 13:57, Daniel Kahn Gillmor > wrote: >> -MMD -MF ./base64_rsa_pubkey.d \ >> -o ./base64_rsa_pubkey.o \ >> -c /«PKGBUILDDIR»/lib/libswan/base64_rsa_pubkey.c >> In file

Bug#853947: [Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-08 Thread Andrew Cagney
On 3 February 2017 at 13:57, Daniel Kahn Gillmor wrote: > -MMD -MF ./base64_rsa_pubkey.d \ > -o ./base64_rsa_pubkey.o \ > -c /«PKGBUILDDIR»/lib/libswan/base64_rsa_pubkey.c > In file included from /usr/include/nspr/prtypes.h:26:0, >

Bug#853947: [Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-03 Thread Daniel Kahn Gillmor
On Thu 2017-02-02 20:26:26 -0500, Paul Wouters wrote: > Can you try the attached patch? > > Totally untested, because I don't have that build environment, and based > on some random googling :) > > Paul > diff --git a/lib/libswan/nss_copies.c b/lib/libswan/nss_copies.c > index b90bbf0..16976db

Bug#853947: [Swan-dev] Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-02 Thread Paul Wouters
On Thu, 2 Feb 2017, Daniel Kahn Gillmor wrote: Over on https://bugs.debian.org/853947 you wrote: Package libreswan_3.19-1 FTBFS on mips and mipsel with following error: In file included from /usr/include/nspr/prtypes.h:26:0, from /usr/include/nspr/plarena.h:15,

Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-02 Thread Daniel Kahn Gillmor
Hi Radovan-- Over on https://bugs.debian.org/853947 you wrote: On Thu 2017-02-02 07:02:59 -0500, Radovan Birdic wrote: > Package: libreswan > Version: 3.19-1 > Severity: important > Tags: sid + patch > Justification: FTBFS > User: debian-m...@lists.debian.org > Usertags: mips-patch > > > Package

Bug#853947: libreswan FTBFS on mips and mipsel: error: "_ABI64" is not defined [-Werror=undef]

2017-02-02 Thread Radovan Birdic
Package: libreswan Version: 3.19-1 Severity: important Tags: sid + patch Justification: FTBFS User: debian-m...@lists.debian.org Usertags: mips-patch Package libreswan_3.19-1 FTBFS on mips and mipsel with following error: > In file included from /usr/include/nspr/prtypes.h:26:0, >