DEBUG: Executing shell function do_compile
[1/15] rm -f src/ipa/libipa/libipa.a && x86_64-oe-linux-gcc-ar csrDT src/ipa/libipa/libipa.a src/ipa/libipa/libipa.a.p/agc_mean_luminance.cpp.o src/ipa/libipa/libipa.a.p/algorithm.cpp.o src/ipa/libipa/libipa.a.p/camera_sensor_helper.cpp.o src/ipa/libipa/libipa.a.p/colours.cpp.o src/ipa/libipa/libipa.a.p/exposure_mode_helper.cpp.o src/ipa/libipa/libipa.a.p/fc_queue.cpp.o src/ipa/libipa/libipa.a.p/fixedpoint.cpp.o src/ipa/libipa/libipa.a.p/histogram.cpp.o src/ipa/libipa/libipa.a.p/interpolator.cpp.o src/ipa/libipa/libipa.a.p/lsc_polynomial.cpp.o src/ipa/libipa/libipa.a.p/lux.cpp.o src/ipa/libipa/libipa.a.p/module.cpp.o src/ipa/libipa/libipa.a.p/pwl.cpp.o src/ipa/libipa/libipa.a.p/vector.cpp.o
[2/15] TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native/usr/bin/meson.real --internal vcstagger ../git/src/libcamera/version.cpp.in src/libcamera/version.cpp 0.4.0 TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git/src/libcamera @VCS_TAG@ '(.*)' TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git/utils/gen-version.sh TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git
[3/15] x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot -Isrc/libcamera/libcamera.so.0.4.0.p -Isrc/libcamera -I../git/src/libcamera -Iinclude -I../git/include -Iinclude/libcamera -Iinclude/libcamera/ipa -Iinclude/libcamera/internal -Isrc/libcamera/proxy -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -Wno-redundant-move -Wmissing-declarations -Wshadow -include TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build/config.h -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git=/usr/src/debug/libcamera/0.4.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -DLIBCAMERA_BASE_PRIVATE -MD -MQ src/libcamera/libcamera.so.0.4.0.p/dma_buf_allocator.cpp.o -MF src/libcamera/libcamera.so.0.4.0.p/dma_buf_allocator.cpp.o.d -o src/libcamera/libcamera.so.0.4.0.p/dma_buf_allocator.cpp.o -c ../git/src/libcamera/dma_buf_allocator.cpp
FAILED: src/libcamera/libcamera.so.0.4.0.p/dma_buf_allocator.cpp.o 
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot -Isrc/libcamera/libcamera.so.0.4.0.p -Isrc/libcamera -I../git/src/libcamera -Iinclude -I../git/include -Iinclude/libcamera -Iinclude/libcamera/ipa -Iinclude/libcamera/internal -Isrc/libcamera/proxy -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -Wno-redundant-move -Wmissing-declarations -Wshadow -include TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build/config.h -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git=/usr/src/debug/libcamera/0.4.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -DLIBCAMERA_BASE_PRIVATE -MD -MQ src/libcamera/libcamera.so.0.4.0.p/dma_buf_allocator.cpp.o -MF src/libcamera/libcamera.so.0.4.0.p/dma_buf_allocator.cpp.o.d -o src/libcamera/libcamera.so.0.4.0.p/dma_buf_allocator.cpp.o -c ../git/src/libcamera/dma_buf_allocator.cpp
In file included from ../git/src/libcamera/dma_buf_allocator.cpp:9:
../git/include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared
   66 |         void sync(uint64_t step);
      |                   ^~~~~~~~
../git/include/libcamera/internal/dma_buf_allocator.h:17:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   16 | #include <libcamera/base/unique_fd.h>
  +++ |+#include <cstdint>
   17 | 
../git/include/libcamera/internal/dma_buf_allocator.h:69:9: error: 'uint64_t' does not name a type
   69 |         uint64_t flags_ = 0;
      |         ^~~~~~~~
../git/include/libcamera/internal/dma_buf_allocator.h:69:9: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
../git/src/libcamera/dma_buf_allocator.cpp: In constructor 'libcamera::DmaSyncer::DmaSyncer(libcamera::SharedFD, SyncType)':
../git/src/libcamera/dma_buf_allocator.cpp:301:17: error: 'flags_' was not declared in this scope; did you mean 'Flags'?
  301 |                 flags_ = DMA_BUF_SYNC_READ;
      |                 ^~~~~~
      |                 Flags
../git/src/libcamera/dma_buf_allocator.cpp: At global scope:
../git/src/libcamera/dma_buf_allocator.cpp:319:6: error: no declaration matches 'void libcamera::DmaSyncer::sync(uint64_t)'
  319 | void DmaSyncer::sync(uint64_t step)
      |      ^~~~~~~~~
../git/include/libcamera/internal/dma_buf_allocator.h:66:14: note: candidate is: 'void libcamera::DmaSyncer::sync(int)'
   66 |         void sync(uint64_t step);
      |              ^~~~
../git/include/libcamera/internal/dma_buf_allocator.h:52:7: note: 'class libcamera::DmaSyncer' defined here
   52 | class DmaSyncer final
      |       ^~~~~~~~~
[4/15] x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot -Isrc/libcamera/libcamera.so.0.4.0.p -Isrc/libcamera -I../git/src/libcamera -Iinclude -I../git/include -Iinclude/libcamera -Iinclude/libcamera/ipa -Iinclude/libcamera/internal -Isrc/libcamera/proxy -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -Wno-redundant-move -Wmissing-declarations -Wshadow -include TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build/config.h -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/git=/usr/src/debug/libcamera/0.4.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/build=/usr/src/debug/libcamera/0.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -DLIBCAMERA_BASE_PRIVATE -MD -MQ src/libcamera/libcamera.so.0.4.0.p/meson-generated_.._version.cpp.o -MF src/libcamera/libcamera.so.0.4.0.p/meson-generated_.._version.cpp.o.d -o src/libcamera/libcamera.so.0.4.0.p/meson-generated_.._version.cpp.o -c src/libcamera/version.cpp
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/recipe-sysroot-native/usr/bin/ninja -j 70 -l 140.0 -v
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/temp/run.do_compile.1917923:153 exit 1 from 'meson compile -v -j 70 -l 140'
WARNING: Backtrace (BB generated script): 
	#1: meson_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/temp/run.do_compile.1917923, line 153
	#2: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/temp/run.do_compile.1917923, line 148
	#3: main, TOPDIR/tmp/work/core2-64-oe-linux/libcamera/0.4.0/temp/run.do_compile.1917923, line 157

Error details

Submitted on:
25/03/25 07:28
Error type:
Recipe
Task:
do_compile
Recipe:
libcamera
Recipe version:
1_0.4.0-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
701601461e64b7012e83bd08df437e08e659b62a
Build:
#202780
Submitter:
Martin.Jansa@gmail.com
Similar errors:
1
Open a bug