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

[BUG] FreeBSD reporting unsupported system for Zig #77

Open
Korab-Doroci opened this issue Apr 12, 2024 · 4 comments
Open

[BUG] FreeBSD reporting unsupported system for Zig #77

Korab-Doroci opened this issue Apr 12, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Korab-Doroci
Copy link

Describe the bug
Using NomadBSD which is a freeBSD derivative zvm returns unsupported system even though I can install zig perfectly fine using pkg.

To Reproduce

  1. Run zvm install master
  2. See error: unsupported system for Zig

Expected behavior
To install zig

Screenshots
error

Desktop (please complete the following information):

  • OS: NomadBSD
  • Architecture amd64
  • Version 140R-20240126

Configuration:

  • VMU (Version Map URL) default and mach

Additional context
NomadBSD is a live os, hense im booting from a usb.

@tristanisham
Copy link
Owner

Hey @Korab-Doroci, thanks for reporting this issue. I'll take a look into it. Obviously this is expected behavior. What version of zvm are you using?

@tristanisham tristanisham changed the title [BUG] [BUG] FreeBSD reporting unsupported system for Zig Apr 23, 2024
@tristanisham tristanisham self-assigned this Apr 23, 2024
@tristanisham tristanisham added the bug Something isn't working label Apr 23, 2024
@tristanisham
Copy link
Owner

Could you please run ZVM_DEBUG=true zvm i master and upload the output?

@tristanisham
Copy link
Owner

So when I first saw this, I didn't notice you weren't using an unsupported platform. ZVM uses Go's wide platform support and translates

aix/ppc64
android/386
android/amd64
android/arm
android/arm64
darwin/amd64
darwin/arm64
dragonfly/amd64
freebsd/386
freebsd/amd64
freebsd/arm
freebsd/arm64
freebsd/riscv64
illumos/amd64
ios/amd64
ios/arm64
js/wasm
linux/386
linux/amd64
linux/arm
linux/arm64
linux/loong64
linux/mips
linux/mips64
linux/mips64le
linux/mipsle
linux/ppc64
linux/ppc64le
linux/riscv64
linux/s390x
netbsd/386
netbsd/amd64
netbsd/arm
netbsd/arm64
openbsd/386
openbsd/amd64
openbsd/arm
openbsd/arm64
openbsd/ppc64
plan9/386
plan9/amd64
plan9/arm
solaris/amd64
wasip1/wasm
windows/386
windows/amd64
windows/arm
windows/arm64

I'll add some new functionality to allow user's to specify their install manually regardless of the consequences.
@Korab-Doroci it'll be worked on in the user-spec-install branch.

@Korab-Doroci
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants