Bug 105385 - Add ebuilds that inherit php-pear-r1 to ~ARCH
Bug#: 105385 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: php-bugs@gentoo.org Reported By: sebastian@gentoo.org
Component: Applications
URL: 
Summary: Add ebuilds that inherit php-pear-r1 to ~ARCH
Keywords:  
Status Whiteboard: 
Opened: 2005-09-09 07:22 0000
Description:   Opened: 2005-09-09 07:22 0000
Please add the ebuilds below to ~ARCH/ARCH when you mark the new PHP ebuilds
~ARCH/ARCH:

dev-php/PEAR-PEAR-1.3.6
dev-php/PEAR-Archive_Tar-1.3.1-r1
dev-php/PEAR-Console_Getopt-1.2-r1
dev-php/PEAR-XML_RPC-1.4.1
dev-php/PEAR-Auth-1.2.3-r1
dev-php/PEAR-Auth_SASL-1.0.1-r1
dev-php/PEAR-Benchmark-1.2.2-r1
dev-php/PEAR-Cache-1.5.4-r1
dev-php/PEAR-Cache_Lite-1.5.2-r1
dev-php/PEAR-Console_Table-1.0.2-r1
dev-php/PEAR-Crypt_RC4-1.0.2-r1
dev-php/PEAR-DB-1.7.6-r1
dev-php/PEAR-DB_DataObject-1.7.15-r1
dev-php/PEAR-DB_Table-0.21.2-r1
dev-php/PEAR-Date-1.4.3-r1
dev-php/PEAR-File-1.0.3-r1
dev-php/PEAR-File_Find-0.2.0-r1
dev-php/PEAR-HTML_Common-1.2.1-r1
dev-php/PEAR-HTML_Javascript-1.1.0-r1
dev-php/PEAR-HTML_QuickForm-3.2.3-r1
dev-php/PEAR-HTML_Select_Common-1.1-r2
dev-php/PEAR-HTML_Table-1.5-r1
dev-php/PEAR-HTML_Table_Matrix-1.0.7-r1
dev-php/PEAR-HTML_Template_Flexy-1.2.1-r1
dev-php/PEAR-HTML_Template_IT-1.1-r1
dev-php/PEAR-HTML_Template_Sigma-1.1.2-r1
dev-php/PEAR-HTML_TreeMenu-1.2.0-r1
dev-php/PEAR-HTTP-1.3.4-r1
dev-php/PEAR-HTTP_Request-1.2.4-r1
dev-php/PEAR-HTTP_WebDAV_Server-0.99.1-r1
dev-php/PEAR-I18N-0.8.6-r2
dev-php/PEAR-Image_IPTC-1.0.2-r1
dev-php/PEAR-Log-1.8.7-r1
dev-php/PEAR-MDB-1.3.0-r1
dev-php/PEAR-Mail-1.1.6-r1
dev-php/PEAR-Mail_Mime-1.3.1-r1
dev-php/PEAR-Math_Stats-0.9.0_beta3-r1
dev-php/PEAR-Net_CheckIP-1.1-r1
dev-php/PEAR-Net_DIME-0.3-r1
dev-php/PEAR-Net_DNS-0.03-r1
dev-php/PEAR-Net_DNSBL-1.0.0-r1
dev-php/PEAR-Net_IMAP-1.0.3-r1
dev-php/PEAR-Net_LMTP-1.0.1-r1
dev-php/PEAR-Net_POP3-1.3.6-r1
dev-php/PEAR-Net_SMTP-1.2.6-r1
dev-php/PEAR-Net_Server-0.12.0-r1
dev-php/PEAR-Net_Sieve-1.1.1-r1
dev-php/PEAR-Net_SmartIRC-0.5.5_p1-r1
dev-php/PEAR-Net_Socket-1.0.6-r1
dev-php/PEAR-Net_URL-1.0.14-r1
dev-php/PEAR-Net_UserAgent_Detect-2.1.0-r1
dev-php/PEAR-Numbers_Words-0.13.1-r1
dev-php/PEAR-OLE-0.5-r1
dev-php/PEAR-PEAR_Info-1.5.2-r1
dev-php/PEAR-PHPUnit-1.3.0-r1
dev-php/PEAR-Pager-2.3.3-r1
dev-php/PEAR-PhpDocumentor-1.3.0_rc3-r1
dev-php/PEAR-SOAP-0.8.1-r1
dev-php/PEAR-Services_Weather-1.3.2-r1
dev-php/PEAR-Spreadsheet_Excel_Writer-0.8-r1
dev-php/PEAR-Structures_DataGrid-0.6.2-r1
dev-php/PEAR-System_Command-1.0.1-r1
dev-php/PEAR-Text_Diff-0.1.1-r1
dev-php/PEAR-Text_Password-1.0-r1
dev-php/PEAR-Text_Wiki-1.0.0-r1
dev-php/PEAR-Tree-0.2.4-r1
dev-php/PEAR-Validate-0.5.0-r1
dev-php/PEAR-VersionControl_SVN-0.3.0_alpha1-r1
dev-php/PEAR-XML_Beautifier-1.1-r1
dev-php/PEAR-XML_CSSML-1.1-r3
dev-php/PEAR-XML_Parser-1.2.4-r1
dev-php/PEAR-XML_RSS-0.9.2-r1
dev-php/PEAR-XML_Serializer-0.15.0-r1
dev-php/PEAR-XML_Tree-2.0.0_rc2-r1
dev-php/PEAR-XML_Util-1.1.1-r1
dev-php/PEAR-XML_XPath-1.2.1-r1

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Jason Wever (RETIRED) 2005-09-11 11:54:30 0000 -------
PEAR-Math_Stats fails with the following;

>>> Install PEAR-Math_Stats-0.9.0_beta3-r1 into
/var/tmp/portage/PEAR-Math_Stats-0.9.0_beta3-r1/image/ category dev-php
/usr/gentoo-x86/eclass/php-pear-r1.eclass: line 45: cd:
/var/tmp/portage/PEAR-Math_Stats-0.9.0_beta3-r1/work/Math_Stats-0.9.0b3: No such
file or directory
Advanced PHP Debugger (APD) requires Zend Engine API version 220050617.
The Zend Engine API version 220040412 which is installed, is outdated.

Package name
'/var/tmp/portage/PEAR-Math_Stats-0.9.0_beta3-r1/work/Math_Stats-0.9.0b3/package.xml'
not valid
No log handling enabled - turning on stderr logging
Cannot rename //var/lib/net-snmp/snmpapp.conf to //var/lib/net-snmp/snmpapp.0.conf
Cannot unlink //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf
read_config_store open failure on //var/lib/net-snmp/snmpapp.conf

!!! ERROR: dev-php/PEAR-Math_Stats-0.9.0_beta3-r1 failed.
!!! Function php-pear-r1_src_install, Line 47, Exitcode 1
!!! Unable to install PEAR package
!!! If you need support, post the topmost build error, NOT this status message.


(Using latest versions of ebuild and eclasses at the time of this comment).

------- Comment #2 From Jason Wever (RETIRED) 2005-09-18 17:23:38 0000 -------
Another failure.  With this one you might consider adding some ewarn love or do
a check to see what the correct php.ini file is set to.  Setting the mem limit
to 16M did the trick here.

Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/PEAR-PhpDocumentor-1.3.0_rc3-r1 to /
>>> md5 files   ;-) PEAR-PhpDocumentor-1.2.3.ebuild
>>> md5 files   ;-) PEAR-PhpDocumentor-1.3.0_rc3.ebuild
>>> md5 files   ;-) PEAR-PhpDocumentor-1.3.0_rc3-r1.ebuild
>>> md5 files   ;-) files/digest-PEAR-PhpDocumentor-1.2.3
>>> md5 files   ;-) files/digest-PEAR-PhpDocumentor-1.3.0_rc3
>>> md5 files   ;-) files/digest-PEAR-PhpDocumentor-1.3.0_rc3-r1
>>> md5 src_uri ;-) PhpDocumentor-1.3.0RC3.tgz
>>> Unpacking source...
>>> Unpacking PhpDocumentor-1.3.0RC3.tgz to
/var/tmp/portage/PEAR-PhpDocumentor-1.3.0_rc3-r1/work
tar: A lone zero block at 25279
>>> Source unpacked.
>>> Test phase [not enabled]: dev-php/PEAR-PhpDocumentor-1.3.0_rc3-r1

>>> Install PEAR-PhpDocumentor-1.3.0_rc3-r1 into
/var/tmp/portage/PEAR-PhpDocumentor-1.3.0_rc3-r1/image/ category dev-php
Advanced PHP Debugger (APD) requires Zend Engine API version 220050617.
The Zend Engine API version 220040412 which is installed, is outdated.

Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes)

!!! ERROR: dev-php/PEAR-PhpDocumentor-1.3.0_rc3-r1 failed.
!!! Function php-pear-r1_src_install, Line 47, Exitcode 1
!!! Unable to install PEAR package
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #3 From Jason Wever (RETIRED) 2005-09-18 19:34:24 0000 -------
The tests for PEAR-XML_CSSML and PEAR-XML_XPath appear to fail because they are
trying to re-assign $this, which php 5 at least doesn't appear to like.  Note
that this is happening in the classes inside of the individual packages and not
in the example php files.

Other than these two packages and the previous comment about PEAR-Math_Stats,
I've added ~sparc to the rest of the ebuilds.

------- Comment #4 From Jakub Moc (RETIRED) 2005-09-27 00:42:34 0000 -------
*** Bug 107310 has been marked as a duplicate of this bug. ***

------- Comment #5 From Sebastian Bergmann (RETIRED) 2005-09-30 01:52:30 0000 -------
@3: I reported $this (pun intended :-) UPSTREAM and XML_CSSML has already been
fixed in CVS.

------- Comment #6 From Jason Wever (RETIRED) 2005-10-01 15:50:27 0000 -------
PEAR-XML_CSSML is still broken here;

Fatal error: Cannot re-assign $this in /usr/share/php/XML_CSSML/CSSML.php on
line 129

------- Comment #7 From dario 2005-10-03 02:26:24 0000 -------
I've succesfully installed the following package on ppc:

dev-php/PEAR-Mail_Mime-1.3.1-r1
dev-php/PEAR-Net_URL-1.0.14-r1
dev-php/PEAR-Net_Socket-1.0.6-r1
dev-php/PEAR-HTTP_Request-1.2.4-r1
dev-php/PEAR-Net_DIME-0.3-r1
dev-php/PEAR-SOAP-0.8.1-r1

For what I need they works, please mark theme ~ppc

------- Comment #8 From Simon Stelling (RETIRED) 2005-10-04 14:27:12 0000 -------
we're currently testing a new alias system, sorry for the bugspam

------- Comment #9 From Sebastian Bergmann (RETIRED) 2005-10-09 01:57:35 0000 -------
The bug reported in comment #1 has been fixed in CVS.

------- Comment #10 From Jason Wever (RETIRED) 2005-10-09 02:06:56 0000 -------
PEAR-Math_Stats-0.9.0_beta3-r1 checks out on ~sparc and I added the keyword.

------- Comment #11 From Sebastian Bergmann (RETIRED) 2005-10-12 13:52:12 0000 -------
New versions of PEAR-XML_CSSML and PEAR-XML_XPath have been released today by
UPSTREAM. Unfortunately, PEAR-XML_CSSML still does not work on PHP 5. For the
time being, I added need_php4 to its ebuild.

------- Comment #12 From Jason Wever (RETIRED) 2005-10-15 16:26:33 0000 -------
Added ~sparc keyword to PEAR-XML_CSSML.

When testing PEAR-XML_XPath, I found that it appears to depend on the PEAR_Error
class provided by PEAR-PEAR.  However, the current version of PEAR-PEAR appears
to  have deprecated PEAR_Error in favor of PEAR_ErrorStack.

Also, in trying to test that PEAR-XML_XPath actually works, the example script
XML_XPath_example.php fails with the following;

Fatal error: Call to undefined function domxml_open_mem() in
/usr/share/php/XML/XPath.php on line 142

------- Comment #13 From Sebastian Bergmann (RETIRED) 2005-10-15 23:26:47 0000 -------
I marked XML_XPath as PHP 4 only, too. Thanks!

------- Comment #14 From Jason Wever (RETIRED) 2005-10-16 00:08:37 0000 -------
Cool, then I think ~sparc is now done as PEAR-XML_XPath checks out on PHP 4.

------- Comment #15 From Sebastian Bergmann (RETIRED) 2005-10-24 06:48:51 0000 -------
~amd64 done.

------- Comment #16 From Joe Jezak 2005-11-21 09:08:33 0000 -------
Marked ~ppc.

------- Comment #17 From kaouete 2005-11-22 00:15:06 0000 -------
I'm not sure it is here i have to report this bug but it looks like like it :
i have a package listed here, uting php-pear-r1 that fails on a function in this
eclass.

dev-php/PEAR-Archive_Tar-1.3.2 doesnt install :

>>> Install PEAR-Archive_Tar-1.3.2 into
/var/tmp/portage/PEAR-Archive_Tar-1.3.2/image/ category dev-php

Warning: main(Archive/Tar.php): failed to open stream: No such file or directory
in Common.php on line 23

Fatal error: main(): Failed opening required 'Archive/Tar.php'
(include_path='/usr/share/php') in /usr/share/php/PEAR/Common.php on line 2
3

!!! ERROR: dev-php/PEAR-Archive_Tar-1.3.2 failed.
!!! Function php-pear-r1_src_install, Line 49, Exitcode 255
!!! Unable to install PEAR package
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #18 From Markus Rothe 2005-11-22 11:26:03 0000 -------
all ebuilds are ~ppc64 now! 

------- Comment #19 From Sebastian Bergmann (RETIRED) 2006-01-20 23:37:33 0000 -------
Superseded by bug 119722.