[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1032170: libdrm: FTBFS on arm64 when only arch-independent packages are built



Package: src:libdrm
Version: 2.4.114-1
Severity: important
Tags: ftbfs patch

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with quilt \
	--builddirectory=build/ \
	--buildsystem=meson
   dh_quilt_patch -i -O--builddirectory=build/ -O--buildsystem=meson
Applying patch 01_default_perms.diff
patching file xf86drm.h

Now at patch 01_default_perms.diff
   dh_update_autotools_config -i -O--builddirectory=build/ -O--buildsystem=meson
   dh_autoreconf -i -O--builddirectory=build/ -O--buildsystem=meson
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- --auto-features=disabled -Ddefault_library=both -Dman-pages=enabled -Dradeon=enabled -Damdgpu=enabled -Dinstall-test-programs=true -Dvalgrind=disabled  -Dudev=true -Dvmwgfx=enabled -Dnouveau=enabled -Dintel=disabled -Dexynos=disabled -Domap=disabled -Detnaviv=enabled -Dtegra=enabled -Dfreedreno=enabled -Dfreedreno-kgsl=true
	cd build && LC_ALL=C.UTF-8 meson setup .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/aarch64-linux-gnu --auto-features=disabled -Ddefault_library=both -Dman-pages=enabled -Dradeon=enabled -Damdgpu=enabled -Dinstall-test-programs=true -Dvalgrind=disabled -Dudev=true -Dvmwgfx=enabled -Dnouveau=enabled -Dintel=disabled -Dexynos=disabled -Domap=disabled -Detnaviv=enabled -Dtegra=enabled -Dfreedreno=enabled -Dfreedreno-kgsl=true
The Meson build system
Version: 1.0.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/build
Build type: native build
Project name: libdrm
Project version: 2.4.114
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
Host machine cpu family: aarch64
Host machine cpu: aarch64
Run-time dependency threads found: YES
Program symbols-check.py found: YES (/usr/bin/python3 /<<PKGBUILDDIR>>/symbols-check.py)
Program nm found: YES (/usr/bin/nm)
Program python3 found: YES (/usr/bin/python3)
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency atomic_ops found: NO (tried pkgconfig and cmake)
Checking if "Intel Atomics" : links: YES
Dependency pciaccess skipped: feature intel disabled
Checking for function "dlsym" : 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 cunit found: NO (tried pkgconfig and cmake)
Dependency cairo skipped: feature cairo-tests disabled
Dependency valgrind skipped: feature valgrind disabled
Program rst2man found: YES (/usr/bin/rst2man)
Compiler for C supports function attribute visibility:hidden: YES
Configuring config.h using configuration
Build targets in project: 44
NOTICE: Future-deprecated features used:
 * 0.55.0: {'ExternalProgram.path'}

libdrm 2.4.114

    Intel                : False
    Radeon               : True
    AMDGPU               : True
    Nouveau              : True
    vmwgfx               : True
    OMAP                 : False
    Freedreno            : True
    Freedreon-kgsl       : True
    Tegra                : True
    Etnaviv              : True
    EXYNOS               : False
    VC4                  : False

  User defined options
    auto_features        : disabled
    buildtype            : plain
    default_library      : both
    libdir               : lib/aarch64-linux-gnu
    localstatedir        : /var
    prefix               : /usr
    sysconfdir           : /etc
    wrap_mode            : nodownload
    amdgpu               : enabled
    etnaviv              : enabled
    exynos               : disabled
    freedreno            : enabled
    freedreno-kgsl       : true
    install-test-programs: true
    intel                : disabled
    man-pages            : enabled
    nouveau              : enabled
    omap                 : disabled
    radeon               : enabled
    tegra                : enabled
    udev                 : true
    valgrind             : disabled
    vmwgfx               : enabled

Found ninja-1.11.1 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -i -O--builddirectory=build/ -O--buildsystem=meson
	cd build && LC_ALL=C.UTF-8 ninja -j1 -v
[1/131] /usr/bin/python3 ../gen_table_fourcc.py ../include/drm/drm_fourcc.h generated_static_table_fourcc.h
[2/131] cc -Ilibdrm.so.2.4.0.p -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ libdrm.so.2.4.0.p/xf86drm.c.o -MF libdrm.so.2.4.0.p/xf86drm.c.o.d -o libdrm.so.2.4.0.p/xf86drm.c.o -c ../xf86drm.c
../xf86drm.c: In function ‘drmGetFormatModifierNameFromAmlogic’:
../xf86drm.c:546:5: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  546 |     asprintf(&mod_amlogic, "FBC,LAYOUT=%s,OPTIONS=%s", layout_str, opts_str);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../xf86drm.c: In function ‘drmGetFormatModifierNameFromNvidia’:
../xf86drm.c:359:9: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  359 |         asprintf(&mod_nvidia, "BLOCK_LINEAR_2D,HEIGHT=%"PRIu64",KIND=%"PRIu64","
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  360 |                  "GEN=%"PRIu64",SECTOR=%"PRIu64",COMPRESSION=%"PRIu64"", height,
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  361 |                  kind, gen, sector, compression);
      |                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3/131] cc -Ilibdrm.so.2.4.0.p -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ libdrm.so.2.4.0.p/xf86drmHash.c.o -MF libdrm.so.2.4.0.p/xf86drmHash.c.o.d -o libdrm.so.2.4.0.p/xf86drmHash.c.o -c ../xf86drmHash.c
[4/131] cc -Ilibdrm.so.2.4.0.p -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ libdrm.so.2.4.0.p/xf86drmRandom.c.o -MF libdrm.so.2.4.0.p/xf86drmRandom.c.o.d -o libdrm.so.2.4.0.p/xf86drmRandom.c.o -c ../xf86drmRandom.c
[5/131] cc -Ilibdrm.so.2.4.0.p -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ libdrm.so.2.4.0.p/xf86drmSL.c.o -MF libdrm.so.2.4.0.p/xf86drmSL.c.o.d -o libdrm.so.2.4.0.p/xf86drmSL.c.o -c ../xf86drmSL.c
[6/131] cc -Ilibdrm.so.2.4.0.p -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ libdrm.so.2.4.0.p/xf86drmMode.c.o -MF libdrm.so.2.4.0.p/xf86drmMode.c.o.d -o libdrm.so.2.4.0.p/xf86drmMode.c.o -c ../xf86drmMode.c
[7/131] cc  -o libdrm.so.2.4.0 libdrm.so.2.4.0.p/xf86drm.c.o libdrm.so.2.4.0.p/xf86drmHash.c.o libdrm.so.2.4.0.p/xf86drmRandom.c.o libdrm.so.2.4.0.p/xf86drmSL.c.o libdrm.so.2.4.0.p/xf86drmMode.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm.so.2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -lm -Wl,--end-group
[8/131] /usr/bin/meson --internal symbolextractor /<<PKGBUILDDIR>>/build libdrm.so.2.4.0 libdrm.so.2.4.0 libdrm.so.2.4.0.p/libdrm.so.2.4.0.symbols
[9/131] rm -f libdrm.a && gcc-ar csrD libdrm.a libdrm.so.2.4.0.p/xf86drm.c.o libdrm.so.2.4.0.p/xf86drmHash.c.o libdrm.so.2.4.0.p/xf86drmRandom.c.o libdrm.so.2.4.0.p/xf86drmSL.c.o libdrm.so.2.4.0.p/xf86drmMode.c.o
[10/131] cc -Inouveau/libdrm_nouveau.so.2.0.0.p -Inouveau -I../nouveau -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -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 -MD -MQ nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o -MF nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o.d -o nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o -c ../nouveau/nouveau.c
[11/131] cc -Inouveau/libdrm_nouveau.so.2.0.0.p -Inouveau -I../nouveau -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -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 -MD -MQ nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o -MF nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o.d -o nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o -c ../nouveau/pushbuf.c
[12/131] cc -Inouveau/libdrm_nouveau.so.2.0.0.p -Inouveau -I../nouveau -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -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 -MD -MQ nouveau/libdrm_nouveau.so.2.0.0.p/bufctx.c.o -MF nouveau/libdrm_nouveau.so.2.0.0.p/bufctx.c.o.d -o nouveau/libdrm_nouveau.so.2.0.0.p/bufctx.c.o -c ../nouveau/bufctx.c
[13/131] cc -Inouveau/libdrm_nouveau.so.2.0.0.p -Inouveau -I../nouveau -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -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 -MD -MQ nouveau/libdrm_nouveau.so.2.0.0.p/abi16.c.o -MF nouveau/libdrm_nouveau.so.2.0.0.p/abi16.c.o.d -o nouveau/libdrm_nouveau.so.2.0.0.p/abi16.c.o -c ../nouveau/abi16.c
[14/131] cc  -o nouveau/libdrm_nouveau.so.2.0.0 nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o nouveau/libdrm_nouveau.so.2.0.0.p/bufctx.c.o nouveau/libdrm_nouveau.so.2.0.0.p/abi16.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_nouveau.so.2 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ libdrm.so.2.4.0 -Wl,--end-group -pthread
[15/131] /usr/bin/meson --internal symbolextractor /<<PKGBUILDDIR>>/build nouveau/libdrm_nouveau.so.2.0.0 nouveau/libdrm_nouveau.so.2.0.0 nouveau/libdrm_nouveau.so.2.0.0.p/libdrm_nouveau.so.2.0.0.symbols
[16/131] rm -f nouveau/libdrm_nouveau.a && gcc-ar csrD nouveau/libdrm_nouveau.a nouveau/libdrm_nouveau.so.2.0.0.p/nouveau.c.o nouveau/libdrm_nouveau.so.2.0.0.p/pushbuf.c.o nouveau/libdrm_nouveau.so.2.0.0.p/bufctx.c.o nouveau/libdrm_nouveau.so.2.0.0.p/abi16.c.o
[17/131] cc -Iradeon/libdrm_radeon.so.1.0.1.p -Iradeon -I../radeon -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ radeon/libdrm_radeon.so.1.0.1.p/radeon_bo_gem.c.o -MF radeon/libdrm_radeon.so.1.0.1.p/radeon_bo_gem.c.o.d -o radeon/libdrm_radeon.so.1.0.1.p/radeon_bo_gem.c.o -c ../radeon/radeon_bo_gem.c
[18/131] cc -Iradeon/libdrm_radeon.so.1.0.1.p -Iradeon -I../radeon -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_gem.c.o -MF radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_gem.c.o.d -o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_gem.c.o -c ../radeon/radeon_cs_gem.c
[19/131] cc -Iradeon/libdrm_radeon.so.1.0.1.p -Iradeon -I../radeon -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_space.c.o -MF radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_space.c.o.d -o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_space.c.o -c ../radeon/radeon_cs_space.c
[20/131] cc -Iradeon/libdrm_radeon.so.1.0.1.p -Iradeon -I../radeon -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ radeon/libdrm_radeon.so.1.0.1.p/radeon_bo.c.o -MF radeon/libdrm_radeon.so.1.0.1.p/radeon_bo.c.o.d -o radeon/libdrm_radeon.so.1.0.1.p/radeon_bo.c.o -c ../radeon/radeon_bo.c
[21/131] cc -Iradeon/libdrm_radeon.so.1.0.1.p -Iradeon -I../radeon -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ radeon/libdrm_radeon.so.1.0.1.p/radeon_cs.c.o -MF radeon/libdrm_radeon.so.1.0.1.p/radeon_cs.c.o.d -o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs.c.o -c ../radeon/radeon_cs.c
[22/131] cc -Iradeon/libdrm_radeon.so.1.0.1.p -Iradeon -I../radeon -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ radeon/libdrm_radeon.so.1.0.1.p/radeon_surface.c.o -MF radeon/libdrm_radeon.so.1.0.1.p/radeon_surface.c.o.d -o radeon/libdrm_radeon.so.1.0.1.p/radeon_surface.c.o -c ../radeon/radeon_surface.c
[23/131] cc  -o radeon/libdrm_radeon.so.1.0.1 radeon/libdrm_radeon.so.1.0.1.p/radeon_bo_gem.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_gem.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_space.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_bo.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_surface.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_radeon.so.1 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ libdrm.so.2.4.0 -Wl,--end-group
[24/131] rm -f radeon/libdrm_radeon.a && gcc-ar csrD radeon/libdrm_radeon.a radeon/libdrm_radeon.so.1.0.1.p/radeon_bo_gem.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_gem.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs_space.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_bo.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_cs.c.o radeon/libdrm_radeon.so.1.0.1.p/radeon_surface.c.o
[25/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_asic_id.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_asic_id.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_asic_id.c.o -c ../amdgpu/amdgpu_asic_id.c
[26/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o -c ../amdgpu/amdgpu_bo.c
[27/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_cs.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_cs.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_cs.c.o -c ../amdgpu/amdgpu_cs.c
[28/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_device.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_device.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_device.c.o -c ../amdgpu/amdgpu_device.c
[29/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_gpu_info.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_gpu_info.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_gpu_info.c.o -c ../amdgpu/amdgpu_gpu_info.c
[30/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vamgr.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vamgr.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vamgr.c.o -c ../amdgpu/amdgpu_vamgr.c
[31/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vm.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vm.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vm.c.o -c ../amdgpu/amdgpu_vm.c
[32/131] cc -Iamdgpu/libdrm_amdgpu.so.1.0.0.p -Iamdgpu -I../amdgpu -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 '-DAMDGPU_ASIC_ID_TABLE="/usr/share/libdrm/amdgpu.ids"' -MD -MQ amdgpu/libdrm_amdgpu.so.1.0.0.p/handle_table.c.o -MF amdgpu/libdrm_amdgpu.so.1.0.0.p/handle_table.c.o.d -o amdgpu/libdrm_amdgpu.so.1.0.0.p/handle_table.c.o -c ../amdgpu/handle_table.c
[33/131] cc  -o amdgpu/libdrm_amdgpu.so.1.0.0 amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_asic_id.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_cs.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_device.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_gpu_info.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vamgr.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vm.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/handle_table.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_amdgpu.so.1 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ libdrm.so.2.4.0 -Wl,--end-group
[34/131] /usr/bin/meson --internal symbolextractor /<<PKGBUILDDIR>>/build amdgpu/libdrm_amdgpu.so.1.0.0 amdgpu/libdrm_amdgpu.so.1.0.0 amdgpu/libdrm_amdgpu.so.1.0.0.p/libdrm_amdgpu.so.1.0.0.symbols
[35/131] rm -f amdgpu/libdrm_amdgpu.a && gcc-ar csrD amdgpu/libdrm_amdgpu.a amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_asic_id.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_bo.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_cs.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_device.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_gpu_info.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vamgr.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/amdgpu_vm.c.o amdgpu/libdrm_amdgpu.so.1.0.0.p/handle_table.c.o
[36/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_device.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_device.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_device.c.o -c ../freedreno/freedreno_device.c
[37/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_pipe.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_pipe.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_pipe.c.o -c ../freedreno/freedreno_pipe.c
[38/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_ringbuffer.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_ringbuffer.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_ringbuffer.c.o -c ../freedreno/freedreno_ringbuffer.c
[39/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo.c.o -c ../freedreno/freedreno_bo.c
../freedreno/freedreno_bo.c: In function ‘lookup_bo’:
../freedreno/freedreno_bo.c:47:47: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
   47 |         if (!drmHashLookup(tbl, key, (void **)&bo)) {
      |                                               ^~~
[40/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo_cache.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo_cache.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo_cache.c.o -c ../freedreno/freedreno_bo_cache.c
[41/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_bo.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_bo.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_bo.c.o -c ../freedreno/msm/msm_bo.c
[42/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_device.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_device.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_device.c.o -c ../freedreno/msm/msm_device.c
[43/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_pipe.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_pipe.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_pipe.c.o -c ../freedreno/msm/msm_pipe.c
[44/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_ringbuffer.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_ringbuffer.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_ringbuffer.c.o -c ../freedreno/msm/msm_ringbuffer.c
In file included from ../freedreno/msm/msm_priv.h:32,
                 from ../freedreno/msm/msm_ringbuffer.c:34:
../freedreno/msm/msm_ringbuffer.c: In function ‘dump_submit’:
../freedreno/freedreno_priv.h:193:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘__u64’ {aka ‘long long unsigned int’} [-Wformat=]
  193 |                 do { drmMsg("[E] " fmt " (%s:%d)\n", \
      |                             ^~~~~~
../freedreno/msm/msm_ringbuffer.c:410:25: note: in expansion of macro ‘ERROR_MSG’
  410 |                         ERROR_MSG("    reloc[%d]: submit_offset=%u, or=%08x, shift=%d, reloc_idx=%u"
      |                         ^~~~~~~~~
[45/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_bo.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_bo.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_bo.c.o -c ../freedreno/kgsl/kgsl_bo.c
[46/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_device.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_device.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_device.c.o -c ../freedreno/kgsl/kgsl_device.c
[47/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_pipe.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_pipe.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_pipe.c.o -c ../freedreno/kgsl/kgsl_pipe.c
[48/131] cc -Ifreedreno/libdrm_freedreno.so.1.0.0.p -Ifreedreno -I../freedreno -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_ringbuffer.c.o -MF freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_ringbuffer.c.o.d -o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_ringbuffer.c.o -c ../freedreno/kgsl/kgsl_ringbuffer.c
[49/131] cc  -o freedreno/libdrm_freedreno.so.1.0.0 freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_device.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_pipe.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_ringbuffer.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo_cache.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_bo.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_device.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_pipe.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_ringbuffer.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_bo.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_device.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_pipe.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_ringbuffer.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_freedreno.so.1 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ libdrm.so.2.4.0 -Wl,--end-group
[50/131] rm -f freedreno/libdrm_freedreno.a && gcc-ar csrD freedreno/libdrm_freedreno.a freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_device.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_pipe.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_ringbuffer.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo.c.o freedreno/libdrm_freedreno.so.1.0.0.p/freedreno_bo_cache.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_bo.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_device.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_pipe.c.o freedreno/libdrm_freedreno.so.1.0.0.p/msm_msm_ringbuffer.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_bo.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_device.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_pipe.c.o freedreno/libdrm_freedreno.so.1.0.0.p/kgsl_kgsl_ringbuffer.c.o
[51/131] cc -Itegra/libdrm_tegra.so.0.0.0.p -Itegra -I../tegra -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ tegra/libdrm_tegra.so.0.0.0.p/channel.c.o -MF tegra/libdrm_tegra.so.0.0.0.p/channel.c.o.d -o tegra/libdrm_tegra.so.0.0.0.p/channel.c.o -c ../tegra/channel.c
[52/131] cc -Itegra/libdrm_tegra.so.0.0.0.p -Itegra -I../tegra -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ tegra/libdrm_tegra.so.0.0.0.p/job.c.o -MF tegra/libdrm_tegra.so.0.0.0.p/job.c.o.d -o tegra/libdrm_tegra.so.0.0.0.p/job.c.o -c ../tegra/job.c
[53/131] cc -Itegra/libdrm_tegra.so.0.0.0.p -Itegra -I../tegra -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o -MF tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o.d -o tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o -c ../tegra/pushbuf.c
[54/131] cc -Itegra/libdrm_tegra.so.0.0.0.p -Itegra -I../tegra -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o -MF tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o.d -o tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o -c ../tegra/syncpt.c
[55/131] cc -Itegra/libdrm_tegra.so.0.0.0.p -Itegra -I../tegra -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o -MF tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o.d -o tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o -c ../tegra/tegra.c
[56/131] cc  -o tegra/libdrm_tegra.so.0.0.0 tegra/libdrm_tegra.so.0.0.0.p/channel.c.o tegra/libdrm_tegra.so.0.0.0.p/job.c.o tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_tegra.so.0 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ libdrm.so.2.4.0 -Wl,--end-group
[57/131] /usr/bin/meson --internal symbolextractor /<<PKGBUILDDIR>>/build tegra/libdrm_tegra.so.0.0.0 tegra/libdrm_tegra.so.0.0.0 tegra/libdrm_tegra.so.0.0.0.p/libdrm_tegra.so.0.0.0.symbols
[58/131] rm -f tegra/libdrm_tegra.a && gcc-ar csrD tegra/libdrm_tegra.a tegra/libdrm_tegra.so.0.0.0.p/channel.c.o tegra/libdrm_tegra.so.0.0.0.p/job.c.o tegra/libdrm_tegra.so.0.0.0.p/pushbuf.c.o tegra/libdrm_tegra.so.0.0.0.p/syncpt.c.o tegra/libdrm_tegra.so.0.0.0.p/tegra.c.o
[59/131] cc -Ietnaviv/libdrm_etnaviv.so.1.0.0.p -Ietnaviv -I../etnaviv -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_device.c.o -MF etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_device.c.o.d -o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_device.c.o -c ../etnaviv/etnaviv_device.c
[60/131] cc -Ietnaviv/libdrm_etnaviv.so.1.0.0.p -Ietnaviv -I../etnaviv -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_gpu.c.o -MF etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_gpu.c.o.d -o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_gpu.c.o -c ../etnaviv/etnaviv_gpu.c
[61/131] cc -Ietnaviv/libdrm_etnaviv.so.1.0.0.p -Ietnaviv -I../etnaviv -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo.c.o -MF etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo.c.o.d -o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo.c.o -c ../etnaviv/etnaviv_bo.c
../etnaviv/etnaviv_bo.c: In function ‘lookup_bo’:
../etnaviv/etnaviv_bo.c:63:50: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing]
   63 |         if (!drmHashLookup(tbl, handle, (void **)&bo)) {
      |                                                  ^~~
[62/131] cc -Ietnaviv/libdrm_etnaviv.so.1.0.0.p -Ietnaviv -I../etnaviv -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo_cache.c.o -MF etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo_cache.c.o.d -o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo_cache.c.o -c ../etnaviv/etnaviv_bo_cache.c
[63/131] cc -Ietnaviv/libdrm_etnaviv.so.1.0.0.p -Ietnaviv -I../etnaviv -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_perfmon.c.o -MF etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_perfmon.c.o.d -o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_perfmon.c.o -c ../etnaviv/etnaviv_perfmon.c
[64/131] cc -Ietnaviv/libdrm_etnaviv.so.1.0.0.p -Ietnaviv -I../etnaviv -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_pipe.c.o -MF etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_pipe.c.o.d -o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_pipe.c.o -c ../etnaviv/etnaviv_pipe.c
[65/131] cc -Ietnaviv/libdrm_etnaviv.so.1.0.0.p -Ietnaviv -I../etnaviv -I. -I.. -I../include/drm -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -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 -MD -MQ etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_cmd_stream.c.o -MF etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_cmd_stream.c.o.d -o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_cmd_stream.c.o -c ../etnaviv/etnaviv_cmd_stream.c
[66/131] cc  -o etnaviv/libdrm_etnaviv.so.1.0.0 etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_device.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_gpu.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo_cache.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_perfmon.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_pipe.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_cmd_stream.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdrm_etnaviv.so.1 -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ libdrm.so.2.4.0 -Wl,--end-group
[67/131] /usr/bin/meson --internal symbolextractor /<<PKGBUILDDIR>>/build etnaviv/libdrm_etnaviv.so.1.0.0 etnaviv/libdrm_etnaviv.so.1.0.0 etnaviv/libdrm_etnaviv.so.1.0.0.p/libdrm_etnaviv.so.1.0.0.symbols
[68/131] rm -f etnaviv/libdrm_etnaviv.a && gcc-ar csrD etnaviv/libdrm_etnaviv.a etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_device.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_gpu.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_bo_cache.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_perfmon.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_pipe.c.o etnaviv/libdrm_etnaviv.so.1.0.0.p/etnaviv_cmd_stream.c.o
[69/131] /usr/bin/rst2man ../man/drm.7.rst man/drm.7
[70/131] /usr/bin/rst2man ../man/drm-kms.7.rst man/drm-kms.7
[71/131] /usr/bin/rst2man ../man/drm-memory.7.rst man/drm-memory.7
[72/131] /usr/bin/rst2man ../man/drmAvailable.3.rst man/drmAvailable.3
[73/131] /usr/bin/rst2man ../man/drmHandleEvent.3.rst man/drmHandleEvent.3
[74/131] /usr/bin/rst2man ../man/drmModeGetResources.3.rst man/drmModeGetResources.3
[75/131] cc -Itests/util/libutil.a.p -Itests/util -I../tests/util -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/util/libutil.a.p/format.c.o -MF tests/util/libutil.a.p/format.c.o.d -o tests/util/libutil.a.p/format.c.o -c ../tests/util/format.c
[76/131] cc -Itests/util/libutil.a.p -Itests/util -I../tests/util -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/util/libutil.a.p/kms.c.o -MF tests/util/libutil.a.p/kms.c.o.d -o tests/util/libutil.a.p/kms.c.o -c ../tests/util/kms.c
[77/131] cc -Itests/util/libutil.a.p -Itests/util -I../tests/util -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/util/libutil.a.p/pattern.c.o -MF tests/util/libutil.a.p/pattern.c.o.d -o tests/util/libutil.a.p/pattern.c.o -c ../tests/util/pattern.c
[78/131] rm -f tests/util/libutil.a && gcc-ar csrDT tests/util/libutil.a tests/util/libutil.a.p/format.c.o tests/util/libutil.a.p/kms.c.o tests/util/libutil.a.p/pattern.c.o
[79/131] cc -Itests/modeprint/modeprint.p -Itests/modeprint -I../tests/modeprint -I. -I.. -Itests -I../tests -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -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 -MD -MQ tests/modeprint/modeprint.p/modeprint.c.o -MF tests/modeprint/modeprint.p/modeprint.c.o.d -o tests/modeprint/modeprint.p/modeprint.c.o -c ../tests/modeprint/modeprint.c
[80/131] cc  -o tests/modeprint/modeprint tests/modeprint/modeprint.p/modeprint.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 tests/util/libutil.a -Wl,--end-group -pthread
[81/131] cc -Itests/proptest/proptest.p -Itests/proptest -I../tests/proptest -I. -I.. -Itests -I../tests -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/proptest/proptest.p/proptest.c.o -MF tests/proptest/proptest.p/proptest.c.o.d -o tests/proptest/proptest.p/proptest.c.o -c ../tests/proptest/proptest.c
[82/131] cc  -o tests/proptest/proptest tests/proptest/proptest.p/proptest.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 tests/util/libutil.a -Wl,--end-group
[83/131] cc -Itests/modetest/modetest.p -Itests/modetest -I../tests/modetest -I. -I.. -Itests -I../tests -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -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 -Wno-pointer-arith -MD -MQ tests/modetest/modetest.p/buffers.c.o -MF tests/modetest/modetest.p/buffers.c.o.d -o tests/modetest/modetest.p/buffers.c.o -c ../tests/modetest/buffers.c
[84/131] cc -Itests/modetest/modetest.p -Itests/modetest -I../tests/modetest -I. -I.. -Itests -I../tests -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -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 -Wno-pointer-arith -MD -MQ tests/modetest/modetest.p/cursor.c.o -MF tests/modetest/modetest.p/cursor.c.o.d -o tests/modetest/modetest.p/cursor.c.o -c ../tests/modetest/cursor.c
[85/131] cc -Itests/modetest/modetest.p -Itests/modetest -I../tests/modetest -I. -I.. -Itests -I../tests -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -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 -Wno-pointer-arith -MD -MQ tests/modetest/modetest.p/modetest.c.o -MF tests/modetest/modetest.p/modetest.c.o.d -o tests/modetest/modetest.p/modetest.c.o -c ../tests/modetest/modetest.c
[86/131] cc  -o tests/modetest/modetest tests/modetest/modetest.p/buffers.c.o tests/modetest/modetest.p/cursor.c.o tests/modetest/modetest.p/modetest.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 tests/util/libutil.a -Wl,--end-group -pthread
[87/131] cc -Itests/vbltest/vbltest.p -Itests/vbltest -I../tests/vbltest -I. -I.. -Itests -I../tests -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/vbltest/vbltest.p/vbltest.c.o -MF tests/vbltest/vbltest.p/vbltest.c.o.d -o tests/vbltest/vbltest.p/vbltest.c.o -c ../tests/vbltest/vbltest.c
[88/131] cc  -o tests/vbltest/vbltest tests/vbltest/vbltest.p/vbltest.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 tests/util/libutil.a -Wl,--end-group
[89/131] cc -Itests/radeon/radeon_ttm.p -Itests/radeon -I../tests/radeon -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/radeon/radeon_ttm.p/rbo.c.o -MF tests/radeon/radeon_ttm.p/rbo.c.o.d -o tests/radeon/radeon_ttm.p/rbo.c.o -c ../tests/radeon/rbo.c
[90/131] cc -Itests/radeon/radeon_ttm.p -Itests/radeon -I../tests/radeon -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/radeon/radeon_ttm.p/radeon_ttm.c.o -MF tests/radeon/radeon_ttm.p/radeon_ttm.c.o.d -o tests/radeon/radeon_ttm.p/radeon_ttm.c.o -c ../tests/radeon/radeon_ttm.c
[91/131] cc  -o tests/radeon/radeon_ttm tests/radeon/radeon_ttm.p/rbo.c.o tests/radeon/radeon_ttm.p/radeon_ttm.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 -Wl,--end-group
[92/131] cc -Itests/amdgpu/amdgpu_stress.p -Itests/amdgpu -I../tests/amdgpu -I. -I.. -I../include/drm -Iamdgpu -I../amdgpu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ tests/amdgpu/amdgpu_stress.p/amdgpu_stress.c.o -MF tests/amdgpu/amdgpu_stress.p/amdgpu_stress.c.o.d -o tests/amdgpu/amdgpu_stress.p/amdgpu_stress.c.o -c ../tests/amdgpu/amdgpu_stress.c
[93/131] cc  -o tests/amdgpu/amdgpu_stress tests/amdgpu/amdgpu_stress.p/amdgpu_stress.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../amdgpu' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/amdgpu -Wl,--start-group libdrm.so.2.4.0 amdgpu/libdrm_amdgpu.so.1.0.0 -Wl,--end-group -pthread
[94/131] cc -Itests/tegra/libdrm-test.a.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/tegra/libdrm-test.a.p/drm-test.c.o -MF tests/tegra/libdrm-test.a.p/drm-test.c.o.d -o tests/tegra/libdrm-test.a.p/drm-test.c.o -c ../tests/tegra/drm-test.c
[95/131] rm -f tests/tegra/libdrm-test.a && gcc-ar csrDT tests/tegra/libdrm-test.a tests/tegra/libdrm-test.a.p/drm-test.c.o
[96/131] cc -Itests/tegra/libdrm-test-tegra.a.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o -MF tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o.d -o tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o -c ../tests/tegra/drm-test-tegra.c
[97/131] cc -Itests/tegra/libdrm-test-tegra.a.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/tegra/libdrm-test-tegra.a.p/vic.c.o -MF tests/tegra/libdrm-test-tegra.a.p/vic.c.o.d -o tests/tegra/libdrm-test-tegra.a.p/vic.c.o -c ../tests/tegra/vic.c
[98/131] cc -Itests/tegra/libdrm-test-tegra.a.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/tegra/libdrm-test-tegra.a.p/vic30.c.o -MF tests/tegra/libdrm-test-tegra.a.p/vic30.c.o.d -o tests/tegra/libdrm-test-tegra.a.p/vic30.c.o -c ../tests/tegra/vic30.c
[99/131] cc -Itests/tegra/libdrm-test-tegra.a.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/tegra/libdrm-test-tegra.a.p/vic40.c.o -MF tests/tegra/libdrm-test-tegra.a.p/vic40.c.o.d -o tests/tegra/libdrm-test-tegra.a.p/vic40.c.o -c ../tests/tegra/vic40.c
[100/131] cc -Itests/tegra/libdrm-test-tegra.a.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/tegra/libdrm-test-tegra.a.p/vic41.c.o -MF tests/tegra/libdrm-test-tegra.a.p/vic41.c.o.d -o tests/tegra/libdrm-test-tegra.a.p/vic41.c.o -c ../tests/tegra/vic41.c
[101/131] cc -Itests/tegra/libdrm-test-tegra.a.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MQ tests/tegra/libdrm-test-tegra.a.p/vic42.c.o -MF tests/tegra/libdrm-test-tegra.a.p/vic42.c.o.d -o tests/tegra/libdrm-test-tegra.a.p/vic42.c.o -c ../tests/tegra/vic42.c
[102/131] rm -f tests/tegra/libdrm-test-tegra.a && gcc-ar csrDT tests/tegra/libdrm-test-tegra.a tests/tegra/libdrm-test-tegra.a.p/drm-test-tegra.c.o tests/tegra/libdrm-test-tegra.a.p/vic.c.o tests/tegra/libdrm-test-tegra.a.p/vic30.c.o tests/tegra/libdrm-test-tegra.a.p/vic40.c.o tests/tegra/libdrm-test-tegra.a.p/vic41.c.o tests/tegra/libdrm-test-tegra.a.p/vic42.c.o
[103/131] cc -Itests/tegra/tegra-openclose.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/tegra/tegra-openclose.p/openclose.c.o -MF tests/tegra/tegra-openclose.p/openclose.c.o.d -o tests/tegra/tegra-openclose.p/openclose.c.o -c ../tests/tegra/openclose.c
[104/131] cc  -o tests/tegra/tegra-openclose tests/tegra/tegra-openclose.p/openclose.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/tegra -Wl,--start-group libdrm.so.2.4.0 tegra/libdrm_tegra.so.0.0.0 -Wl,--end-group
[105/131] cc -Itests/tegra/tegra-gr2d-fill.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o -MF tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o.d -o tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o -c ../tests/tegra/gr2d-fill.c
[106/131] cc  -o tests/tegra/tegra-gr2d-fill tests/tegra/tegra-gr2d-fill.p/gr2d-fill.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/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
[107/131] cc -Itests/tegra/tegra-syncpt-wait.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o -MF tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o.d -o tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o -c ../tests/tegra/syncpt-wait.c
[108/131] cc  -o tests/tegra/tegra-syncpt-wait tests/tegra/tegra-syncpt-wait.p/syncpt-wait.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/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
[109/131] cc -Itests/tegra/tegra-syncpt-timeout.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o -MF tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o.d -o tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o -c ../tests/tegra/syncpt-timeout.c
[110/131] cc  -o tests/tegra/tegra-syncpt-timeout tests/tegra/tegra-syncpt-timeout.p/syncpt-timeout.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/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
[111/131] cc -Itests/tegra/tegra-vic-clear.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/tegra/tegra-vic-clear.p/vic-clear.c.o -MF tests/tegra/tegra-vic-clear.p/vic-clear.c.o.d -o tests/tegra/tegra-vic-clear.p/vic-clear.c.o -c ../tests/tegra/vic-clear.c
[112/131] cc  -o tests/tegra/tegra-vic-clear tests/tegra/tegra-vic-clear.p/vic-clear.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/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
[113/131] cc -Itests/tegra/tegra-vic-blit.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/tegra/tegra-vic-blit.p/vic-blit.c.o -MF tests/tegra/tegra-vic-blit.p/vic-blit.c.o.d -o tests/tegra/tegra-vic-blit.p/vic-blit.c.o -c ../tests/tegra/vic-blit.c
[114/131] cc  -o tests/tegra/tegra-vic-blit tests/tegra/tegra-vic-blit.p/vic-blit.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/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
[115/131] cc -Itests/tegra/tegra-vic-flip.p -Itests/tegra -I../tests/tegra -I. -I.. -I../include/drm -Itegra -I../tegra -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/tegra/tegra-vic-flip.p/vic-flip.c.o -MF tests/tegra/tegra-vic-flip.p/vic-flip.c.o.d -o tests/tegra/tegra-vic-flip.p/vic-flip.c.o -c ../tests/tegra/vic-flip.c
[116/131] cc  -o tests/tegra/tegra-vic-flip tests/tegra/tegra-vic-flip.p/vic-flip.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../tegra' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/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
[117/131] cc -Itests/etnaviv/etnaviv_2d_test.p -Itests/etnaviv -I../tests/etnaviv -I. -I.. -I../include/drm -Ietnaviv -I../etnaviv -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/etnaviv/etnaviv_2d_test.p/etnaviv_2d_test.c.o -MF tests/etnaviv/etnaviv_2d_test.p/etnaviv_2d_test.c.o.d -o tests/etnaviv/etnaviv_2d_test.p/etnaviv_2d_test.c.o -c ../tests/etnaviv/etnaviv_2d_test.c
[118/131] cc -Itests/etnaviv/etnaviv_2d_test.p -Itests/etnaviv -I../tests/etnaviv -I. -I.. -I../include/drm -Ietnaviv -I../etnaviv -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/etnaviv/etnaviv_2d_test.p/write_bmp.c.o -MF tests/etnaviv/etnaviv_2d_test.p/write_bmp.c.o.d -o tests/etnaviv/etnaviv_2d_test.p/write_bmp.c.o -c ../tests/etnaviv/write_bmp.c
../tests/etnaviv/write_bmp.c: In function ‘bmp_dump32’:
../tests/etnaviv/write_bmp.c:116:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  116 |         write(fd, buffer, width * height * 4);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/etnaviv/write_bmp.c: In function ‘bmp_header_write’:
../tests/etnaviv/write_bmp.c:99:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   99 |         write(fd, &bmp_header, sizeof(struct bmp_header));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/etnaviv/write_bmp.c:100:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  100 |         write(fd, &dib_header, sizeof(struct dib_header));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/etnaviv/write_bmp.c: In function ‘bmp_dump32_noflip’:
../tests/etnaviv/write_bmp.c:132:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  132 |         write(fd, buffer, width * height * 4);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/etnaviv/write_bmp.c: In function ‘bmp_dump32_ex’:
../tests/etnaviv/write_bmp.c:148:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  148 |         write(fd, buffer, width * height * 4);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[119/131] cc  -o tests/etnaviv/etnaviv_2d_test tests/etnaviv/etnaviv_2d_test.p/etnaviv_2d_test.c.o tests/etnaviv/etnaviv_2d_test.p/write_bmp.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../etnaviv' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/etnaviv -Wl,--start-group libdrm.so.2.4.0 etnaviv/libdrm_etnaviv.so.1.0.0 -Wl,--end-group
[120/131] cc -Itests/etnaviv/etnaviv_cmd_stream_test.p -Itests/etnaviv -I../tests/etnaviv -I. -I.. -I../include/drm -Ietnaviv -I../etnaviv -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/etnaviv/etnaviv_cmd_stream_test.p/etnaviv_cmd_stream_test.c.o -MF tests/etnaviv/etnaviv_cmd_stream_test.p/etnaviv_cmd_stream_test.c.o.d -o tests/etnaviv/etnaviv_cmd_stream_test.p/etnaviv_cmd_stream_test.c.o -c ../tests/etnaviv/etnaviv_cmd_stream_test.c
[121/131] cc  -o tests/etnaviv/etnaviv_cmd_stream_test tests/etnaviv/etnaviv_cmd_stream_test.p/etnaviv_cmd_stream_test.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../etnaviv' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/etnaviv -Wl,--start-group libdrm.so.2.4.0 etnaviv/libdrm_etnaviv.so.1.0.0 -Wl,--end-group
[122/131] cc -Itests/etnaviv/etnaviv_bo_cache_test.p -Itests/etnaviv -I../tests/etnaviv -I. -I.. -I../include/drm -Ietnaviv -I../etnaviv -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -MD -MQ tests/etnaviv/etnaviv_bo_cache_test.p/etnaviv_bo_cache_test.c.o -MF tests/etnaviv/etnaviv_bo_cache_test.p/etnaviv_bo_cache_test.c.o.d -o tests/etnaviv/etnaviv_bo_cache_test.p/etnaviv_bo_cache_test.c.o -c ../tests/etnaviv/etnaviv_bo_cache_test.c
[123/131] cc  -o tests/etnaviv/etnaviv_bo_cache_test tests/etnaviv/etnaviv_bo_cache_test.p/etnaviv_bo_cache_test.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../etnaviv' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/etnaviv -Wl,--start-group libdrm.so.2.4.0 etnaviv/libdrm_etnaviv.so.1.0.0 -Wl,--end-group
[124/131] cc -Itests/nouveau/threaded.p -Itests/nouveau -I../tests/nouveau -I. -I.. -I../include/drm -Inouveau -I../nouveau -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -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 -MD -MQ tests/nouveau/threaded.p/threaded.c.o -MF tests/nouveau/threaded.p/threaded.c.o.d -o tests/nouveau/threaded.p/threaded.c.o -c ../tests/nouveau/threaded.c
[125/131] cc  -o tests/nouveau/threaded tests/nouveau/threaded.p/threaded.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/../..:$ORIGIN/../../nouveau' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/nouveau -Wl,--start-group libdrm.so.2.4.0 nouveau/libdrm_nouveau.so.2.0.0 -Wl,--end-group -pthread
[126/131] cc -Itests/drmsl.p -Itests -I../tests -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/drmsl.p/drmsl.c.o -MF tests/drmsl.p/drmsl.c.o.d -o tests/drmsl.p/drmsl.c.o -c ../tests/drmsl.c
[127/131] cc  -o tests/drmsl tests/drmsl.p/drmsl.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 -Wl,--end-group
[128/131] cc -Itests/hash.p -Itests -I../tests -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/hash.p/hash.c.o -MF tests/hash.p/hash.c.o.d -o tests/hash.p/hash.c.o -c ../tests/hash.c
[129/131] cc  -o tests/hash tests/hash.p/hash.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 -Wl,--end-group
[130/131] cc -Itests/drmdevice.p -Itests -I../tests -I. -I.. -I../include/drm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -include config.h -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -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 -MD -MQ tests/drmdevice.p/drmdevice.c.o -MF tests/drmdevice.p/drmdevice.c.o.d -o tests/drmdevice.p/drmdevice.c.o -c ../tests/drmdevice.c
[131/131] cc  -o tests/drmdevice tests/drmdevice.p/drmdevice.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/..' -Wl,-rpath-link,/<<PKGBUILDDIR>>/build/ -Wl,--start-group libdrm.so.2.4.0 -Wl,--end-group
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test || echo "Test suite failure, but keeping on anyway"
	cd build && LC_ALL=C.UTF-8 MESON_TESTTHREADS=1 meson test
ninja: no work to do.
ninja: Entering directory `/<<PKGBUILDDIR>>/build'
ninja: no work to do.
 1/11 core-symbols-check      OK              0.04s
 2/11 nouveau-symbols-check   OK              0.04s
 3/11 radeon-symbols-check    OK              0.04s
 4/11 amdgpu-symbols-check    OK              0.04s
 5/11 freedreno-symbols-check OK              0.04s
 6/11 tegra-symbols-check     OK              0.04s
 7/11 etnaviv-symbols-check   OK              0.04s
 8/11 threaded                SKIP            0.06s   exit status 77
 9/11 hash                    OK              0.01s
10/11 drmsl                   OK              0.37s
11/11 drmdevice               SKIP            0.00s   exit status 77

Ok:                 9
Expected Fail:      0
Fail:               0
Unexpected Pass:    0
Skipped:            2
Timeout:            0

Full log written to /<<PKGBUILDDIR>>/build/meson-logs/testlog.txt
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-indep
dh binary-indep --with quilt \
	--builddirectory=build/ \
	--buildsystem=meson
   dh_testroot -i -O--builddirectory=build/ -O--buildsystem=meson
   dh_prep -i -O--builddirectory=build/ -O--buildsystem=meson
   dh_auto_install -i -O--builddirectory=build/ -O--buildsystem=meson
	cd build && DESTDIR=/<<PKGBUILDDIR>>/debian/tmp LC_ALL=C.UTF-8 ninja install
[0/1] Installing files.
Installing libdrm.so.2.4.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing libdrm.a to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing nouveau/libdrm_nouveau.so.2.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing nouveau/libdrm_nouveau.a to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing radeon/libdrm_radeon.so.1.0.1 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing radeon/libdrm_radeon.a to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing amdgpu/libdrm_amdgpu.so.1.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing amdgpu/libdrm_amdgpu.a to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing freedreno/libdrm_freedreno.so.1.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing freedreno/libdrm_freedreno.a to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing tegra/libdrm_tegra.so.0.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing tegra/libdrm_tegra.a to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing etnaviv/libdrm_etnaviv.so.1.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing etnaviv/libdrm_etnaviv.a to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing man/drm.7 to /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man7
Installing man/drm-kms.7 to /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man7
Installing man/drm-memory.7 to /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man7
Installing man/drmAvailable.3 to /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man3
Installing man/drmHandleEvent.3 to /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man3
Installing man/drmModeGetResources.3 to /<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man3
Installing tests/modeprint/modeprint to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/proptest/proptest to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/modetest/modetest to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/vbltest/vbltest to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/amdgpu/amdgpu_stress to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/tegra/tegra-openclose to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/tegra/tegra-gr2d-fill to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/tegra/tegra-syncpt-wait to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/tegra/tegra-syncpt-timeout to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/tegra/tegra-vic-clear to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/tegra/tegra-vic-blit to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/tegra/tegra-vic-flip to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/etnaviv/etnaviv_2d_test to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/etnaviv/etnaviv_cmd_stream_test to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/etnaviv/etnaviv_bo_cache_test to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing tests/drmdevice to /<<PKGBUILDDIR>>/debian/tmp/usr/bin
Installing /<<PKGBUILDDIR>>/libsync.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/
Installing /<<PKGBUILDDIR>>/xf86drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/
Installing /<<PKGBUILDDIR>>/xf86drmMode.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/
Installing /<<PKGBUILDDIR>>/include/drm/drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/drm_fourcc.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/drm_mode.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/drm_sarea.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/i915_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/mach64_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/mga_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/msm_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/nouveau_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/qxl_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/r128_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/radeon_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/amdgpu_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/savage_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/sis_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/tegra_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/vc4_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/via_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/virtgpu_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/include/drm/vmwgfx_drm.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/nouveau/nouveau.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/
Installing /<<PKGBUILDDIR>>/nouveau/nvif/class.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/nvif/
Installing /<<PKGBUILDDIR>>/nouveau/nvif/cl0080.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/nvif/
Installing /<<PKGBUILDDIR>>/nouveau/nvif/cl9097.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/nvif/
Installing /<<PKGBUILDDIR>>/nouveau/nvif/if0002.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/nvif/
Installing /<<PKGBUILDDIR>>/nouveau/nvif/if0003.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/nvif/
Installing /<<PKGBUILDDIR>>/nouveau/nvif/ioctl.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/nvif/
Installing /<<PKGBUILDDIR>>/nouveau/nvif/unpack.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/nouveau/nvif/
Installing /<<PKGBUILDDIR>>/radeon/radeon_bo.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/radeon/radeon_cs.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/radeon/radeon_surface.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/radeon/radeon_bo_gem.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/radeon/radeon_cs_gem.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/radeon/radeon_bo_int.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/radeon/radeon_cs_int.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/radeon/r600_pci_ids.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/amdgpu/amdgpu.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/freedreno/freedreno_drmif.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/freedreno/
Installing /<<PKGBUILDDIR>>/freedreno/freedreno_ringbuffer.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/freedreno/
Installing /<<PKGBUILDDIR>>/tegra/tegra.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/etnaviv/etnaviv_drmif.h to /<<PKGBUILDDIR>>/debian/tmp/usr/include/libdrm/
Installing /<<PKGBUILDDIR>>/build/meson-private/libdrm.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/build/meson-private/libdrm_nouveau.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/build/meson-private/libdrm_radeon.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/build/meson-private/libdrm_amdgpu.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/build/meson-private/libdrm_freedreno.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/build/meson-private/libdrm_tegra.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/build/meson-private/libdrm_etnaviv.pc to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig
Installing /<<PKGBUILDDIR>>/data/amdgpu.ids to /<<PKGBUILDDIR>>/debian/tmp/usr/share/libdrm
Installing symlink pointing to libdrm.so.2.4.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm.so.2
Installing symlink pointing to libdrm.so.2 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm.so
Installing symlink pointing to libdrm_nouveau.so.2.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_nouveau.so.2
Installing symlink pointing to libdrm_nouveau.so.2 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_nouveau.so
Installing symlink pointing to libdrm_radeon.so.1.0.1 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_radeon.so.1
Installing symlink pointing to libdrm_radeon.so.1 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_radeon.so
Installing symlink pointing to libdrm_amdgpu.so.1.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_amdgpu.so.1
Installing symlink pointing to libdrm_amdgpu.so.1 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_amdgpu.so
Installing symlink pointing to libdrm_freedreno.so.1.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_freedreno.so.1
Installing symlink pointing to libdrm_freedreno.so.1 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_freedreno.so
Installing symlink pointing to libdrm_tegra.so.0.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_tegra.so.0
Installing symlink pointing to libdrm_tegra.so.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_tegra.so
Installing symlink pointing to libdrm_etnaviv.so.1.0.0 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_etnaviv.so.1
Installing symlink pointing to libdrm_etnaviv.so.1 to /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libdrm_etnaviv.so
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
find debian/tmp -name '*.la' -delete
dh_install
for file in debian/tmp/usr/bin/tegra-*; do \
	mv $file debian/libdrm-tests/usr/bin; \
done
mv: cannot move 'debian/tmp/usr/bin/tegra-gr2d-fill' to 'debian/libdrm-tests/usr/bin': No such file or directory
mv: cannot move 'debian/tmp/usr/bin/tegra-openclose' to 'debian/libdrm-tests/usr/bin': No such file or directory
mv: cannot move 'debian/tmp/usr/bin/tegra-syncpt-timeout' to 'debian/libdrm-tests/usr/bin': No such file or directory
mv: cannot move 'debian/tmp/usr/bin/tegra-syncpt-wait' to 'debian/libdrm-tests/usr/bin': No such file or directory
mv: cannot move 'debian/tmp/usr/bin/tegra-vic-blit' to 'debian/libdrm-tests/usr/bin': No such file or directory
mv: cannot move 'debian/tmp/usr/bin/tegra-vic-clear' to 'debian/libdrm-tests/usr/bin': No such file or directory
mv: cannot move 'debian/tmp/usr/bin/tegra-vic-flip' to 'debian/libdrm-tests/usr/bin': No such file or directory
make[1]: *** [debian/rules:102: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:144: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The build was made with (the sbuild equivalent of) "dpkg-buildpackage -A"
on a machine with "arm64" architecture, so you can reproduce the failure
by doing this on a machine with "arm64" architecture:

sbuild -d sid --arch-all --no-arch-any libdrm

The problem is in the override_dh_install target, which reads like this:

override_dh_install:
        find debian/tmp -name '*.la' -delete
        dh_install
[...]
  ifneq (,$(filter $(DEB_HOST_ARCH_CPU),arm arm64))
        for file in debian/tmp/usr/bin/tegra-*; do \
                mv $$file debian/libdrm-tests/usr/bin; \
        done
  endif


When the architecture is "arm64" and we are building the arch:all packages only,
files debian/tmp/usr/bin/tegra-* exist, but the directory "debian/libdrm-tests"
does not, because package "libdrm-tests" is arch-dependent and we are not building
such package, so the "mv" command fails.


I think we can fix this in a simple and effective way by using dh-exec
in debian/libdrm-tests.install (making it executable) and dropping all those
ifneq blocks from debian/rules.

The attached patch might work, but I've not tested it in all architectures,
so please double-check. In particular, the third converted block, using DEB_HOST_ARCH,
is probably ok, but I'm not 100% sure about the first two.

Thanks.
diff --git a/debian/control b/debian/control
index acac599..b56e289 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
 Uploaders: Andreas Boll <aboll@debian.org>
 Build-Depends:
  debhelper-compat (= 13),
+ dh-exec,
  meson,
  quilt,
  xsltproc,
diff --git a/debian/libdrm-tests.install b/debian/libdrm-tests.install
old mode 100644
new mode 100755
index b897911..7c3803b
--- a/debian/libdrm-tests.install
+++ b/debian/libdrm-tests.install
@@ -1,6 +1,10 @@
+#!/usr/bin/dh-exec --with-scripts=filter-arch
 usr/bin/amdgpu_stress
 usr/bin/drmdevice
 usr/bin/modetest
 usr/bin/vbltest
 usr/bin/modeprint
 usr/bin/proptest
+[armel armhf] usr/bin/exynos_*
+[arm64 armel armhf] usr/bin/tegra-*
+[armhf arm64] usr/bin/etnaviv*
diff --git a/debian/rules b/debian/rules
index 76e77e3..84d1557 100755
--- a/debian/rules
+++ b/debian/rules
@@ -100,22 +100,6 @@ override_dh_install:
 	find debian/tmp -name '*.la' -delete
 	dh_install
 
-  ifneq (,$(filter $(DEB_HOST_ARCH_CPU),arm))
-	for file in debian/tmp/usr/bin/exynos_*; do \
-		mv $$file debian/libdrm-tests/usr/bin; \
-	done
-  endif
-  ifneq (,$(filter $(DEB_HOST_ARCH_CPU),arm arm64))
-	for file in debian/tmp/usr/bin/tegra-*; do \
-		mv $$file debian/libdrm-tests/usr/bin; \
-	done
-  endif
-  ifneq (,$(filter $(DEB_HOST_ARCH),armhf arm64))
-	for file in debian/tmp/usr/bin/etnaviv*; do \
-		mv $$file debian/libdrm-tests/usr/bin; \
-	done
-  endif
-
 override_dh_makeshlibs:
 	dh_makeshlibs -plibdrm2 -V'libdrm2 (>= 2.4.89)' --add-udeb=libdrm2-udeb -- -c4
 ifeq ($(INTEL), yes)

Reply to: