-
Notifications
You must be signed in to change notification settings - Fork 48
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
Killed: 9 #174
Comments
Hi @jebl01 Could you tell me how you installed the codeowners-validator? And which version? CI produces the ARM64 binary for macOS (with Apple Silicon chips) but I have Intel for now so I was not able to test it. The issue that you reported looks like the binary was wrongly compressed by Here is a binary that I built from 0.7.4 tag for darwin/arm64 without running the Let me know if that worked. If yes, I will exclude the You can also do the same on your local machine:
|
your zip didn't work (same error), but building locally did! got this error at the end?!:
|
Hey, I was able to build the binary in a Mac M1 and the result is the same
|
Same here, codeowners-validator version 0.7.4, running on Mac OS X Ventura 13.2, Apple M1 silicon. I installed via Homebrew: brew install mszostok/tap/codeowners-validator But I get: $ codeowners-validator
Killed: 9 Running it from Docker, the output is a bit more explicit as to the nature of the problem: $ docker run --rm -v $(pwd):/repo -w /repo -e REPOSITORY_PATH="." -e GITHUB_ACCESS_TOKEN="$GH_TOKEN" -e EXPERIMENTAL_CHECKS="notowned" -e OWNER_CHECKER_REPOSITORY="org-name/rep-name" mszostok/codeowners-validator:v0.7.4
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
qemu: uncaught target signal 11 (Segmentation fault) - core dumped I'm able to use the tool by checking out the repo and building it, though. $ git clone git@github.com:mszostok/codeowners-validator.git
$ make build
$ ./codeowners-validator |
I'm also experiencing this very same bug on Apple silicon chip. No hands on knowledge of go releaser but I feel the config could be updated to something similar to this one which provides a dedicated build entry for the Darwin/arm64 |
Yeah i'm getting the same issue on M2. WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
qemu: uncaught target signal 11 (Segmentation fault) - core dumped |
Looks like the file may have been corrupted when UPX was run on it here: codeowners-validator/.goreleaser.yml Line 22 in 84b4fa2
|
Calling out that this appears to still be an issue on a M2 that installed via brew. Interestingly, it works fine when installed with Go |
I'm on Apple silicon running Monterey 12.6 (21G115). The only thing that happens when I try to run
codeowners-validator
locally is that I get aKilled: 9
message.The text was updated successfully, but these errors were encountered: