>>> libdrm 2.4.102 Extracting xzcat /home/buildroot/autobuild/run/instance-3/dl/libdrm/libdrm-2.4.102.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102 -xf - >>> libdrm 2.4.102 Patching Applying 0001-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 304 (offset 25 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 Applying 0002-tests-meson.build-disable-nouveau-tests-for-static-b.patch using patch: patching file tests/meson.build >>> libdrm 2.4.102 Configuring rm -rf /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102//build mkdir -p /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102//build sed -e 's%@TARGET_CROSS@%/home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-%g' -e 's%@TARGET_ARCH@%arm%g' -e 's%@TARGET_CPU@%arm920t%g' -e 's%@TARGET_ENDIAN@%little%g' -e 's%@TARGET_CFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os"%g' -e 's%@TARGET_LDFLAGS@%%g' -e 's%@TARGET_CXXFLAGS@%"-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE", "-D_FILE_OFFSET_BITS=64", "-Os"%g' -e 's%@HOST_DIR@%/home/buildroot/autobuild/run/instance-3/output-1/host%g' -e 's%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g' -e 's%@STATIC@%false%g' -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" package/meson/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-3/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102//build/cross-compilation.conf -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-3/output-1/host/lib/pkgconfig -Dcairo-tests=false -Dmanpages=false -Dintel=false -Dradeon=false -Damdgpu=false -Dnouveau=false -Dvmwgfx=false -Domap=false -Detnaviv=false -Dexynos=false -Dfreedreno=false -Dtegra=false -Dvc4=false -Dudev=false -Dvalgrind=false /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102/ /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102//build The Meson build system Version: 0.54.2 Source dir: /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102 Build dir: /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102/build Build type: cross build WARNING: Unknown options: "manpages" The value of new options can be set with: meson setup --reconfigure -Dnew_option=new_value ... Project name: libdrm Project version: 2.4.102 C compiler for the build machine: cc (gcc 4.8.2 "cc (Ubuntu 4.8.2-19ubuntu1) 4.8.2") C linker for the build machine: cc ld.bfd 2.24 C compiler for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc (gcc 4.8.3 "arm-none-linux-gnueabi-gcc (Sourcery CodeBench Lite 2014.05-29) 4.8.3 20140320 (prerelease)") C linker for the host machine: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc ld.bfd 2.24.51.20140217 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: arm920t Target machine cpu family: arm Target machine cpu: arm920t Run-time dependency threads found: YES Program symbols-check.py found: YES (/home/buildroot/autobuild/run/instance-3/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102/symbols-check.py) Program nm found: YES (/usr/bin/nm) Found pkg-config: /home/buildroot/autobuild/run/instance-3/output-1/host/bin/pkgconf (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/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 ../output-1/build/libdrm-2.4.102/meson.build:354: 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 false 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: 14 Option buildtype is: release [default: debugoptimized] Found ninja-1.10.0 at /home/buildroot/autobuild/run/instance-3/output-1/host/bin/ninja >>> libdrm 2.4.102 Building PATH="/home/buildroot/autobuild/run/instance-3/output-1/host/bin:/home/buildroot/autobuild/run/instance-3/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-3/output-1/host/bin/ninja -j4 -C /home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102//build' [1/44] Compiling C object 'drm@sha/xf86drmHash.c.o' [2/44] Compiling C object 'drm@sha/xf86drmRandom.c.o' [3/44] Compiling C object 'drm@sha/xf86drm.c.o' FAILED: drm@sha/xf86drm.c.o /home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc -Idrm@sha -I. -I.. -I../include/drm -pipe -Wall -Winvalid-pch -std=gnu99 -O3 -include config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -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 'drm@sha/xf86drm.c.o' -MF 'drm@sha/xf86drm.c.o.d' -o 'drm@sha/xf86drm.c.o' -c ../xf86drm.c ../xf86drm.c: In function 'drmNodeIsDRM': ../xf86drm.c:2825:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmGetMinorNameForFD': ../xf86drm.c:2938:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmParsePciBusInfo': ../xf86drm.c:3258:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmParsePciDeviceInfo': ../xf86drm.c:3427:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ ../xf86drm.c: In function 'drmGetDeviceNameFromFd2': ../xf86drm.c:4305:7: error: "__FreeBSD__" is not defined [-Werror=undef] #elif __FreeBSD__ ^ cc1: some warnings being treated as errors [4/44] Compiling C object 'drm@sha/xf86drmSL.c.o' [5/44] Compiling C object 'libkms/4bec46f@@kms@sha/linux.c.o' [6/44] Compiling C object 'drm@sha/xf86drmMode.c.o' ../xf86drmMode.c: In function 'drmModeAddFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:264:5: warning: called from here [-Winline] if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB, &f))) ^ ../xf86drmMode.c: In function 'drmModeAddFB2WithModifiers': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:290:5: warning: called from here [-Winline] if ((ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ADDFB2, &f))) ^ ../xf86drmMode.c: In function 'drmModeRmFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:310:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_RMFB, &bufferId); ^ ../xf86drmMode.c: In function 'drmModeDirtyFB': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:348:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty); ^ ../xf86drmMode.c: In function 'drmModeSetCrtc': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:405:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETCRTC, &crtc); ^ ../xf86drmMode.c: In function 'drmModeSetCursor': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:424:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); ^ ../xf86drmMode.c: In function 'drmModeSetCursor2': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:442:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR2, &arg); ^ ../xf86drmMode.c: In function 'drmModeMoveCursor': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:455:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_CURSOR, &arg); ^ ../xf86drmMode.c: In function 'drmModeAttachMode': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:611:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_ATTACHMODE, &res); ^ ../xf86drmMode.c: In function 'drmModeDetachMode': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:622:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res); ^ ../xf86drmMode.c: In function 'drmModeConnectorSetProperty': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:742:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPROPERTY, &osp); ^ ../xf86drmMode.c: In function 'drmModeCrtcGetGamma': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:864:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_GETGAMMA, &l); ^ ../xf86drmMode.c: In function 'drmModeCrtcSetGamma': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:880:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETGAMMA, &l); ^ ../xf86drmMode.c: In function 'drmModePageFlip': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:962:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip); ^ ../xf86drmMode.c: In function 'drmModePageFlipTarget': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:978:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_PAGE_FLIP, &flip_target); ^ ../xf86drmMode.c: In function 'drmModeSetPlane': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1004:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s); ^ ../xf86drmMode.c: In function 'drmModeObjectSetProperty': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1202:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_OBJ_SETPROPERTY, &prop); ^ ../xf86drmMode.c: In function 'drmModeAtomicCommit': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1454:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_ATOMIC, &atomic); ^ ../xf86drmMode.c: In function 'drmModeCreatePropertyBlob': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1483:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATEPROPBLOB, &create); ^ ../xf86drmMode.c: In function 'drmModeDestroyPropertyBlob': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1498:2: warning: called from here [-Winline] return DRM_IOCTL(fd, DRM_IOCTL_MODE_DESTROYPROPBLOB, &destroy); ^ ../xf86drmMode.c: In function 'drmModeCreateLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1513:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_CREATE_LEASE, &create); ^ ../xf86drmMode.c: In function 'drmModeListLessees': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1530:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) ^ ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1539:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_LIST_LESSEES, &list)) { ^ ../xf86drmMode.c: In function 'drmModeGetLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1557:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) ^ ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1566:15: warning: called from here [-Winline] if (DRM_IOCTL(fd, DRM_IOCTL_MODE_GET_LEASE, &get)) { ^ ../xf86drmMode.c: In function 'drmModeRevokeLease': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1585:6: warning: called from here [-Winline] ret = DRM_IOCTL(fd, DRM_IOCTL_MODE_REVOKE_LEASE, &revoke); ^ ../xf86drmMode.c: In function 'drmModeGetFB2': ../xf86drmMode.c:65:19: warning: inlining failed in call to 'DRM_IOCTL': call is unlikely and code size would grow [-Winline] static inline int DRM_IOCTL(int fd, unsigned long cmd, void *arg) ^ ../xf86drmMode.c:1600:6: warning: called from here [-Winline] err = DRM_IOCTL(fd, DRM_IOCTL_MODE_GETFB2, &get); ^ ninja: build stopped: subcommand failed. make: *** [/home/buildroot/autobuild/run/instance-3/output-1/build/libdrm-2.4.102/.stamp_built] Error 1 make: Leaving directory `/home/buildroot/autobuild/run/instance-3/buildroot'