0.01s0.02s$ phpenv global 7.4 2>/dev/null
7.4 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-7.4.tar.bz2
11.41s$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
0.01s0.02s$ phpenv global 7.4
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
0.05s$ composer self-update
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
$ php --version
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
$ composer --version
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
0.05s$ php --version
php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such file or directory
The command "php --version" exited with 127.
@chripu Yeah it only solved for one of my projects
Travis support has got back to me with this
Hello,
Thank you for reaching out! I will happily assist you.
We have already raised this issue to related team and started working on it. For such cases using dist: bionic works as a workaround, however we will try to fix this issue on dist: xenial images as well.
Thank you for your patience I am sorry about the delay on this issue.
We are experiencing exactly the same build issues/errors. Iâve sent Travis support an email to ask them for status on this - Iâm still waiting for a response.
Does anyone else have an ETA on this from Travis support?
Yesterday when I submitted a Support ticket with Travis, they replied back with this âwork aroundâ:
We have raised this case to the related team and started working on it. Could you please try with dist: bionic as a workaround for now while we fix this issue fordist: xenial image?
Other than that, I havenât heard if this is going to be resolved anytime soon.
âBuilds are failing on Travis due to a missing package for php 7.4.28 on the xenial distro. For now we hardcoded a value of php 7.4.22 on the .travis.yml field. This workaround helped us build the artifacts/PRs on Travisâ
Weâre hoping that Travis support has a resolution soon on this.