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.