>>> libdrm 2.4.100 Extracting bzcat /home/test/autobuild/run/instance-2/dl/libdrm/libdrm-2.4.100.tar.bz2 | /home/test/autobuild/run/instance-2/output-1/host/bin/tar --strip-components=1 -C /home/test/autobuild/run/instance-2/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/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100//build mkdir -p /home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100//build sed -e "s%@TARGET_CROSS@%/home/test/autobuild/run/instance-2/output-1/host/bin/x86_64-linux-%g" -e "s%@TARGET_ARCH@%x86_64%g" -e "s%@TARGET_CPU@%%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/test/autobuild/run/instance-2/output-1/host%g" package/meson/cross-compilation.conf.in > /home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100//build/cross-compilation.conf PATH="/home/test/autobuild/run/instance-2/output-1/host/bin:/home/test/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/test/autobuild/run/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100//build/cross-compilation.conf -Dcairo-tests=false -Dmanpages=false -Dintel=true -Dradeon=true -Damdgpu=false -Dnouveau=true -Dvmwgfx=true -Domap=false -Detnaviv=false -Dexynos=false -Dfreedreno=false -Dtegra=false -Dvc4=false -Dudev=false -Dvalgrind=false /home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/ /home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100//build The Meson build system Version: 0.52.0 Source dir: /home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100 Build dir: /home/test/autobuild/run/instance-2/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 4.7.2 "cc (Debian 4.7.2-5) 4.7.2") C linker for the build machine: GNU ld.bfd 2.22 C compiler for the host machine: /home/test/autobuild/run/instance-2/output-1/host/bin/x86_64-linux-gcc (gcc 7.4.0 "x86_64-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: x86_64 Host machine cpu: Target machine cpu family: x86_64 Target machine cpu: Run-time dependency threads found: YES Found pkg-config: /home/test/autobuild/run/instance-2/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" : 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 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: YES 0.16 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/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/libkms/kms-symbol-check) Program tests/gen4-3d.batch.sh found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/intel/tests/gen4-3d.batch.sh) Program tests/gm45-3d.batch.sh found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/intel/tests/gm45-3d.batch.sh) Program tests/gen5-3d.batch.sh found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/intel/tests/gen5-3d.batch.sh) Program tests/gen6-3d.batch.sh found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/intel/tests/gen6-3d.batch.sh) Program tests/gen7-3d.batch.sh found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/intel/tests/gen7-3d.batch.sh) Program tests/gen7-2d-copy.batch.sh found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/intel/tests/gen7-2d-copy.batch.sh) Program intel-symbol-check found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/intel/intel-symbol-check) Program nouveau-symbol-check found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/nouveau/nouveau-symbol-check) Program radeon-symbol-check found: YES (/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/radeon/radeon-symbol-check) Message: Message: libdrm will be compiled with: Message: Message: libkms true Message: Intel API true Message: vmwgfx API true Message: Radeon API true 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: 21 Option buildtype is: release [default: debugoptimized] Found ninja-1.9.0 at /home/test/autobuild/run/instance-2/output-1/host/bin/ninja >>> libdrm 2.4.100 Building PATH="/home/test/autobuild/run/instance-2/output-1/host/bin:/home/test/autobuild/run/instance-2/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/test/autobuild/run/instance-2/output-1/host/bin/ninja -j4 -C /home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100//build ninja: Entering directory `/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100//build' [1/78] Compiling C object 'drm@sha/xf86drmRandom.c.o'. [2/78] Compiling C object 'drm@sha/xf86drmHash.c.o'. [3/78] Compiling C object 'drm@sha/xf86drmSL.c.o'. [4/78] Compiling C object 'libkms/4bec46f@@kms@sha/linux.c.o'. [5/78] Compiling C object 'libkms/4bec46f@@kms@sha/api.c.o'. [6/78] Compiling C object 'libkms/4bec46f@@kms@sha/dumb.c.o'. [7/78] Compiling C object 'libkms/4bec46f@@kms@sha/vmwgfx.c.o'. [8/78] Compiling C object 'libkms/4bec46f@@kms@sha/intel.c.o'. [9/78] Compiling C object 'drm@sha/xf86drmMode.c.o'. [10/78] Compiling C object 'libkms/4bec46f@@kms@sha/nouveau.c.o'. [11/78] Compiling C object 'libkms/4bec46f@@kms@sha/radeon.c.o'. [12/78] Compiling C object 'intel/96eebba@@drm_intel@sha/intel_bufmgr.c.o'. [13/78] Compiling C object 'intel/96eebba@@drm_intel@sha/intel_bufmgr_fake.c.o'. [14/78] Compiling C object 'drm@sha/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); ~~~~~~~~~~~~ [15/78] Linking target libdrm.so.2.4.0. [16/78] Compiling C object 'intel/96eebba@@drm_intel@sha/mm.c.o'. [17/78] Compiling C object 'intel/96eebba@@drm_intel@sha/intel_chipset.c.o'. [18/78] Compiling C object 'intel/96eebba@@test_decode@exe/test_decode.c.o'. ../intel/test_decode.c: In function 'compare_batch': ../intel/test_decode.c:109:2: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] out = open_memstream((char **)&ptr, &size); ^~~ [19/78] Generating symbol file 'drm@sha/libdrm.so.2.4.0.symbols'. [20/78] Linking target libkms/libkms.so.1.0.0. [21/78] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/nouveau.c.o'. [22/78] Compiling C object 'intel/96eebba@@drm_intel@sha/intel_bufmgr_gem.c.o'. [23/78] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/pushbuf.c.o'. [24/78] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/bufctx.c.o'. [25/78] Generating symbol file 'libkms/4bec46f@@kms@sha/libkms.so.1.0.0.symbols'. [26/78] Compiling C object 'nouveau/79b9960@@drm_nouveau@sha/abi16.c.o'. [27/78] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_bo_gem.c.o'. [28/78] Linking target nouveau/libdrm_nouveau.so.2.0.0. [29/78] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_cs_gem.c.o'. [30/78] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_cs_space.c.o'. [31/78] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_bo.c.o'. [32/78] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_cs.c.o'. [33/78] Compiling C object 'tests/util/16d880e@@util@sta/format.c.o'. [34/78] Compiling C object 'tests/util/16d880e@@util@sta/kms.c.o'. [35/78] Generating symbol file 'nouveau/79b9960@@drm_nouveau@sha/libdrm_nouveau.so.2.0.0.symbols'. [36/78] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-crtc.c.o'. [37/78] Compiling C object 'intel/96eebba@@drm_intel@sha/intel_decode.c.o'. [38/78] Linking target intel/libdrm_intel.so.1.0.0. [39/78] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-device.c.o'. [40/78] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-framebuffer.c.o'. [41/78] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-plane.c.o'. [42/78] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-screen.c.o'. [43/78] Linking static target tests/kms/libkms-test.a. [44/78] Compiling C object 'tests/kms/d711c5d@@kms-steal-crtc@exe/kms-steal-crtc.c.o'. [45/78] Compiling C object 'tests/kms/d711c5d@@kms-universal-planes@exe/kms-universal-planes.c.o'. [46/78] Linking target tests/kms/kms-universal-planes. [47/78] Generating symbol file 'intel/96eebba@@drm_intel@sha/libdrm_intel.so.1.0.0.symbols'. [48/78] Linking target intel/test_decode. [49/78] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_surface.c.o'. [50/78] Linking target radeon/libdrm_radeon.so.1.0.1. [51/78] Compiling C object 'tests/modeprint/6b185c3@@modeprint@exe/modeprint.c.o'. [52/78] Compiling C object 'tests/proptest/7eb5fbb@@proptest@exe/proptest.c.o'. [53/78] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/cursor.c.o'. [54/78] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/buffers.c.o'. [55/78] 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; ^~~~~~~~ [56/78] Linking static target tests/util/libutil.a. [57/78] Compiling C object 'tests/kmstest/e2824f4@@kmstest@exe/main.c.o'. [58/78] Compiling C object 'tests/vbltest/3928abf@@vbltest@exe/vbltest.c.o'. [59/78] Linking target tests/kms/kms-steal-crtc. [60/78] Linking target tests/modeprint/modeprint. [61/78] Linking target tests/proptest/proptest. [62/78] Linking target tests/vbltest/vbltest. [63/78] Linking target tests/kmstest/kmstest. [64/78] Compiling C object 'tests/radeon/f866ec7@@radeon_ttm@exe/radeon_ttm.c.o'. [65/78] Compiling C object 'tests/radeon/f866ec7@@radeon_ttm@exe/rbo.c.o'. [66/78] Compiling C object 'tests/nouveau/e47a46e@@threaded@exe/threaded.c.o'. FAILED: tests/nouveau/e47a46e@@threaded@exe/threaded.c.o /home/test/autobuild/run/instance-2/output-1/host/bin/x86_64-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 -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:0: /home/test/autobuild/run/instance-2/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/sys/ioctl.h:119:5: note: previous declaration of 'ioctl' was here int ioctl (int, int, ...); ^~~~~ [67/78] Linking target tests/radeon/radeon_ttm. [68/78] Compiling C object 'tests/59830eb@@drmsl@exe/drmsl.c.o'. [69/78] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/modetest.c.o'. ninja: build stopped: subcommand failed. make: *** [/home/test/autobuild/run/instance-2/output-1/build/libdrm-2.4.100/.stamp_built] Error 1 make: Leaving directory `/home/test/autobuild/run/instance-2/buildroot'