The mass rebuild for castxml failed on aarch64. It builds OK on other architectures. https://koji.fedoraproject.org/koji/buildinfo?buildID=2348812 The error is (see build.log for the aarch64 build for the above task) In file included from /usr/include/clang/Basic/TokenKinds.h:27, from /usr/include/clang/Basic/IdentifierTable.h:20, from /usr/include/clang/AST/DeclarationName.h:18, from /usr/include/clang/AST/DeclBase.h:18, from /usr/include/clang/AST/Decl.h:19, from /builddir/build/BUILD/CastXML-0.6.2/src/RunClang.cxx:31: /usr/include/clang/Basic/AttrTokenKinds.inc:9:1: error: pasting "kw_" and "[" does not give a valid preprocessing token 9 | KEYWORD_ATTRIBUTE(__arm_streaming) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/clang/Basic/TokenKinds.h:35: /usr/include/clang/Basic/AttrTokenKinds.inc:9:1: error: pasting "kw_" and "[" does not give a valid preprocessing token 9 | KEYWORD_ATTRIBUTE(__arm_streaming) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/clang/Basic/TokenKinds.h:43: /usr/include/clang/Basic/AttrTokenKinds.inc:9:1: error: pasting "kw_" and "[" does not give a valid preprocessing token 9 | KEYWORD_ATTRIBUTE(__arm_streaming) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/clang/Basic/TokenKinds.h:51: /usr/include/clang/Basic/AttrTokenKinds.inc:9:1: error: pasting "kw_" and "[" does not give a valid preprocessing token 9 | KEYWORD_ATTRIBUTE(__arm_streaming) | ^~~~~~~~~~~~~~~~~ This is related to upstream issue: https://github.com/llvm/llvm-project/issues/78691 and the related PR: https://github.com/llvm/llvm-project/pull/78704 Could you backport the fix to rawhide? Reproducible: Always Steps to Reproduce: 1. rebuild castxml package for Fedora rawhide aarch64 Actual Results: Faild build. Expected Results: Successful build.
Backport is already underway here: https://src.fedoraproject.org/rpms/clang/pull-request/224
FEDORA-2024-55272da285 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-55272da285
FEDORA-2024-55272da285 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
*** Bug 2260171 has been marked as a duplicate of this bug. ***