DEBUG: Executing shell function do_compile
NOTE: cmake --build TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build --target all --
[1/10] Building C object test/CMakeFiles/cc-msvc.dir/cc-msvc.c.o
[2/10] Building C object test/CMakeFiles/cc-gnu.dir/cc-gnu.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/Utils.cxx.o
[6/10] Building CXX object src/CMakeFiles/castxml.dir/Detect.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: src/CMakeFiles/castxml.dir/Output.cxx.o 
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot  -ITMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build/src -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  --sysroot=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot  -O2 -g   -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/git=/usr/src/debug/castxml/0.6.4.20240205  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/git=/usr/src/debug/castxml/0.6.4.20240205  -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build=/usr/src/debug/castxml/0.6.4.20240205  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build=/usr/src/debug/castxml/0.6.4.20240205  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot=  -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot=  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot-native=  -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden  -std=c++17   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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/core2-32-yoe-linux/castxml/0.6.4.20240205/git/src/Output.cxx
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/git/src/Output.cxx:2198:41: error: too many arguments to function call, expected 0, have 1
 2198 |     unsigned bits = d->getBitWidthValue(this->CTX);
      |                     ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot/usr/include/clang/AST/Decl.h:3166:12: note: 'getBitWidthValue' declared here
 3166 |   unsigned getBitWidthValue() const;
      |            ^
1 error generated.
[9/10] Building CXX object src/CMakeFiles/castxml.dir/RunClang.cxx.o
FAILED: src/CMakeFiles/castxml.dir/RunClang.cxx.o 
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ --sysroot=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot  -ITMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build/src -target i686-yoe-linux  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  --sysroot=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot  -O2 -g   -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/git=/usr/src/debug/castxml/0.6.4.20240205  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/git=/usr/src/debug/castxml/0.6.4.20240205  -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build=/usr/src/debug/castxml/0.6.4.20240205  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build=/usr/src/debug/castxml/0.6.4.20240205  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot=  -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot=  -fdebug-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot-native=  -fmacro-prefix-map=TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot-native=  -pipe -fvisibility-inlines-hidden  -std=c++17   -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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/core2-32-yoe-linux/castxml/0.6.4.20240205/git/src/RunClang.cxx
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/git/src/RunClang.cxx:663:7: error: no matching member function for call to 'createDiagnostics'
  663 |   CI->createDiagnostics();
      |   ~~~~^~~~~~~~~~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot/usr/include/clang/Frontend/CompilerInstance.h:687:8: note: candidate function not viable: requires at least argument 'VFS', but no arguments were provided
  687 |   void createDiagnostics(llvm::vfs::FileSystem &VFS,
      |        ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  688 |                          DiagnosticConsumer *Client = nullptr,
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  689 |                          bool ShouldOwnClient = true);
      |                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot/usr/include/clang/Frontend/CompilerInstance.h:710:3: note: candidate function not viable: requires at least 2 arguments, but 0 were provided
  710 |   createDiagnostics(llvm::vfs::FileSystem &VFS, DiagnosticOptions *Opts,
      |   ^                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  711 |                     DiagnosticConsumer *Client = nullptr,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  712 |                     bool ShouldOwnClient = true,
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  713 |                     const CodeGenOptions *CodeGenOpts = nullptr);
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/git/src/RunClang.cxx:734:67: error: non-const lvalue reference to type 'llvm::vfs::FileSystem' cannot bind to a temporary of type 'bool'
  734 |   clang::ProcessWarningOptions(*diags, *diagOpts, /*ReportDiags=*/false);
      |                                                                   ^~~~~
TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:1795:51: note: passing argument to parameter 'VFS' here
 1795 |                            llvm::vfs::FileSystem &VFS, bool ReportDiags = true);
      |                                                   ^
2 errors generated.
ninja: build stopped: subcommand failed.
WARNING: TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/temp/run.do_compile.3812691:159 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script): 
	#1: cmake_runcmake_build, TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/temp/run.do_compile.3812691, line 159
	#2: cmake_do_compile, TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/temp/run.do_compile.3812691, line 153
	#3: do_compile, TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/temp/run.do_compile.3812691, line 148
	#4: main, TMPDIR/work/core2-32-yoe-linux/castxml/0.6.4.20240205/temp/run.do_compile.3812691, line 172

Error details

Submitted on:
09/03/25 08:12
Error type:
Recipe
Task:
do_compile
Recipe:
castxml
Recipe version:
0.6.4.20240205-r0
Machine:
qemux86
Distro:
yoe
Build system:
x86_64-linux
Target system:
i686-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
841043c929528bd5b567788f52200464448fbbba
Build:
#201672
Submitter:
ab@rdk
Similar errors:
0
Open a bug