LazyOffsetPtr::get(clang::ExternalASTSource*) const [with T = clang::CXXBaseSpecifier; OffsT = long unsigned int; T* (clang::ExternalASTSource::* Get)(OffsT) = &clang::ExternalASTSource::GetExternalCXXBaseSpecifiers]’, inlined from ‘clang::CXXBaseSpecifier* clang::CXXRecordDecl::DefinitionData::getBases() const’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:340:25, inlined from ‘clang::CXXBaseSpecifier* clang::CXXRecordDecl::DefinitionData::getBases() const’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:338:23, inlined from ‘clang::CXXBaseSpecifier* clang::CXXRecordDecl::bases_begin()’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:596:61, inlined from ‘clang::CXXRecordDecl::base_class_range clang::CXXRecordDecl::bases()’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:590:12, inlined from ‘bool clang::RecursiveASTVisitor::TraverseCXXRecordHelper(clang::CXXRecordDecl*) [with Derived = {anonymous}::SuperInitChecker]’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/RecursiveASTVisitor.h:1897:34: /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/ExternalASTSource.h:378:54: warning: ‘this’ pointer is null [-Wnonnull] 378 | Ptr = reinterpret_cast((Source->*Get)(Ptr >> 1)); | ~~~~~~~~~~~~~~^~~~~~~~~~ In member function ‘T* clang::LazyOffsetPtr::get(clang::ExternalASTSource*) const [with T = clang::CXXBaseSpecifier; OffsT = long unsigned int; T* (clang::ExternalASTSource::* Get)(OffsT) = &clang::ExternalASTSource::GetExternalCXXBaseSpecifiers]’, inlined from ‘clang::CXXBaseSpecifier* clang::CXXRecordDecl::DefinitionData::getBases() const’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:340:25, inlined from ‘clang::CXXBaseSpecifier* clang::CXXRecordDecl::DefinitionData::getBases() const’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:338:23, inlined from ‘clang::CXXBaseSpecifier* clang::CXXRecordDecl::bases_begin()’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:596:61, inlined from ‘clang::CXXBaseSpecifier* clang::CXXRecordDecl::bases_end()’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:598:55, inlined from ‘clang::CXXRecordDecl::base_class_range clang::CXXRecordDecl::bases()’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/DeclCXX.h:590:12, inlined from ‘bool clang::RecursiveASTVisitor::TraverseCXXRecordHelper(clang::CXXRecordDecl*) [with Derived = {anonymous}::SuperInitChecker]’ at /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/RecursiveASTVisitor.h:1897:34: /builddir/build/BUILD/clang-13.0.1.src/include/clang/AST/ExternalASTSource.h:378:54: warning: ‘this’ pointer is null [-Wnonnull] 378 | Ptr = reinterpret_cast((Source->*Get)(Ptr >> 1)); | ~~~~~~~~~~~~~~^~~~~~~~~~ ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.YGHPbk (%build) Bad exit status from /var/tmp/rpm-tmp.YGHPbk (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/clang13.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/clang13.spec