Skip to content

mac build installer failed due to permission denied #55

Open
@lilyLuLiu

Description

macmini-crcqe-1:~ crcqe$ make -C vfkit all
CGO_ENABLED=1 CGO_CFLAGS=-mmacosx-version-min=11.0 GOOS=darwin GOARCH=amd64 go build -ldflags "-X github.com/crc-org/vfkit/pkg/cmdline.gitVersion=v0.6.0-39-gaa3cf4c" -o out/vfkit-amd64 ./cmd/vfkit
go: downloading go1.23.6 (darwin/amd64)
go: download go1.23.6: mkdir /Users/crcqe/go/pkg/mod/cache/download/golang.org/toolchain: permission denied
make: *** [out/vfkit-amd64] Error 1

Need to add sudo for this command.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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