aws-codebuild-docker-images
aws-codebuild-docker-images copied to clipboard
Failed to build aws/codebuild/standard:5.0 on Debian GNU/Linux 10 (buster) - PHP error
Describe the bug I tried to build aws/codebuild/standard:5.0 on a ubuntu 20.04 and also on an AWS EC2 Instance with Debian GNU/Linux 10 (buster) and I got both time the same error
Step to reproduce
- checkout
master(git sha282c6634e8c83c2a9841719b09aabfced3461981)
Logs
Alright!
| Execute:
| `phpenv commands` to see all you can do
| `phpenv help <command>` for information on a specific command
Removing intermediate container 55939ea98708
---> 119135d97efc
Step 71/133 : ENV PATH="/root/.phpenv/shims:/root/.phpenv/bin:$PATH"
---> Running in cd95d78496eb
Removing intermediate container cd95d78496eb
---> 308a121aca90
Step 72/133 : COPY tools/runtime_configs/php/$PHP_73_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_73_VERSION
---> 92a8b2a33ab7
Step 73/133 : RUN phpenv install $PHP_73_VERSION && rm -rf /tmp/* && phpenv global $PHP_73_VERSION
---> Running in 6fa1589a4e4d
[Info]: Loaded extension plugin
[Info]: Loaded apc Plugin.
[Info]: Loaded composer Plugin.
[Info]: Loaded github Plugin.
[Info]: Loaded uprofiler Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: Loaded zendopcache Plugin.
[Info]: php.ini-production gets used as php.ini
[Info]: Building 7.3.25 into /root/.phpenv/versions/7.3.25
[Downloading]: https://secure.php.net/distributions/php-7.3.25.tar.bz2
[Preparing]: /tmp/php-build/source/7.3.25
[Compiling]: /tmp/php-build/source/7.3.25
-----------------
| BUILD ERROR |
-----------------
Here are the last 10 lines from the log:
-----------------------------------------
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: ).
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: none, min: 204, excluded: ).
mkdir: cannot create directory 'ext/opcache/.libs': File exists
make: *** [Makefile:728: ext/pcre/pcre2lib/pcre2_match.lo] Error 1
make: *** Waiting for unfinished jobs....
-----------------------------------------
The full Log is available at '/tmp/php-build.7.3.25.20220425045928.log'.
[Warn]: Aborting build.
The command '/bin/sh -c phpenv install $PHP_73_VERSION && rm -rf /tmp/* && phpenv global $PHP_73_VERSION' returned a non-zero code: 2
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Platform (please complete the following information):
- Ubuntu 20.04
- Debian GNU/Linux 10 (buster)