You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2023/09/13 21:10:00 UTC

[jira] [Updated] (CASSANDRA-18850) Building a Cassandra website fails when running on arm64

     [ https://issues.apache.org/jira/browse/CASSANDRA-18850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Muzafarov updated CASSANDRA-18850:
----------------------------------------
    Component/s: Documentation/Website

> Building a Cassandra website fails when running on arm64
> --------------------------------------------------------
>
>                 Key: CASSANDRA-18850
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18850
>             Project: Cassandra
>          Issue Type: Task
>          Components: Documentation/Website
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>
> It seems to me that building a Cassandra website is not supported when running on arm64 (tested on Mac M1). Running the build command throws the following exceptions below. 
> Docker Version 4.23.0 (120376), the experimental feature "use Rosetta for x86/amd64 emulation on Apple Silicon" is enabled.
> {code:java}
> m@m1 cassandra-website % ./run.sh website build
> Server Docker Engine version: 20.10.21
> Executing docker command:
> docker build -f ./site-content/Dockerfile -t apache/cassandra-website:latest  ./site-content/
> [+] Building 7.2s (12/23)                                                                                                                                                                                                                                                                                               
>  => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                                               0.0s
>  => => transferring dockerfile: 5.03kB                                                                                                                                                                                                                                                                             0.0s
>  => [internal] load .dockerignore                                                                                                                                                                                                                                                                                  0.0s
>  => => transferring context: 2B                                                                                                                                                                                                                                                                                    0.0s
>  => [internal] load metadata for docker.io/library/ubuntu:18.04                                                                                                                                                                                                                                                    0.6s
>  => [ 1/19] FROM docker.io/library/ubuntu:18.04@sha256:152dc042452c496007f07ca9127571cb9c29697f42acbfad72324b2bb2e43c98                                                                                                                                                                                            0.0s
>  => [internal] load build context                                                                                                                                                                                                                                                                                  0.0s
>  => => transferring context: 42B                                                                                                                                                                                                                                                                                   0.0s
>  => CACHED [ 2/19] RUN echo "Building with arguments:"     && echo " - BUILD_USER_ARG=build"     && echo " - UID_ARG=1000"     && echo " - GID_ARG=1000"     && echo " - NODE_VERSION_ARG=v12.16.2"     && echo " - ENTR_VERSION_ARG=4.6"                                                                          0.0s
>  => CACHED [ 3/19] RUN apt update &&     apt install -y         openjdk-8-jdk         openjdk-11-jdk         python3         python3-pip         ant         ant-optional         make         git         gpg         wget         sudo                                                                           0.0s
>  => CACHED [ 4/19] RUN apt-get install -y python-markupsafe                                                                                                                                                                                                                                                        0.0s
>  => [ 5/19] RUN apt-get install -y python-jinja2                                                                                                                                                                                                                                                                   2.0s
>  => [ 6/19] RUN pip3 install requests                                                                                                                                                                                                                                                                              1.9s
>  => [ 7/19] RUN wget https://nodejs.org/download/release/v12.16.2/node-v12.16.2-linux-x64.tar.gz &&     tar -C /usr/local --strip-components 1 -xzf node-v12.16.2-linux-x64.tar.gz &&     rm node-v12.16.2-linux-x64.tar.gz                                                                                        2.4s 
>  => ERROR [ 8/19] RUN npm i -g @antora/cli@2.3 @antora/site-generator-default@2.3 @djencks/asciidoctor-openblock                                                                                                                                                                                                   0.3s 
> ------                                                                                                                                                                                                                                                                                                                  
>  > [ 8/19] RUN npm i -g @antora/cli@2.3 @antora/site-generator-default@2.3 @djencks/asciidoctor-openblock:                                                                                                                                                                                                              
> #11 0.304 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory                                                                                                                                                                                                                          
> ------                                                                                                                                                                                                                                                                                                                  
> executor failed running [/bin/sh -c npm i -g @antora/cli@2.3 @antora/site-generator-default@2.3 @djencks/asciidoctor-openblock]: exit code: 255                                                                                                                                                                         
> Error: No such object: apache/cassandra-website:latest
> {code}
> {code:java}
> entr: cannot create kqueue: Function not implemented
> https://docs.docker.com/desktop/troubleshoot/known-issues/
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org