-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
after [email protected] - cannot execute binary file: Exec format error #105968
Comments
Are you running WSL1 or WSL2? Does compiling Node yourself work? (When you compiled Node yourself, did you do it with |
WSL1 is buggy and known to randomly fail for any binary (not just node). No one has ever figured out why. WSL2 will however work reliably. |
@carlocab it is running WSL1 under Windows Server 2019 and 2022. It is not possible to run WSL2 on github actions' runners. I currently don't have access to a physical Windows machine to run @Bo98 randomly and randomly. Something changed from node v18.3.0 (2022-06-03) to v18.4.0 (2022-06-17) and the behaviour is consistent. Looks like it's affecting other things recently: gzip, adb, etc on ubuntu, arch, etc. Closing as it is not brew-specific, based on online findings. It looks like a workaround exists, but I haven't confirmed it. Relevant threads:
|
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I'm running homebrew under Ubuntu 20.04 under WSL (on Github Actions to be specific).
Just trying to get the latest node version up and running with
$ brew install node
and doing a smoke test$ node -- version
.Version 18.3.0 works (I downloaded the old
node.rb
formula and installed it from the local file), but as soon as I go over I get the same error message.Searching throw the issues, I see that this has happened before, but there's no resolution except "it was magically solved, just update brew and download a newer bottle".
This behaviour is not observed if I run Ubuntu 20.04 under docker e.g.
brew config
saysfile ../node
reports the same for both 18.3.0 and newer:ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /home/linuxbrew/.linuxbrew/lib/ld.so, for GNU/Linux 2.6.32, not stripped
What happened (include all command output)?
-bash: /home/linuxbrew/.linuxbrew/bin/node: cannot execute binary file: Exec format error
What did you expect to happen?
Print node version.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: