DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/build --target all --
[1/10] Building C object test/CMakeFiles/cc-gnu.dir/cc-gnu.c.o
[2/10] Building C object test/CMakeFiles/cc-msvc.dir/cc-msvc.c.o
[3/10] Linking C executable test/cc-msvc
[4/10] Linking C executable test/cc-gnu
[5/10] Building CXX object src/CMakeFiles/castxml.dir/Detect.cxx.o
[6/10] Building CXX object src/CMakeFiles/castxml.dir/Utils.cxx.o
[7/10] Building CXX object src/CMakeFiles/castxml.dir/castxml.cxx.o
[8/10] Building CXX object src/CMakeFiles/castxml.dir/Output.cxx.o
FAILED: [code=1] src/CMakeFiles/castxml.dir/Output.cxx.o 
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot  -ITMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/build/src -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11=/usr/src/debug/castxml/0.6.11  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/build=/usr/src/debug/castxml/0.6.11  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=c++17   -D_GNU_SOURCE -DEXPERIMENTAL_KEY_INSTRUCTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/CMakeFiles/castxml.dir/Output.cxx.o -MF src/CMakeFiles/castxml.dir/Output.cxx.o.d -o src/CMakeFiles/castxml.dir/Output.cxx.o -c TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/Output.cxx
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/Output.cxx:2483:52: error: no member named 'getClass' in 'clang::MemberPointerType'
 2483 |     this->OutputOffsetType(t->getPointeeType(), t->getClass(), dn);
      |                                                 ~  ^
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/Output.cxx:2488:40: error: no member named 'getClass' in 'clang::MemberPointerType'
 2488 |       DumpType(t->getPointeeType(), t->getClass()), false);
      |                                     ~  ^
2 errors generated.
[9/10] Building CXX object src/CMakeFiles/castxml.dir/RunClang.cxx.o
FAILED: [code=1] src/CMakeFiles/castxml.dir/RunClang.cxx.o 
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot-native/usr/bin/riscv64-yoe-linux/riscv64-yoe-linux-clang++ --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot  -ITMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/build/src -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --dyld-prefix=/usr -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot  -O2 -g  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11=/usr/src/debug/castxml/0.6.11  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/build=/usr/src/debug/castxml/0.6.11  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden -std=c++17   -D_GNU_SOURCE -DEXPERIMENTAL_KEY_INSTRUCTIONS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT src/CMakeFiles/castxml.dir/RunClang.cxx.o -MF src/CMakeFiles/castxml.dir/RunClang.cxx.o.d -o src/CMakeFiles/castxml.dir/RunClang.cxx.o -c TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:817:9: error: no matching constructor for initialization of 'clang::TextDiagnosticPrinter'
  817 |     new clang::TextDiagnosticPrinter(llvm::errs(), &*diagOpts);
      |         ^                            ~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Frontend/TextDiagnosticPrinter.h:41:3: note: candidate constructor not viable: no known conversion from 'clang::DiagnosticOptions *' to 'DiagnosticOptions &' for 2nd argument; remove &
   41 |   TextDiagnosticPrinter(raw_ostream &os, DiagnosticOptions &DiagOpts,
      |   ^                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Frontend/TextDiagnosticPrinter.h:27:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
   27 | class TextDiagnosticPrinter : public DiagnosticConsumer {
      |       ^~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:819:9: error: no matching constructor for initialization of 'clang::DiagnosticsEngine'
  819 |     new clang::DiagnosticsEngine(diagID, &*diagOpts, diagClient));
      |         ^                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:578:12: note: candidate constructor not viable: no known conversion from 'clang::DiagnosticOptions *' to 'DiagnosticOptions &' for 2nd argument; remove &
  578 |   explicit DiagnosticsEngine(IntrusiveRefCntPtr<DiagnosticIDs> Diags,
      |            ^
  579 |                              DiagnosticOptions &DiagOpts,
      |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:582:3: note: candidate constructor not viable: requires 1 argument, but 3 were provided
  582 |   DiagnosticsEngine(const DiagnosticsEngine &) = delete;
      |   ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:31:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Decl.h:20:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclBase.h:19:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclarationName.h:16:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Type.h:21:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/NestedNameSpecifier.h:18:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:17:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/DiagnosticIDs.h:19:
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:163:37: error: no member named 'Retain' in 'clang::DiagnosticOptions'
  163 |   static void retain(T *obj) { obj->Retain(); }
      |                                ~~~  ^
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:228:34: note: in instantiation of member function 'llvm::IntrusiveRefCntPtrInfo<clang::DiagnosticOptions>::retain' requested here
  228 |       IntrusiveRefCntPtrInfo<T>::retain(Obj);
      |                                  ^
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:180:43: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::retain' requested here
  180 |   IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
      |                                           ^
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:790:54: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::IntrusiveRefCntPtr' requested here
  790 |   llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> diagOpts(
      |                                                      ^
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:31:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Decl.h:20:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclBase.h:19:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/DeclarationName.h:16:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/Type.h:21:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/AST/NestedNameSpecifier.h:18:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:17:
In file included from TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/clang/Basic/DiagnosticIDs.h:19:
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:164:38: error: no member named 'Release' in 'clang::DiagnosticOptions'
  164 |   static void release(T *obj) { obj->Release(); }
      |                                 ~~~  ^
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:233:34: note: in instantiation of member function 'llvm::IntrusiveRefCntPtrInfo<clang::DiagnosticOptions>::release' requested here
  233 |       IntrusiveRefCntPtrInfo<T>::release(Obj);
      |                                  ^
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/recipe-sysroot/usr/include/llvm/ADT/IntrusiveRefCntPtr.h:196:27: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::release' requested here
  196 |   ~IntrusiveRefCntPtr() { release(); }
      |                           ^
TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/sources/castxml-0.6.11/src/RunClang.cxx:790:54: note: in instantiation of member function 'llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions>::~IntrusiveRefCntPtr' requested here
  790 |   llvm::IntrusiveRefCntPtr<clang::DiagnosticOptions> diagOpts(
      |                                                      ^
4 errors generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/temp/run.do_compile.1252304:159 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/temp/run.do_compile.1252304, line 159
	#2: cmake_do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/temp/run.do_compile.1252304, line 153
	#3: do_compile, TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/temp/run.do_compile.1252304, line 148
	#4: main, TMPDIR/work/riscv64imafdc-yoe-linux/castxml/0.6.11/temp/run.do_compile.1252304, line 172

Error details

Submitted on:
29/08/25 11:55
Error type:
Recipe
Task:
do_compile
Recipe:
castxml
Recipe version:
0.6.11-r0
Machine:
qemuriscv64
Distro:
yoe
Build system:
x86_64-linux
Target system:
riscv64-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
0486bef1cced4c520b71d7ea6a1d13284eae8bf1
Build:
#215507
Submitter:
ab@rdk
Similar errors:
23
Open a bug