#65396 closed defect (fixed)

minikube @1.25.2 can't get an arm64 build on Monterey

Reported by: DeCarabas (John Doty) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: monterey arm64 Cc:
Port: minikube

Description

minikube believes that it should be arm64, because if you port install minikube and then run it it warns you that you should be running the arm64 build instead of the x86_64 build. It's annoying.

I don't know why port install minikube installed the x86_64 version in the first place? I mean, my uninformed browse of the builds shows no arm64 builds for minikube, so that makes sense, but when I try to install it from source I get this error:

doty@Johns-MBP ~ > sudo port install -s minikube
Error: Cannot install minikube for the arch 'x86_64' because
Error: its dependency go is only installed for the arch 'arm64'
Error: and does not have a universal variant.
Error: Unable to execute port: architecture mismatch

...which is baffling to me.

Change History (4)

comment:1 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: minikube 1.25.2 can't get an arm64 build on Montereyminikube @1.25.2 can't get an arm64 build on Monterey

The minikube Portfile specifies:

# Hyperkit driver does not build on arm64
supported_archs     x86_64

comment:2 Changed 22 months ago by DeCarabas (John Doty)

Ahh, I see, but somehow they build official binary releases. I'm not installing the hyperkit variant, though... shouldn't the non-hyperkit version be made to build arm64?

Last edited 22 months ago by DeCarabas (John Doty) (previous) (diff)

comment:3 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: herbygillot removed
Owner: changed from lbschenkel to herbygillot

comment:4 Changed 22 months ago by herbygillot (Herby Gillot)

Resolution: fixed
Status: assignedclosed

In 9622c5ad52e42a458e4081ba71846f919d1c2cf9/macports-ports (master):

minikube: fix for arm64

Fixes: #65396

Note: See TracTickets for help on using tickets.