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

Justus Winter justus at
Mon Sep 26 17:01:44 CEST 2016

Andreas Stieger <astieger at> writes:
> 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
> processing.

This should be fixed with 3703a472.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: </pipermail/attachments/20160926/b5320852/attachment.sig>

More information about the Gnupg-devel mailing list