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]: fail to install [email protected] #332

Closed
Dandjinh opened this issue Aug 2, 2024 · 4 comments
Closed

[BUG]: fail to install [email protected] #332

Dandjinh opened this issue Aug 2, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Dandjinh
Copy link

Dandjinh commented Aug 2, 2024

Version

NAME:
   vfox - vfox is a tool for runtime version management.

USAGE:
   vfox [command] [command options]

VERSION:
   0.5.4

OS
Debian 12

Describe the bug

Preinstalling [email protected]...
Downloading... 100% [===================================================================================================================================================================================] (1.2 MB/s)
Verifying checksum ...
WARNING: Checksum is not provided, skip verify...
Unpacking /home/dandjinh/.version-fox/cache/clang/pixi-x86_64-unknown-linux-musl.tar.gz...
  × 'clang=18.1.8' is not a valid package name. Package names can only contain 0-9, a-z, A-Z, -, _, or .

Failed to execute command: /home/dandjinh/.version-fox/cache/clang/v-18.1.8/clang-18.1.8/pixi global install -qc conda-forge clang=18.1.8
@Dandjinh Dandjinh added the bug Something isn't working label Aug 2, 2024
@yanecc
Copy link
Contributor

yanecc commented Aug 2, 2024

Thank you for the report. This is because the vfox-clang plugin uses pixi for installation, and it's an error from the current pixi, which should be fixed soon in the next version.
prefix-dev/pixi#1685

@Dandjinh
Copy link
Author

Dandjinh commented Aug 3, 2024

@yanecc thanks! BTW, is there any temporary solutions to get pass the problem or just wait for the next version of the clang plugin?

@yanecc
Copy link
Contributor

yanecc commented Aug 3, 2024

The vfox-clang plugin is expected to resume working when the next pixi release is available, so it may not be updated. As for the temporary solution, of course, that is to use the working version of pixi. You can modify the lib/util.lua file in the vfox-clang plugin directory and change the following line

https://github.com/version-fox/vfox-clang/blob/0223d250fd59061ce9ec1752d69de40eea894191/lib/util.lua#L99

to: file = releaseURL .. "download/v0.25.0/" .. file. Then it can work now.

@Dandjinh
Copy link
Author

Dandjinh commented Aug 3, 2024

file = releaseURL .. "download/v0.25.0/" .. file works fine, thanks a lot.

@Dandjinh Dandjinh closed this as completed Aug 3, 2024
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