>>> libcamera-apps 1.2.1 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-0/output-1/build/.libcamera-apps-1.2.1.tar.gz.G7sj3z/output' 'https://github.com/raspberrypi/libcamera-apps/archive/v1.2.1/libcamera-apps-1.2.1.tar.gz' --2024-04-01 15:22:06-- https://github.com/raspberrypi/libcamera-apps/archive/v1.2.1/libcamera-apps-1.2.1.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://github.com/raspberrypi/rpicam-apps/archive/v1.2.1/libcamera-apps-1.2.1.tar.gz [following] --2024-04-01 15:22:06-- https://github.com/raspberrypi/rpicam-apps/archive/v1.2.1/libcamera-apps-1.2.1.tar.gz Reusing existing connection to github.com:443. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/raspberrypi/rpicam-apps/tar.gz/refs/tags/v1.2.1 [following] --2024-04-01 15:22:06-- https://codeload.github.com/raspberrypi/rpicam-apps/tar.gz/refs/tags/v1.2.1 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/run/instance-0/output-1/build/.libcamera-apps-1.2.1.tar.gz.G7sj3z/output' 0K .......... .......... .......... .......... .......... 2.11M 50K .......... .......... .......... .......... .......... 4.00M 100K .......... ........ 65.6M=0.04s 2024-04-01 15:22:07 (3.25 MB/s) - '/home/buildroot/autobuild/run/instance-0/output-1/build/.libcamera-apps-1.2.1.tar.gz.G7sj3z/output' saved [121400] ERROR: while checking hashes from package/libcamera-apps/libcamera-apps.hash ERROR: libcamera-apps-1.2.1.tar.gz has wrong sha256 hash: ERROR: expected: e6b74a0ba10a962f1930199d7dd828c8d9ee370dfe1fdfd8ae2638df744f1344 ERROR: got : dcffae363dbb00974e21ca2f5564972345ea61623521c9a129d85c9b13546062 ERROR: Incomplete download, or man-in-the-middle (MITM) attack wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/autobuild/run/instance-0/output-1/build/.libcamera-apps-1.2.1.tar.gz.k8kGXJ/output' 'https://sources.buildroot.net/libcamera-apps/libcamera-apps-1.2.1.tar.gz' --2024-04-01 15:22:07-- https://sources.buildroot.net/libcamera-apps/libcamera-apps-1.2.1.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 2606:4700:20::681a:125, 2606:4700:20::ac43:4838, 2606:4700:20::681a:25, ... Connecting to sources.buildroot.net (sources.buildroot.net)|2606:4700:20::681a:125|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 121369 (119K) [application/x-gtar-compressed] Saving to: '/home/buildroot/autobuild/run/instance-0/output-1/build/.libcamera-apps-1.2.1.tar.gz.k8kGXJ/output' 0K .......... .......... .......... .......... .......... 42% 11.6M 0s 50K .......... .......... .......... .......... .......... 84% 10.2M 0s 100K .......... ........ 100% 103M=0.009s 2024-04-01 15:22:07 (12.6 MB/s) - '/home/buildroot/autobuild/run/instance-0/output-1/build/.libcamera-apps-1.2.1.tar.gz.k8kGXJ/output' saved [121369/121369] libcamera-apps-1.2.1.tar.gz: OK (sha256: e6b74a0ba10a962f1930199d7dd828c8d9ee370dfe1fdfd8ae2638df744f1344) >>> libcamera-apps 1.2.1 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-0/dl/libcamera-apps/libcamera-apps-1.2.1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/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/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/ && cd /home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/ && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/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-0/output-1/host/bin/cmake /home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/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/autobuild/run/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-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-0/output-1/host/bin/arm-buildroot-linux-musleabihf-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/autobuild/run/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/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/lib/libcamera.so;/home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/lib/libcamera-base.so -- include path: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/libcamera -- Found Boost: /home/buildroot/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-musleabihf/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/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-musleabihf/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 (3.8s) -- Generating done (0.1s) 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-0/output-1/build/libcamera-apps-1.2.1 >>> libcamera-apps 1.2.1 Building GIT_DIR=. PATH="/home/buildroot/autobuild/run/instance-0/output-1/host/bin:/home/buildroot/autobuild/run/instance-0/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-0/output-1/host/bin/cmake --build /home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/ -j4 -- make[1]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 2%] Building CXX object output/CMakeFiles/outputs.dir/output.cpp.o [ 4%] Building CXX object preview/CMakeFiles/preview.dir/null_preview.cpp.o [ 6%] Building CXX object image/CMakeFiles/images.dir/bmp.cpp.o make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/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-0/output-1/build/libcamera-apps-1.2.1/utils/version.py", line 52, in generate_version() File "/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/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-0/output-1/build/libcamera-apps-1.2.1' [ 6%] 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 [ 13%] Building CXX object preview/CMakeFiles/preview.dir/drm_preview.cpp.o [ 16%] Building CXX object image/CMakeFiles/images.dir/jpeg.cpp.o [ 18%] Building CXX object output/CMakeFiles/outputs.dir/file_output.cpp.o [ 20%] Building CXX object output/CMakeFiles/outputs.dir/net_output.cpp.o [ 23%] Building CXX object image/CMakeFiles/images.dir/png.cpp.o [ 25%] Linking CXX shared library libpreview.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 25%] Built target preview [ 27%] Building CXX object image/CMakeFiles/images.dir/dng.cpp.o [ 30%] Building CXX object output/CMakeFiles/outputs.dir/circular_output.cpp.o [ 32%] Linking CXX shared library libimages.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 32%] Built target images make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 34%] Building CXX object encoder/CMakeFiles/encoders.dir/encoder.cpp.o [ 39%] 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/negate_stage.cpp.o [ 41%] Linking CXX shared library liboutputs.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 41%] Built target outputs [ 44%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/hdr_stage.cpp.o [ 46%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/pwl.cpp.o [ 48%] Building CXX object post_processing_stages/CMakeFiles/post_processing_stages.dir/histogram.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/motion_detect_stage.cpp.o [ 58%] Building CXX object encoder/CMakeFiles/encoders.dir/mjpeg_encoder.cpp.o [ 60%] Building CXX object encoder/CMakeFiles/encoders.dir/libav_encoder.cpp.o [ 62%] Linking CXX shared library libpost_processing_stages.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 62%] Built target post_processing_stages make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 65%] Building CXX object core/CMakeFiles/libcamera_app.dir/libcamera_app.cpp.o [ 67%] Building CXX object core/CMakeFiles/libcamera_app.dir/post_processor.cpp.o [ 69%] Building CXX object core/CMakeFiles/libcamera_app.dir/version.cpp.o [ 72%] Building CXX object core/CMakeFiles/libcamera_app.dir/options.cpp.o /home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/core/libcamera_app.cpp: In member function 'void LibcameraApp::ConfigureViewfinder()': /home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/core/libcamera_app.cpp:327:25: error: 'class libcamera::CameraConfiguration' has no member named 'transform' 327 | configuration_->transform = options_->transform; | ^~~~~~~~~ compilation terminated due to -Wfatal-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.... [ 74%] Linking CXX shared library libencoders.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' [ 74%] Built target encoders make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' 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-0/output-1/build/libcamera-apps-1.2.1' Makefile:155: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1' package/pkg-generic.mk:280: recipe for target '/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-0/output-1/build/libcamera-apps-1.2.1/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-0/buildroot'