All 32-bit debian platforms failed to build gpgme 1.7.0 when we try to build the
python bindings:
https://buildd.debian.org/status/logs.php?pkg=gpgme1.0&ver=1.7.0-3
all the 64-bit platforms built fine.
An example build failure on a 32-bit platform is:
building 'pyme._gpgme' extension
swigging gpgme.i to gpgme_wrap.c
swig -python -py3 -builtin -threads -outdir pyme -DIN_TREE_BUILD=1
-DHAVE_DATA_H=1 -o gpgme_wrap.c gpgme.i
gpgme.h:104: Error: CPP #error "GPGME was compiled with _FILE_OFFSET_BITS = 64,
please see the section "Largefile support (LFS)" in the GPGME manual.". Use the
-cpperraswarn option to continue swig processing.
error: command 'swig' failed with exit status 1
Building pyme3 using ../../src/gpgme.h and
/usr/include/arm-linux-gnueabi/gpg-error.h.
running build
running build_ext
building 'pyme._gpgme' extension
swigging gpgme.i to gpgme_wrap.c
swig -python -py3 -builtin -threads -outdir pyme -DIN_TREE_BUILD=1
-DHAVE_DATA_H=1 -o gpgme_wrap.c gpgme.i
gpgme.h:104: Error: CPP #error "GPGME was compiled with _FILE_OFFSET_BITS = 64,
please see the section "Largefile support (LFS)" in the GPGME manual.". Use the
-cpperraswarn option to continue swig processing.
error: command 'swig' failed with exit status 1
I've read the section of the GPGME manual, but it didn't enlighten me as to any
problems with swig. I suppose that swig needs to be informed about
AC_SYS_LARGEFILE or something, but i'm not enough of an autoconf or swig guru to
know how to fix that specifically.