>>> dmenu-wayland a380201dff5bfac2dace553d7eaedb6cea6855f9 Extracting gzip -d -c /home/buildroot/instance-0/dl/dmenu-wayland/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9.tar.gz | tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9 -xf - >>> dmenu-wayland a380201dff5bfac2dace553d7eaedb6cea6855f9 Patching Applying 0001-support-cross-compilation.patch using patch: patching file meson.build >>> dmenu-wayland a380201dff5bfac2dace553d7eaedb6cea6855f9 Configuring rm -rf /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build mkdir -p /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/instance-0/output-1/host/bin/arc-linux-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/instance-0/output-1/host/bin/arc-linux-g++%g" -e "s%@TARGET_AR@%/home/buildroot/instance-0/output-1/host/bin/arc-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/instance-0/output-1/host/bin/arc-linux-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/instance-0/output-1/host/bin/arc-linux-strip%g" -e "s%@TARGET_ARCH@%arc%g" -e "s%@TARGET_CPU@%archs%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build/cross-compilation.conf PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/instance-0/output-1/host/lib/cmake /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9/ /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build The Meson build system Version: 1.3.1 Source dir: /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9 Build dir: /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9/build Build type: cross build Project name: dmenu-wl Project version: 4.2.1 C compiler for the host machine: /home/buildroot/instance-0/output-1/host/bin/arc-linux-gcc (gcc 10.2.0 "arc-linux-gcc.br_real (Buildroot 2021.11-10014-g6257e8c) 10.2.0") C linker for the host machine: /home/buildroot/instance-0/output-1/host/bin/arc-linux-gcc ld.bfd 2.34.50.20200611 C compiler for the build machine: /usr/bin/gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110") C linker for the build machine: /usr/bin/gcc ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arc Host machine cpu: archs Target machine cpu family: arc Target machine cpu: archs ../output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9/meson.build:9: WARNING: Consider using the built-in warning_level option instead of using "-Wall". Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency cairo found: YES 1.17.4 Run-time dependency glib-2.0 found: YES 2.76.1 Run-time dependency gobject-2.0 found: YES 2.76.1 Run-time dependency pango found: YES 1.50.14 Run-time dependency pangocairo found: YES 1.50.14 Library rt found: YES Run-time dependency wayland-client found: YES 1.22.0 Run-time dependency wayland-protocols found: YES 1.33 Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkg-config) 1.6.3 Build-time dependency wayland-scanner found: YES 1.22.0 Program /home/buildroot/instance-0/output-1/host/bin/wayland-scanner found: YES (/home/buildroot/instance-0/output-1/host/bin/wayland-scanner) Run-time dependency xkbcommon found: YES 1.4.0 Build targets in project: 8 dmenu-wl 4.2.1 User defined options Cross files : /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/instance-0/output-1/host/bin/ninja >>> dmenu-wayland a380201dff5bfac2dace553d7eaedb6cea6855f9 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/ninja -C /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build ninja: Entering directory `/home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9//build' [1/14] Generating _home_buildroot_instance_0_output_1_host_arc_buildroot_linux_uclibc_sysroot_usr_share_wayland_protocols_stable_xdg_shell_xdg_shell_xml_client_c with a custom command [2/14] Generating _home_buildroot_instance_0_output_1_host_arc_buildroot_linux_uclibc_sysroot_usr_share_wayland_protocols_unstable_xdg_output_xdg_output_unstable_v1_xml_client_c with a custom command [3/14] Generating _home_buildroot_instance_0_output_1_host_arc_buildroot_linux_uclibc_sysroot_usr_share_wayland_protocols_unstable_xdg_output_xdg_output_unstable_v1_xml_client_h with a custom command [4/14] Generating _home_buildroot_instance_0_output_1_host_arc_buildroot_linux_uclibc_sysroot_usr_share_wayland_protocols_stable_xdg_shell_xdg_shell_xml_client_h with a custom command [5/14] Generating wlr_layer_shell_unstable_v1_xml_client_c with a custom command [6/14] Generating wlr_layer_shell_unstable_v1_xml_client_h with a custom command [7/14] Compiling C object dmenu-wl.p/meson-generated_.._xdg-output-unstable-v1-protocol.c.o [8/14] Compiling C object dmenu-wl.p/meson-generated_.._wlr-layer-shell-unstable-v1-protocol.c.o [9/14] Compiling C object dmenu-wl.p/meson-generated_.._xdg-shell-protocol.c.o [10/14] Compiling C object dmenu-wl_path.p/dmenu_path.c.o [11/14] Linking target dmenu-wl_path [12/14] Compiling C object dmenu-wl.p/draw.c.o FAILED: dmenu-wl.p/draw.c.o /home/buildroot/instance-0/output-1/host/bin/arc-linux-gcc -Idmenu-wl.p -I. -I.. -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/cairo -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/glib-2.0 -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/lib/glib-2.0/include -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/pixman-1 -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/freetype2 -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/libpng16 -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/pango-1.0 -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/harfbuzz -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/libmount -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/blkid -I/home/buildroot/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/include/fribidi -fdiagnostics-color=always -Wall -Winvalid-pch -std=c99 -O3 -pedantic -Wall -D_DEFAULT_SOURCE '-DVERSION="4.2.1"' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -pthread -MD -MQ dmenu-wl.p/draw.c.o -MF dmenu-wl.p/draw.c.o.d -o dmenu-wl.p/draw.c.o -c ../draw.c ../draw.c: In function 'randname': ../draw.c:37:2: warning: implicit declaration of function 'clock_gettime' [-Wimplicit-function-declaration] 37 | clock_gettime(CLOCK_REALTIME, &ts); | ^~~~~~~~~~~~~ ../draw.c:37:16: error: 'CLOCK_REALTIME' undeclared (first use in this function) 37 | clock_gettime(CLOCK_REALTIME, &ts); | ^~~~~~~~~~~~~~ ../draw.c:37:16: note: each undeclared identifier is reported only once for each function it appears in ../draw.c: In function 'keyboard_repeat': ../draw.c:326:9: error: variable 'spec' has initializer but incomplete type 326 | struct itimerspec spec = { 0 }; | ^~~~~~~~~~ ../draw.c:326:29: warning: excess elements in struct initializer 326 | struct itimerspec spec = { 0 }; | ^ ../draw.c:326:29: note: (near initialization for 'spec') ../draw.c:326:20: error: storage size of 'spec' isn't known 326 | struct itimerspec spec = { 0 }; | ^~~~ ../draw.c:326:20: warning: unused variable 'spec' [-Wunused-variable] ../draw.c: In function 'keyboard_key': ../draw.c:346:11: error: variable 'spec' has initializer but incomplete type 346 | struct itimerspec spec = { 0 }; | ^~~~~~~~~~ ../draw.c:346:31: warning: excess elements in struct initializer 346 | struct itimerspec spec = { 0 }; | ^ ../draw.c:346:31: note: (near initialization for 'spec') ../draw.c:346:22: error: storage size of 'spec' isn't known 346 | struct itimerspec spec = { 0 }; | ^~~~ ../draw.c:346:22: warning: unused variable 'spec' [-Wunused-variable] ../draw.c:351:11: error: variable 'spec' has initializer but incomplete type 351 | struct itimerspec spec = { 0 }; | ^~~~~~~~~~ ../draw.c:351:31: warning: excess elements in struct initializer 351 | struct itimerspec spec = { 0 }; | ^ ../draw.c:351:31: note: (near initialization for 'spec') ../draw.c:351:22: error: storage size of 'spec' isn't known 351 | struct itimerspec spec = { 0 }; | ^~~~ ../draw.c:351:22: warning: unused variable 'spec' [-Wunused-variable] ../draw.c: In function 'dmenu_create_buffer': ../draw.c:483:61: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 483 | fprintf(stderr, "creating a buffer file for %d B failed: %m\n", size); | ^ ../draw.c:489:34: warning: ISO C does not support the '%m' gnu_printf format [-Wformat=] 489 | fprintf(stderr, "mmap failed: %m\n"); | ^ ../draw.c: In function 'dmenu_init_panel': ../draw.c:531:44: error: 'CLOCK_MONOTONIC' undeclared (first use in this function) 531 | if ((panel->repeat_timer = timerfd_create(CLOCK_MONOTONIC, 0)) < 0) | ^~~~~~~~~~~~~~~ [13/14] Compiling C object dmenu-wl.p/dmenu.c.o ../dmenu.c: In function 'keypress': ../dmenu.c:203:16: warning: implicit declaration of function 'strnlen'; did you mean 'strlen'? [-Wimplicit-function-declaration] 203 | insert(buf, strnlen(buf, 8)); | ^~~~~~~ | strlen ../dmenu.c:197:3: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 197 | strncpy(text, sel->text, sizeof text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/dmenu-wayland-a380201dff5bfac2dace553d7eaedb6cea6855f9/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'