>>> libcamera-apps 1.2.1 Extracting gzip -d -c /home/buildroot/instance-0/dl/libcamera-apps/libcamera-apps-1.2.1.tar.gz | tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1 -xf - >>> libcamera-apps 1.2.1 Patching >>> libcamera-apps 1.2.1 Configuring (mkdir -p /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1/ && cd /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1/ && rm -f CMakeCache.txt && PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_COMPILE_FLAGS_FOR_TARGET=disabled -DENABLE_OPENCV=0 -DENABLE_TFLITE=0 -DENABLE_DRM=1 -DENABLE_LIBAV=1 -DENABLE_X11=0 -DENABLE_QT=0 -DCMAKE_EXE_LINKER_FLAGS=-latomic ) -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/buildroot/instance-0/output-1/host/bin/riscv64-linux-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning at CMakeLists.txt:5 (message): Using cmake to build libcamera-apps is deprecated and will soon be removed. Please switch to the meson build system. -- Platform: disabled -- Found PkgConfig: /home/buildroot/instance-0/output-1/host/bin/pkg-config (found version "1.6.3") -- Checking for module 'libcamera' -- Found libcamera, version 0.2.0 -- libcamera library found: -- version: 0.2.0 -- libraries: /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libcamera.so;/home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libcamera-base.so -- include path: /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/libcamera -- Found Boost: /home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include (found version "1.83.0") found components: program_options -- Checking for libavcodec -- libavcodec found: -- libraries: avcodec;avdevice;avformat;swresample -- LIBDRM_LINK_LIBRARIES=/home/buildroot/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libdrm.so -- LIBDRM display mode enabled -- EGL display mode will be unavailable! -- QT display mode will be unavailable! -- Omitting check for OpenCV -- OpenCV support not being included -- TFLite support not being included -- Configuring done (0.7s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1 >>> libcamera-apps 1.2.1 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake --build /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1/ -j17 -- make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' [ 2%] Building CXX object image/CMakeFiles/images.dir/bmp.cpp.o [ 4%] Building CXX object image/CMakeFiles/images.dir/yuv.cpp.o [ 11%] Building CXX object output/CMakeFiles/outputs.dir/output.cpp.o [ 11%] Building CXX object preview/CMakeFiles/preview.dir/null_preview.cpp.o [ 11%] Building CXX object image/CMakeFiles/images.dir/png.cpp.o [ 13%] Building CXX object image/CMakeFiles/images.dir/jpeg.cpp.o [ 16%] Building CXX object preview/CMakeFiles/preview.dir/preview.cpp.o [ 18%] Building CXX object image/CMakeFiles/images.dir/dng.cpp.o [ 20%] Building CXX object output/CMakeFiles/outputs.dir/file_output.cpp.o [ 23%] Building CXX object output/CMakeFiles/outputs.dir/circular_output.cpp.o [ 25%] Building CXX object preview/CMakeFiles/preview.dir/drm_preview.cpp.o [ 27%] Building CXX object output/CMakeFiles/outputs.dir/net_output.cpp.o ERR: Invalid git directory! Generating version string: 000000000000-invalid 01-06-2024 (23:59:05) make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' [ 27%] Built target VersionCpp [ 30%] Linking CXX shared library libpreview.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' [ 30%] Built target preview [ 32%] Linking CXX shared library liboutputs.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' [ 32%] Built target outputs [ 34%] Linking CXX shared library libimages.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' [ 34%] Built target images make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' [ 37%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/post_processing_stage.cpp.o [ 39%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/hdr_stage.cpp.o [ 41%] Building CXX object encoder/CMakeFiles/encoders.dir/encoder.cpp.o [ 44%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/pwl.cpp.o [ 48%] Building CXX object encoder/CMakeFiles/encoders.dir/mjpeg_encoder.cpp.o [ 48%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/negate_stage.cpp.o [ 51%] Building CXX object encoder/CMakeFiles/encoders.dir/null_encoder.cpp.o [ 53%] Building CXX object encoder/CMakeFiles/encoders.dir/h264_encoder.cpp.o [ 55%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/histogram.cpp.o [ 58%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/motion_detect_stage.cpp.o [ 60%] Building CXX object encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1/encoder/encoder.cpp: In function 'Encoder* h264_codec_select(VideoOptions*, const StreamInfo&)': /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1/encoder/encoder.cpp:32:37: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '2154321408' to '-2140645888' [-Werror=overflow] 32 | int ret = ioctl(fd, VIDIOC_QUERYCAP, &caps); | ^~~~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. cc1plus: all warnings being treated as errors make[3]: *** [encoder/CMakeFiles/encoders.dir/build.make:76: encoder/CMakeFiles/encoders.dir/encoder.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[2]: *** [CMakeFiles/Makefile2:288: encoder/CMakeFiles/encoders.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 62%] Linking CXX shared library libpost_processing_stages.so make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' [ 62%] Built target post_processing_stages make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make[1]: *** [Makefile:156: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/libcamera-apps-1.2.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'