Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew install linuxkit fails on macOS 11.3.1, Homebrew 3.1.5 #18

Open
jfoy opened this issue May 6, 2021 · 2 comments
Open

brew install linuxkit fails on macOS 11.3.1, Homebrew 3.1.5 #18

jfoy opened this issue May 6, 2021 · 2 comments

Comments

@jfoy
Copy link

jfoy commented May 6, 2021

local:~ $ brew tap linuxkit/linuxkit
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from 684505b55 to 3e3276260.
==> Tapping linuxkit/linuxkit
Cloning into '/usr/local/Homebrew/Library/Taps/linuxkit/homebrew-linuxkit'...
remote: Enumerating objects: 92, done.
remote: Total 92 (delta 0), reused 0 (delta 0), pack-reused 92
Receiving objects: 100% (92/92), 18.43 KiB | 1.42 MiB/s, done.
Resolving deltas: 100% (36/36), done.
Tapped 4 formulae (33 files, 53.0KB).
local:~ $ brew install linuxkit
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 19 formulae.
==> Updated Casks
Updated 3 casks.

==> Installing linuxkit from linuxkit/linuxkit
==> Downloading https://github.com/linuxkit/linuxkit/archive/v0.6.tar.gz
==> Downloading from https://codeload.github.com/linuxkit/linuxkit/tar.gz/v0.6
            -#O=-#     #     #
==> make local-build
Last 15 lines from ~/Library/Logs/Homebrew/linuxkit/01.make:
2021-05-05 22:31:39 -0700

make
local-build

mkdir -p bin
fatal: not a git repository (or any of the parent directories): .git
CGO_ENABLED=0 go build -o bin/linuxkit --ldflags "-X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.GitCommit= -X github.com/linuxkit/linuxkit/src/cmd/linuxkit/version.Version="v0.6"" github.com/linuxkit/linuxkit/src/cmd/linuxkit
no required module provides package github.com/linuxkit/linuxkit/src/cmd/linuxkit: go.mod file not found in current directory or any parent directory; see 'go help modules'
make: *** [local-static] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/linuxkit/homebrew-linuxkit/issues

local:~ $ brew --version
Homebrew 3.1.5-78-g3e32762
Homebrew/homebrew-core (git revision b656f2042d; last commit 2021-05-06)
Homebrew/homebrew-cask (git revision 39ec1230fc; last commit 2021-05-06)
local:~ $
@mar-io
Copy link

mar-io commented Aug 13, 2021

try this: brew install --HEAD linuxkit

@jfoy
Copy link
Author

jfoy commented Aug 25, 2021

brew install --HEAD linuxkit succeeds, thanks. Whatever change unblocked this happened on master since v0.8; I suspect it's 93ada489f9c07e3a5e21d5556262020a89f4fe86 , but haven't done a git bisect to prove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants