facebook / facebook/watchman

`exec format error` when starting `watchman`

Open
#960 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

The same binary fails on one machine (Ubuntu 20.04.2 LTS x64 on WSL) but succeeds on a different one (same specs). Example session:

```bash
$ watchman
-bash: /usr/local/bin/watchman: cannot execute binary file: Exec format error
```

Watchman version: https://github.com/facebook/watchman/releases/tag/v2021.08.23.00 (but `watchman --version` on the machine where it works prints `20210821.022905.0`)

Running on Ubuntu 20.04.2 LTS (but the exact same binaries work on a different machine with the same Ubuntu version)

`uname -a` on the faulty machine returns `Linux DESKTOP-E0732CQ 4.4.0-19041-Microsoft #1151-Microsoft Thu Jul 22 21:05:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux`

On the machine where it works: `Linux MSI 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.