Bug #78460 [Asn->Fbk]: PEAR installation failure

From: Date: Wed, 28 Aug 2019 02:12:40 +0000
Subject: Bug #78460 [Asn->Fbk]: PEAR installation failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222452@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
 Updated by:         petk@php.net
 Reported by:        l dot declercq at nuxwin dot com
 Summary:            PEAR installation failure
-Status:             Assigned
+Status:             Feedback
 Type:               Bug
 Package:            *General Issues
 Operating System:   debian
 PHP Version:        7.4.0beta4
 Assigned To:        petk
 Block user comment: N
 Private report:     N

 New Comment:

> also in context of reproduceable builds it's a no-go

Then this particular issue is resolved?


Previous Comments:
------------------------------------------------------------------------
[2019-08-28 02:06:37] phpbugreports at gmail dot com

not that i really care about pear but are you people aware that downloads from the web are a no-go
for linux distributions? Fedora koji/mock just don't have internet access at all when building
packages for good reasons

also in context of reproduceable builds it's a no-go

------------------------------------------------------------------------
[2019-08-28 01:44:26] petk@php.net

Hello, maybe we can get a reproducible procedure here... So basically, this:

    docker run -it --rm debian bash
    cd /opt
    apt update && apt install -y wget make gcc xz-utils libxml2-dev pkgconfig
    wget https://downloads.php.net/~derick/php-7.4.0beta4.tar.xz
    tar -xvf php-7.4.0beta4.tar.xz
    cd php-7.4.0beta4
    ./configure --disable-all --enable-xml --with-libxml --with-pear
    make -j$(nproc)
   make install
   which pear
   pear version

This works ok. Yes? The warnings seem to be addressed in the pull request in the pear repo by Nikic
now...

The line that has been removed in PHP 7.4 in configure.ac is not relevant since there is a packaged
phar file appended in the php release download or it is downloaded from the remote location when
using Git. This script directory was once part of the PEAR bundled files installation (not packaged
into a PHAR single file).

------------------------------------------------------------------------
[2019-08-27 10:24:46] l dot declercq at nuxwin dot com

So, the issue is about the release manager, or your release tool which has put the archive in the
7.0.4beta4 distribution... A choice need to be made here, either your remove the statement and so,
the installer is always downloaded, either you provide the installer as a part of the distribution.

From my point of view, you should revert back because:

1. Some changes in the installer could break a released version
2. An network problem could arrise, making the installer unavailable for download...

------------------------------------------------------------------------
[2019-08-27 10:16:39] nikic@php.net

Removed in https://github.com/php/php-src/commit/00db0e7a0424ef23086557de1a1eda070596f05e.

------------------------------------------------------------------------
[2019-08-27 10:08:54] l dot declercq at nuxwin dot com

See also https://github.com/php/php-src/blob/PHP-7.3/configure.ac#L1569
(statement was here)...

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=78460


--
Edit this bug report at https://bugs.php.net/bug.php?id=78460&edit=1


Thread (23 messages)

« previous php.bugs (#222452) next »