gpgme: cpp: failing on 32 bit due to LFS requirements

Andreas Stieger astieger at
Sat Sep 24 20:58:58 CEST 2016


On 09/23/2016 03:33 PM, Andre Heinecke wrote:
> On Thursday 22 September 2016 16:27:45 Andreas Stieger wrote:
>> the C++ bindings are failing when building on 32 bits due to the lack of
>> definition of the required LFS macros. As you were looking at the cpp
>> compiler flags anyway, I thought I'd let you know:
> Thanks, I just commited a patch that includes the config.h of gpgme in the cpp 
> and qt bindings. One of the advantages of living in the same package is that 
> we can use the same config flags :-)

Thanks (a142f187b7ddb2728ec3e1743da4a0c4538ab40a)
However due to the same issue the swig bindings fail to build on i586:

swigging gpgme.i to gpgme_wrap.c
swig -python -py3 -builtin -threads -outdir pyme -DHAVE_DATA_H=1
-DIN_TREE_BUILD=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


Andreas Stieger <astieger at>
Project Manager Security
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20160924/e8cae85d/attachment.sig>

More information about the Gnupg-devel mailing list