You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2024/04/05 17:10:00 UTC

[jira] [Created] (AVRO-3971) [Build] PHP failing on ubertool build.

Ryan Skraba created AVRO-3971:
---------------------------------

             Summary: [Build] PHP failing on ubertool build.
                 Key: AVRO-3971
                 URL: https://issues.apache.org/jira/browse/AVRO-3971
             Project: Apache Avro
          Issue Type: Bug
    Affects Versions: 1.12.0
            Reporter: Ryan Skraba


The base image ubuntu:22.04 now comes pre-installed with 8.x while the local docker build still requires 7.4.

During the docker image build:
{code}
ERROR: failed to solve: process "/bin/sh -c mkdir tmp && cd tmp  && git clone --recursive --depth=1 https://github.com/kjdev/php-ext-zstd.git  && cd php-ext-zstd  && phpize  && ./configure  && make  && make install  && echo \"extension=zstd.so\" > /etc/php/${PHP7_VERSION}/cli/conf.d/10-zstd.ini  && cd .. && rm -rf php-ext-zstd  && git clone --recursive --depth=1 https://github.com/kjdev/php-ext-snappy.git  && cd php-ext-snappy  && phpize  && ./configure  && make  && make install  && echo \"extension=snappy.so\" > /etc/php/${PHP7_VERSION}/cli/conf.d/10-snappy.ini  && cd .. && rm -rf php-ext-snappy  && php -m  && apt-get -qqy clean" did not complete successfully: exit code: 2
{code}

The specific problem looks like {{the /etc/php/7.4/cli/conf.d}} directory doesn't exist.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)