Skip to content

Cannot install Python 3.8.2 on macOS ARM #163

@ghost

Description

Provide environment information

Details
% asdf info
OS:
Darwin rrosborough-mbp 22.5.0 Darwin Kernel Version 22.5.0: Thu Jun  8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000 arm64

SHELL:
zsh 5.9 (arm-apple-darwin22.3.0)

ASDF VERSION:
v0.11.3

ASDF ENVIRONMENT VARIABLES:


ASDF INSTALLED PLUGINS:
argocd                       git@github.com:beardix/asdf-argocd.git master 429bbf9
aws-iam-authenticator        git@github.com:stefansedich/asdf-aws-iam-authenticator.git master ac2668a
aws-vault                    git@github.com:virtualstaticvoid/asdf-aws-vault.git master 3b6bad6
awscli                       git@github.com:MetricMike/asdf-awscli.git main 0eaca73
bazel                        git@github.com:rajatvig/asdf-bazel.git master 1646dfd
crane                        git@github.com:dmpe/asdf-crane.git master f3bbaca
git                          git@github.com:john-cai/asdf-git.git main 68c702c
github-cli                   git@github.com:bartlomiejdanek/asdf-github-cli.git master e0605b7
golang                       git@github.com:kennyp/asdf-golang.git master 21d9c32
grpcurl                      git@github.com:asdf-community/asdf-grpcurl.git master 20ee022
helm-ct                      git@github.com:tablexi/asdf-helm-ct.git master 3e3ec87
helm                         git@github.com:Antiarchitect/asdf-helm.git master a39e17b
helmfile                     git@github.com:feniix/asdf-helmfile.git master 3f1681e
istioctl                     git@github.com:virtualstaticvoid/asdf-istioctl.git master 1e6d6f1
java                         git@github.com:halcyon/asdf-java master b9527cb
jsonnet                      git@github.com:Banno/asdf-jsonnet.git master dd36d21
k6                           git@github.com:grimoh/asdf-k6.git master af7ee53
kind                         git@github.com:johnlayton/asdf-kind.git master 4b6ed61
kops                         git@github.com:Antiarchitect/asdf-kops.git master 1b00fe1
krew                         git@github.com:jimmidyson/asdf-krew.git main bcbe4d9
kubectl                      git@github.com:asdf-community/asdf-kubectl.git master cbe6df4
kustomize                    git@github.com:Banno/asdf-kustomize.git master 2efaa38
linkerd                      git@github.com:vaynerx/asdf-linkerd.git master eb84185
loki-logcli                  git@github.com:agirardguittard-plaid/asdf-loki-logcli master f76b77c
mysql                        git@github.com:iroddis/asdf-mysql.git master 8e766a9
nodejs                       git@github.com:asdf-vm/asdf-nodejs.git master 4f8aa3d
packer                       git@github.com:asdf-community/asdf-hashicorp.git master c44c314
poetry                       git@github.com:asdf-community/asdf-poetry.git master 0e01dab
python                       git@github.com:danhper/asdf-python.git master 8505457
ruby                         git@github.com:asdf-vm/asdf-ruby.git master 7299779
rust                         git@github.com:asdf-community/asdf-rust.git master 8436012
shellcheck                   git@github.com:luizm/asdf-shellcheck.git master b160a52
shfmt                        git@github.com:luizm/asdf-shfmt.git master a42c5ff
sops                         git@github.com:feniix/asdf-sops.git master 954411c
terraform                    git@github.com:asdf-community/asdf-hashicorp.git master c44c314
tflint                       git@github.com:skyzyx/asdf-tflint master 37e7eb9
tilt                         git@github.com:virtualstaticvoid/asdf-tilt.git master c4ad62a
velero                       git@github.com:looztra/asdf-velero.git master 1ebf994
yarn                         git@github.com:twuni/asdf-yarn.git main 376c540
yq                           git@github.com:sudermanjr/asdf-yq.git master 772992f

To Reproduce

asdf install python 3.8.2

Describe the Bug

Installation errors out on the openssl build step:

% asdf install python 3.8.2
python-build 3.8.2 /Users/rrosborough/.asdf/installs/python/3.8.2
Downloading openssl-1.1.0j.tar.gz...
-> https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz
Installing openssl-1.1.0j...

BUILD FAILED (OS X 13.4.1 using python-build 2.3.23-1-g8aabba94)

Inspect or clean up the working tree at /var/folders/zl/gg4dq_zj6292dsmb17fhmh4h0000gp/T/python-build.20230727071815.55209
Results logged to /var/folders/zl/gg4dq_zj6292dsmb17fhmh4h0000gp/T/python-build.20230727071815.55209.log

Last 10 log lines:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(ecp_nistp521.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(ecp_nistputil.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(e_rc5.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(m_md2.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(rand_egd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(rand_vms.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(rand_win.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(threads_none.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libcrypto.a(threads_win.o) has no symbols
make: *** [all] Error 2

Log file here. Notice:

Operating system: i686-apple-darwinDarwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000
Configuring for darwin-i386-cc

Why is asdf-python thinking that my architecture is i386 instead of arm64?

Expected Behaviour

Installing python 3.8.2 should work with default settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions