Open lbussell opened 1 year ago
we may follow #929 that fixed Debian 11 on arm32. We may do the same for Debian 12. It also may not be needed since Debian 12 has newer rush e.g. the old pattern may just work.
I'm seeing this issue blocking alpine arm32 images now -
> [3/7] RUN apk update && apk add --no-cache && apk add cargo libffi-dev linux-headers python3-dev openssl-dev && ln -sf /usr/bin/python3 /usr/bin/python && curl https://bootstrap.pypa.io/get-pip.py -o ./get-pip.py --fail --silent --show-error && python3 ./get-pip.py && rm ./get-pip.py && python3 -m pip install --upgrade pip==22.2.2 && python3 -m pip install virtualenv==20.16.5 && pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && pip install ./helix_scripts-*-py3-none-any.whl && apk del cargo libffi-dev linux-headers python3-dev openssl-dev:
#6 47.17 running build_rust
#6 47.17 error: Rust 1.60.0 does not match extension requirement >=1.63.0
#6 47.17 [end of output]
#6 47.17
#6 47.17 note: This error originates from a subprocess, and is likely not a problem with pip.
#6 47.17 ERROR: Failed building wheel for cryptography
#6 47.17 Successfully built psutil pycparser
#6 47.17 Failed to build cryptography
#6 47.17 ERROR: Could not build wheels for cryptography, which is required to install pyproject.toml-based projects
#6 47.21 WARNING: There was an error checking the latest version of pip.
I think we should probably disable that image to unblock other builds.
In https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/897, unrelated to the PR's changes, the Raspbian and Debian Helix stages failed to build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=343439&view=logs&j=3269ed96-e1ee-5791-373d-a55e5a2175a9&t=6d9bf06a-e7bf-5504-6e26-c5b767fa7b88
The specific error is:
It seems that the Helix install script doesn't respect the
CRYPTOGRAPHY_DONT_BUILD_RUST
environment variable that has been set:https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/af784859c2a9daa4322f2d6d0750f644cedd08d0/src/debian/11/helix/arm32v7/Dockerfile#L50-L57
cc @riarenas @garath @missymessa