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

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Feb 8 23:07:34 UTC 2017

On Wed 2017-02-08 13:37:39 -0500, Andrew Cagney wrote:
> On 3 February 2017 at 13:57, Daniel Kahn Gillmor <dkg at fifthhorseman.net> 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,
>>                  from /usr/include/nss/seccomon.h:17,
>>                  from /usr/include/nss/nss.h:34,
>>                  from /«PKGBUILDDIR»/lib/libswan/base64_rsa_pubkey.c:21:
>> /usr/include/nspr/prcpucfg.h:511:18: error: "_ABI64" is not defined [-Werror=undef]
>>  #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 this, but nss itself builds fine on MIPS:


as do packages that depend on it, like ceph or systemtap:


other dependent packages appear to have some build failures there too:


Sorry to not understand the problem space better!  I hope the build logs
linked above are useful in getting new ideas for how to solve it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20170208/2d57f3e4/attachment.sig>

More information about the Swan-dev mailing list