>>> libdrm 2.4.113 Extracting xzcat /home/buildroot/autobuild/run/instance-2/dl/libdrm/libdrm-2.4.113.tar.xz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113 -xf - >>> libdrm 2.4.113 Patching Applying 0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch using patch: patching file tests/meson.build Hunk #1 succeeded at 40 (offset -4 lines). >>> libdrm 2.4.113 Configuring rm -rf /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build mkdir -p /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-g++%g" -e "s%@TARGET_AR@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-strip%g" -e "s%@TARGET_ARCH@%arm%g" -e "s%@TARGET_CPU@%cortex-a8%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', '-D_FORTIFY_SOURCE=1'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-D_FORTIFY_SOURCE=1'%g" -e "s%@BR2_CMAKE@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/autobuild/run/instance-2/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build/cross-compilation.conf PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-2/output-1/host/bin/meson --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build/cross-compilation.conf -Db_pie=false -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/autobuild/run/instance-2/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/autobuild/run/instance-2/output-1/host/lib/cmake -Dcairo-tests=disabled -Dman-pages=disabled -Dintel=disabled -Dradeon=disabled -Damdgpu=disabled -Dnouveau=disabled -Dvmwgfx=disabled -Domap=disabled -Detnaviv=enabled -Dexynos=disabled -Dfreedreno=disabled -Dtegra=enabled -Dvc4=disabled -Dudev=false -Dvalgrind=disabled /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113/ /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build The Meson build system Version: 0.63.3 Source dir: /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113 Build dir: /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113/build Build type: cross build Project name: libdrm Project version: 2.4.113 C compiler for the host machine: /home/buildroot/autobuild/run/instance-2/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-2/output-1/host/bin/arm-none-linux-gnueabi-gcc ld.bfd 2.24.51.20140217 C compiler for the build machine: /usr/bin/gcc (gcc 7.5.0 "gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0") C linker for the build machine: /usr/bin/gcc ld.bfd 2.30 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: arm Host machine cpu: cortex-a8 Target machine cpu family: arm Target machine cpu: cortex-a8 Run-time dependency threads found: YES Program symbols-check.py found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python3 /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113/symbols-check.py) Program nm found: YES (/usr/bin/nm) Program python3 found: YES (/home/buildroot/autobuild/run/instance-2/output-1/host/bin/python3) Found pkg-config: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/pkgconf (1.6.3) Found CMake: /home/buildroot/autobuild/run/instance-2/output-1/host/bin/cmake (3.22.3) 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 Check usable header "sys/select.h" : YES Check usable header "alloca.h" : YES Header "sys/sysmacros.h" has symbol "major" : YES Header "sys/sysmacros.h" has symbol "minor" : YES Header "sys/sysmacros.h" has symbol "makedev" : YES Header "sys/mkdev.h" has symbol "major" : NO Checking for function "open_memstream" : 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 -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-attributes: YES Compiler for C supports arguments -Wno-long-long: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Run-time dependency pciaccess found: NO (tried pkgconfig and cmake) Run-time dependency cunit found: NO (tried pkgconfig and cmake) Dependency cairo skipped: feature cairo-tests disabled Dependency valgrind skipped: feature valgrind disabled Program rst2man rst2man.py skipped: feature man-pages disabled Compiler for C supports function attribute visibility:hidden: YES Configuring config.h using configuration Build targets in project: 24 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} libdrm 2.4.113 Intel : False Radeon : False AMDGPU : False Nouveau : False vmwgfx : False OMAP : False Freedreno : False Freedreon-kgsl : False Tegra : True Etnaviv : True EXYNOS : False VC4 : False User defined options Cross files : /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/autobuild/run/instance-2/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/autobuild/run/instance-2/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false amdgpu : disabled cairo-tests : disabled etnaviv : enabled exynos : disabled freedreno : disabled intel : disabled man-pages : disabled nouveau : disabled omap : disabled radeon : disabled tegra : enabled udev : false valgrind : disabled vc4 : disabled vmwgfx : disabled Found ninja-1.10.2.git.kitware.jobserver-1 at /home/buildroot/autobuild/run/instance-2/output-1/host/bin/ninja >>> libdrm 2.4.113 Building PATH="/home/buildroot/autobuild/run/instance-2/output-1/host/bin:/home/buildroot/autobuild/run/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONNOUSERSITE=y /home/buildroot/autobuild/run/instance-2/output-1/host/bin/ninja -C /home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build ninja: Entering directory `/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113//build' [1/74] Generating format_mod_static_table with a custom command [2/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o [3/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/job.c.o [4/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/channel.c.o [5/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o [6/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_device.c.o [7/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_gpu.c.o [8/74] Compiling C object libdrm.so.2.4.0.p/xf86drmHash.c.o [9/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo_cache.c.o [10/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo.c.o [11/74] Compiling C object tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o [12/74] Compiling C object libdrm.so.2.4.0.p/xf86drmRandom.c.o [13/74] Compiling C object tests/util/libutil.a.p/kms.c.o [14/74] Compiling C object tests/util/libutil.a.p/format.c.o [15/74] Compiling C object libdrm.so.2.4.0.p/xf86drmSL.c.o [16/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_pipe.c.o [17/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_cmd_stream.c.o [18/74] Compiling C object etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_perfmon.c.o [19/74] Compiling C object tests/proptest/proptest.p/proptest.c.o [20/74] Compiling C object tests/vbltest/vbltest.p/vbltest.c.o [21/74] Compiling C object tests/modetest/modetest.p/buffers.c.o [22/74] Compiling C object tests/modetest/modetest.p/cursor.c.o [23/74] Compiling C object tests/modeprint/modeprint.p/modeprint.c.o [24/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o [25/74] Compiling C object tests/tegra/libdrm-test.a.p/drm-test.c.o [26/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic.c.o [27/74] Linking static target tests/tegra/libdrm-test.a [28/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic42.c.o [29/74] Compiling C object tests/tegra/tegra-openclose.p/openclose.c.o [30/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic40.c.o [31/74] Compiling C object tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o [32/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic30.c.o [33/74] Compiling C object tests/tegra/libdrm-test-tegra.a.p/vic41.c.o [34/74] Compiling C object tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o [35/74] Linking static target tests/tegra/libdrm-test-tegra.a [36/74] Compiling C object tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o [37/74] Compiling C object libdrm.so.2.4.0.p/xf86drmMode.c.o [38/74] Compiling C object tests/etnaviv/etnaviv_2d_test.p/write_bmp.c.o ../tests/etnaviv/write_bmp.c: In function 'bmp_dump32': ../tests/etnaviv/write_bmp.c:116:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, width * height * 4); ^ ../tests/etnaviv/write_bmp.c: In function 'bmp_header_write': ../tests/etnaviv/write_bmp.c:99:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &bmp_header, sizeof(struct bmp_header)); ^ ../tests/etnaviv/write_bmp.c:100:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, &dib_header, sizeof(struct dib_header)); ^ ../tests/etnaviv/write_bmp.c: In function 'bmp_dump32_noflip': ../tests/etnaviv/write_bmp.c:132:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, width * height * 4); ^ ../tests/etnaviv/write_bmp.c: In function 'bmp_dump32_ex': ../tests/etnaviv/write_bmp.c:148:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, width * height * 4); ^ [39/74] Compiling C object tests/tegra/tegra-vic-clear.p/vic-clear.c.o [40/74] Compiling C object tests/tegra/tegra-vic-blit.p/vic-blit.c.o [41/74] Compiling C object tests/etnaviv/etnaviv_cmd_stream_test.p/etnaviv_cmd_stream_test.c.o [42/74] Compiling C object tests/tegra/tegra-vic-flip.p/vic-flip.c.o [43/74] Compiling C object tests/etnaviv/etnaviv_2d_test.p/etnaviv_2d_test.c.o [44/74] Compiling C object tests/drmsl.p/drmsl.c.o [45/74] Compiling C object tests/etnaviv/etnaviv_bo_cache_test.p/etnaviv_bo_cache_test.c.o [46/74] Compiling C object tests/hash.p/hash.c.o [47/74] Compiling C object tests/drmdevice.p/drmdevice.c.o [48/74] Compiling C object tests/util/libutil.a.p/pattern.c.o [49/74] Linking static target tests/util/libutil.a [50/74] Compiling C object tests/modetest/modetest.p/modetest.c.o [51/74] Compiling C object libdrm.so.2.4.0.p/xf86drm.c.o ../xf86drm.c: In function 'drmGetFormatModifierNameFromAmlogic': ../xf86drm.c:546:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mod_amlogic, "FBC,LAYOUT=%s,OPTIONS=%s", layout_str, opts_str); ^ ../xf86drm.c: In function 'drmGetFormatModifierNameFromNvidia': ../xf86drm.c:359:17: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mod_nvidia, "BLOCK_LINEAR_2D,HEIGHT=%"PRIu64",KIND=%"PRIu64"," ^ [52/74] Linking target libdrm.so.2.4.0 [53/74] Generating symbol file libdrm.so.2.4.0.p/libdrm.so.2.4.0.symbols [54/74] Linking target tegra/libdrm_tegra.so.0.0.0 [55/74] Linking target etnaviv/libdrm_etnaviv.so.1.0.0 [56/74] Linking target tests/proptest/proptest [57/74] Linking target tests/modeprint/modeprint [58/74] Linking target tests/vbltest/vbltest [59/74] Linking target tests/modetest/modetest [60/74] Linking target tests/drmsl [61/74] Linking target tests/hash [62/74] Linking target tests/drmdevice [63/74] Generating symbol file tegra/libdrm_tegra.so.0.0.0.p/libdrm_tegra.so.0.0.0.symbols [64/74] Linking target tests/tegra/tegra-openclose [65/74] Linking target tests/tegra/tegra-syncpt-wait [66/74] Linking target tests/tegra/tegra-gr2d-fill FAILED: tests/tegra/tegra-gr2d-fill /home/buildroot/autobuild/run/instance-2/output-1/host/bin/arm-none-linux-gnueabi-gcc -o tests/tegra/tegra-gr2d-fill tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113/build/ -Wl,-rpath-link,/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113/build/tegra -Wl,--start-group libdrm.so.2.4.0 tegra/libdrm_tegra.so.0.0.0 tests/tegra/libdrm-test.a tests/tegra/libdrm-test-tegra.a -Wl,--end-group /home/buildroot/autobuild/run/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: tests/tegra/libdrm-test.a.p/drm-test.c.o: undefined reference to symbol 'drmModeSetCrtc' libdrm.so.2.4.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status [67/74] Linking target tests/tegra/tegra-syncpt-timeout [68/74] Linking target tests/tegra/tegra-vic-clear [69/74] Linking target tests/tegra/tegra-vic-blit [70/74] Generating symbol file etnaviv/libdrm_etnaviv.so.1.0.0.p/libdrm_etnaviv.so.1.0.0.symbols [71/74] Linking target tests/tegra/tegra-vic-flip ninja: build stopped: subcommand failed. package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-2/output-1/build/libdrm-2.4.113/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/autobuild/run/instance-2/buildroot'