>>> libcamera 96fab38e02792a109c0d35ca2154e95a7b4c8fcb Extracting gzip -d -c /tmp/instance-0/dl/libcamera/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb.tar.gz | /tmp/instance-0/output-1/host/bin/tar --strip-components=1 -C /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb -xf - >>> libcamera 96fab38e02792a109c0d35ca2154e95a7b4c8fcb Patching >>> libcamera 96fab38e02792a109c0d35ca2154e95a7b4c8fcb Configuring rm -rf /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb//build mkdir -p /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb//build sed -e 's%@TARGET_CROSS@%/tmp/instance-0/output-1/host/bin/nios2-linux-%g' -e 's%@TARGET_ARCH@%nios2%g' -e 's%@TARGET_CPU@%%g' -e 's%@TARGET_ENDIAN@%little%g' -e 's%@TARGET_CFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-D_FORTIFY_SOURCE=2"%g' -e 's%@TARGET_LDFLAGS@%%g' -e 's%@TARGET_CXXFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os", "-D_FORTIFY_SOURCE=2"%g' -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb//build/cross-compilation.conf PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb//build/cross-compilation.conf -Dbuild.pkg_config_path=/tmp/instance-0/output-1/host/lib/pkgconfig -Dandroid=false -Ddocumentation=false -Dtest=false -Dv4l2=true -Dpipelines=raspberrypi,uvcvideo /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb/ /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb//build WARNING: Unknown CPU family nios2, please report this at https://github.com/mesonbuild/meson/issues/new The Meson build system Version: 0.54.2 Source dir: /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb Build dir: /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb/build Build type: cross build Project name: libcamera Project version: 0.0.0 C compiler for the build machine: ccache cc (gcc 9.3.0 "cc (Ubuntu 9.3.0-10ubuntu2) 9.3.0") C linker for the build machine: cc ld.bfd 2.34 C++ compiler for the build machine: ccache c++ (gcc 9.3.0 "c++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0") C++ linker for the build machine: c++ ld.bfd 2.34 C compiler for the host machine: /tmp/instance-0/output-1/host/bin/nios2-linux-gcc (gcc 8.3.0 "nios2-linux-gcc.br_real (Buildroot 2020.02) 8.3.0") C linker for the host machine: /tmp/instance-0/output-1/host/bin/nios2-linux-gcc ld.bfd 2.32 C++ compiler for the host machine: /tmp/instance-0/output-1/host/bin/nios2-linux-g++ (gcc 8.3.0 "nios2-linux-g++.br_real (Buildroot 2020.02) 8.3.0") C++ linker for the host machine: /tmp/instance-0/output-1/host/bin/nios2-linux-g++ ld.bfd 2.32 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: nios2 Host machine cpu: Target machine cpu family: nios2 Target machine cpu: Header has symbol "backtrace" : YES Header has symbol "secure_getenv" : YES Compiler for C supports arguments -Wno-c99-designator -Wc99-designator: NO Configuring version.h using configuration Program openssl found: YES (/tmp/instance-0/output-1/host/bin/openssl) Library atomic found: YES Library dl found: YES Library gnutls found: YES Found pkg-config: /tmp/instance-0/output-1/host/bin/pkgconf (1.6.1) Found CMake: NO Run-time dependency libudev found: NO (tried pkgconfig and cmake) Run-time dependency threads found: YES Run-time dependency Boost found: YES 1.73.0 (/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr) Program ipa-sign-install.sh found: YES (/tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb/src/ipa/ipa-sign-install.sh) WARNING: rcc dependencies will not work reliably until this upstream issue is fixed: https://bugreports.qt.io/browse/QTBUG-45460 Run-time dependency qt5 (modules: Core, Gui, Widgets) found: NO (tried pkgconfig) Run-time dependency glib-2.0 found: YES 2.64.3 Run-time dependency gstreamer-video-1.0 found: NO (tried pkgconfig and cmake) Run-time dependency gstreamer-allocators-1.0 found: NO (tried pkgconfig and cmake) Configuring config.h using configuration Build targets in project: 16 Found ninja-1.10.0 at /tmp/instance-0/output-1/host/bin/ninja >>> libcamera 96fab38e02792a109c0d35ca2154e95a7b4c8fcb Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-0/output-1/host/bin/ninja -j32 -C /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb//build ninja: Entering directory `/tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb//build' [1/110] Generating gen-header with a custom command [2/110] Compiling C object 'utils/ipu3/5b60d53@@ipu3-unpack@exe/ipu3-unpack.c.o' [3/110] Linking target utils/ipu3/ipu3-unpack [4/110] Generating property_ids_h with a custom command [5/110] Generating property_ids_cpp with a custom command [6/110] Generating control_ids_cpp with a custom command [7/110] Generating control_ids_h with a custom command [8/110] Generating ipa-priv-key with a custom command .....+++++ .................................................................................................+++++ [9/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/ipa_controls.cpp.o' [10/110] Generating ipa_pub_key_cpp with a custom command writing RSA key [11/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/control_validator.cpp.o' [12/110] Generating version.cpp with a custom command [13/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/geometry.cpp.o' [14/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/event_dispatcher.cpp.o' [15/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/byte_stream_buffer.cpp.o' [16/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/meson-generated_.._property_ids.cpp.o' [17/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/ipa_interface.cpp.o' [18/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/buffer.cpp.o' [19/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/file_descriptor.cpp.o' [20/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/meson-generated_.._control_ids.cpp.o' [21/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/meson-generated_.._version.cpp.o' [22/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/camera_controls.cpp.o' [23/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/file.cpp.o' [24/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/bound_method.cpp.o' [25/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/event_notifier.cpp.o' [26/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/device_enumerator_sysfs.cpp.o' [27/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/meson-generated_.._ipa_pub_key.cpp.o' [28/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/pixel_format.cpp.o' [29/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/ipc_unixsocket.cpp.o' [30/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/media_object.cpp.o' [31/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/formats.cpp.o' [32/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/pub_key.cpp.o' [33/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/event_dispatcher_poll.cpp.o' [34/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/device_enumerator.cpp.o' [35/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/framebuffer_allocator.cpp.o' [36/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/ipa_proxy.cpp.o' [37/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/ipa_module.cpp.o' [38/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/media_device.cpp.o' [39/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/message.cpp.o' [40/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/ipa_manager.cpp.o' [41/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/md_parser_rpi.cpp.o' [42/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/controls.cpp.o' [43/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/log.cpp.o' [44/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/semaphore.cpp.o' [45/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/signal.cpp.o' [46/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/object.cpp.o' [47/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/control_serializer.cpp.o' [48/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/v4l2_controls.cpp.o' [49/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/ipa_context_wrapper.cpp.o' [50/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/md_parser.cpp.o' [51/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/utils.cpp.o' [52/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/camera_manager.cpp.o' [53/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/timer.cpp.o' [54/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_histogram.cpp.o' [55/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/process.cpp.o' [56/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/v4l2_pixelformat.cpp.o' [57/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/request.cpp.o' [58/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/thread.cpp.o' [59/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/stream.cpp.o' [60/110] Compiling C++ object 'src/libcamera/proxy/worker/c1feb93@@ipa_proxy_linux@exe/ipa_proxy_linux_worker.cpp.o' [61/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/cam_helper_ov5647.cpp.o' [62/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/cam_helper_imx219.cpp.o' [63/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/v4l2_device.cpp.o' [64/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/cam_helper_imx477.cpp.o' [65/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/camera.cpp.o' [66/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/v4l2_subdevice.cpp.o' [67/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/proxy_ipa_proxy_linux.cpp.o' [68/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/cam_helper.cpp.o' [69/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/pipeline_handler.cpp.o' [70/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/pipeline_raspberrypi_staggered_ctrl.cpp.o' [71/110] Compiling C++ object 'src/cam/351722a@@cam@exe/event_loop.cpp.o' [72/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/proxy_ipa_proxy_thread.cpp.o' [73/110] Compiling C++ object 'src/cam/351722a@@cam@exe/buffer_writer.cpp.o' [74/110] Compiling C++ object 'src/ipa/libipa/9f50984@@ipa@sta/ipa_interface_wrapper.cpp.o' [75/110] Linking static target src/ipa/libipa/libipa.a [76/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_algorithm.cpp.o' [77/110] Compiling C++ object 'src/cam/351722a@@cam@exe/stream_options.cpp.o' [78/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/pipeline_uvcvideo_uvcvideo.cpp.o' [79/110] Compiling C++ object 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_compat.cpp.o' [80/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_sharpen.cpp.o' FAILED: src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_sharpen.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha -Isrc/ipa/raspberrypi -I../src/ipa/raspberrypi -Iinclude -I../include -Isrc/ipa -I../src/ipa -I../src/ipa/raspberrypi/controller -Iinclude/libcamera -I/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -DBOOST_ALL_NO_LIB -MD -MQ 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_sharpen.cpp.o' -MF 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_sharpen.cpp.o.d' -o 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_sharpen.cpp.o' -c ../src/ipa/raspberrypi/controller/rpi/sharpen.cpp ../src/ipa/raspberrypi/controller/rpi/sharpen.cpp: In function 'RPi::Algorithm* Create(RPi::Controller*)': ../src/ipa/raspberrypi/controller/rpi/sharpen.cpp:58:31: error: 'new' of type 'RPi::Sharpen' with extended alignment 8 [-Werror=aligned-new=] return new Sharpen(controller); ^ ../src/ipa/raspberrypi/controller/rpi/sharpen.cpp:58:31: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../src/ipa/raspberrypi/controller/rpi/sharpen.cpp:58:31: note: use '-faligned-new' to enable C++17 over-aligned new support cc1plus: all warnings being treated as errors [81/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/v4l2_videodevice.cpp.o' FAILED: src/libcamera/4ab8042@@camera@sha/v4l2_videodevice.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/libcamera/4ab8042@@camera@sha -Isrc/libcamera -I../src/libcamera -Iinclude -I../include -Iinclude/libcamera -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 'src/libcamera/4ab8042@@camera@sha/v4l2_videodevice.cpp.o' -MF 'src/libcamera/4ab8042@@camera@sha/v4l2_videodevice.cpp.o.d' -o 'src/libcamera/4ab8042@@camera@sha/v4l2_videodevice.cpp.o' -c ../src/libcamera/v4l2_videodevice.cpp ../src/libcamera/v4l2_videodevice.cpp: In member function 'int libcamera::V4L2VideoDevice::allocateBuffers(unsigned int, std::vector >*)': ../src/libcamera/v4l2_videodevice.cpp:1139:39: error: 'new' of type 'libcamera::V4L2BufferCache' with extended alignment 8 [-Werror=aligned-new=] cache_ = new V4L2BufferCache(*buffers); ^ ../src/libcamera/v4l2_videodevice.cpp:1139:39: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../src/libcamera/v4l2_videodevice.cpp:1139:39: note: use '-faligned-new' to enable C++17 over-aligned new support ../src/libcamera/v4l2_videodevice.cpp: In member function 'int libcamera::V4L2VideoDevice::importBuffers(unsigned int)': ../src/libcamera/v4l2_videodevice.cpp:1315:36: error: 'new' of type 'libcamera::V4L2BufferCache' with extended alignment 8 [-Werror=aligned-new=] cache_ = new V4L2BufferCache(count); ^ ../src/libcamera/v4l2_videodevice.cpp:1315:36: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../src/libcamera/v4l2_videodevice.cpp:1315:36: note: use '-faligned-new' to enable C++17 over-aligned new support cc1plus: all warnings being treated as errors [82/110] Compiling C++ object 'src/cam/351722a@@cam@exe/capture.cpp.o' [83/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_noise.cpp.o' FAILED: src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_noise.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha -Isrc/ipa/raspberrypi -I../src/ipa/raspberrypi -Iinclude -I../include -Isrc/ipa -I../src/ipa -I../src/ipa/raspberrypi/controller -Iinclude/libcamera -I/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -DBOOST_ALL_NO_LIB -MD -MQ 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_noise.cpp.o' -MF 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_noise.cpp.o.d' -o 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_noise.cpp.o' -c ../src/ipa/raspberrypi/controller/rpi/noise.cpp ../src/ipa/raspberrypi/controller/rpi/noise.cpp: In function 'RPi::Algorithm* Create(RPi::Controller*)': ../src/ipa/raspberrypi/controller/rpi/noise.cpp:69:29: error: 'new' of type 'RPi::Noise' with extended alignment 8 [-Werror=aligned-new=] return new Noise(controller); ^ ../src/ipa/raspberrypi/controller/rpi/noise.cpp:69:29: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../src/ipa/raspberrypi/controller/rpi/noise.cpp:69:29: note: use '-faligned-new' to enable C++17 over-aligned new support cc1plus: all warnings being treated as errors [84/110] Compiling C++ object 'src/cam/351722a@@cam@exe/main.cpp.o' [85/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_black_level.cpp.o' [86/110] Compiling C++ object 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera.cpp.o' FAILED: src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/v4l2/2092569@@v4l2-compat@sha -Isrc/v4l2 -I../src/v4l2 -Iinclude -I../include -Iinclude/libcamera -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -U_FILE_OFFSET_BITS -D_FILE_OFFSET_BITS=32 -fvisibility=hidden -MD -MQ 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera.cpp.o' -MF 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera.cpp.o.d' -o 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera.cpp.o' -c ../src/v4l2/v4l2_camera.cpp ../src/v4l2/v4l2_camera.cpp: In member function 'void V4L2Camera::requestComplete(libcamera::Request*)': ../src/v4l2/v4l2_camera.cpp:94:9: error: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Werror=unused-result] ::write(efd_, &data, sizeof(data)); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors [87/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_dpc.cpp.o' [88/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_lux.cpp.o' FAILED: src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_lux.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha -Isrc/ipa/raspberrypi -I../src/ipa/raspberrypi -Iinclude -I../include -Isrc/ipa -I../src/ipa -I../src/ipa/raspberrypi/controller -Iinclude/libcamera -I/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -DBOOST_ALL_NO_LIB -MD -MQ 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_lux.cpp.o' -MF 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_lux.cpp.o.d' -o 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_lux.cpp.o' -c ../src/ipa/raspberrypi/controller/rpi/lux.cpp ../src/ipa/raspberrypi/controller/rpi/lux.cpp: In function 'RPi::Algorithm* Create(RPi::Controller*)': ../src/ipa/raspberrypi/controller/rpi/lux.cpp:102:40: error: 'new' of type 'RPi::Lux' with extended alignment 8 [-Werror=aligned-new=] return (Algorithm *)new Lux(controller); ^ ../src/ipa/raspberrypi/controller/rpi/lux.cpp:102:40: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../src/ipa/raspberrypi/controller/rpi/lux.cpp:102:40: note: use '-faligned-new' to enable C++17 over-aligned new support cc1plus: all warnings being treated as errors [89/110] Compiling C++ object 'src/cam/351722a@@cam@exe/options.cpp.o' [90/110] Compiling C++ object 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera_proxy.cpp.o' FAILED: src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera_proxy.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/v4l2/2092569@@v4l2-compat@sha -Isrc/v4l2 -I../src/v4l2 -Iinclude -I../include -Iinclude/libcamera -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -U_FILE_OFFSET_BITS -D_FILE_OFFSET_BITS=32 -fvisibility=hidden -MD -MQ 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera_proxy.cpp.o' -MF 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera_proxy.cpp.o.d' -o 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_camera_proxy.cpp.o' -c ../src/v4l2/v4l2_camera_proxy.cpp ../src/v4l2/v4l2_camera_proxy.cpp: In member function 'int V4L2CameraProxy::vidioc_dqbuf(v4l2_buffer*)': ../src/v4l2/v4l2_camera_proxy.cpp:457:8: error: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Werror=unused-result] ::read(efd_, &data, sizeof(data)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors [91/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_geq.cpp.o' [92/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_pwl.cpp.o' [93/110] Compiling C++ object 'src/v4l2/2092569@@v4l2-compat@sha/v4l2_compat_manager.cpp.o' [94/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_ccm.cpp.o' FAILED: src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_ccm.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha -Isrc/ipa/raspberrypi -I../src/ipa/raspberrypi -Iinclude -I../include -Isrc/ipa -I../src/ipa -I../src/ipa/raspberrypi/controller -Iinclude/libcamera -I/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -DBOOST_ALL_NO_LIB -MD -MQ 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_ccm.cpp.o' -MF 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_ccm.cpp.o.d' -o 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_ccm.cpp.o' -c ../src/ipa/raspberrypi/controller/rpi/ccm.cpp ../src/ipa/raspberrypi/controller/rpi/ccm.cpp: In function 'RPi::Algorithm* Create(RPi::Controller*)': ../src/ipa/raspberrypi/controller/rpi/ccm.cpp:160:40: error: 'new' of type 'RPi::Ccm' with extended alignment 8 [-Werror=aligned-new=] return (Algorithm *)new Ccm(controller); ^ ../src/ipa/raspberrypi/controller/rpi/ccm.cpp:160:40: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../src/ipa/raspberrypi/controller/rpi/ccm.cpp:160:40: note: use '-faligned-new' to enable C++17 over-aligned new support cc1plus: all warnings being treated as errors [95/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_sdn.cpp.o' [96/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_contrast.cpp.o' FAILED: src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_contrast.cpp.o /tmp/instance-0/output-1/host/bin/nios2-linux-g++ -Isrc/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha -Isrc/ipa/raspberrypi -I../src/ipa/raspberrypi -Iinclude -I../include -Isrc/ipa -I../src/ipa -I../src/ipa/raspberrypi/controller -Iinclude/libcamera -I/tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++14 -O3 -Wno-unused-parameter -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -fPIC -DBOOST_ALL_NO_LIB -MD -MQ 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_contrast.cpp.o' -MF 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_contrast.cpp.o.d' -o 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_contrast.cpp.o' -c ../src/ipa/raspberrypi/controller/rpi/contrast.cpp ../src/ipa/raspberrypi/controller/rpi/contrast.cpp: In function 'RPi::Algorithm* Create(RPi::Controller*)': ../src/ipa/raspberrypi/controller/rpi/contrast.cpp:174:45: error: 'new' of type 'RPi::Contrast' with extended alignment 8 [-Werror=aligned-new=] return (Algorithm *)new Contrast(controller); ^ ../src/ipa/raspberrypi/controller/rpi/contrast.cpp:174:45: note: uses 'void* operator new(std::size_t)', which does not have an alignment parameter ../src/ipa/raspberrypi/controller/rpi/contrast.cpp:174:45: note: use '-faligned-new' to enable C++17 over-aligned new support cc1plus: all warnings being treated as errors [97/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_alsc.cpp.o' [98/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/camera_sensor.cpp.o' [99/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_controller.cpp.o' In file included from /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/property_tree/json_parser/detail/parser.hpp:7, from /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/property_tree/json_parser/detail/read.hpp:13, from /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/property_tree/json_parser.hpp:16, from ../src/ipa/raspberrypi/controller/controller.cpp:11: /tmp/instance-0/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/include/boost/bind.hpp:41:1: note: #pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. ) ^ [100/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_agc.cpp.o' [101/110] Compiling C++ object 'src/libcamera/4ab8042@@camera@sha/pipeline_raspberrypi_raspberrypi.cpp.o' [102/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/controller_rpi_awb.cpp.o' [103/110] Compiling C++ object 'src/ipa/raspberrypi/6dc6c64@@ipa_rpi@sha/raspberrypi.cpp.o' ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:269: /tmp/instance-0/output-1/build/libcamera-96fab38e02792a109c0d35ca2154e95a7b4c8fcb/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-0/buildroot'