>>> libcamera 3a1f67a8031ac5ad96a11d5dc8b2e8976290497b Extracting gzip -d -c /tmp/instance-0/dl/libcamera/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b-br1.tar.gz | tar --strip-components=1 -C /tmp/instance-0/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-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build mkdir -p /tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build sed -e 's%@TARGET_CROSS@%/tmp/instance-0/output-1/host/bin/aarch64-linux-gnu-%g' -e 's%@TARGET_ARCH@%aarch64%g' -e 's%@TARGET_CPU@%cortex-a53%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@%'-faligned-new'%g" -e 's%@HOST_DIR@%/tmp/instance-0/output-1/host%g' -e 's%@STAGING_DIR@%/tmp/instance-0/output-1/host/aarch64-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-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//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" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" 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-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/tmp/instance-0/output-1/host/lib/pkgconfig -Dandroid=disabled -Ddocumentation=disabled -Dtest=false -Dwerror=false -Dv4l2=true -Dpipelines=uvcvideo -Dqcam=enabled -Dtracing=enabled /tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/ /tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build The Meson build system Version: 0.57.2 Source dir: /tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b Build dir: /tmp/instance-0/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-0/output-1/host/bin/aarch64-linux-gnu-gcc (gcc 7.3.1 "aarch64-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701]") C linker for the host machine: /tmp/instance-0/output-1/host/bin/aarch64-linux-gnu-gcc ld.bfd 2.28.2.20170706 C++ compiler for the host machine: /tmp/instance-0/output-1/host/bin/aarch64-linux-gnu-g++ (gcc 7.3.1 "aarch64-linux-gnu-g++ (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701]") C++ linker for the host machine: /tmp/instance-0/output-1/host/bin/aarch64-linux-gnu-g++ ld.bfd 2.28.2.20170706 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: aarch64 Host machine cpu: cortex-a53 Target machine cpu family: aarch64 Target machine cpu: cortex-a53 Header has symbol "backtrace" : YES Header has symbol "secure_getenv" : YES Compiler for C supports arguments -Wno-c99-designator: NO Library lttng-ust found: YES Program ./parser.py found: YES (/tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/utils/ipc/./parser.py) Program ./generate.py found: YES (/tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/utils/ipc/./generate.py) Program ./gen-tp-header.py found: YES (/tmp/instance-0/output-1/host/bin/python3 /tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/utils/tracepoints/./gen-tp-header.py) Configuring version.h using configuration Program openssl found: YES (/tmp/instance-0/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-0/output-1/host/bin/pkgconf (1.6.3) Found CMake: NO Run-time dependency libudev found: NO (tried pkgconfig and cmake) Run-time dependency threads found: YES Program ipa-sign-install.sh found: YES (/tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/src/ipa/ipa-sign-install.sh) Run-time dependency libevent_pthreads found: NO (tried pkgconfig and cmake) Run-time dependency libevent_pthreads found: NO (tried pkgconfig and cmake) Run-time dependency qt5 (modules: Core, Gui, Widgets) found: YES 5.15.2 (pkg-config) Run-time dependency libtiff-4 found: NO (tried pkgconfig and cmake) Header has symbol "QOpenGLWidget" with dependency qt5: YES Detecting Qt5 tools Program /tmp/instance-0/output-1/host/bin/moc found: YES 5.15.2 (/tmp/instance-0/output-1/host/bin/moc) Program /tmp/instance-0/output-1/host/bin/uic found: YES 5.15.2 (/tmp/instance-0/output-1/host/bin/uic) Program /tmp/instance-0/output-1/host/bin/rcc found: YES 5.15.2 (/tmp/instance-0/output-1/host/bin/rcc) Program /tmp/instance-0/output-1/host/bin/lrelease found: YES 5.15.2 (/tmp/instance-0/output-1/host/bin/lrelease) Run-time dependency glib-2.0 found: YES 2.66.8 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) 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-0/output-1/host/bin/python3) modules: jinja2, ply, jinja2, yaml Build targets in project: 21 libcamera 0.0.0 Configuration Enabled pipelines : uvcvideo Android support : False GStreamer support : False V4L2 emulation support : True cam application : False qcam application : True lc-compliance application: False Unit tests : False Option werror is: false [default: true] Found ninja-1.10.2 at /tmp/instance-0/output-1/host/bin/ninja >>> libcamera 3a1f67a8031ac5ad96a11d5dc8b2e8976290497b 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 -j1 -C /tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build ninja: Entering directory `/tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b//build' [1/107] Generating mojom_templates with a custom command [2/107] Compiling C object utils/ipu3/ipu3-unpack.p/ipu3-unpack.c.o [3/107] Linking target utils/ipu3/ipu3-unpack [4/107] Generating tp_header with a custom command [5/107] Generating core_mojom_module with a custom command [6/107] Generating core_ipa_interface_h with a custom command [7/107] Generating core_ipa_serializer_h with a custom command [8/107] Generating control_ids_h with a custom command [9/107] Generating property_ids_h with a custom command [10/107] Generating formats_h with a custom command [11/107] Generating gen-header with a custom command [12/107] Generating ipa-priv-key with a custom command ...............+++++ ........................................................+++++ [13/107] Generating control_ids_cpp with a custom command [14/107] Generating property_ids_cpp with a custom command [15/107] Generating version.cpp with a custom command [16/107] Generating ipa_pub_key_cpp with a custom command writing RSA key [17/107] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._control_ids.cpp.o [18/107] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._property_ids.cpp.o [19/107] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._version.cpp.o [20/107] Compiling C++ object src/libcamera/libcamera.so.p/meson-generated_.._ipa_pub_key.cpp.o [21/107] Compiling C++ object src/libcamera/libcamera.so.p/bayer_format.cpp.o [22/107] Compiling C++ object src/libcamera/libcamera.so.p/bound_method.cpp.o [23/107] Compiling C++ object src/libcamera/libcamera.so.p/buffer.cpp.o [24/107] Compiling C++ object src/libcamera/libcamera.so.p/byte_stream_buffer.cpp.o [25/107] Compiling C++ object src/libcamera/libcamera.so.p/camera.cpp.o [26/107] Compiling C++ object src/libcamera/libcamera.so.p/camera_controls.cpp.o [27/107] Compiling C++ object src/libcamera/libcamera.so.p/camera_manager.cpp.o [28/107] Compiling C++ object src/libcamera/libcamera.so.p/camera_sensor.cpp.o [29/107] Compiling C++ object src/libcamera/libcamera.so.p/class.cpp.o [30/107] Compiling C++ object src/libcamera/libcamera.so.p/controls.cpp.o [31/107] Compiling C++ object src/libcamera/libcamera.so.p/control_serializer.cpp.o [32/107] Compiling C++ object src/libcamera/libcamera.so.p/control_validator.cpp.o [33/107] Compiling C++ object src/libcamera/libcamera.so.p/delayed_controls.cpp.o [34/107] Compiling C++ object src/libcamera/libcamera.so.p/device_enumerator.cpp.o [35/107] Compiling C++ object src/libcamera/libcamera.so.p/device_enumerator_sysfs.cpp.o [36/107] Compiling C++ object src/libcamera/libcamera.so.p/event_dispatcher.cpp.o [37/107] Compiling C++ object src/libcamera/libcamera.so.p/event_dispatcher_poll.cpp.o [38/107] Compiling C++ object src/libcamera/libcamera.so.p/event_notifier.cpp.o [39/107] Compiling C++ object src/libcamera/libcamera.so.p/file.cpp.o [40/107] Compiling C++ object src/libcamera/libcamera.so.p/file_descriptor.cpp.o [41/107] Compiling C++ object src/libcamera/libcamera.so.p/formats.cpp.o [42/107] Compiling C++ object src/libcamera/libcamera.so.p/framebuffer_allocator.cpp.o [43/107] Compiling C++ object src/libcamera/libcamera.so.p/geometry.cpp.o [44/107] Compiling C++ object src/libcamera/libcamera.so.p/ipa_controls.cpp.o [45/107] Compiling C++ object src/libcamera/libcamera.so.p/ipa_data_serializer.cpp.o [46/107] Compiling C++ object src/libcamera/libcamera.so.p/ipa_interface.cpp.o [47/107] Compiling C++ object src/libcamera/libcamera.so.p/ipa_manager.cpp.o [48/107] Compiling C++ object src/libcamera/libcamera.so.p/ipa_module.cpp.o [49/107] Compiling C++ object src/libcamera/libcamera.so.p/ipa_proxy.cpp.o [50/107] Compiling C++ object src/libcamera/libcamera.so.p/ipc_pipe.cpp.o [51/107] Compiling C++ object src/libcamera/libcamera.so.p/ipc_pipe_unixsocket.cpp.o [52/107] Compiling C++ object src/libcamera/libcamera.so.p/ipc_unixsocket.cpp.o [53/107] Compiling C++ object src/libcamera/libcamera.so.p/log.cpp.o [54/107] Compiling C++ object src/libcamera/libcamera.so.p/media_device.cpp.o [55/107] Compiling C++ object src/libcamera/libcamera.so.p/media_object.cpp.o [56/107] Compiling C++ object src/libcamera/libcamera.so.p/message.cpp.o [57/107] Compiling C++ object src/libcamera/libcamera.so.p/object.cpp.o [58/107] Compiling C++ object src/libcamera/libcamera.so.p/pipeline_handler.cpp.o [59/107] Compiling C++ object src/libcamera/libcamera.so.p/pixel_format.cpp.o [60/107] Compiling C++ object src/libcamera/libcamera.so.p/process.cpp.o [61/107] Compiling C++ object src/libcamera/libcamera.so.p/pub_key.cpp.o [62/107] Compiling C++ object src/libcamera/libcamera.so.p/request.cpp.o [63/107] Compiling C++ object src/libcamera/libcamera.so.p/semaphore.cpp.o [64/107] Compiling C++ object src/libcamera/libcamera.so.p/signal.cpp.o [65/107] Compiling C++ object src/libcamera/libcamera.so.p/stream.cpp.o [66/107] Compiling C++ object src/libcamera/libcamera.so.p/sysfs.cpp.o [67/107] Compiling C++ object src/libcamera/libcamera.so.p/thread.cpp.o [68/107] Compiling C++ object src/libcamera/libcamera.so.p/timer.cpp.o [69/107] Compiling C++ object src/libcamera/libcamera.so.p/transform.cpp.o [70/107] Compiling C++ object src/libcamera/libcamera.so.p/utils.cpp.o [71/107] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_controls.cpp.o [72/107] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_device.cpp.o [73/107] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_pixelformat.cpp.o [74/107] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_subdevice.cpp.o [75/107] Compiling C++ object src/libcamera/libcamera.so.p/v4l2_videodevice.cpp.o [76/107] Compiling C++ object src/libcamera/libcamera.so.p/pipeline_uvcvideo_uvcvideo.cpp.o [77/107] Compiling C++ object src/libcamera/libcamera.so.p/tracepoints.cpp.o [78/107] Generating 'src/qcam/qcam.p/moc_viewfinder_qt.cpp'. [79/107] Generating 'src/qcam/qcam.p/moc_main_window.cpp'. [80/107] Linking target src/libcamera/libcamera.so [81/107] Generating symbol file src/libcamera/libcamera.so.p/libcamera.so.symbols [82/107] Compiling C++ object src/ipa/libipa/libipa.a.p/histogram.cpp.o [83/107] Compiling C++ object src/ipa/libipa/libipa.a.p/algorithm.cpp.o [84/107] Linking static target src/ipa/libipa/libipa.a [85/107] Generating qt5-feathericons_qrc with a custom command [86/107] Generating qt5-shaders_qrc with a custom command [87/107] Generating 'src/qcam/qcam.p/moc_viewfinder_gl.cpp'. [88/107] Compiling C++ object src/qcam/qcam.p/meson-generated_.._qt5-feathericons_qrc.cpp.o [89/107] Compiling C++ object src/qcam/qcam.p/meson-generated_.._qt5-shaders_qrc.cpp.o [90/107] Compiling C++ object src/qcam/qcam.p/meson-generated_moc_main_window.cpp.o [91/107] Compiling C++ object src/qcam/qcam.p/meson-generated_moc_viewfinder_qt.cpp.o [92/107] Compiling C++ object src/qcam/qcam.p/meson-generated_moc_viewfinder_gl.cpp.o [93/107] Compiling C++ object src/qcam/qcam.p/.._cam_options.cpp.o [94/107] Compiling C++ object src/qcam/qcam.p/.._cam_stream_options.cpp.o [95/107] Compiling C++ object src/qcam/qcam.p/format_converter.cpp.o [96/107] Compiling C++ object src/qcam/qcam.p/main.cpp.o [97/107] Compiling C++ object src/qcam/qcam.p/main_window.cpp.o [98/107] Compiling C++ object src/qcam/qcam.p/message_handler.cpp.o [99/107] Compiling C++ object src/qcam/qcam.p/viewfinder_qt.cpp.o [100/107] Compiling C++ object src/qcam/qcam.p/viewfinder_gl.cpp.o FAILED: src/qcam/qcam.p/viewfinder_gl.cpp.o /tmp/instance-0/output-1/host/bin/aarch64-linux-gnu-g++ -Isrc/qcam/qcam.p -Isrc/qcam -I../src/qcam -Iinclude -I../include -Iinclude/libcamera -I/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/qt5/QtCore -I/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/qt5 -I/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/qt5/QtGui -I/tmp/instance-0/output-1/host/aarch64-buildroot-linux-gnu/sysroot/usr/include/qt5/QtWidgets -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -std=c++17 -O3 -Wshadow -include config.h -faligned-new -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -fPIC -pthread -DQT_NO_KEYWORDS -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 GL_RED, ^~~~~~ ../src/qcam/viewfinder_gl.cpp:371:9: note: suggested alternative: 'GL_RGB' GL_RED, ^~~~~~ GL_RGB ../src/qcam/viewfinder_gl.cpp:385:9: error: 'GL_RG' was not declared in this scope GL_RG, ^~~~~ ../src/qcam/viewfinder_gl.cpp:385:9: note: suggested alternative: 'GL_RGB' GL_RG, ^~~~~ GL_RGB ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:250: /tmp/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/.stamp_built] Error 1 make: Leaving directory '/tmp/instance-0/buildroot'