tags 546164 patch thanks Hi,
This seems to be related to the definition of the PHP_PEAR_DOWNLOAD_DIR constant at the build-pear-stamp rule in the debian/rules file, moreover, the definition seems to be somehow misplaced (but it is taken into account anyway!). I've attached a patch that removes that definition (and the creation of the related directory), don't know if this could have any negative side effects. Hope this helps. Cheers, Federico
diff --git a/debian/rules b/debian/rules index b98dd6b..ce2b134 100755 --- a/debian/rules +++ b/debian/rules @@ -190,8 +190,7 @@ build-cgi-stamp: configure-cgi-stamp build-pear-stamp: build-cgi-stamp dh_testdir -mkdir pear-build - -mkdir pear-build-download - 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 + cd cgi-build && $(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 sed -i -e 's/-d output_buffering=1 -d open_basedir="" -d safe_mode=0/-d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' \ $(CURDIR)/pear-build/usr/bin/pear && \ sed -i -e 's/-d output_buffering=1 -d safe_mode=0/-d output_buffering=1 -d open_basedir="" -d safe_mode=0 -d memory_limit="-1"/' \