Open andlr opened 4 months ago
Including "rocksdb/convenience.h" before "port/jemalloc_helper.h" like here fixes the build. But I am not sure it's the only place which needs a fix, it's only enough to fix RocksDB lib build. It seems that some utilities / tests may also have this problem
@andlr I am trying to reproduce this. Could you share how you are configuring github actions ? Is there are branch/PR ? facebook/main/.github/workflows/pr-jobs.yml explicitly runs-on: macos-13
and xcode-version: 14.3.1
Have you simply changed to runs-on: macos-latest
? Your log reports that you are using Xcode_15.0.1.app
I can build successfully (make clean; make -j16 all
) on my MBP with MacOS 14.5 with XCode 15.4
The project where we're using RocksDB uses macos-latest
github runners for MacOS builds, and it started failing whenever build lands on a build runner with MacOS 14.5 and Xcode 15.0.1.
And the build uses jemalloc, with these env variables
export ROCKSDB_JEMALLOC
export JEMALLOC_NO_DEMANGLE
make -j16 static_lib
Hi @andlr - thanks. Building RocksDB locally with jemalloc on MacOS 14.5 and Xcode 15.0.1 works fine for me. If you could share all the details of how you build RocksDB on github actions, i.e. the contents of the .github/workflows/
Expected behavior
RocksDB can be built on MacOS
Actual behavior
On updated github runners with MacOS 14.5, build fails with:
Steps to reproduce the behavior
This became an intermittent problem recently. Github rolls out newer build agents with MacOS 14.5 (more than half of the CI/CD runs land on older build agents with MacOS 14.4.1, and build doesn't fail there).
macos-latest
now can have either MacOS 14.4.1 or MacOS 14.5 installed, and build fails on the latter.