php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61511 Compilation failed on zend_class_entry
Submitted: 2012-03-26 13:44 UTC Modified: 2013-07-17 12:20 UTC
Votes:15
Avg. Score:4.6 ± 0.7
Reproduced:14 of 15 (93.3%)
Same Version:9 (64.3%)
Same OS:5 (35.7%)
From: samuel dot hassine at anotherservice dot com Assigned: jimjag (profile)
Status: Closed Package: gnupg (PECL)
PHP Version: 5.4.0 OS: Debian testing
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: samuel dot hassine at anotherservice dot com
New email:
PHP Version: OS:

 

 [2012-03-26 13:44 UTC] samuel dot hassine at anotherservice dot com
Description:
------------
Hi,

Compilation failed with the command pecl install gnupg:


/bin/bash /tmp/pear/temp/pear-build-root6FrcYa/gnupg-1.3.2/libtool --
mode=compile cc  -I. -I/tmp/pear/temp/gnupg -DPHP_ATOM_INC -
I/tmp/pear/temp/pear-build-root6FrcYa/gnupg-1.3.2/include -I/tmp/pear/temp/pear-
build-root6FrcYa/gnupg-1.3.2/main -I/tmp/pear/temp/gnupg -I/usr/include/php5 -
I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -
I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   
-c /tmp/pear/temp/gnupg/gnupg.c -o gnupg.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/gnupg -DPHP_ATOM_INC -
I/tmp/pear/temp/pear-build-root6FrcYa/gnupg-1.3.2/include -I/tmp/pear/temp/pear-
build-root6FrcYa/gnupg-1.3.2/main -I/tmp/pear/temp/gnupg -I/usr/include/php5 -
I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -
I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -
c /tmp/pear/temp/gnupg/gnupg.c  -fPIC -DPIC -o .libs/gnupg.o
/tmp/pear/temp/gnupg/gnupg.c: In function 'gnupg_obj_new':
/tmp/pear/temp/gnupg/gnupg.c:182:52: error: 'zend_class_entry' has no member 
named 'default_properties'
make: *** [gnupg.lo] Error 1
ERROR: `make' failed

Best regards.
Sam

Expected result:
----------------
Compilation complete ;)


Patches

gnupg-1.3.2_PHP54.patch (last revision 2012-09-07 17:02 UTC by pristine dot source at gmail dot com)
gnupg-php54.patch (last revision 2012-05-10 09:29 UTC by massimiliano dot torromeo+pecl at gmail dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-08 11:36 UTC] clement dot hermann at free dot fr
Hi,

I was thinking of creating a debian package for this extension. The patch is working for me, but I have to ask, is this extension still maintained ?

Cheers,

-- 
Clément Hermann (nodens)
 [2013-01-10 20:58 UTC] pristine dot source at gmail dot com
clement dot hermann at free dot fr,

It certainly does appear so. I keep an updated and maintained version of this package for my company, and the patch provided does represent the most up to date version that we have.  I am not affiliated with the original package owner, and I have tried to email him/her in the past but I never heard back on anything.

If I had to guess, I would say that this package is abandoned.
 [2013-01-20 14:56 UTC] fartherreaches at aol dot com
I use the php/pecl gnupg extension a lot and finding out that the php/pecl gnupg distribution is not being kept up to date (ala the patch in this bug report) is rather disturbing to realize. The last update was 2010-07-20. Hopefully someone in "PHP land" will pick up the pecl/gnupg maintenance and keep it up to date.
P.S. Using patch with PHP-5.4.3, pecl/gnupg-1.3.2, gnupg-1.4.12.
 [2013-02-13 19:03 UTC] peqs2004 at hotmail dot com
Hi -

Newbie here... sorry. I'm having the same issue trying to install GNUPG. How can I 
use this patch?

Thanks,
 [2013-02-19 21:24 UTC] john at primetimesolutions dot com
This issue is not always repeatable. I have 2 different systems both running 
Centos 6 with php 5.4 .

One has this issue, but I was able to install it on the other. I'm digging into 
the differences...
 [2013-04-30 13:23 UTC] brandon at brandonchecketts dot com
This patch worked for me on CentOS 5.9 and latest versions of all dependent packages compiled from source:

libgpg-error-1.11
libassuan-2.1.0
gpgme-1.4.0    (compiled with --disable-largefile)
pecl-gnupg-1.3.2
 [2013-07-17 12:20 UTC] jimjag@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: jimjag
 [2013-07-17 12:20 UTC] jimjag@php.net
Addressed in 1.3.3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC