Debian Bug report logs -
#728828
PHP_PEAR_DOWNLOAD_DIR path set breaks pecl install
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#728828; Package php5.
(Wed, 06 Nov 2013 00:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Sander van Zoest <svanzoest@onehealth.com>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Wed, 06 Nov 2013 00:03:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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.
$ 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.
vagrant at newpkgs-ubuntu-1204
<https://lists.debphp.org/mailman/listinfo/debphp-users>:~$ sudo pecl
-d preferred_state=stable
install -a uuid
downloading uuid-1.0.3.tgz ...
Could not download from "[1]http://pecl.php.net/get/uuid-1.0.3.tgz",
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 failedvagrant at newpkgs-ubuntu-1204
<https://lists.debphp.org/mailman/listinfo/debphp-users>:~$
Do we expect this to be in a different path or is pecl install broken
for everyone using these packages?
This issue was found on Ubuntu, but also exists on Debian sid.
[Message part 2 (text/html, inline)]
Bug reassigned from package 'php5' to 'php-pear'.
Request was from Ondřej Surý <ondrej@debian.org>
to control@bugs.debian.org.
(Wed, 27 Jan 2016 11:51:03 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 00:47:32 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.