--- gpg-1.8.0-old/setup.py 2016-11-30 04:41:41.000000000 -0500 +++ gpg-1.8.0/setup.py 2017-01-08 15:13:20.437996702 -0500 @@ -34,6 +34,9 @@ extra_swig_opts = [] extra_macros = dict() +# force largefile support +extra_macros.update({"_FILE_OFFSET_BITS": 64, "_LARGEFILE_SOURCE": 1}) + if os.path.exists("../../src/gpgme-config"): # In-tree build. in_tree = True