Bug #78460 [Opn]: PEAR installation failure

From: Date: Tue, 27 Aug 2019 09:49:08 +0000
Subject: Bug #78460 [Opn]: PEAR installation failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222432@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78460&edit=1 ID: 78460 User updated by: l dot declercq at nuxwin dot com Reported by: l dot declercq at nuxwin dot com Summary: PEAR installation failure Status: Open Type: Bug Package: *General Issues Operating System: debian PHP Version: 7.4.0beta4 Block user comment: N Private report: N New Comment: I'll do a new check by doing the build first, then remove the pear/install-pear-nozlib.phar archive and ran the install recipe. Previous Comments: ------------------------------------------------------------------------ [2019-08-27 09:43:20] l dot declercq at nuxwin dot com Surely because this is not the 7.0.4beta4 version but a git version... In the "released" 7.0.4beta4, the pear/install-pear-nozlib.phar archive is already there while this is not the case for your git version ;) That not really the same context ;) ------------------------------------------------------------------------ [2019-08-27 09:32:14] nikic@php.net I just did a build using --with-pear and got the following output: Installing PEAR environment: /home/nikic/php-install/lib/php/ --2019-08-27 11:29:23-- https://pear.php.net/install-pear-nozlib.phar Resolving pear.php.net (pear.php.net)... 109.203.101.62 Connecting to pear.php.net (pear.php.net)|109.203.101.62|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3620797 (3,5M) Saving to: ‘pear/install-pear-nozlib.phar’ install-pear-nozlib.phar 100%[==================================>] 3,45M 3,43MB/s in 1,0s 2019-08-27 11:29:24 (3,43 MB/s) - ‘pear/install-pear-nozlib.phar’ saved [3620797/3620797] [PEAR] Archive_Tar - installed: 1.4.7 [PEAR] Console_Getopt - installed: 1.4.2 [PEAR] Structures_Graph- installed: 1.1.1 [PEAR] XML_Util - installed: 1.4.3 [PEAR] PEAR - installed: 1.10.9 Warning! a PEAR user config file already exists from a previous PEAR installation at '/home/nikic/.pearrc'. You may probably want to remove it. Wrote PEAR system config file at: /usr/local/etc/pear.conf You may want to add: /home/nikic/php-install/lib/php to your php.ini include_path [Tue Aug 27 11:29:25 2019] Script: '/home/nikic/php-7.4/pear/install-pear-nozlib.phar' /home/nikic/php-7.4/Zend/zend_objects.c(196) : Freeing 0x00007f8daac01000 (360 bytes), script=/home/nikic/php-7.4/pear/install-pear-nozlib.phar === Total 1 memory leaks detected === /home/nikic/php-7.4/build/shtool install -c ext/phar/phar.phar /home/nikic/php-install/bin ln -s -f phar.phar /home/nikic/php-install/bin/phar Installing PDO headers: /home/nikic/php-install/include/php/ext/pdo/ While that memory leak warning is concerning, I don't get an outright installation failure. ------------------------------------------------------------------------ [2019-08-27 09:14:45] l dot declercq at nuxwin dot com I've compiled PHP 7.4.0beta4 under Debian Stretch... Relevant options I'm using to make you able to reproduce: --disable-all --with-pear As I said, the "$php_shtool mkdir -p pear/scripts" statement is missing in the configure.ac. In previous PHP version, for instance, 5.6.40, there was such statement in the configure.in $php_shtool mkdir -p pear/scripts $php_shtool mkdir -p scripts $php_shtool mkdir -p scripts/man1 but now, only the two last remain. So, PEAR environnent installation is failing. recipe install-pear failed, without further explaination.. I searched to figure out that the statement for directory creation inside the build directory was missing. ------------------------------------------------------------------------ [2019-08-27 09:02:16] nikic@php.net What did you do and what error did you get...? ------------------------------------------------------------------------ [2019-08-27 08:59:55] l dot declercq at nuxwin dot com Description: ------------ The "$php_shtool mkdir -p pear/scripts" statement is not present in the configure.ac leading to PEAR installation failure. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=78460&edit=1

« previous php.bugs (#222432) next »