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

Cargo compilation of v2024.12.0 fails #3362

Closed
avysk opened this issue Dec 5, 2024 · 1 comment
Closed

Cargo compilation of v2024.12.0 fails #3362

avysk opened this issue Dec 5, 2024 · 1 comment
Labels

Comments

@avysk
Copy link
Contributor

avysk commented Dec 5, 2024

Describe the bug
I have v2024.11.37 installed via cargo install; and installation of v2024.12.0 via cargo fails with error[E0425]: cannot find value OS in this scope; the compiler complains about this: let tarball_name = format!("otp-{ARCH}-{OS}.tar.gz"); in erlang.rs. Same with compiling from git. Running on FreeBSD 14.2-RELEASE.

To Reproduce

cargo install mise

Expected behavior

Compilation succeeds.

mise doctor output

version: 2024.11.37 freebsd-x64 (2024-11-30)
activated: no
shims_on_path: yes

build_info:
  Target: x86_64-unknown-freebsd
  Features: DEFAULT, NATIVE_TLS
  Built: Sat, 30 Nov 2024 08:42:09 +0000
  Rust Version: rustc 1.83.0 (90b35a623 2024-11-26)
  Profile: release                                                          

shell:
  /usr/local/bin/bash
  GNU bash, version 5.2.37(0)-release (amd64-portbld-freebsd14.1)
  Copyright (C) 2022 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>                                                                                                                                                       This is free software; you are free to change and redistribute it.          There is NO WARRANTY, to the extent permitted by law.                                                                                                 dirs:                                                                         cache: ~/.cache/mise                                                        config: ~/.config/mise                                                      data: ~/.local/share/mise                                                   shims: ~/.local/share/mise/shims                                            state: ~/.local/state/mise

config_files:
  /usr~/.config/mise/config.toml

backends:
  aqua
  asdf
  cargo
  core
  gem
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:
  pipx  https://github.com/yozachar/asdf-pipx.git#81cb547

toolset:
  [...]

env_vars:
  (none)

settings:
  experimental  true /usr~/.config/mise/config.toml

1 problem found:

1. new mise version 2024.12.0 available, currently on 2024.11.37
@avysk avysk added the bug label Dec 5, 2024
@avysk
Copy link
Contributor Author

avysk commented Dec 5, 2024

I think PR #3363 fixes this.

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

No branches or pull requests

2 participants