Skip to content

Know reason of extension not installed #481

@llaville

Description

@llaville

Hello,

I'm using version 0.2.17 instead of 0.2.18 (because I've more issue with it).
I try to install many php modudes and pecl extensions, and some of them could not be installed.

Is it possible to add a way, in verbose mode to learn more on installation failure ?

With such command act -P ubuntu-18.04=shivammathur/node:bionic -v when running workflow available at https://github.com/llaville/php-compatinfo-db/blob/master/.github/workflows/php-tests.yaml

and with settings ( shivammathur/setup-php@v2 )

    env:
                    fail-fast: true

I got very limited output :

[Tests/Test PHP 8 on ubuntu-18.04] Exec command '[node /actions/shivammathur-setup-php@v2/dist/index.js]'
| [command]/bin/bash /opt/hostedtoolcache/linux.sh 8.0 /actions/shivammathur-setup-php@v2/dist
|
| ==> Setup PHP
| ✓ PHP Found PHP 8.0.0
|
| ==> Setup Tools
| ✓ composer Added composer 2.0.8
|
| ==> Setup Extensions
| ✓ amqp Installed and enabled
| ✓ apcu Installed and enabled
| ✓ ast Installed and enabled
| ✓ bcmath Installed and enabled
| ✓ bz2 Installed and enabled
| ✓ calendar Enabled
| ✓ core Enabled
| ✓ ctype Enabled
| ✓ curl Enabled
| ✓ date Enabled
| ✓ dom Enabled
| ✓ enchant Installed and enabled
| ✓ exif Enabled
| ✓ fileinfo Enabled
| ✓ filter Enabled
| ✓ ftp Enabled
| ✓ gd Installed and enabled
| ✓ gettext Enabled
| ✓ gmp Installed and enabled
| ✓ hash Enabled
| ✓ iconv Enabled
| ✓ igbinary Installed and enabled
| ✓ imagick Installed and enabled
| ✓ imap Installed and enabled
| ✓ intl Enabled
| ✓ json Enabled
| ✓ ldap Installed and enabled
| ✓ libxml Enabled
| ✓ lzf Installed and enabled
| ✓ mailparse Installed and enabled
| ✓ mbstring Enabled
| ✓ memcache Installed and enabled
| ✓ memcached Installed and enabled
| ✓ msgpack Enabled
| ✓ mysql Enabled
| ✓ mysqli Enabled
| ✓ oauth Installed and enabled
| ✓ oci8 Installed and enabled
[Tests/Test PHP 8 on ubuntu-18.04]   ❓  ::group::oci8 Click to read the oci8 related license information
| Oracle Instant Client package is required for oci8 extension.
| It is provided under the Oracle Technology Network Development and Distribution License.
| Refer to: https://www.oracle.com/downloads/licenses/instant-client-lic.html
[Tests/Test PHP 8 on ubuntu-18.04]   ❓  ::endgroup::
| ✓ opcache Enabled
| ✓ openssl Enabled
| ✓ pcntl Enabled
| ✓ pcre Enabled
| ✓ pdo Enabled
| ✓ pgsql Enabled
| ✓ phar Enabled
| ✓ posix Enabled
| ✓ raphf Installed and enabled
| ✗ pecl_http Could not install pecl_http on PHP 8.0.0
[Tests/Test PHP 8 on ubuntu-18.04]   ❗  ::error::The process '/bin/bash' failed with exit code 1
[Tests/Test PHP 8 on ubuntu-18.04]   ❌  Failure - Setup PHP
DEBU[0253] exit with `FAILURE`: 1
DEBU[0253] exit with `FAILURE`: 1
DEBU[0253] exit with `FAILURE`: 1
DEBU[0253] exit with `FAILURE`: 1
DEBU[0253] exit with `FAILURE`: 1
DEBU[0253] exit with `FAILURE`: 1
Error: exit with `FAILURE`: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions