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: 2021-08-08 04:22 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: cmb (profile)
Status: No Feedback Package: gnupg (PECL)
PHP Version: 5.2.11 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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
Description:
------------
Can't compile with new version of gpgme-1.2.0


In file included from /var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/php_gnupg.h:31,                                                                                                              
                 from /var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/gnupg.c:22:                                                                                                                  
/usr/include/gpgme/gpgme.h:80:2: error: #error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.                                           
/var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/gnupg.c: В функции ?passphrase_cb?:                                                                                                                
/var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/gnupg.c:405: предупреждение: результат ?write?, декларированной с атрибутом warn_unused_result, игнорируется                                       
/var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/gnupg.c:406: предупреждение: результат ?write?, декларированной с атрибутом warn_unused_result, игнорируется
/var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/gnupg.c: В функции ?passphrase_decrypt_cb?:
/var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/gnupg.c:432: предупреждение: результат ?write?, декларированной с атрибутом warn_unused_result, игнорируется
/var/tmp/portage/dev-php5/pecl-gnupg-1.3.1/work/gnupg-1.3.1/gnupg.c:433: предупреждение: результат ?write?, декларированной с атрибутом warn_unused_result, игнорируется
make: *** [gnupg.lo] Ошибка 1



Patches

Pull Requests

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?
 [2021-07-30 08:50 UTC] cmb@php.net
-Status: Verified +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-30 08:50 UTC] cmb@php.net
Is this still an issue with latest gnupg (1.5.0)?
 [2021-08-08 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC