Skip to content
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 with macOS 15 / Apple clang 16 beta #618

Open
fxcoudert opened this issue Sep 4, 2024 · 0 comments
Open

Build fails with macOS 15 / Apple clang 16 beta #618

fxcoudert opened this issue Sep 4, 2024 · 0 comments

Comments

@fxcoudert
Copy link

Compiling 2024.08.26.00 with cmake -S . -B build/shared -DBUILD_SHARED_LIBS=ON and cmake --build build/shared leads to this failure:

cd /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared/thrift/annotation && ../../bin/thrift1 --gen mstch_cpp2:templates,no_metadata,include_prefix=thrift/annotation -o /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared/thrift/annotation -I /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00 /tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/thrift/annotation/thrift.thrift
[ERROR:/tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/thrift/annotation/thrift.thrift:19] std::bad_cast
gmake[2]: *** [thrift/annotation/CMakeFiles/thriftannotation.dir/build.make:234: thrift/annotation/gen-cpp2/thrift_constants.h] Error 1
gmake[2]: Leaving directory '/private/tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared'
gmake[1]: *** [CMakeFiles/Makefile2:479: thrift/annotation/CMakeFiles/thriftannotation.dir/all] Error 2
gmake[1]: Leaving directory '/private/tmp/fbthrift-20240904-30860-6z2n91/fbthrift-2024.08.26.00/build/shared'
gmake: *** [Makefile:159: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant