>>> libdrm 2.4.99 Downloading converted 'https://dri.freedesktop.org/libdrm/libdrm-2.4.99.tar.bz2' (ANSI_X3.4-1968) -> 'https://dri.freedesktop.org/libdrm/libdrm-2.4.99.tar.bz2' (UTF-8) --2019-08-04 16:19:13-- https://dri.freedesktop.org/libdrm/libdrm-2.4.99.tar.bz2 Resolving dri.freedesktop.org (dri.freedesktop.org)... 2610:10:20:722:a800:ff:feda:470f, 131.252.210.176 Connecting to dri.freedesktop.org (dri.freedesktop.org)|2610:10:20:722:a800:ff:feda:470f|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 853659 (834K) [application/x-bzip2] Saving to: '/home/buildroot/build/instance-3/output/build/.libdrm-2.4.99.tar.bz2.pOKx7Q/output' 0K .......... .......... .......... .......... .......... 5% 155K 5s 50K .......... .......... .......... .......... .......... 11% 315K 4s 100K .......... .......... .......... .......... .......... 17% 74.2M 2s 150K .......... .......... .......... .......... .......... 23% 100M 2s 200K .......... .......... .......... .......... .......... 29% 316K 1s 250K .......... .......... .......... .......... .......... 35% 98.7M 1s 300K .......... .......... .......... .......... .......... 41% 127M 1s 350K .......... .......... .......... .......... .......... 47% 127M 1s 400K .......... .......... .......... .......... .......... 53% 317K 1s 450K .......... .......... .......... .......... .......... 59% 127M 1s 500K .......... .......... .......... .......... .......... 65% 93.3M 0s 550K .......... .......... .......... .......... .......... 71% 113M 0s 600K .......... .......... .......... .......... .......... 77% 115M 0s 650K .......... .......... .......... .......... .......... 83% 128M 0s 700K .......... .......... .......... .......... .......... 89% 123M 0s 750K .......... .......... .......... .......... .......... 95% 1.37M 0s 800K .......... .......... .......... ... 100% 279K=1.0s 2019-08-04 16:19:16 (870 KB/s) - '/home/buildroot/build/instance-3/output/build/.libdrm-2.4.99.tar.bz2.pOKx7Q/output' saved [853659/853659] libdrm-2.4.99.tar.bz2: OK (md5: 72539626815b35159a63d45bc4c14ee6) libdrm-2.4.99.tar.bz2: OK (sha1: e15a3fcc2d321b03d233a245a8593abde7feefd4) libdrm-2.4.99.tar.bz2: OK (sha256: 4dbf539c7ed25dbb2055090b77ab87508fc46be39a9379d15fed4b5517e1da5e) libdrm-2.4.99.tar.bz2: OK (sha512: 04702eebe8dca97fac61653623804fdcb0b8b3714bdc6f5e72f0dfdce9c9524cf16f69d37aa9feac79ddc1c11939be44a216484563a612414668ea5eaeadf191) >>> libdrm 2.4.99 Extracting bzcat /home/buildroot/build/instance-3/buildroot/instance-3/dl/libdrm/libdrm-2.4.99.tar.bz2 | tar --strip-components=1 -C /home/buildroot/build/instance-3/output/build/libdrm-2.4.99 -xf - >>> libdrm 2.4.99 Patching Applying 0001-Add-ARM-support-into-xf86drm.h.patch using patch: patching file xf86drm.h 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 282 (offset 3 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.99 Configuring rm -rf /home/buildroot/build/instance-3/output/build/libdrm-2.4.99//build mkdir -p /home/buildroot/build/instance-3/output/build/libdrm-2.4.99//build sed -e "s%@TARGET_CROSS@%/home/buildroot/build/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%cortex-a8%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 `%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%`printf '"%s", ' -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 `%g" -e "s%@HOST_DIR@%/home/buildroot/build/instance-3/output/host%g" package/meson/cross-compilation.conf.in > /home/buildroot/build/instance-3/output/build/libdrm-2.4.99//build/cross-compilation.conf PATH="/home/buildroot/build/instance-3/output/host/bin:/home/buildroot/build/instance-3/output/host/sbin:/sbin:/usr/sbin:/bin:/usr/bin" PYTHONNOUSERSITE=y /home/buildroot/build/instance-3/output/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/build/instance-3/output/build/libdrm-2.4.99//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=false -Dtegra=false -Dvc4=false -Dudev=false -Dvalgrind=false /home/buildroot/build/instance-3/output/build/libdrm-2.4.99/ /home/buildroot/build/instance-3/output/build/libdrm-2.4.99//build The Meson build system Version: 0.51.1 Source dir: /home/buildroot/build/instance-3/output/build/libdrm-2.4.99 Build dir: /home/buildroot/build/instance-3/output/build/libdrm-2.4.99/build Build type: cross build WARNING: Unknown options: "manpages" Project name: libdrm Project version: 2.4.99 C compiler for the build machine: cc (gcc 4.9.2 "cc (Debian 4.9.2-10+deb8u2) 4.9.2") C compiler for the host machine: /home/buildroot/build/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-gcc (gcc 8.3.0 "arm-buildroot-linux-musleabihf-gcc.br_real (Buildroot 2019.08-git-01002-g64d14df) 8.3.0") Host machine cpu family: arm Host machine cpu: cortex-a8 Target machine cpu family: arm Target machine cpu: cortex-a8 Build machine cpu family: x86_64 Build machine cpu: x86_64 Run-time dependency threads found: YES Found pkg-config: /home/buildroot/build/instance-3/output/host/usr/bin/pkg-config (1.6.1) Run-time dependency atomic_ops found: YES 7.6.6 Checking if "Intel Atomics" links: YES Checking for function "dlsym" : YES Checking for function "clock_gettime" : YES Library m found: YES Checking if "sys/sysctl.h works" compiles: NO Checking if "sys/select.h works" compiles: YES Checking if "alloca.h works" compiles: YES Header has symbol "major" : YES 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 Found CMake: NO Run-time dependency pciaccess found: NO (tried pkgconfig and cmake) Run-time dependency cunit found: NO (tried pkgconfig and cmake) Program xsltproc found: YES (/usr/bin/xsltproc) Program sed found: YES (/bin/sed) Program bash found: YES (/bin/bash) Checking if "compiler supports __attribute__(("hidden"))" compiles: YES Configuring config.h using configuration Program nm found: YES (/usr/bin/nm) meson.build:322: 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. 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 false (kgsl: false) Message: Tegra API false Message: VC4 API false Message: Etnaviv API false Message: Build targets in project: 29 Option buildtype is: release [default: debugoptimized] Found ninja-1.9.0 at /home/buildroot/build/instance-3/output/host/bin/ninja >>> libdrm 2.4.99 Building PATH="/home/buildroot/build/instance-3/output/host/bin:/home/buildroot/build/instance-3/output/host/sbin:/sbin:/usr/sbin:/bin:/usr/bin" PYTHONNOUSERSITE=y /home/buildroot/build/instance-3/output/host/bin/ninja -j8 -C /home/buildroot/build/instance-3/output/build/libdrm-2.4.99//build ninja: Entering directory `/home/buildroot/build/instance-3/output/build/libdrm-2.4.99//build' [1/67] Compiling C object 'drm@sha/xf86drmRandom.c.o'. [2/67] Compiling C object 'libkms/4bec46f@@kms@sha/api.c.o'. [3/67] Compiling C object 'libkms/4bec46f@@kms@sha/linux.c.o'. [4/67] Compiling C object 'drm@sha/xf86drmHash.c.o'. [5/67] Compiling C object 'libkms/4bec46f@@kms@sha/nouveau.c.o'. [6/67] Compiling C object 'drm@sha/xf86drmSL.c.o'. [7/67] Compiling C object 'libkms/4bec46f@@kms@sha/dumb.c.o'. [8/67] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/bufctx.c.o'. [9/67] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/abi16.c.o'. [10/67] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/nouveau.c.o'. [11/67] Generating drm with a custom command. [12/67] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/pushbuf.c.o'. [13/67] Generating drm-memory with a custom command. [14/67] Compiling C object 'drm@sha/xf86drmMode.c.o'. [15/67] Generating drm-kms with a custom command. [16/67] Compiling C object 'tests/util/16d880e@@util@sta/format.c.o'. [17/67] Generating drmHandleEvent with a custom command. [18/67] Generating drmAvailable with a custom command. [19/67] Compiling C object 'tests/util/16d880e@@util@sta/kms.c.o'. [20/67] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-crtc.c.o'. [21/67] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-framebuffer.c.o'. [22/67] Generating drmModeGetResources with a custom command. [23/67] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-device.c.o'. [24/67] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-screen.c.o'. [25/67] Compiling C object 'drm@sha/xf86drm.c.o'. In file included from ../xf86drm.c:69: ../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:2892:50: note: in expansion of macro 'DRM_DIR_NAME' snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~~~~~~~~~~~ ../xf86drm.c:2892:65: note: format string is defined here snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~ ../xf86drm.c:2892: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); ~~~~~~~~~~~~ ../xf86drm.c: In function 'parse_separate_sysfs_files': ../xf86drm.c:3188:37: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(path, PATH_MAX, "%s/%s", pci_path, attrs[i]); ^ ../xf86drm.c:3188:9: note: 'snprintf' output 2 or more bytes (assuming 4098) into a destination of size 4096 snprintf(path, PATH_MAX, "%s/%s", pci_path, attrs[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../xf86drm.c: In function 'process_device': ../xf86drm.c:3218:33: warning: '/config' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(path, PATH_MAX, "%s/config", pci_path); ^~~~~~~ ../xf86drm.c:3218:5: note: 'snprintf' output between 8 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX, "%s/config", pci_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [26/67] Generating gen-drm-ttm with a meson_exe.py custom command. [27/67] Linking target libdrm.so.2.4.0. [28/67] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-plane.c.o'. [29/67] Generating gen-drm-gem with a meson_exe.py custom command. [30/67] Generating gen-drm-mm with a meson_exe.py custom command. [31/67] Compiling C object 'tests/kms/d711c5d@@kms-steal-crtc@exe/kms-steal-crtc.c.o'. [32/67] Linking static target tests/kms/libkms-test.a. [33/67] Compiling C object 'tests/kms/d711c5d@@kms-universal-planes@exe/kms-universal-planes.c.o'. [34/67] Compiling C object 'tests/modeprint/6b185c3@@modeprint@exe/modeprint.c.o'. [35/67] Compiling C object 'tests/proptest/7eb5fbb@@proptest@exe/proptest.c.o'. [36/67] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/buffers.c.o'. [37/67] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/cursor.c.o'. [38/67] Generating drm-ttm.7 with a custom command. [39/67] Compiling C object 'tests/kmstest/e2824f4@@kmstest@exe/main.c.o'. [40/67] Compiling C object 'tests/vbltest/3928abf@@vbltest@exe/vbltest.c.o'. [41/67] Compiling C object 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o'. FAILED: tests/nouveau/e47a46e@@threaded@exe/threaded.c.o /home/buildroot/build/instance-3/output/host/bin/arm-buildroot-linux-musleabihf-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 -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:39:5: error: conflicting types for 'ioctl' int ioctl(int fd, unsigned long request, ...) ^~~~~ In file included from ../tests/nouveau/threaded.c:23: /home/buildroot/build/instance-3/output/host/arm-buildroot-linux-musleabihf/sysroot/usr/include/sys/ioctl.h:119:5: note: previous declaration of 'ioctl' was here int ioctl (int, int, ...); ^~~~~ [42/67] Compiling C object 'tests/59830eb@@drmsl@exe/drmsl.c.o'. [43/67] Compiling C object 'tests/59830eb@@hash@exe/hash.c.o'. [44/67] Generating symbol file 'drm@sha/libdrm.so.2.4.0.symbols'. [45/67] Generating drm-gem.7 with a custom command. [46/67] Generating drm-mm.7 with a custom command. [47/67] Compiling C object 'tests/util/16d880e@@util@sta/pattern.c.o'. ../tests/util/pattern.c: In function 'util_smpte_c8_gamma': ../tests/util/pattern.c:646:2: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] memset(lut, size * sizeof(struct drm_color_lut), 0); ^~~~~~ ../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; ^~~~~~~~ [48/67] 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/build/instance-3/output/build/libdrm-2.4.99/.stamp_built' failed make: *** [/home/buildroot/build/instance-3/output/build/libdrm-2.4.99/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/build/instance-3/buildroot'