>>> libcamera 3a1f67a8031ac5ad96a11d5dc8b2e8976290497b Extracting gzip -d -c /tmp/instance-5/dl/libcamera/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b-br1.tar.gz | tar --strip-components=1 -C /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b -xf - >>> libcamera 3a1f67a8031ac5ad96a11d5dc8b2e8976290497b Patching Applying 0001-libcamera-add-dependencies-to-libcamera_dep.patch using patch: patching file src/libcamera/meson.build Hunk #1 succeeded at 159 (offset -1 lines). >>> libcamera 3a1f67a8031ac5ad96a11d5dc8b2e8976290497b Configuring rm -rf /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build mkdir -p /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build sed -e 's%@TARGET_CROSS@%/tmp/instance-5/output-1/host/bin/arm-linux-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%cortex-a9%g' -e 's%@TARGET_ENDIAN@%little%g' -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-faligned-new'%g" -e 's%@HOST_DIR@%/tmp/instance-5/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build/cross-compilation.conf PATH="/tmp/instance-5/output-1/host/bin:/tmp/instance-5/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /tmp/instance-5/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-5/output-1/host/lib/pkgconfig -Dandroid=disabled -Ddocumentation=disabled -Dtest=false -Dwerror=false -Dv4l2=false -Dpipelines=raspberrypi -Dgstreamer=enabled -Dqcam=enabled -Dtracing=disabled /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/ /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build The Meson build system Version: 0.58.2 Source dir: /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b Build dir: /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/build Build type: cross build Project name: libcamera Project version: 0.0.0 C compiler for the host machine: /tmp/instance-5/output-1/host/bin/arm-linux-gcc (gcc 9.3.0 "arm-linux-gcc.br_real (Buildroot 2020.08-14-ge5a2a90) 9.3.0") C linker for the host machine: /tmp/instance-5/output-1/host/bin/arm-linux-gcc ld.bfd 2.33.1 C++ compiler for the host machine: /tmp/instance-5/output-1/host/bin/arm-linux-g++ (gcc 9.3.0 "arm-linux-g++.br_real (Buildroot 2020.08-14-ge5a2a90) 9.3.0") C++ linker for the host machine: /tmp/instance-5/output-1/host/bin/arm-linux-g++ ld.bfd 2.33.1 C compiler for the build machine: /usr/bin/gcc (gcc 9.3.0 "gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.34 C++ compiler for the build machine: /usr/bin/g++ (gcc 9.3.0 "g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.34 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: cortex-a9 Target machine cpu family: arm Target machine cpu: cortex-a9 Header has symbol "backtrace" : NO Header has symbol "secure_getenv" : YES Compiler for C supports arguments -Wno-c99-designator: NO Library lttng-ust skipped: feature tracing disabled Program ./parser.py found: YES (/tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/utils/ipc/./parser.py) Program ./generate.py found: YES (/tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/utils/ipc/./generate.py) Program ./gen-tp-header.py found: YES (/tmp/instance-5/output-1/host/bin/python3 /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/utils/tracepoints/./gen-tp-header.py) Configuring version.h using configuration Program openssl found: YES (/tmp/instance-5/output-1/host/bin/openssl) Dependency libexif skipped: feature android disabled Dependency libjpeg skipped: feature android disabled Library atomic found: YES Library dl found: YES Library gnutls found: YES Found pkg-config: /tmp/instance-5/output-1/host/bin/pkgconf (1.6.3) Found CMake: NO Run-time dependency libudev found: NO (tried pkgconfig and cmake) Program /tmp/instance-5/output-1/host/bin/meson found: YES (/tmp/instance-5/output-1/host/bin/meson) Run-time dependency threads found: YES Run-time dependency Boost found: YES 1.75.0 (/tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr) Program ipa-sign-install.sh found: YES (/tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/src/ipa/ipa-sign-install.sh) Run-time dependency libevent_pthreads found: YES 2.1.12-stable Dependency libevent_pthreads found: YES 2.1.12-stable (cached) Run-time dependency qt5 (modules: Core, Gui, Widgets) found: YES 5.15.2 (pkg-config) Run-time dependency libtiff-4 found: YES 4.3.0 Header has symbol "QOpenGLWidget" with dependencies Qt5Core, Qt5Core, Qt5Gui, Qt5Widgets: YES Detecting Qt5 tools Run-time dependency qt5 (modules: Core) found: YES 5.15.2 (pkg-config) Program /tmp/instance-5/output-1/host/bin/moc found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/moc) Program moc-qt5 found: NO Program moc found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/moc) Program /tmp/instance-5/output-1/host/bin/uic found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/uic) Program uic-qt5 found: NO Program uic found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/uic) Program /tmp/instance-5/output-1/host/bin/rcc found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/rcc) Program rcc-qt5 found: NO Program rcc found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/rcc) Program /tmp/instance-5/output-1/host/bin/lrelease found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/lrelease) Program lrelease-qt5 found: NO Program lrelease found: YES 5.15.2 (/tmp/instance-5/output-1/host/bin/lrelease) Run-time dependency glib-2.0 found: YES 2.68.2 Run-time dependency gstreamer-video-1.0 found: YES 1.18.4 Run-time dependency gstreamer-allocators-1.0 found: YES 1.18.4 Program doxygen skipped: feature documentation disabled Program dot skipped: feature documentation disabled Program sphinx-build-3 found: NO Program sphinx-build skipped: feature documentation disabled Configuring config.h using configuration Program python3 (jinja2, ply, jinja2, yaml) found: YES (/tmp/instance-5/output-1/host/bin/python3) modules: jinja2, ply, jinja2, yaml Build targets in project: 32 libcamera 0.0.0 Configuration Enabled pipelines : raspberrypi Android support : False GStreamer support : True V4L2 emulation support : False cam application : True qcam application : True lc-compliance application: True Unit tests : False Option werror is: false [default: true] Found ninja-1.10.2 at /tmp/instance-5/output-1/host/bin/ninja >>> libcamera 3a1f67a8031ac5ad96a11d5dc8b2e8976290497b Building PATH="/tmp/instance-5/output-1/host/bin:/tmp/instance-5/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" PYTHONNOUSERSITE=y /tmp/instance-5/output-1/host/bin/ninja -j96 -C /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build ninja: Entering directory `/tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build' [1/160] Compiling C object utils/ipu3/ipu3-unpack.p/ipu3-unpack.c.o [2/160] Generating tp_header with a custom command [3/160] Generating qt5-feathericons_qrc with a custom command [4/160] Generating qt5-shaders_qrc with a custom command [5/160] Generating formats_h with a custom command [6/160] Generating 'src/qcam/qcam.p/moc_viewfinder_qt.cpp'. [7/160] Linking target utils/ipu3/ipu3-unpack [8/160] Generating 'src/qcam/qcam.p/moc_main_window.cpp'. [9/160] Generating property_ids_h with a custom command [10/160] Generating control_ids_h with a custom command [11/160] Generating ipa-priv-key with a custom command .+++++ ..........................................................................................................................................................+++++ [12/160] Generating 'src/qcam/qcam.p/moc_viewfinder_gl.cpp'. [13/160] Generating core_mojom_module with a custom command [14/160] Generating property_ids_cpp with a custom command [15/160] Generating gen-header with a custom command [16/160] Generating mojom_templates with a custom command [17/160] Generating control_ids_cpp with a custom command [18/160] Generating raspberrypi_mojom_module with a custom command [19/160] Compiling C++ object src/ipa/libipa/libipa.a.p/algorithm.cpp.o [20/160] Compiling C++ object src/qcam/qcam.p/meson-generated_.._qt5-shaders_qrc.cpp.o [21/160] Compiling C++ object src/qcam/qcam.p/meson-generated_.._qt5-feathericons_qrc.cpp.o [22/160] Generating version.cpp with a custom command [23/160] Generating ipa_pub_key_cpp with a custom command writing RSA key [24/160] Generating raspberrypi_ipa_serializer_h with a custom command [25/160] Generating raspberrypi_proxy_h with a custom command [26/160] Generating core_ipa_interface_h with a custom command [27/160] Generating raspberrypi_ipa_interface_h with a custom command [28/160] Generating core_ipa_serializer_h with a custom command [29/160] Compiling C++ object src/ipa/libipa/libipa.a.p/histogram.cpp.o [30/160] Compiling C++ object src/lc-compliance/lc-compliance.p/.._cam_event_loop.cpp.o [31/160] Compiling C++ object src/lc-compliance/lc-compliance.p/results.cpp.o [32/160] Compiling C++ object src/cam/cam.p/event_loop.cpp.o [33/160] Compiling C++ object src/qcam/qcam.p/message_handler.cpp.o [34/160] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamera.cpp.o [35/160] Generating raspberrypi_proxy_cpp with a custom command [36/160] Generating raspberrypi_proxy_worker with a custom command [37/160] Compiling C++ object src/libcamera/libcamera.so.p/control_validator.cpp.o [38/160] Compiling C++ object src/libcamera/libcamera.so.p/ipa_controls.cpp.o [39/160] Compiling C++ object src/cam/cam.p/buffer_writer.cpp.o [40/160] Compiling C++ object src/libcamera/libcamera.so.p/class.cpp.o [41/160] Linking static target src/ipa/libipa/libipa.a [42/160] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._version.cpp.o [43/160] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._ipa_pub_key.cpp.o [44/160] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamera-utils.cpp.o [45/160] Compiling C++ object src/qcam/qcam.p/meson-generated_moc_viewfinder_qt.cpp.o [46/160] Compiling C++ object src/libcamera/libcamera.so.p/pub_key.cpp.o [47/160] Compiling C++ object src/cam/cam.p/stream_options.cpp.o [48/160] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamerapad.cpp.o [49/160] Compiling C++ object src/libcamera/libcamera.so.p/transform.cpp.o [50/160] Compiling C++ object src/lc-compliance/lc-compliance.p/single_stream.cpp.o [51/160] Compiling C++ object src/qcam/qcam.p/format_converter.cpp.o [52/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/md_parser.cpp.o [53/160] Compiling C++ object src/qcam/qcam.p/dng_writer.cpp.o [54/160] Compiling C++ object src/libcamera/libcamera.so.p/bound_method.cpp.o [55/160] Compiling C++ object src/libcamera/libcamera.so.p/buffer.cpp.o [56/160] Compiling C++ object src/lc-compliance/lc-compliance.p/main.cpp.o [57/160] Compiling C++ object src/libcamera/libcamera.so.p/event_dispatcher.cpp.o [58/160] Compiling C++ object src/qcam/qcam.p/.._cam_stream_options.cpp.o [59/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_histogram.cpp.o [60/160] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamerapool.cpp.o [61/160] Compiling C++ object src/libcamera/libcamera.so.p/bayer_format.cpp.o [62/160] Compiling C++ object src/libcamera/libcamera.so.p/byte_stream_buffer.cpp.o [63/160] Compiling C++ object src/libcamera/libcamera.so.p/pixel_format.cpp.o [64/160] Compiling C++ object src/libcamera/libcamera.so.p/formats.cpp.o [65/160] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._property_ids.cpp.o [66/160] Compiling C++ object src/libcamera/libcamera.so.p/file_descriptor.cpp.o [67/160] Compiling C++ object src/libcamera/libcamera.so.p/geometry.cpp.o [68/160] Compiling C++ object src/libcamera/libcamera.so.p/sysfs.cpp.o [69/160] Compiling C++ object src/libcamera/libcamera.so.p/semaphore.cpp.o [70/160] Compiling C++ object src/libcamera/libcamera.so.p/event_notifier.cpp.o [71/160] Compiling C++ object src/libcamera/libcamera.so.p/device_enumerator_sysfs.cpp.o [72/160] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcameraprovider.cpp.o [73/160] Compiling C++ object src/libcamera/libcamera.so.p/camera_controls.cpp.o [74/160] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._control_ids.cpp.o [75/160] Compiling C++ object src/libcamera/libcamera.so.p/media_object.cpp.o [76/160] Compiling C++ object src/libcamera/libcamera.so.p/process.cpp.o [77/160] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcameraallocator.cpp.o [78/160] Compiling C++ object src/lc-compliance/lc-compliance.p/simple_capture.cpp.o [79/160] Compiling C++ object src/cam/cam.p/main.cpp.o [80/160] Compiling C++ object src/libcamera/libcamera.so.p/ipa_interface.cpp.o [81/160] Compiling C++ object src/libcamera/libcamera.so.p/signal.cpp.o [82/160] Compiling C++ object src/libcamera/libcamera.so.p/file.cpp.o [83/160] Compiling C++ object src/libcamera/libcamera.so.p/pipeline_raspberrypi_dma_heaps.cpp.o [84/160] Compiling C++ object src/libcamera/libcamera.so.p/delayed_controls.cpp.o [85/160] Compiling C++ object src/libcamera/libcamera.so.p/message.cpp.o [86/160] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_pixelformat.cpp.o [87/160] Compiling C++ object src/libcamera/libcamera.so.p/ipc_unixsocket.cpp.o [88/160] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_controls.cpp.o [89/160] Compiling C++ object src/libcamera/libcamera.so.p/ipc_pipe.cpp.o [90/160] Compiling C++ object src/cam/cam.p/capture.cpp.o [91/160] Compiling C++ object src/libcamera/libcamera.so.p/object.cpp.o [92/160] Compiling C++ object src/libcamera/libcamera.so.p/event_dispatcher_poll.cpp.o [93/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/cam_helper_ov5647.cpp.o [94/160] Compiling C++ object src/libcamera/libcamera.so.p/timer.cpp.o [95/160] Compiling C++ object src/qcam/qcam.p/meson-generated_moc_main_window.cpp.o [96/160] Compiling C++ object src/libcamera/libcamera.so.p/framebuffer_allocator.cpp.o [97/160] Compiling C++ object src/libcamera/libcamera.so.p/thread.cpp.o [98/160] Compiling C++ object src/libcamera/libcamera.so.p/ipa_module.cpp.o [99/160] Compiling C++ object src/libcamera/libcamera.so.p/utils.cpp.o [100/160] Compiling C++ object src/libcamera/libcamera.so.p/request.cpp.o [101/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/cam_helper_imx477.cpp.o [102/160] Compiling C++ object src/libcamera/libcamera.so.p/ipa_proxy.cpp.o [103/160] Compiling C++ object src/libcamera/libcamera.so.p/pipeline_raspberrypi_rpi_stream.cpp.o [104/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/cam_helper_imx219.cpp.o [105/160] Compiling C++ object src/qcam/qcam.p/viewfinder_gl.cpp.o FAILED: src/qcam/qcam.p/viewfinder_gl.cpp.o /tmp/instance-5/output-1/host/bin/arm-linux-g++ -Isrc/qcam/qcam.p -Isrc/qcam -I../src/qcam -Iinclude -I../include -Iinclude/libcamera -I/tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/qt5/QtCore -I/tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/qt5 -I/tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/qt5/QtGui -I/tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/qt5/QtWidgets -I/tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -O3 -Wno-psabi -Wshadow -include config.h -faligned-new -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -pthread -DQT_NO_KEYWORDS -DHAVE_TIFF -MD -MQ src/qcam/qcam.p/viewfinder_gl.cpp.o -MF src/qcam/qcam.p/viewfinder_gl.cpp.o.d -o src/qcam/qcam.p/viewfinder_gl.cpp.o -c ../src/qcam/viewfinder_gl.cpp ../src/qcam/viewfinder_gl.cpp: In member function 'void ViewFinderGL::doRender()': ../src/qcam/viewfinder_gl.cpp:371:9: error: 'GL_RED' was not declared in this scope; did you mean 'GL_RGB'? 371 | GL_RED, | ^~~~~~ | GL_RGB ../src/qcam/viewfinder_gl.cpp:385:9: error: 'GL_RG' was not declared in this scope; did you mean 'GL_RGB'? 385 | GL_RG, | ^~~~~ | GL_RGB [106/160] Compiling C++ object src/libcamera/libcamera.so.p/media_device.cpp.o [107/160] Compiling C++ object src/libcamera/libcamera.so.p/device_enumerator.cpp.o [108/160] Compiling C++ object src/libcamera/libcamera.so.p/controls.cpp.o [109/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/cam_helper.cpp.o [110/160] Compiling C++ object src/qcam/qcam.p/meson-generated_moc_viewfinder_gl.cpp.o [111/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/cam_helper_imx290.cpp.o [112/160] Compiling C++ object src/libcamera/libcamera.so.p/stream.cpp.o [113/160] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o In file included from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/gstreamer-1.0/gst/base/base.h:35, from ../src/gstreamer/gstlibcamerasrc.cpp:39: /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/gstreamer-1.0/gst/base/gstbytereader.h: In function 'guint8* gst_byte_reader_dup_data_unchecked(GstByteReader*, guint)': /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/gstreamer-1.0/gst/base/gstbytereader.h:365:41: warning: 'void* g_memdup(gconstpointer, guint)' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 365 | return (guint8 *) g_memdup (data, size); | ^ In file included from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/glib-2.0/glib.h:82, from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/gstreamer-1.0/gst/gst.h:27, from ../src/gstreamer/gstlibcamerasrc.h:12, from ../src/gstreamer/gstlibcamerasrc.cpp:34: /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ In file included from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/gstreamer-1.0/gst/base/base.h:35, from ../src/gstreamer/gstlibcamerasrc.cpp:39: /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/gstreamer-1.0/gst/base/gstbytereader.h:365:41: warning: 'void* g_memdup(gconstpointer, guint)' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 365 | return (guint8 *) g_memdup (data, size); | ^ In file included from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/glib-2.0/glib.h:82, from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/gstreamer-1.0/gst/gst.h:27, from ../src/gstreamer/gstlibcamerasrc.h:12, from ../src/gstreamer/gstlibcamerasrc.cpp:34: /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here 257 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ [114/160] Compiling C++ object src/qcam/qcam.p/main.cpp.o [115/160] Compiling C++ object src/libcamera/libcamera.so.p/ipc_pipe_unixsocket.cpp.o [116/160] Compiling C++ object src/libcamera/libcamera.so.p/control_serializer.cpp.o [117/160] Compiling C++ object src/libcamera/libcamera.so.p/ipa_manager.cpp.o [118/160] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_subdevice.cpp.o [119/160] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_device.cpp.o [120/160] Compiling C++ object src/libcamera/libcamera.so.p/camera_manager.cpp.o [121/160] Compiling C++ object src/libcamera/libcamera.so.p/log.cpp.o [122/160] Compiling C++ object src/qcam/qcam.p/.._cam_options.cpp.o [123/160] Compiling C++ object src/qcam/qcam.p/viewfinder_qt.cpp.o [124/160] Compiling C++ object src/lc-compliance/lc-compliance.p/.._cam_options.cpp.o [125/160] Compiling C++ object src/libcamera/libcamera.so.p/pipeline_handler.cpp.o [126/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_algorithm.cpp.o [127/160] Compiling C++ object src/libcamera/libcamera.so.p/ipa_data_serializer.cpp.o [128/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_sharpen.cpp.o [129/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_dpc.cpp.o [130/160] Compiling C++ object src/libcamera/libcamera.so.p/camera.cpp.o [131/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_pwl.cpp.o [132/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_sdn.cpp.o [133/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_focus.cpp.o [134/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_geq.cpp.o [135/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_black_level.cpp.o [136/160] Compiling C++ object src/cam/cam.p/options.cpp.o [137/160] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_videodevice.cpp.o [138/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_contrast.cpp.o [139/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_noise.cpp.o [140/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_lux.cpp.o [141/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_ccm.cpp.o [142/160] Compiling C++ object src/qcam/qcam.p/main_window.cpp.o [143/160] Compiling C++ object src/libcamera/proxy/worker/raspberrypi_ipa_proxy.p/meson-generated_.._raspberrypi_ipa_proxy_worker.cpp.o [144/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_alsc.cpp.o [145/160] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._proxy_raspberrypi_ipa_proxy.cpp.o [146/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_agc.cpp.o [147/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/raspberrypi.cpp.o [148/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_rpi_awb.cpp.o [149/160] Compiling C++ object src/ipa/raspberrypi/ipa_rpi.so.p/controller_controller.cpp.o In file included from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/boost/bind.hpp:30, from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/boost/property_tree/json_parser/detail/parser.hpp:7, from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/boost/property_tree/json_parser/detail/read.hpp:13, from /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/boost/property_tree/json_parser.hpp:16, from ../src/ipa/raspberrypi/controller/controller.cpp:13: /tmp/instance-5/output-1/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/boost/bind.hpp:36: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. 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ [150/160] Compiling C++ object src/libcamera/libcamera.so.p/pipeline_raspberrypi_raspberrypi.cpp.o [151/160] Compiling C++ object src/libcamera/libcamera.so.p/camera_sensor.cpp.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:270: /tmp/instance-5/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-5/buildroot'