-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Build fails on github macos-latest
(MacOS 14.5) runners with "no member named '_rjem_realloc' in namespace 'std'"
#12708
Comments
Including "rocksdb/convenience.h" before "port/jemalloc_helper.h" like here fixes the build. |
@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 I can build successfully ( |
The project where we're using RocksDB uses And the build uses jemalloc, with these env variables export ROCKSDB_JEMALLOC
export JEMALLOC_NO_DEMANGLE
make -j16 static_lib |
macos-latest
(MacOS 14.5) runners with "no member named '_rjem_realloc' in namespace 'std'"
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/.yml file you use, I may have a better chance of reproducing the problem by running actions myself. |
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.The text was updated successfully, but these errors were encountered: