<div dir="ltr"><br><pre>Package: php5
Version: 5.5.5+dfsg-1
During package build time, we are setting PHP_PEAR_DOWNLOAD_DIR to
$(CURDIR). This breaks running pecl/pear.<br><br>$ grep -n PHP_PEAR_DOWNLOAD_DIR php5-5.5.5+dfsg/debian/rules
255: cd cgi-build && PHP_PEAR_DOWNLOAD_DIR=$(CURDIR)/pear-build-download $(MAKE)
install-pear PHP_PEAR_PHP_BIN=/usr/bin/php PHP_PEAR_INSTALL_DIR=/usr/share/php PHP_PEAR_SYSCONF_DIR=/etc/pear
PHP_PEAR_SIG_BIN=/usr/bin/gpg INSTALL_ROOT=$(CURDIR)/pear-build
For example on a new VirtualBox Ubuntu Precise VM, we see the following
failure which references the path of where the package got build, which
naturally does not exist on the VM.
<a href="https://lists.debphp.org/mailman/listinfo/debphp-users">vagrant at newpkgs-ubuntu-1204</a>:~$ sudo pecl -d preferred_state=stable
install -a uuid
downloading uuid-1.0.3.tgz ...
Could not download from "[1]<a href="http://pecl.php.net/get/uuid-1.0.3.tgz">http://pecl.php.net/get/uuid-1.0.3.tgz</a>",
cannot download "pecl/uuid" (could not open
/srv/packages/php5/php5-5.5.3+dfsg/pear-build-download/uuid-1.0.3.tgz
for writing)
Error: cannot download "pecl/uuid"
Download failed
install failed
<a href="https://lists.debphp.org/mailman/listinfo/debphp-users">vagrant at newpkgs-ubuntu-1204</a>:~$
Do we expect this to be in a different path or is pecl install broken
for everyone using these packages?<br></pre><pre>This issue was found on Ubuntu, but also exists on Debian sid.<br></pre><br></div>