>>> libdrm 2.4.100 Extracting bzcat /home/buildroot/autobuild/instance-0/dl/libdrm/libdrm-2.4.100.tar.bz2 | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100 -xf - >>> libdrm 2.4.100 Patching Applying 0001-Add-ARM-support-into-xf86drm.h.patch using patch: patching file xf86drm.h Hunk #1 succeeded at 481 (offset 12 lines). Applying 0002-xf86atomic-require-CAS-support-in-libatomic_ops.patch using patch: patching file xf86atomic.h Hunk #1 succeeded at 54 (offset -4 lines). Applying 0003-meson.build-fix-intel-atomics-detection.patch using patch: patching file meson.build Applying 0004-meson.build-enable-static-build.patch using patch: patching file amdgpu/meson.build patching file etnaviv/meson.build patching file exynos/meson.build Hunk #1 succeeded at 18 with fuzz 1. patching file freedreno/meson.build Hunk #1 succeeded at 39 with fuzz 1. patching file intel/meson.build patching file libkms/meson.build Hunk #1 succeeded at 41 with fuzz 1. patching file meson.build Hunk #1 succeeded at 287 (offset 8 lines). patching file nouveau/meson.build Hunk #1 succeeded at 19 with fuzz 1. patching file omap/meson.build patching file radeon/meson.build patching file tegra/meson.build >>> libdrm 2.4.100 Configuring rm -rf /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100//build mkdir -p /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100//build sed -e "s%@TARGET_CROSS@%/home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%arm926ej-s%g" -e "s%@TARGET_ENDIAN@%"little"%g" -e "s%@TARGET_CFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static`%g" -e "s%@TARGET_LDFLAGS@%`printf '"%s", ' -static`%g" -e "s%@TARGET_CXXFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -static`%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/instance-0/output-1/host%g" package/meson/cross-compilation.conf.in > /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100//build/cross-compilation.conf PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-0/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=static --buildtype=release --cross-file=/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100//build/cross-compilation.conf -Dcairo-tests=false -Dmanpages=false -Dintel=false -Dradeon=false -Damdgpu=false -Dnouveau=true -Dvmwgfx=false -Domap=false -Detnaviv=false -Dexynos=false -Dfreedreno=true -Dtegra=true -Dvc4=true -Dudev=false -Dvalgrind=false /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/ /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100//build The Meson build system Version: 0.52.0 Source dir: /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100 Build dir: /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/build Build type: cross build WARNING: Unknown options: "manpages" Project name: libdrm Project version: 2.4.100 C compiler for the build machine: cc (gcc 6.3.0 "cc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516") C linker for the build machine: GNU ld.bfd 2.28 C compiler for the host machine: /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc (gcc 7.4.0 "arm-linux-gcc.br_real (Buildroot 2019.05.1) 7.4.0") C linker for the host machine: GNU ld.bfd 2.31.1 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm926ej-s Target machine cpu family: arm Target machine cpu: arm926ej-s Run-time dependency threads found: YES Found pkg-config: /home/buildroot/autobuild/instance-0/output-1/host/usr/bin/pkg-config (1.6.1) Found CMake: NO Run-time dependency atomic_ops found: NO (tried pkgconfig and cmake) Checking if "Intel Atomics" links: YES Checking for function "dlsym" : NO Library dl found: YES Checking for function "clock_gettime" : YES Library m found: YES Checking if "sys/sysctl.h works" compiles: YES Checking if "sys/select.h works" compiles: YES Checking if "alloca.h works" compiles: YES Header has symbol "major" : YES Header has symbol "minor" : YES Header has symbol "makedev" : YES Header has symbol "major" : NO Checking for function "open_memstream" : YES Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Werror=undef: YES Compiler for C supports arguments -Werror=implicit-function-declaration: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wswitch-enum: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wdeclaration-after-statement: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wunused-parameter: YES Compiler for C supports arguments -Wattributes: YES Compiler for C supports arguments -Wlong-long: YES Compiler for C supports arguments -Wmissing-field-initializers: YES Run-time dependency pciaccess found: NO (tried pkgconfig and cmake) Run-time dependency cunit found: NO (tried pkgconfig and cmake) Program xsltproc found: NO Program sed found: YES (/bin/sed) Checking if "compiler supports __attribute__(("hidden"))" compiles: YES Configuring config.h using configuration Program nm found: YES (/usr/bin/nm) meson.build:327: DEPRECATION: Library drm was passed to the "libraries" keyword argument of a previous call to generate() method instead of first positional argument. Adding libdrm to "Requires" field, but this is a deprecated behaviour that will change in a future version of Meson. Please report the issue if this warning cannot be avoided in your case. Program kms-symbol-check found: YES (/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/libkms/kms-symbol-check) Program nouveau-symbol-check found: YES (/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/nouveau/nouveau-symbol-check) Program freedreno-symbol-check found: YES (/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/freedreno/freedreno-symbol-check) Program tegra-symbol-check found: YES (/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/tegra/tegra-symbol-check) Message: Message: libdrm will be compiled with: Message: Message: libkms true Message: Intel API false Message: vmwgfx API false Message: Radeon API false Message: AMDGPU API false Message: Nouveau API true Message: OMAP API false Message: EXYNOS API false Message: Freedreno API true (kgsl: false) Message: Tegra API true Message: VC4 API true Message: Etnaviv API false Message: Build targets in project: 20 Option buildtype is: release [default: debugoptimized] Found ninja-1.9.0 at /home/buildroot/autobuild/instance-0/output-1/host/bin/ninja >>> libdrm 2.4.100 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/instance-0/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100//build ninja: Entering directory `/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100//build' [1/66] Compiling C object 'drm@sta/xf86drmRandom.c.o'. [2/66] Compiling C object 'drm@sta/xf86drmHash.c.o'. [3/66] Compiling C object 'libkms/4bec46f@@kms@sta/linux.c.o'. [4/66] Compiling C object 'drm@sta/xf86drmSL.c.o'. [5/66] Compiling C object 'libkms/4bec46f@@kms@sta/nouveau.c.o'. [6/66] Compiling C object 'libkms/4bec46f@@kms@sta/dumb.c.o'. [7/66] Compiling C object 'libkms/4bec46f@@kms@sta/api.c.o'. [8/66] Linking static target libkms/libkms.a. [9/66] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/nouveau.c.o'. [10/66] Compiling C object 'drm@sta/xf86drmMode.c.o'. [11/66] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/bufctx.c.o'. [12/66] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/abi16.c.o'. [13/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/freedreno_device.c.o'. [14/66] Compiling C object 'nouveau/79b9960@@drm_nouveau@sta/pushbuf.c.o'. [15/66] Linking static target nouveau/libdrm_nouveau.a. [16/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/freedreno_pipe.c.o'. [17/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/freedreno_ringbuffer.c.o'. [18/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/freedreno_bo.c.o'. ../freedreno/freedreno_bo.c: In function 'lookup_bo': ../freedreno/freedreno_bo.c:47:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] if (!drmHashLookup(tbl, key, (void **)&bo)) { ^~ [19/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/freedreno_bo_cache.c.o'. [20/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/msm_msm_pipe.c.o'. [21/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/msm_msm_device.c.o'. [22/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/msm_msm_bo.c.o'. [23/66] Compiling C object 'tests/util/16d880e@@util@sta/format.c.o'. [24/66] Compiling C object 'drm@sta/xf86drm.c.o'. In file included from ../xf86drm.c:69:0: ../xf86drm.c: In function 'drmGetMinorNameForFD': ../xf86drm.h:85:23: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 55 [-Wformat-truncation=] #define DRM_DIR_NAME "/dev/dri" ^ ../xf86drm.c:2873:50: note: in expansion of macro 'DRM_DIR_NAME' snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~~~~~~~~~~~ ../xf86drm.c:2873:65: note: format string is defined here snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~ ../xf86drm.c:2873:13: note: 'snprintf' output between 10 and 265 bytes into a destination of size 64 snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ent->d_name); ~~~~~~~~~~~~ [25/66] Linking static target libdrm.a. [26/66] Compiling C object 'tests/util/16d880e@@util@sta/kms.c.o'. [27/66] Compiling C object 'tegra/5fa93f1@@drm_tegra@sta/tegra.c.o'. [28/66] Linking static target tegra/libdrm_tegra.a. [29/66] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-crtc.c.o'. [30/66] Compiling C object 'tests/59830eb@@drmdevice@exe/drmdevice.c.o'. [31/66] Compiling C object 'freedreno/95aff6a@@drm_freedreno@sta/msm_msm_ringbuffer.c.o'. [32/66] Linking static target freedreno/libdrm_freedreno.a. [33/66] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-device.c.o'. [34/66] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-framebuffer.c.o'. [35/66] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-plane.c.o'. [36/66] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-screen.c.o'. [37/66] Linking static target tests/kms/libkms-test.a. [38/66] Compiling C object 'tests/kms/d711c5d@@kms-steal-crtc@exe/kms-steal-crtc.c.o'. [39/66] Compiling C object 'tests/kms/d711c5d@@kms-universal-planes@exe/kms-universal-planes.c.o'. [40/66] Compiling C object 'tests/modeprint/6b185c3@@modeprint@exe/modeprint.c.o'. [41/66] Linking target tests/kms/kms-universal-planes. [42/66] Compiling C object 'tests/proptest/7eb5fbb@@proptest@exe/proptest.c.o'. [43/66] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/cursor.c.o'. [44/66] Compiling C object 'tests/vbltest/3928abf@@vbltest@exe/vbltest.c.o'. [45/66] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/buffers.c.o'. [46/66] Compiling C object 'tests/kmstest/e2824f4@@kmstest@exe/main.c.o'. [47/66] Compiling C object 'tests/tegra/ebf1147@@openclose@exe/openclose.c.o'. [48/66] Compiling C object 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o'. FAILED: tests/nouveau/e47a46e@@threaded@exe/threaded.c.o /home/buildroot/autobuild/instance-0/output-1/host/bin/arm-linux-gcc -Itests/nouveau/e47a46e@@threaded@exe -Itests/nouveau -I../tests/nouveau -I. -I../ -I../include/drm -Itests/nouveau/../../nouveau -I../tests/nouveau/../../nouveau -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -std=gnu99 -O3 -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -pthread -Wall -Wextra -Wsign-compare -Werror=undef -Werror=implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Winline -Wshadow -Wdeclaration-after-statement -Wold-style-definition -Wno-unused-parameter -Wno-attributes -Wno-long-long -Wno-missing-field-initializers -fvisibility=hidden -MD -MQ 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o' -MF 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o.d' -o 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o' -c ../tests/nouveau/threaded.c ../tests/nouveau/threaded.c:24:10: fatal error: dlfcn.h: No such file or directory #include ^~~~~~~~~ compilation terminated. [49/66] Linking target tests/tegra/openclose. [50/66] Compiling C object 'tests/util/16d880e@@util@sta/pattern.c.o'. ../tests/util/pattern.c: In function 'fill_tiles_rgb16fp': ../tests/util/pattern.c:988:8: warning: unused variable 'mem_base' [-Wunused-variable] void *mem_base = mem; ^~~~~~~~ [51/66] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/modetest.c.o'. ninja: build stopped: subcommand failed. package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/libdrm-2.4.100/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'