Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.0

Bug #19476 make-rpm-spec is probably broken
Submitted: 2012-06-19 15:29 UTC
From: dos Assigned:
Status: Open Package: PEAR_Command_Packaging (version 0.3.0)
PHP Version: 5.3.14 OS: Centos 6
Roadmaps: (Not assigned)    
Subscription  


 [2012-06-19 15:29 UTC] dos (Anton Dorofeev)
Description: ------------ Tested on php v 5.3.3, 5.3.5, 5.3.13 5.3.14; centos 6, fedora 16, ubuntu 12.04, with different extensions: libevent XMLRPCi, apc, xmlrpci, xdebug. None of them was built correctly, but outputs vary: I can get "could not chdir to /var/tmp/%name%" (directory doesn't exist), or "phpize failed". Besides, I get warning "timezone not set" on centos. Test script: --------------- sudo pear channel-update pear.php.net pear install channel://pear.php.net/PEAR_Command_Packaging-0.3.0 pecl download apc pecl make-rpm-spec APC-3.1.9.tgz Expected result: ---------------- (don't know, could not make it work properly) Actual result: -------------- Notice: Undefined index: user in PEAR/Config.php on line 1598 Notice: Undefined index: user in PEAR/Config.php on line 1598 could not chdir to /var/tmp/APC (or sometimes I get "phpize failed" instead of last message)

Comments

 [2012-08-11 00:16 UTC] potto (Paul Otto)
I observe this problem as well. Running CentOS 6.3 - same errors as listed in error report. Tried 0.2.0, same failure. 0.2.1 gets to the make step, and fails.
 [2014-07-12 22:41 UTC] spuhler (Thomas Spuhler)
for Besides, I get warning "timezone not set" on centos: you need to add your timezone in php.ini (it will resolve lots of other problems, example roundcubemail will not show the date of the e-mails w/o your timezone)