>>> libcamera-apps 1.1.1 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-3/output-1/build/.libcamera-apps-1.1.1.tar.gz.OjhG1S/output' 'https://github.com/raspberrypi/libcamera-apps/archive/v1.1.1/libcamera-apps-1.1.1.tar.gz' --2023-02-08 00:20:22-- https://github.com/raspberrypi/libcamera-apps/archive/v1.1.1/libcamera-apps-1.1.1.tar.gz Resolving github.com (github.com)... 192.30.255.113 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/raspberrypi/libcamera-apps/tar.gz/refs/tags/v1.1.1 [following] --2023-02-08 00:20:22-- https://codeload.github.com/raspberrypi/libcamera-apps/tar.gz/refs/tags/v1.1.1 Resolving codeload.github.com (codeload.github.com)... 192.30.255.121 Connecting to codeload.github.com (codeload.github.com)|192.30.255.121|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-3/output-1/build/.libcamera-apps-1.1.1.tar.gz.OjhG1S/output' 0K .......... .......... .......... .......... .......... 4.04M 50K .......... .......... .......... .......... .......... 7.97M 100K .......... . 30.8M=0.02s 2023-02-08 00:20:22 (5.87 MB/s) - '/home/buildroot/autobuild/instance-3/output-1/build/.libcamera-apps-1.1.1.tar.gz.OjhG1S/output' saved [114445] libcamera-apps-1.1.1.tar.gz: OK (sha256: c05e29e02da05fa92739941295d96dcb93324805f7b348ad182e7e29e7e0c520) >>> libcamera-apps 1.1.1 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/libcamera-apps/libcamera-apps-1.1.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1 -xf - >>> libcamera-apps 1.1.1 Patching Applying 0001-core-pass-VIDIOC_QUERYCAP-as-unsigned-long.patch using patch: patching file core/libcamera_app.cpp >>> libcamera-apps 1.1.1 Configuring (mkdir -p /home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1/ && cd /home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /home/buildroot/autobuild/instance-3/output-1/host/bin/cmake /home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/instance-3/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=0 -DENABLE_X11=0 -DENABLE_QT=0 -DCMAKE_EXE_LINKER_FLAGS=-latomic ) -- The C compiler identification is GNU 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/autobuild/instance-3/output-1/host/bin/sh4-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/autobuild/instance-3/output-1/host/bin/sh4-linux-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Platform: disabled -- Found PkgConfig: /home/buildroot/autobuild/instance-3/output-1/host/bin/pkg-config (found version "1.6.3") -- Checking for module 'libcamera' -- Found libcamera, version 0.0.4 -- libcamera library found: -- version: 0.0.4 -- libraries: /home/buildroot/autobuild/instance-3/output-1/host/sh4-buildroot-linux-gnu/sysroot/usr/lib/libcamera.so;/home/buildroot/autobuild/instance-3/output-1/host/sh4-buildroot-linux-gnu/sysroot/usr/lib/libcamera-base.so -- include path: /home/buildroot/autobuild/instance-3/output-1/host/sh4-buildroot-linux-gnu/sysroot/usr/include/libcamera CMake Warning at /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.22/Modules/FindBoost.cmake:1384 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.22/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES) /home/buildroot/autobuild/instance-3/output-1/host/share/cmake-3.22/Modules/FindBoost.cmake:2117 (_Boost_MISSING_DEPENDENCIES) core/CMakeLists.txt:5 (find_package) -- Found Boost: /home/buildroot/autobuild/instance-3/output-1/host/sh4-buildroot-linux-gnu/sysroot/usr/include (found version "1.80.0") found components: program_options -- Checking for libavcodec -- libavcodec found: -- libraries: avcodec;avdevice;avformat;swresample -- LIBDRM display mode will be unavailable! -- 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 -- Generating done 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/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1 >>> libcamera-apps 1.1.1 Building PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1/ make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 7%] Building CXX object image/CMakeFiles/images.dir/bmp.cpp.o [ 7%] Building CXX object preview/CMakeFiles/preview.dir/null_preview.cpp.o [ 7%] Building CXX object output/CMakeFiles/outputs.dir/output.cpp.o ERR: Invalid git directory! Generating version string: 000000000000-invalid 08-02-2023 (00:20:25) make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 7%] Built target VersionCpp [ 9%] Building CXX object output/CMakeFiles/outputs.dir/file_output.cpp.o [ 11%] Building CXX object preview/CMakeFiles/preview.dir/preview.cpp.o [ 14%] Building CXX object image/CMakeFiles/images.dir/yuv.cpp.o [ 16%] Building CXX object output/CMakeFiles/outputs.dir/net_output.cpp.o [ 19%] Building CXX object output/CMakeFiles/outputs.dir/circular_output.cpp.o [ 21%] Linking CXX shared library libpreview.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 21%] Built target preview [ 23%] Building CXX object image/CMakeFiles/images.dir/jpeg.cpp.o [ 26%] Building CXX object image/CMakeFiles/images.dir/png.cpp.o [ 28%] Building CXX object image/CMakeFiles/images.dir/dng.cpp.o [ 30%] Linking CXX shared library liboutputs.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 30%] Built target outputs [ 33%] Linking CXX shared library libimages.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 33%] Built target images make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 35%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/post_processing_stage.cpp.o [ 42%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/negate_stage.cpp.o [ 42%] Building CXX object encoder/CMakeFiles/encoders.dir/null_encoder.cpp.o [ 42%] Building CXX object encoder/CMakeFiles/encoders.dir/encoder.cpp.o [ 45%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/hdr_stage.cpp.o [ 47%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/pwl.cpp.o [ 50%] Building CXX object encoder/CMakeFiles/encoders.dir/h264_encoder.cpp.o [ 52%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/histogram.cpp.o [ 54%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/motion_detect_stage.cpp.o [ 57%] Building CXX object encoder/CMakeFiles/encoders.dir/mjpeg_encoder.cpp.o [ 59%] Building CXX object encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o /home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1/encoder/libav_encoder.cpp:13:10: fatal error: libdrm/drm_fourcc.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [encoder/CMakeFiles/encoders.dir/build.make:132: encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 61%] Linking CXX shared library libpost_processing_stages.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 61%] Built target post_processing_stages make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[3]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 64%] Building CXX object core/CMakeFiles/libcamera_app.dir/libcamera_app.cpp.o [ 66%] Building CXX object core/CMakeFiles/libcamera_app.dir/post_processor.cpp.o [ 69%] Building CXX object core/CMakeFiles/libcamera_app.dir/version.cpp.o [ 71%] Building CXX object core/CMakeFiles/libcamera_app.dir/options.cpp.o make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[2]: *** [CMakeFiles/Makefile2:288: encoder/CMakeFiles/encoders.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 73%] Linking CXX shared library libcamera_app.so make[3]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' [ 73%] Built target libcamera_app make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make[1]: *** [Makefile:156: all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1' make: *** [package/pkg-generic.mk:293: /home/buildroot/autobuild/instance-3/output-1/build/libcamera-apps-1.1.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'