[GH-ISSUE #481] Know reason of extension not installed #331

Closed
opened 2026-03-01 21:42:26 +03:00 by kerem · 1 comment
Owner

Originally created by @llaville on GitHub (Jan 16, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/481

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
Originally created by @llaville on GitHub (Jan 16, 2021). Original GitHub issue: https://github.com/nektos/act/issues/481 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 ```
kerem 2026-03-01 21:42:26 +03:00
  • closed this issue
  • added the
    stale
    label
Author
Owner

@github-actions[bot] commented on GitHub (Feb 16, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:779507210 --> @github-actions[bot] commented on GitHub (Feb 16, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#331
No description provided.