You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This tells me that when I installed Hadolint through Mason, the x86_64 version was installed but I am on an M1 Mac, so I need the Arm version. I looked at the Mason registry for this package and found that the targets for darwin x64 and darwin arm64 are both grouped to install hadolint-Darwin-x86_64
I believe this was a mistake, and this this is the root cause of my issue. But please let me know if Im wrong
Expected behavior
Expected file $(which hadolint) to return Mach-O 64-bit executable arm64 to imply Hado lint was intalled using the Arm architecture
Steps to reproduce
On Arm Mac OS
:Mason
/hadolint + i
attempt to lint your buffer - will see error: Error running hadolint: Unknown system error -86: unkown system error -86
confirm wrong arch package is installed via command file $(which hadolint)
Affected packages
Hadolint
Neovim version (>= 0.7)
NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1736781742
Run "nvim -V1 -v" for more info
Operating system/version
Darwin hnucamendisMini.localdomain 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:40:14 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8103 arm64
Healthcheck
mason: require("mason.health").check()
mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers:
mason.providers.registry-api
mason.providers.client
- OK neovim version >= 0.7.0
mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2025-02-01-frank-feast` is installed.
mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send`
- WARNING wget: not available
- ADVICE:
- spawn: wget failed with exit code - and signal -. wget is not executable
- OK curl: `curl 8.7.1 (x86_64-apple-darwin24.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.63.0`
- OK gzip: `Apple gzip 448.0.3`
- OK tar: `bsdtar 3.5.3 - libarchive 3.5.3 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8 `
- OK bash: `GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24)`
- OK sh: `Ok`
mason.nvim [Languages] ~
- WARNING cargo: not available
- ADVICE:
- spawn: cargo failed with exit code - and signal -. cargo is not executable
- WARNING Composer: not available
- ADVICE:
- spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
- ADVICE:
- spawn: php failed with exit code - and signal -. php is not executable
- WARNING luarocks: not available
- ADVICE:
- spawn: luarocks failed with exit code - and signal -. luarocks is not executable
- OK Ruby: `ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin24]`
- WARNING javac: not available
- ADVICE:
- spawn: javac failed with exit code 1 and signal 0. The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
- OK Go: `go version go1.23.5 darwin/arm64`
- WARNING julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. julia is not executable
- OK node: `v22.13.0`
- WARNING java: not available
- ADVICE:
- spawn: java failed with exit code 1 and signal 0. The operation couldn’t be completed. Unable to locate a Java Runtime.
Please visit http://www.java.com for information on installing Java.
- OK python: `Python 3.9.6`
- OK RubyGem: `3.0.3.1`
- OK npm: `10.9.2`
- OK pip: `pip 21.2.4 from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/site-packages/pip (python 3.9)`
- OK python venv: `Ok`
mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: Sat Feb 1 17:48:13 2025.
Install and authenticate via gh-cli to increase rate limit.
Screenshots or recordings
The error about the autocommand is because I am linting the file on different events - that part can be disregarded
The text was updated successfully, but these errors were encountered:
hnucamendi
changed the title
Hadolint package on darwin system is installing darwin_x64
Hadolint package on darwin ARM system is installing darwin_x64
Feb 1, 2025
I've searched open issues for similar requests
I've manually reviewed logs to find potential errors
I've recently downloaded the latest plugin version of mason.nvim
Problem description
I was working on a Dockerfile and when I went to lint my buffer I got this error message (hadolint previously installed but never used)
I ran the command
❯ file $(which hadolint)
This tells me that when I installed Hadolint through Mason, the x86_64 version was installed but I am on an M1 Mac, so I need the Arm version. I looked at the Mason registry for this package and found that the targets for darwin x64 and darwin arm64 are both grouped to install
hadolint-Darwin-x86_64
current package.yml:
I believe this was a mistake, and this this is the root cause of my issue. But please let me know if Im wrong
Expected behavior
Expected
file $(which hadolint)
to returnMach-O 64-bit executable arm64
to imply Hado lint was intalled using the Arm architectureSteps to reproduce
On Arm Mac OS
Error running hadolint: Unknown system error -86: unkown system error -86
file $(which hadolint)
Affected packages
Hadolint
Neovim version (>= 0.7)
NVIM v0.10.4
Build type: Release
LuaJIT 2.1.1736781742
Run "nvim -V1 -v" for more info
Operating system/version
Darwin hnucamendisMini.localdomain 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec 6 18:40:14 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8103 arm64
Healthcheck
Screenshots or recordings
The error about the autocommand is because I am linting the file on different events - that part can be disregarded
The text was updated successfully, but these errors were encountered: