Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdrm-amdgpu.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1595699314.598150/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ct1p8rk5:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ct1p8rk5:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'efa53180262846eab496105c0a66d9d1', '-D', '/var/lib/mock/epel-8-x86_64-1595699314.598150/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ct1p8rk5:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libdrm-amdgpu.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libdrm-amdgpu-2.4.100-1089974.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdrm-amdgpu.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1595699314.598150/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ct1p8rk5:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ct1p8rk5:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd7c855298fd64d5ba148e711a80f2dc6', '-D', '/var/lib/mock/epel-8-x86_64-1595699314.598150/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ct1p8rk5:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libdrm-amdgpu.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n1XRri + umask 022 + cd /builddir/build/BUILD + tar -C /builddir/build/SOURCES -zxvf /builddir/build/SOURCES/libdrm-2.4.100.tar.gz drm/ drm/.editorconfig drm/.gitlab-ci.yml drm/.gitlab-ci/ drm/.gitlab-ci/debian-install.sh drm/.version.hybrid drm/Android.common.mk drm/Android.mk drm/CONTRIBUTING.rst drm/CleanSpec.mk drm/Makefile.sources drm/README.rst drm/RELEASING drm/amdgpu/ drm/amdgpu/.editorconfig drm/amdgpu/Android.mk drm/amdgpu/Makefile.sources drm/amdgpu/amdgpu-symbols.txt drm/amdgpu/amdgpu.h drm/amdgpu/amdgpu_asic_id.c drm/amdgpu/amdgpu_bo.c drm/amdgpu/amdgpu_cs.c drm/amdgpu/amdgpu_device.c drm/amdgpu/amdgpu_gpu_info.c drm/amdgpu/amdgpu_internal.h drm/amdgpu/amdgpu_vamgr.c drm/amdgpu/amdgpu_vm.c drm/amdgpu/handle_table.c drm/amdgpu/handle_table.h drm/amdgpu/libdrm_amdgpu.pc.in drm/amdgpu/meson.build drm/android/ drm/android/gralloc_handle.h drm/data/ drm/data/Android.mk drm/data/amdgpu.ids drm/data/meson.build drm/etnaviv/ drm/etnaviv/Android.mk drm/etnaviv/Makefile.sources drm/etnaviv/etnaviv-symbols.txt drm/etnaviv/etnaviv_bo.c drm/etnaviv/etnaviv_bo_cache.c drm/etnaviv/etnaviv_cmd_stream.c drm/etnaviv/etnaviv_device.c drm/etnaviv/etnaviv_drm.h drm/etnaviv/etnaviv_drmif.h drm/etnaviv/etnaviv_gpu.c drm/etnaviv/etnaviv_perfmon.c drm/etnaviv/etnaviv_pipe.c drm/etnaviv/etnaviv_priv.h drm/etnaviv/libdrm_etnaviv.pc.in drm/etnaviv/meson.build drm/exynos/ drm/exynos/exynos-symbols.txt drm/exynos/exynos_drm.c drm/exynos/exynos_drm.h drm/exynos/exynos_drmif.h drm/exynos/exynos_fimg2d.c drm/exynos/exynos_fimg2d.h drm/exynos/fimg2d_reg.h drm/exynos/libdrm_exynos.pc.in drm/exynos/meson.build drm/freedreno/ drm/freedreno/Android.mk drm/freedreno/Makefile.sources drm/freedreno/freedreno-symbols.txt drm/freedreno/freedreno_bo.c drm/freedreno/freedreno_bo_cache.c drm/freedreno/freedreno_device.c drm/freedreno/freedreno_drmif.h drm/freedreno/freedreno_pipe.c drm/freedreno/freedreno_priv.h drm/freedreno/freedreno_ringbuffer.c drm/freedreno/freedreno_ringbuffer.h drm/freedreno/kgsl/ drm/freedreno/kgsl/README drm/freedreno/kgsl/kgsl_bo.c drm/freedreno/kgsl/kgsl_device.c drm/freedreno/kgsl/kgsl_drm.h drm/freedreno/kgsl/kgsl_pipe.c drm/freedreno/kgsl/kgsl_priv.h drm/freedreno/kgsl/kgsl_ringbuffer.c drm/freedreno/kgsl/msm_kgsl.h drm/freedreno/libdrm_freedreno.pc.in drm/freedreno/meson.build drm/freedreno/msm/ drm/freedreno/msm/msm_bo.c drm/freedreno/msm/msm_device.c drm/freedreno/msm/msm_pipe.c drm/freedreno/msm/msm_priv.h drm/freedreno/msm/msm_ringbuffer.c drm/include/ drm/include/drm/ drm/include/drm/README drm/include/drm/amdgpu_drm.h drm/include/drm/drm.h drm/include/drm/drm_fourcc.h drm/include/drm/drm_mode.h drm/include/drm/drm_sarea.h drm/include/drm/i915_drm.h drm/include/drm/mach64_drm.h drm/include/drm/mga_drm.h drm/include/drm/msm_drm.h drm/include/drm/nouveau_drm.h drm/include/drm/qxl_drm.h drm/include/drm/r128_drm.h drm/include/drm/radeon_drm.h drm/include/drm/savage_drm.h drm/include/drm/sis_drm.h drm/include/drm/tegra_drm.h drm/include/drm/vc4_drm.h drm/include/drm/via_drm.h drm/include/drm/virtgpu_drm.h drm/include/drm/vmwgfx_drm.h drm/intel/ drm/intel/.gitignore drm/intel/Android.mk drm/intel/Makefile.sources drm/intel/i915_pciids.h drm/intel/intel-symbols.txt drm/intel/intel_aub.h drm/intel/intel_bufmgr.c drm/intel/intel_bufmgr.h drm/intel/intel_bufmgr_fake.c drm/intel/intel_bufmgr_gem.c drm/intel/intel_bufmgr_priv.h drm/intel/intel_chipset.c drm/intel/intel_chipset.h drm/intel/intel_debug.h drm/intel/intel_decode.c drm/intel/libdrm_intel.pc.in drm/intel/meson.build drm/intel/mm.c drm/intel/mm.h drm/intel/test_decode.c drm/intel/tests/ drm/intel/tests/.gitignore drm/intel/tests/gen4-3d.batch drm/intel/tests/gen4-3d.batch-ref.txt drm/intel/tests/gen4-3d.batch.sh drm/intel/tests/gen5-3d.batch drm/intel/tests/gen5-3d.batch-ref.txt drm/intel/tests/gen5-3d.batch.sh drm/intel/tests/gen6-3d.batch drm/intel/tests/gen6-3d.batch-ref.txt drm/intel/tests/gen6-3d.batch.sh drm/intel/tests/gen7-2d-copy.batch drm/intel/tests/gen7-2d-copy.batch-ref.txt drm/intel/tests/gen7-2d-copy.batch.sh drm/intel/tests/gen7-3d.batch drm/intel/tests/gen7-3d.batch-ref.txt drm/intel/tests/gen7-3d.batch.sh drm/intel/tests/gm45-3d.batch drm/intel/tests/gm45-3d.batch-ref.txt drm/intel/tests/gm45-3d.batch.sh drm/intel/tests/test-batch.sh drm/intel/uthash.h drm/libdrm.pc.in drm/libdrm_lists.h drm/libdrm_macros.h drm/libkms/ drm/libkms/Android.mk drm/libkms/Makefile.sources drm/libkms/api.c drm/libkms/dumb.c drm/libkms/exynos.c drm/libkms/intel.c drm/libkms/internal.h drm/libkms/kms-symbols.txt drm/libkms/libkms.h drm/libkms/libkms.pc.in drm/libkms/linux.c drm/libkms/meson.build drm/libkms/nouveau.c drm/libkms/radeon.c drm/libkms/vmwgfx.c drm/libsync.h drm/man/ drm/man/drm-kms.xml drm/man/drm-memory.xml drm/man/drm.xml drm/man/drmAvailable.xml drm/man/drmHandleEvent.xml drm/man/drmModeGetResources.xml drm/man/meson.build drm/meson.build drm/meson_options.txt drm/nouveau/ drm/nouveau/Android.mk drm/nouveau/Makefile.sources drm/nouveau/abi16.c drm/nouveau/bufctx.c drm/nouveau/libdrm_nouveau.pc.in drm/nouveau/meson.build drm/nouveau/nouveau-symbols.txt drm/nouveau/nouveau.c drm/nouveau/nouveau.h drm/nouveau/nvif/ drm/nouveau/nvif/cl0080.h drm/nouveau/nvif/cl9097.h drm/nouveau/nvif/class.h drm/nouveau/nvif/if0002.h drm/nouveau/nvif/if0003.h drm/nouveau/nvif/ioctl.h drm/nouveau/nvif/unpack.h drm/nouveau/private.h drm/nouveau/pushbuf.c drm/omap/ drm/omap/Android.mk drm/omap/libdrm_omap.pc.in drm/omap/meson.build drm/omap/omap-symbols.txt drm/omap/omap_drm.c drm/omap/omap_drm.h drm/omap/omap_drmif.h drm/radeon/ drm/radeon/Android.mk drm/radeon/Makefile.sources drm/radeon/bof.c drm/radeon/bof.h drm/radeon/libdrm_radeon.pc.in drm/radeon/meson.build drm/radeon/r600_pci_ids.h drm/radeon/radeon-symbols.txt drm/radeon/radeon_bo.c drm/radeon/radeon_bo.h drm/radeon/radeon_bo_gem.c drm/radeon/radeon_bo_gem.h drm/radeon/radeon_bo_int.h drm/radeon/radeon_cs.c drm/radeon/radeon_cs.h drm/radeon/radeon_cs_gem.c drm/radeon/radeon_cs_gem.h drm/radeon/radeon_cs_int.h drm/radeon/radeon_cs_space.c drm/radeon/radeon_surface.c drm/radeon/radeon_surface.h drm/symbols-check.py drm/tegra/ drm/tegra/.gitignore drm/tegra/libdrm_tegra.pc.in drm/tegra/meson.build drm/tegra/private.h drm/tegra/tegra-symbols.txt drm/tegra/tegra.c drm/tegra/tegra.h drm/tests/ drm/tests/Android.mk drm/tests/amdgpu/ drm/tests/amdgpu/.editorconfig drm/tests/amdgpu/amdgpu_test.c drm/tests/amdgpu/amdgpu_test.h drm/tests/amdgpu/basic_tests.c drm/tests/amdgpu/bo_tests.c drm/tests/amdgpu/cs_tests.c drm/tests/amdgpu/deadlock_tests.c drm/tests/amdgpu/decode_messages.h drm/tests/amdgpu/frame.h drm/tests/amdgpu/meson.build drm/tests/amdgpu/ras_tests.c drm/tests/amdgpu/syncobj_tests.c drm/tests/amdgpu/uvd_enc_tests.c drm/tests/amdgpu/uve_ib.h drm/tests/amdgpu/vce_ib.h drm/tests/amdgpu/vce_tests.c drm/tests/amdgpu/vcn_tests.c drm/tests/amdgpu/vm_tests.c drm/tests/drmdevice.c drm/tests/drmsl.c drm/tests/etnaviv/ drm/tests/etnaviv/cmdstream.xml.h drm/tests/etnaviv/etnaviv_2d_test.c drm/tests/etnaviv/etnaviv_bo_cache_test.c drm/tests/etnaviv/etnaviv_cmd_stream_test.c drm/tests/etnaviv/meson.build drm/tests/etnaviv/state.xml.h drm/tests/etnaviv/state_2d.xml.h drm/tests/etnaviv/write_bmp.c drm/tests/etnaviv/write_bmp.h drm/tests/exynos/ drm/tests/exynos/exynos_fimg2d_event.c drm/tests/exynos/exynos_fimg2d_perf.c drm/tests/exynos/exynos_fimg2d_test.c drm/tests/exynos/meson.build drm/tests/hash.c drm/tests/kms/ drm/tests/kms/kms-steal-crtc.c drm/tests/kms/kms-universal-planes.c drm/tests/kms/libkms-test-crtc.c drm/tests/kms/libkms-test-device.c drm/tests/kms/libkms-test-framebuffer.c drm/tests/kms/libkms-test-plane.c drm/tests/kms/libkms-test-screen.c drm/tests/kms/libkms-test.h drm/tests/kms/meson.build drm/tests/kmstest/ drm/tests/kmstest/main.c drm/tests/kmstest/meson.build drm/tests/meson.build drm/tests/modeprint/ drm/tests/modeprint/meson.build drm/tests/modeprint/modeprint.c drm/tests/modetest/ drm/tests/modetest/Android.mk drm/tests/modetest/Makefile.sources drm/tests/modetest/buffers.c drm/tests/modetest/buffers.h drm/tests/modetest/cursor.c drm/tests/modetest/cursor.h drm/tests/modetest/meson.build drm/tests/modetest/modetest.c drm/tests/nouveau/ drm/tests/nouveau/.gitignore drm/tests/nouveau/meson.build drm/tests/nouveau/threaded.c drm/tests/proptest/ drm/tests/proptest/Android.mk drm/tests/proptest/Makefile.sources drm/tests/proptest/meson.build drm/tests/proptest/proptest.c drm/tests/radeon/ drm/tests/radeon/meson.build drm/tests/radeon/radeon_ttm.c drm/tests/radeon/rbo.c drm/tests/radeon/rbo.h drm/tests/random.c drm/tests/tegra/ drm/tests/tegra/.gitignore drm/tests/tegra/meson.build drm/tests/tegra/openclose.c drm/tests/ttmtest/ drm/tests/ttmtest/AUTHORS drm/tests/ttmtest/ChangeLog drm/tests/ttmtest/Makefile.am drm/tests/ttmtest/NEWS drm/tests/ttmtest/README drm/tests/ttmtest/configure.ac drm/tests/ttmtest/reconf drm/tests/ttmtest/src/ drm/tests/ttmtest/src/Makefile.am drm/tests/ttmtest/src/ttmtest.c drm/tests/ttmtest/src/xf86dri.c drm/tests/ttmtest/src/xf86dri.h drm/tests/ttmtest/src/xf86dristr.h drm/tests/util/ drm/tests/util/Android.mk drm/tests/util/Makefile.sources drm/tests/util/common.h drm/tests/util/format.c drm/tests/util/format.h drm/tests/util/kms.c drm/tests/util/kms.h drm/tests/util/meson.build drm/tests/util/pattern.c drm/tests/util/pattern.h drm/tests/vbltest/ drm/tests/vbltest/meson.build drm/tests/vbltest/vbltest.c drm/util_double_list.h drm/util_math.h drm/vc4/ drm/vc4/Makefile.sources drm/vc4/libdrm_vc4.pc.in drm/vc4/meson.build drm/vc4/vc4_packet.h drm/vc4/vc4_qpu_defines.h drm/xf86atomic.h drm/xf86drm.c drm/xf86drm.h drm/xf86drmHash.c drm/xf86drmHash.h drm/xf86drmMode.c drm/xf86drmMode.h drm/xf86drmRandom.c drm/xf86drmRandom.h drm/xf86drmSL.c + /builddir/build/SOURCES/rbh.sh --prep libdrm_uni *** 2020-07-25 17:49:04 libdrm_uni: prep + cd /builddir/build/BUILD + cd drm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BkmQtL + umask 022 + cd /builddir/build/BUILD + cd drm + /builddir/build/SOURCES/rbh.sh --build libdrm_uni *** 2020-07-25 17:49:05 libdrm_uni: build The Meson build system Version: 0.49.2 Source dir: /builddir/build/SOURCES/drm Build dir: /builddir/build/BUILD/drm Build type: native build Project name: libdrm Project version: 2.4.100 Appending CFLAGS from environment: '-m64 -std=gnu99' Appending LDFLAGS from environment: '-m64' Native C compiler: cc (gcc 8.3.1 "cc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)") Build machine cpu family: x86_64 Build machine cpu: x86_64 Dependency threads found: YES Program symbols-check.py found: YES (/usr/bin/env python3 /builddir/build/SOURCES/drm/symbols-check.py) Program nm found: YES (/usr/bin/nm) Found pkg-config: /usr/bin/pkg-config (1.4.2) Dependency atomic_ops found: YES 7.6.2 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 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 Dependency pciaccess found: YES 0.14 Dependency cunit found: YES 2.1-3 Dependency valgrind found: NO (tried pkgconfig) Program xsltproc found: YES (/usr/bin/xsltproc) Program sed found: YES (/usr/bin/sed) Checking if "compiler supports __attribute__(("hidden"))" compiles: YES Configuring config.h using configuration Message: Message: libdrm will be compiled with: Message: Message: libkms true Message: Intel API false Message: vmwgfx API true Message: Radeon API true Message: AMDGPU API true 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: 31 Option buildtype is: release [default: debugoptimized] Found ninja-1.8.2 at /usr/bin/ninja ninja: Entering directory `/builddir/build/BUILD/drm' [1/92] Compiling C object 'drm@sha/xf86drmRandom.c.o'. [2/92] Compiling C object 'drm@sha/xf86drmHash.c.o'. [3/92] Compiling C object 'drm@sha/xf86drmSL.c.o'. [4/92] Compiling C object 'libkms/4bec46f@@kms@sha/linux.c.o'. [5/92] Compiling C object 'libkms/4bec46f@@kms@sha/dumb.c.o'. [6/92] Compiling C object 'libkms/4bec46f@@kms@sha/api.c.o'. [7/92] Compiling C object 'libkms/4bec46f@@kms@sha/vmwgfx.c.o'. [8/92] Compiling C object 'libkms/4bec46f@@kms@sha/radeon.c.o'. [9/92] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_bo_gem.c.o'. [10/92] Compiling C object 'drm@sha/xf86drmMode.c.o'. [11/92] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_cs_space.c.o'. [12/92] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_bo.c.o'. [13/92] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_cs_gem.c.o'. [14/92] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_cs.c.o'. [15/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/amdgpu_asic_id.c.o'. [16/92] Compiling C object 'drm@sha/xf86drm.c.o'. In file included from ../../SOURCES/drm/xf86drm.c:69: ../../SOURCES/drm/xf86drm.c: In function 'drmGetMinorNameForFD': ../../SOURCES/drm/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" ^~~~~~~~~~ ../../SOURCES/drm/xf86drm.c:2873:50: note: in expansion of macro 'DRM_DIR_NAME' snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~~~~~~~~~~~ ../../SOURCES/drm/xf86drm.c:2873:65: note: format string is defined here snprintf(dev_name, sizeof(dev_name), DRM_DIR_NAME "/%s", ^~ ../../SOURCES/drm/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); ~~~~~~~~~~~~ ../../SOURCES/drm/xf86drm.c: In function 'process_device': ../../SOURCES/drm/xf86drm.c:3154: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]); ^ ../../SOURCES/drm/xf86drm.c:3154: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]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/xf86drm.c:3184: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); ^~~~~~~ ../../SOURCES/drm/xf86drm.c:3184:5: note: 'snprintf' output between 8 and 4104 bytes into a destination of size 4096 snprintf(path, PATH_MAX, "%s/config", pci_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/xf86drm.c:3154: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]); ^ ../../SOURCES/drm/xf86drm.c:3154: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]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [17/92] Linking target libdrm.so.2.4.0. [18/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/amdgpu_bo.c.o'. ../../SOURCES/drm/amdgpu/amdgpu_bo.c: In function 'amdgpu_get_fb_id': ../../SOURCES/drm/amdgpu/amdgpu_bo.c:399:6: warning: variable 'count_crtcs' set but not used [-Wunused-but-set-variable] int count_crtcs; ^~~~~~~~~~~ [19/92] Generating symbol file 'drm@sha/libdrm.so.2.4.0.symbols'. [20/92] Linking target libkms/libkms.so.1.0.0. [21/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/amdgpu_cs.c.o'. [22/92] Generating symbol file 'libkms/4bec46f@@kms@sha/libkms.so.1.0.0.symbols'. [23/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/amdgpu_gpu_info.c.o'. [24/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/amdgpu_device.c.o'. [25/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/amdgpu_vm.c.o'. [26/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/amdgpu_vamgr.c.o'. [27/92] Compiling C object 'radeon/a1e84d4@@drm_radeon@sha/radeon_surface.c.o'. ../../SOURCES/drm/radeon/radeon_surface.c: In function 'si_surface_init': ../../SOURCES/drm/radeon/radeon_surface.c:1719:13: warning: 'stencil_tile_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] r = si_surface_init_2d(surf_man, surf, surf->stencil_level, 1, stencil_tile_mode, num_pipes, num_banks, surf->stencil_tile_split, surf->bo_size, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/radeon/radeon_surface.c:1728:31: note: 'stencil_tile_mode' was declared here unsigned mode, tile_mode, stencil_tile_mode; ^~~~~~~~~~~~~~~~~ ../../SOURCES/drm/radeon/radeon_surface.c: In function 'cik_surface_init': ../../SOURCES/drm/radeon/radeon_surface.c:2321:13: warning: 'stencil_tile_mode' may be used uninitialized in this function [-Wmaybe-uninitialized] r = cik_surface_init_2d(surf_man, surf, surf->stencil_level, 1, stencil_tile_mode, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf->stencil_tile_split, num_pipes, num_banks, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ surf->bo_size, 0); ~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/radeon/radeon_surface.c:2332:31: note: 'stencil_tile_mode' was declared here unsigned mode, tile_mode, stencil_tile_mode; ^~~~~~~~~~~~~~~~~ [28/92] Compiling C object 'amdgpu/2894f6a@@drm_amdgpu@sha/handle_table.c.o'. [29/92] Linking target amdgpu/libdrm_amdgpu.so.1.0.0. [30/92] Linking target radeon/libdrm_radeon.so.1.0.1. [31/92] Generating drm with a custom command. [32/92] Generating symbol file 'amdgpu/2894f6a@@drm_amdgpu@sha/libdrm_amdgpu.so.1.0.0.symbols'. [33/92] Generating drm-kms with a custom command. [34/92] Generating drmAvailable with a custom command. [35/92] Generating drm-memory with a custom command. [36/92] Generating drmHandleEvent with a custom command. [37/92] Generating drmModeGetResources with a custom command. [38/92] Generating gen-drm-gem with a meson_exe.py custom command. [39/92] Generating gen-drm-mm with a meson_exe.py custom command. [40/92] Generating gen-drm-ttm with a meson_exe.py custom command. [41/92] Generating drm-mm.7 with a custom command. [42/92] Compiling C object 'tests/util/16d880e@@util@sta/format.c.o'. [43/92] Generating drm-gem.7 with a custom command. [44/92] Compiling C object 'tests/util/16d880e@@util@sta/kms.c.o'. [45/92] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-crtc.c.o'. [46/92] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-device.c.o'. [47/92] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-framebuffer.c.o'. [48/92] Generating drm-ttm.7 with a custom command. [49/92] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-plane.c.o'. [50/92] Compiling C object 'tests/kms/d711c5d@@kms-test@sta/libkms-test-screen.c.o'. [51/92] Linking static target tests/kms/libkms-test.a. [52/92] Compiling C object 'tests/kms/d711c5d@@kms-steal-crtc@exe/kms-steal-crtc.c.o'. [53/92] Compiling C object 'tests/kms/d711c5d@@kms-universal-planes@exe/kms-universal-planes.c.o'. [54/92] Linking target tests/kms/kms-universal-planes. [55/92] Compiling C object 'tests/proptest/7eb5fbb@@proptest@exe/proptest.c.o'. [56/92] Compiling C object 'tests/modeprint/6b185c3@@modeprint@exe/modeprint.c.o'. [57/92] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/buffers.c.o'. [58/92] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/cursor.c.o'. [59/92] Compiling C object 'tests/vbltest/3928abf@@vbltest@exe/vbltest.c.o'. [60/92] Compiling C object 'tests/kmstest/e2824f4@@kmstest@exe/main.c.o'. [61/92] Compiling C object 'tests/util/16d880e@@util@sta/pattern.c.o'. ../../SOURCES/drm/tests/util/pattern.c: In function 'fill_tiles_rgb16fp': ../../SOURCES/drm/tests/util/pattern.c:988:8: warning: unused variable 'mem_base' [-Wunused-variable] void *mem_base = mem; ^~~~~~~~ [62/92] Linking static target tests/util/libutil.a. [63/92] Linking target tests/kms/kms-steal-crtc. [64/92] Linking target tests/modeprint/modeprint. [65/92] Compiling C object 'tests/radeon/f866ec7@@radeon_ttm@exe/rbo.c.o'. [66/92] Linking target tests/proptest/proptest. [67/92] Linking target tests/vbltest/vbltest. [68/92] Linking target tests/kmstest/kmstest. [69/92] Compiling C object 'tests/radeon/f866ec7@@radeon_ttm@exe/radeon_ttm.c.o'. [70/92] Linking target tests/radeon/radeon_ttm. [71/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/amdgpu_test.c.o'. [72/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/bo_tests.c.o'. ../../SOURCES/drm/tests/amdgpu/bo_tests.c: In function 'amdgpu_get_fb_id_and_handle': ../../SOURCES/drm/tests/amdgpu/bo_tests.c:329:6: warning: unused variable 'i' [-Wunused-variable] int i, r; ^ ../../SOURCES/drm/tests/amdgpu/bo_tests.c:328:12: warning: unused variable 'ptr' [-Wunused-variable] uint32_t *ptr; ^~~ ../../SOURCES/drm/tests/amdgpu/bo_tests.c: In function 'amdgpu_bo_ssg': ../../SOURCES/drm/tests/amdgpu/bo_tests.c:366:39: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] printf("SSG read/write block size 0x%x\n", buf_size); ~^ ~~~~~~~~ %lx ../../SOURCES/drm/tests/amdgpu/bo_tests.c:355:7: warning: 'write_is_ok' may be used uninitialized in this function [-Wmaybe-uninitialized] bool write_is_ok; ^~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/bo_tests.c:416:8: warning: 'write_is_same' may be used uninitialized in this function [-Wmaybe-uninitialized] bool write_is_same; ^~~~~~~~~~~~~ [73/92] Compiling C object 'tests/modetest/f8783dc@@modetest@exe/modetest.c.o'. [74/92] Linking target tests/modetest/modetest. [75/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/cs_tests.c.o'. ../../SOURCES/drm/tests/amdgpu/cs_tests.c: In function 'amdgpu_cs_uvd_decode': ../../SOURCES/drm/tests/amdgpu/cs_tests.c:387:4: warning: 'ctx_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] uvd_cmd(ctx_addr, 0x206, &i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [76/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/vce_tests.c.o'. [77/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/uvd_enc_tests.c.o'. [78/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/vcn_tests.c.o'. [79/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/deadlock_tests.c.o'. [80/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/vm_tests.c.o'. [81/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/basic_tests.c.o'. ../../SOURCES/drm/tests/amdgpu/basic_tests.c: In function 'amdgpu_direct_gma_bo_alloc_and_map': ../../SOURCES/drm/tests/amdgpu/basic_tests.c:3836:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cpu) ^~ ../../SOURCES/drm/tests/amdgpu/basic_tests.c:3838:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(r) ^~ ../../SOURCES/drm/tests/amdgpu/basic_tests.c: In function 'amdgpu_direct_gma_mmap': ../../SOURCES/drm/tests/amdgpu/basic_tests.c:3967:24: warning: unused variable 'phys_addr' [-Wunused-variable] uint64_t size = 4096, phys_addr, remain; ^~~~~~~~~ [82/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/syncobj_tests.c.o'. ../../SOURCES/drm/tests/amdgpu/syncobj_tests.c: In function 'syncobj_command_submission_helper': ../../SOURCES/drm/tests/amdgpu/syncobj_tests.c:99:20: warning: unused variable 'flags' [-Wunused-variable] uint32_t expired, flags; ^~~~~ [83/92] Compiling C object 'tests/59830eb@@drmsl@exe/drmsl.c.o'. [84/92] Linking target tests/drmsl. [85/92] Compiling C object 'tests/59830eb@@random@exe/random.c.o'. [86/92] Compiling C object 'tests/amdgpu/b9f2b1d@@amdgpu_test@exe/ras_tests.c.o'. ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'set_test_card': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:653:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_query_err_count': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:745:6: warning: unused variable 'ret' [-Wunused-variable] int ret; ^~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_basic_test': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:960:7: warning: unused variable 'name' [-Wunused-variable] char name[1024]; ^~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:959:20: warning: unused variable 'ce' [-Wunused-variable] unsigned long ue, ce; ^~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:959:16: warning: unused variable 'ue' [-Wunused-variable] unsigned long ue, ce; ^~ At top level: ../../SOURCES/drm/tests/amdgpu/ras_tests.c:835:13: warning: 'amdgpu_ras_enable_test' defined but not used [-Wunused-function] static void amdgpu_ras_enable_test(void) ^~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_basic_test': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:977:20: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~ ~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:977:3: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:981:20: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s", get_ras_sysfs_root(), "features"); ^~ ~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:981:3: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(path, "%s%s", get_ras_sysfs_root(), "features"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:993:23: warning: '%s' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s%s", get_ras_sysfs_root(), ras_block_str(j), "_err_count"); ^~ ~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:993:4: note: 'sprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 sprintf(path, "%s%s%s", get_ras_sysfs_root(), ras_block_str(j), "_err_count"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:997:23: warning: '%s' directive writing 11 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s%s", get_ras_debugfs_root(), ras_block_str(j), "_err_inject"); ^~ ~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:997:4: note: 'sprintf' output 12 or more bytes (assuming 1035) into a destination of size 1024 sprintf(path, "%s%s%s", get_ras_debugfs_root(), ras_block_str(j), "_err_inject"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_invoke': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:733:19: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~ ~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:733:2: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_inject': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:782:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(inject->head.name, ras_block_str(block), 32); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_query_err_count': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:752:21: warning: '%s' directive writing 10 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(name, "%s%s%s", get_ras_sysfs_root(), ras_block_str(block), "_err_count"); ^~ ~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:752:2: note: 'sprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024 sprintf(name, "%s%s%s", get_ras_sysfs_root(), ras_block_str(block), "_err_count"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c: In function 'amdgpu_ras_disable_test': ../../SOURCES/drm/tests/amdgpu/ras_tests.c:733:19: warning: '%s' directive writing 8 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~ ~~~~~~~~~~ ../../SOURCES/drm/tests/amdgpu/ras_tests.c:733:2: note: 'sprintf' output between 9 and 1032 bytes into a destination of size 1024 sprintf(path, "%s%s", get_ras_debugfs_root(), "ras_ctrl"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [87/92] Linking target tests/random. [88/92] Compiling C object 'tests/59830eb@@hash@exe/hash.c.o'. [89/92] Linking target tests/hash. [90/92] Linking target tests/amdgpu/amdgpu_test. [91/92] Compiling C object 'tests/59830eb@@drmdevice@exe/drmdevice.c.o'. [92/92] Linking target tests/drmdevice. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tZXkoN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64 + cd drm + /builddir/build/SOURCES/rbh.sh --install libdrm_uni *** 2020-07-25 17:49:18 libdrm_uni: install ninja: Entering directory `/builddir/build/BUILD/drm' [0/1] Installing files. Installing libdrm.so.2.4.0 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64 Installing libkms/libkms.so.1.0.0 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64 Installing radeon/libdrm_radeon.so.1.0.1 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64 Installing amdgpu/libdrm_amdgpu.so.1.0.0 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64 Installing man/drm.7 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man7 Installing man/drm-kms.7 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man7 Installing man/drm-memory.7 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man7 Installing man/drmAvailable.3 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man3 Installing man/drmHandleEvent.3 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man3 Installing man/drmModeGetResources.3 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man3 Installing man/drm-mm.7 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man7 Installing man/drm-gem.7 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man7 Installing man/drm-ttm.7 to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/man/man7 Installing tests/kms/kms-steal-crtc to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing tests/kms/kms-universal-planes to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing tests/modeprint/modeprint to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing tests/proptest/proptest to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing tests/modetest/modetest to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing tests/vbltest/vbltest to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing tests/kmstest/kmstest to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing tests/amdgpu/amdgpu_test to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/bin Installing /builddir/build/SOURCES/drm/libsync.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include Installing /builddir/build/SOURCES/drm/xf86drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include Installing /builddir/build/SOURCES/drm/xf86drmMode.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include Installing /builddir/build/SOURCES/drm/include/drm/drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/drm_fourcc.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/drm_mode.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/drm_sarea.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/i915_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/mach64_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/mga_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/msm_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/nouveau_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/qxl_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/r128_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/radeon_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/amdgpu_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/savage_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/sis_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/tegra_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/vc4_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/via_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/virtgpu_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/include/drm/vmwgfx_drm.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/libkms/libkms.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libkms Installing /builddir/build/SOURCES/drm/radeon/radeon_bo.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/radeon/radeon_cs.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/radeon/radeon_surface.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/radeon/radeon_bo_gem.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/radeon/radeon_cs_gem.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/radeon/radeon_bo_int.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/radeon/radeon_cs_int.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/radeon/r600_pci_ids.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/SOURCES/drm/amdgpu/amdgpu.h to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/include/libdrm Installing /builddir/build/BUILD/drm/meson-private/libdrm.pc to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64/pkgconfig Installing /builddir/build/BUILD/drm/meson-private/libkms.pc to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64/pkgconfig Installing /builddir/build/BUILD/drm/meson-private/libdrm_radeon.pc to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64/pkgconfig Installing /builddir/build/BUILD/drm/meson-private/libdrm_amdgpu.pc to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/lib64/pkgconfig Installing /builddir/build/SOURCES/drm/data/amdgpu.ids to /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/libdrm KERNEL=="controlD[0-9]*", SUBSYSTEM=="drm", MODE="0600" + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libdrm-amdgpu-2.4.100-1089974.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PTPPVW + umask 022 + cd /builddir/build/BUILD + cd drm + DOCDIR=/builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/doc/libdrm-amdgpu + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/doc/libdrm-amdgpu + cp -pr README.rst /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64/opt/amdgpu/share/doc/libdrm-amdgpu + exit 0 Provides: libdrm-amdgpu = 1:2.4.100-1089974.el8 libdrm-amdgpu(x86-64) = 1:2.4.100-1089974.el8 libdrm.so.2()(64bit) libdrm_amdgpu.so.1()(64bit) libdrm_radeon.so.1()(64bit) libkms.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libdrm.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: libdrm-amdgpu-devel-2.4.100-1089974.el8.x86_64 Provides: libdrm-amdgpu-devel = 1:2.4.100-1089974.el8 libdrm-amdgpu-devel(x86-64) = 1:2.4.100-1089974.el8 pkgconfig(libdrm) = 2.4.100 pkgconfig(libdrm_amdgpu) = 2.4.100 pkgconfig(libdrm_radeon) = 2.4.100 pkgconfig(libkms) = 1.0.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libdrm.so.2()(64bit) libdrm_amdgpu.so.1()(64bit) libdrm_radeon.so.1()(64bit) libkms.so.1()(64bit) pkgconfig(libdrm) Processing files: drm-utils-amdgpu-2.4.100-1089974.el8.x86_64 Provides: drm-utils-amdgpu = 1:2.4.100-1089974.el8 drm-utils-amdgpu(x86-64) = 1:2.4.100-1089974.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libcunit.so.1()(64bit) libdrm.so.2()(64bit) libdrm_amdgpu.so.1()(64bit) libkms.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64 Wrote: /builddir/build/RPMS/libdrm-amdgpu-2.4.100-1089974.el8.x86_64.rpm Wrote: /builddir/build/RPMS/libdrm-amdgpu-devel-2.4.100-1089974.el8.x86_64.rpm Wrote: /builddir/build/RPMS/drm-utils-amdgpu-2.4.100-1089974.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.euPtCI + umask 022 + cd /builddir/build/BUILD + cd drm + rm -rf /builddir/build/BUILDROOT/libdrm-amdgpu-2.4.100-1089974.el8.x86_64 /builddir/build/BUILD/drm + rm -rf /builddir/build/SOURCES/drm + exit 0 Child return code was: 0