facebook / facebook/watchman

Build fails on Arch Linux due to Boost related issue

Open
#894 1 comment 1 reaction 0 assignees View on GitHub
community-support
Dominant language
C++
Stars
13.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

I'm trying to build Watchman (latest weekly release) on Arch Linux and I get lots of those errors:

```
CMake Error at CMakeLists.txt:525 (add_library):
Target "string" links to target "Boost::system" but the target was not
found. Perhaps a find_package() call is missing for an IMPORTED target, or
an ALIAS target is missing?
```

CMake complains about not being able to find Boost. I used the following build command:

```
python3 build/fbcode_builder/getdeps.py --allow-system-packages build --src-dir=. watchman --project-install-prefix watchman:/usr --num-jobs=12
```

Removing `--allow-system-packages` does not fix the problem (results in the same errors).

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.