facebook / facebook/folly

Cannot build on MacOS and use it for a project.

Open
#1,891 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

I follow all the steps of installing the dependencies and run the build scripts. But I got the following error and it doesn't seem like that the library is truly installed.

The following tests FAILED:
329 - cache_locality_test.CoreRawAllocator.Basic (Failed)
721 - xlog_test.XlogTest.xlogIf (Failed)
722 - xlog_test.XlogTest.xlog (Failed)
724 - xlog_test.XlogTest.rateLimiting (Failed)
725 - xlog_test.XlogTest.rateLimitingEndOfThread (Failed)
1514 - arena_test.Arena.SizeSanity (Failed)
Errors while running CTest
Command '['/opt/homebrew/opt/cmake/bin/ctest', '--output-on-failure', '-j', '8', '--rerun-failed']' returned non-zero exit status 8.
!! Failed

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the macOS build with CTest using the reported command and inspect the six failing tests: cache_locality_test.CoreRawAllocator.Basic, the four xlog_test cases, and arena_test.Arena.SizeSanity. The work is done when the build completes and these tests pass on the affected macOS setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, macos
Domain
build-system, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.