Zilliqa / scilla

Scilla - A Smart Contract Intermediate Level Language
https://scilla-lang.org
GNU General Public License v3.0
241 stars 79 forks source link

the changes without b64 stuff #1245

Closed n-hutton closed 3 months ago

n-hutton commented 5 months ago

The dockerfile constraint is to enable building on M1 mac. It specifies that docker use a multi architecture base image. The error otherwise is:


4.137  45900K .......... .......... .......... .......... .......... 99% 2.02M 0s
4.161  45950K .......... ..                                         100%  122M=3.0s
4.161
4.161 2024-02-01 12:49:00 (14.8 MB/s) - 'cmake-3.24.2-Linux-x86_64.sh' saved [47065091/47065091]
4.161
4.210 CMake Installer Version: 3.24.2, Copyright (c) Kitware
4.210 This is a self-extracting archive.
4.211 The archive will be extracted to: /root/.local/
4.211
4.211 Using target directory: /root/.local/
4.211 Extracting, please wait...
4.211
5.272 Unpacking finished successfully
5.278 qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
------
Dockerfile:52
--------------------
  51 |     ARG CMAKE_VERSION=3.24.2
  52 | >>> RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh \
  53 | >>>     && mkdir -p "${HOME}"/.local \
  54 | >>>     && bash ./cmake-${CMAKE_VERSION}-Linux-x86_64.sh --skip-license --prefix="${HOME}"/.local/ \
  55 | >>>     && "${HOME}"/.local/bin/cmake --version \
  56 | >>>     && rm cmake-${CMAKE_VERSION}-Linux-x86_64.sh
  57 |     ENV PATH="/root/.local/bin:${PATH}"
--------------------
ERROR: failed to solve: process "/bin/sh -c wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh     && mkdir -p \"${HOME}\"/.local     && bash ./cmake-${CMAKE_VERSION}-Linux-x86_64.sh --skip-license --prefix=\"${HOME}\"/.local/     && \"${HOME}\"/.local/bin/cmake --version     && rm cmake-${CMAKE_VERSION}-Linux-x86_64.sh" did not complete successfully: exit code: 255