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

cf install-plugin fails on MacOS #19

Open
palfvin opened this issue May 17, 2023 · 1 comment
Open

cf install-plugin fails on MacOS #19

palfvin opened this issue May 17, 2023 · 1 comment

Comments

@palfvin
Copy link

palfvin commented May 17, 2023

On MacOS 13.3.1 (a), cf install-plugin fails.

Here's the error on an x86 machine:

Starting download of plugin binary from repository CF-Community...
 10.42 MiB / 10.42 MiB [============================================] 100.00% 1s
 fatal error: runtime: bsdthread_register error

runtime stack:
runtime.throw(0x142f264, 0x21)
	/home/travis/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:619 +0x81 fp=0x7ff7bfeff578 sp=0x7ff7bfeff558 pc=0x1029401
runtime.goenvs()
	/home/travis/.gimme/versions/go1.10.linux.amd64/src/runtime/os_darwin.go:129 +0x83 fp=0x7ff7bfeff5a8 sp=0x7ff7bfeff578 pc=0x1026f83
runtime.schedinit()
	/home/travis/.gimme/versions/go1.10.linux.amd64/src/runtime/proc.go:496 +0xa4 fp=0x7ff7bfeff600 sp=0x7ff7bfeff5a8 pc=0x102bcc4
runtime.rt0_go(0x7ff7bfeff630, 0x3, 0x7ff7bfeff630, 0x1000000, 0x3, 0x7ff7bfeff848, 0x7ff7bfeff87d, 0x7ff7bfeff883, 0x0, 0x7ff7bfeff890, ...)
	/home/travis/.gimme/versions/go1.10.linux.amd64/src/runtime/asm_amd64.s:252 +0x1f4 fp=0x7ff7bfeff608 sp=0x7ff7bfeff600 pc=0x1052544
exit status 2
File is not a valid cf CLI plugin binary.
FAILED

Here's the error on an M1 machine:

Starting download of plugin binary from repository CF-Community...
 10.42 MiB / 10.42 MiB [===========================================================================] 100.00% 0s
signal: segmentation fault
File is not a valid cf CLI plugin binary.
FAILED
@andreasf
Copy link
Owner

Hi @palfvin, can you check if the latest release works for you?

It is not yet available through the repository, but you can download it from the releases page.

The plugin repository mechanism only supports the amd64 architecture for Mac OS, but the binary should transparently run on M1.

After downloading, run:

cf install-plugin ~/Downloads/cf-mysql-plugin-darwin-amd64

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