younke / asdf-sourcery

MIT License
1 stars 0 forks source link

Installation of Sourcery 2.1.4 with mise fails #1

Closed jgongo closed 5 months ago

jgongo commented 9 months ago

Describe the bug

The installation of Sourcery 2.1.4 with mise fails with the following error:

asdf-sourcery: Expected /Users/jgonzalez/.local/share/mise/installs/sourcery/2.1.4/bin/sourcery to be executable.
asdf-sourcery: An error ocurred while installing sourcery 2.1.4.
mise ~/.local/share/mise/plugins/sourcery/bin/install exited with non-zero status: exit code 1
mise Run with --verbose or MISE_VERBOSE=1 for more information

Steps to reproduce

mise install sourcery@2.1.4

Expected behavior

Sourcery should be properly installed when the command finishes running. Please note that this problem doesn't appear with Sourcery 2.1.3, which can be properly installed using the same command:

mise install sourcery@2.1.3

Additional context

Running mise doctor doesn't show any error:

mise doctor ouput ``` mise version: 2024.1.24 macos-arm64 (de37513 2024-01-20) build: Target: aarch64-apple-darwin Features: DEFAULT, NATIVE_TLS, OPENSSL Built: Sat, 20 Jan 2024 02:49:42 +0000 Rust Version: rustc 1.75.0 (82e1608df 2023-12-21) Profile: release shell: /bin/zsh zsh 5.9 (x86_64-apple-darwin23.0) mise data directory: /Users/jgonzalez/.local/share/mise mise environment variables: MISE_SHELL=zsh settings: { "activate_aggressive": false, "all_compile": false, "always_keep_download": false, "always_keep_install": false, "asdf_compat": false, "cargo_binstall": true, "color": true, "disable_default_shorthands": false, "disable_tools": [], "experimental": false, "jobs": 4, "legacy_version_file": true, "legacy_version_file_disable_tools": [], "node_compile": false, "not_found_auto_install": true, "paranoid": false, "plugin_autoupdate_last_check_duration": "7d", "python_compile": false, "python_default_packages_file": "/Users/jgonzalez/.default-python-packages", "python_patch_url": null, "python_precompiled_os": null, "python_patches_directory": null, "python_precompiled_arch": null, "python_pyenv_repo": "https://github.com/pyenv/pyenv.git", "python_venv_auto_create": false, "raw": false, "shorthands_file": null, "task_output": null, "trusted_config_paths": [], "quiet": false, "verbose": false, "yes": false, "ci": false, "cd": null, "debug": false, "env_file": null, "trace": false, "log_level": "info" } config files: ~/.config/mise/config.toml plugins: bun (core) deno (core) go (core) java (core) node (core) python (core) ruby (core) scala https://github.com/asdf-community/asdf-scala.git#6de4edb sourcery https://github.com/younke/asdf-sourcery.git#1ddd8f1 tuist https://github.com/asdf-community/asdf-tuist.git#0b8a7dd toolset: java@temurin-21, ruby@3.3, scala@latest, tuist@latest No problems found ```
jgongo commented 8 months ago

I just installed 2.1.7 and it worked properly. Maybe some problem with that specific Sourcery release?

younke commented 5 months ago

@jgongo yeah, probably something with executable itself or mise checking routine

* Downloading sourcery release 2.1.4...
Archive:  /Users/username/.local/share/mise/installs/sourcery/2.1.4/sourcery-2.1.4.zip
   creating: /Users/username/.local/share/mise/installs/sourcery/2.1.4/sourcery-2.1.4/
  inflating: /Users/username/.local/share/mise/installs/sourcery/2.1.4/sourcery-2.1.4/LICENSE  
   creating: /Users/username/.local/share/mise/installs/sourcery/2.1.4/sourcery-2.1.4/bin/
  inflating: /Users/username/.local/share/mise/installs/sourcery/2.1.4/sourcery-2.1.4/bin/ejs.js  
  inflating: /Users/username/.local/share/mise/installs/sourcery/2.1.4/sourcery-2.1.4/bin/sourcery