>>> libcamera-apps 1.1.0 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-2/output-1/build/.libcamera-apps-1.1.0.tar.gz.M7EZ7r/output' 'https://github.com/raspberrypi/libcamera-apps/archive/v1.1.0/libcamera-apps-1.1.0.tar.gz' --2023-01-30 15:22:59-- https://github.com/raspberrypi/libcamera-apps/archive/v1.1.0/libcamera-apps-1.1.0.tar.gz Resolving github.com (github.com)... 140.82.121.3 Connecting to github.com (github.com)|140.82.121.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/raspberrypi/libcamera-apps/tar.gz/refs/tags/v1.1.0 [following] --2023-01-30 15:23:00-- https://codeload.github.com/raspberrypi/libcamera-apps/tar.gz/refs/tags/v1.1.0 Resolving codeload.github.com (codeload.github.com)... 140.82.121.10 Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/run/instance-2/output-1/build/.libcamera-apps-1.1.0.tar.gz.M7EZ7r/output' 0K .......... .......... .......... .......... .......... 2.77M 50K .......... .......... .......... .......... .......... 5.61M 100K .......... . 87.2M=0.03s 2023-01-30 15:23:00 (4.10 MB/s) - '/home/buildroot/autobuild/run/instance-2/output-1/build/.libcamera-apps-1.1.0.tar.gz.M7EZ7r/output' saved [113779] libcamera-apps-1.1.0.tar.gz: OK (sha256: 2d895ad5d11a6004b1e84eb8d486d5dca64dda1b41e0f4f3f87904666f249e3e) >>> libcamera-apps 1.1.0 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-2/dl/libcamera-apps/libcamera-apps-1.1.0.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0 -xf - >>> libcamera-apps 1.1.0 Patching >>> libcamera-apps 1.1.0 Configuring (mkdir -p /home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/ && cd /home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake /home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/ -G"Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/instance-2/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_X11=0 -DENABLE_QT=0 -DCMAKE_EXE_LINKER_FLAGS=-latomic ) -- The C compiler identification is GNU 10.3.0 -- The CXX compiler identification is GNU 10.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/x86_64-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/run/instance-2/output-1/host/bin/x86_64-linux-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Platform: disabled -- Found PkgConfig: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkg-config (found version "1.6.3") -- Checking for module 'libcamera' -- Found libcamera, version 0.0.3 -- libcamera library found: -- version: 0.0.3 -- libraries: /home/buildroot/autobuild/run/instance-2/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/lib/libcamera.so;/home/buildroot/autobuild/run/instance-2/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/lib/libcamera-base.so -- include path: /home/buildroot/autobuild/run/instance-2/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/libcamera CMake Warning at /home/buildroot/autobuild/run/instance-2/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/run/instance-2/output-1/host/share/cmake-3.22/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES) /home/buildroot/autobuild/run/instance-2/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/run/instance-2/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include (found version "1.80.0") found components: program_options -- Checking for libavcodec -- LIBDRM_LINK_LIBRARIES=/home/buildroot/autobuild/run/instance-2/output-1/host/x86_64-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 -- 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/run/instance-2/output-1/build/libcamera-apps-1.1.0 >>> libcamera-apps 1.1.0 Building PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/ make[1]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 2%] Building CXX object output/CMakeFiles/outputs.dir/output.cpp.o [ 4%] Building CXX object image/CMakeFiles/images.dir/bmp.cpp.o [ 7%] Building CXX object preview/CMakeFiles/preview.dir/null_preview.cpp.o Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/utils/version.py", line 19, in generate_version stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, text=True) File "/usr/lib/python3.6/subprocess.py", line 423, in run with Popen(*popenargs, **kwargs) as process: TypeError: __init__() got an unexpected keyword argument 'text' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/utils/version.py", line 52, in generate_version() File "/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/utils/version.py", line 48, in generate_version print(f'{commit} {datetime.now().strftime("%d-%m-%Y (%H:%M:%S)")}', end="") UnboundLocalError: local variable 'commit' referenced before assignment Generating version string: make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 7%] Built target VersionCpp [ 9%] Building CXX object image/CMakeFiles/images.dir/yuv.cpp.o [ 11%] Building CXX object preview/CMakeFiles/preview.dir/preview.cpp.o [ 14%] Building CXX object preview/CMakeFiles/preview.dir/drm_preview.cpp.o [ 16%] Building CXX object output/CMakeFiles/outputs.dir/file_output.cpp.o [ 19%] Building CXX object image/CMakeFiles/images.dir/jpeg.cpp.o [ 21%] Building CXX object image/CMakeFiles/images.dir/png.cpp.o [ 23%] Building CXX object output/CMakeFiles/outputs.dir/net_output.cpp.o [ 26%] Linking CXX shared library libpreview.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 26%] Built target preview [ 28%] Building CXX object output/CMakeFiles/outputs.dir/circular_output.cpp.o [ 30%] Building CXX object image/CMakeFiles/images.dir/dng.cpp.o [ 33%] Linking CXX shared library liboutputs.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 33%] Built target outputs [ 35%] Linking CXX shared library libimages.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 35%] Built target images make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 40%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/post_processing_stage.cpp.o [ 40%] Building CXX object encoder/CMakeFiles/encoders.dir/h264_encoder.cpp.o [ 42%] Building CXX object encoder/CMakeFiles/encoders.dir/encoder.cpp.o [ 45%] Building CXX object encoder/CMakeFiles/encoders.dir/null_encoder.cpp.o [ 47%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/negate_stage.cpp.o [ 50%] Building CXX object encoder/CMakeFiles/encoders.dir/mjpeg_encoder.cpp.o [ 52%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/hdr_stage.cpp.o [ 54%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/pwl.cpp.o [ 57%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/histogram.cpp.o [ 59%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/motion_detect_stage.cpp.o [ 61%] Linking CXX shared library libencoders.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 61%] Built target encoders [ 64%] Linking CXX shared library libpost_processing_stages.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 64%] Built target post_processing_stages make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' [ 69%] Building CXX object core/CMakeFiles/libcamera_app.dir/options.cpp.o [ 69%] Building CXX object core/CMakeFiles/libcamera_app.dir/version.cpp.o [ 71%] Building CXX object core/CMakeFiles/libcamera_app.dir/libcamera_app.cpp.o [ 73%] Building CXX object core/CMakeFiles/libcamera_app.dir/post_processor.cpp.o /home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/core/libcamera_app.cpp: In function 'void check_camera_stack()': /home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/core/libcamera_app.cpp:33:22: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '2154321408' to '-2140645888' [-Werror=overflow] 33 | int ret = ioctl(fd, VIDIOC_QUERYCAP, &caps); | ^~~~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. cc1plus: all warnings being treated as errors core/CMakeFiles/libcamera_app.dir/build.make:75: recipe for target 'core/CMakeFiles/libcamera_app.dir/libcamera_app.cpp.o' failed make[3]: *** [core/CMakeFiles/libcamera_app.dir/libcamera_app.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' CMakeFiles/Makefile2:261: recipe for target 'core/CMakeFiles/libcamera_app.dir/all' failed make[2]: *** [core/CMakeFiles/libcamera_app.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' Makefile:155: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/libcamera-apps-1.1.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'