Skip to content

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

Open
@fxcoudert

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions