php53u pecl install failures

Bug #809467 reported by Mark Newman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IUS Community Project
Fix Released
Undecided
Jeffrey Ness

Bug Description

I am seeing constant failures when attempting to install packages via pecl using php53u-pear.

CentOS release 5.6 (Final)

php53u-common-5.3.6-1.ius.el5
php53u-cli-5.3.6-1.ius.el5
php53u-pear-1.9.3-1.ius.el5
php53u-mysql-5.3.6-1.ius.el5
php53u-process-5.3.6-1.ius.el5
php53u-5.3.6-1.ius.el5
php53u-devel-5.3.6-1.ius.el5
php53u-pdo-5.3.6-1.ius.el5
php53u-soap-5.3.6-1.ius.el5

Example:

[root@localhost vagrant]# pecl install -n solr-1.0.1
warning: pecl/solr requires PHP extension "curl"
downloading solr-1.0.1.tgz ...
Starting to download solr-1.0.1.tgz (100,683 bytes)
......done: 100,683 bytes
28 source files, building
ERROR: could not chdir to /var/tmp/solr/tests

The issues seem to reside around the extraction of the packages once downloaded and inability to locate the config.m4 file once extracted to run phpsize. The extracted path /var/tmp/solr/tests doesn't exist. This problem isn't affecting all package installs via pecl, just some.

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Hello Mark,

Thank you for your bug report, I have also been able to reproduce this issue on a Redhat EL 5.6 server using the latest php53u-pear package:

   # rpm -q php53u-pear
   php53u-pear-1.9.3-1.ius.el5.noarch

   # pecl install -n solr-1.0.1
   warning: pecl/solr requires PHP extension "curl"
   downloading solr-1.0.1.tgz ...
   Starting to download solr-1.0.1.tgz (100,683 bytes)
   ......................done: 100,683 bytes
   28 source files, building
   ERROR: could not chdir to /var/tmp/solr/tests

Testing with the php53u-pear package from IUS Testing however showed more success:

   # rpm -q php53u-pear
   php53u-pear-1.9.4-1.ius.el5.noarch

   # pecl install -n solr-1.0.1
   warning: pecl/solr requires PHP extension "curl"
   downloading solr-1.0.1.tgz ...
   Starting to download solr-1.0.1.tgz (100,683 bytes)
   ......................done: 100,683 bytes
   28 source files, building
   running: phpize
   Configuring for:
   PHP Api Version: 20090626
   Zend Module Api No: 20090626
   Zend Extension Api No: 220090626
   /usr/bin/phpize: /tmp/solr/build/shtool: /bin/sh: bad interpreter: Permission denied
   Cannot find autoconf. Please check your autoconf installation and the
   $PHP_AUTOCONF environment variable. Then, rerun this script.

   ERROR: `phpize' failed

After remounting /tmp with execute permission the install went fine:

   # mount -o remount /dev/vda2 /tmp

   # pecl install -n solr-1.0.1
   warning: pecl/solr requires PHP extension "curl"
   downloading solr-1.0.1.tgz ...
   Starting to download solr-1.0.1.tgz (100,683 bytes)
   ......................done: 100,683 bytes
   28 source files, building
   running: phpize
   Configuring for:
   PHP Api Version: 20090626
   Zend Module Api No: 20090626
   Zend Extension Api No: 220090626
   Enable Solr (yes of course) [yes] :

It seems this may be a issue with the 1.9.3 PEAR package which has been addressed in 1.9.4,
if you would please try with the IUS Testing package and provide any feedback:

   https://bugs.launchpad.net/ius/+bug/807109

Thank you

Changed in ius:
assignee: nobody → Jeffrey Ness (jeffrey-ness)
status: New → In Progress
Revision history for this message
Mark Newman (3y9-mark) wrote :

Hi Jeffrey,

Thank you for your prompt response.

I've just tested this using the updated PEAR 1.9.4 package from Testing and everything now seems fine.

Any idea when this PEAR update will make it out to Stable?

Thanks

Mark

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Mark,

The php53u-pear package has been in testing for 6 days and normally we do not push from testing to stable for 14 days (2 weeks):

    name ius ver upstream ver age status
    ========================================================================
    php53u-pear 1.9.4 1.9.4 6 testing

However as you seem to of found a issue with the current stable package I will get this package pushed to stable sometime today.

Jeffrey-

Revision history for this message
Mark Newman (3y9-mark) wrote :

That's fantastic news.

Thanks for all your help

Mark

Revision history for this message
Jeffrey Ness (jeffrey-ness) wrote :

Mark,

This package has been moved to IUS Stable:

    https://bugs.launchpad.net/ius/+bug/807109

Changed in ius:
status: In Progress → Fix Released
Revision history for this message
Mark Newman (3y9-mark) wrote :

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.