Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Docker build fail on MacOS 12 on Apple Silicon (M1) #116

Description

@cryoff

I have cloned the repo and just start ./BuildDockerImage.sh (does not matter if executing with or without sudo). No matter which terminal I use (zsh or fish in my case) - it fails with

#20 71.37     Traceback (most recent call last):
#20 71.37       File "<string>", line 1, in <module>
#20 71.37       File "/tmp/pip-build-5basj87q/cryptography/setup.py", line 14, in <module>
#20 71.37         from setuptools_rust import RustExtension
#20 71.37     ModuleNotFoundError: No module named 'setuptools_rust'
#20 71.37
#20 71.37     ----------------------------------------
#20 71.59 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5basj87q/cryptography/
------
executor failed running [/bin/sh -c if [ "$jenkinsbuild" = "true" ] ; then         sudo pip3 install -r requirements.txt -r requirements_test.txt ;     else         sudo pip3 install -r requirements.txt ;     fi     && sudo python3 install.py --unassisted --shell bash]: exit code: 1

image

shell

  • OS: macOS 12.1 (21C52)
  • Shell: zsh or fish

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions