php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59048 GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section ...
Submitted: 2010-01-27 06:31 UTC Modified: 2015-02-11 18:43 UTC
Votes:5
Avg. Score:4.6 ± 0.5
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (25.0%)
From: rusxakep at gmail dot com Assigned:
Status: Verified Package: gnupg (PECL)
PHP Version: 5.2.11 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rusxakep at gmail dot com
New email:
PHP Version: OS:

 

 [2010-01-27 06:31 UTC] rusxakep at gmail dot com

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-28 04:44 UTC] rusxakep at gmail dot com
Patch:

--- ./config.m4.old     2010-01-27 15:25:21.000000000 +0300
+++ ./config.m4 2010-01-27 15:25:11.000000000 +0300
@@ -43,3 +43,5 @@

   PHP_NEW_EXTENSION(gnupg, [gnupg.c gnupg_keylistiterator.c], $ext_shared)
 fi
+
+AC_SYS_LARGEFILE
 [2012-02-20 00:13 UTC] frozenfire@php.net
-Status: Open +Status: Verified
 [2012-02-20 00:13 UTC] frozenfire@php.net
I've verified the issue, and the provided patch does indeed fix the problem.
 [2012-02-21 06:18 UTC] rusxakep at gmail dot com
Collegues,

Need test with gpgme-1.3.1 now, because version 1.2.0 is very old.
 [2014-08-25 18:39 UTC] widman at cardiothink dot com
Tested with gnupg-1.3.3 and gpgme-1.5.1, and this patch works fine. The manual (see reference below) says to add this autoconf macro to projects being compiled with gpgme, so one would expect this patch to work for future versions of the software also.

Reference: The manual at https://www.gnupg.org/documentation/manuals/gpgme/Largefile-Support-_0028LFS_0029.html
states "You can enable largefile support, if it is different from the default on the system the application is compiled on, by using the Autoconf macro AC_SYS_LARGEFILE. If you do this, then you don't need to worry about anything else: It will just work."
 [2015-02-11 18:43 UTC] jimjag@php.net
Is this still an issue w/ 1.3.6?
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC