Package Details: igt-gpu-tools-git 1.29+289.r14342.20241114.618594fb0-1

Git Clone URL: https://aur.archlinux.org/igt-gpu-tools-git.git (read-only, click to copy)
Package Base: igt-gpu-tools-git
Description: Collection of tools for development and testing of the DRM drivers.
Upstream URL: https://gitlab.freedesktop.org/drm/igt-gpu-tools
Licenses: LicenseRef-several_in_onefile
Conflicts: dpcd_reg, gputop, igt-gpu-tools, lsgpu
Provides: dpcd_reg, gputop, igt-gpu-tools, lsgpu
Submitter: 1ace
Maintainer: dreieck
Last Packager: dreieck
Votes: 0
Popularity: 0.000000
First Submitted: 2023-03-07 21:53 (UTC)
Last Updated: 2024-11-17 14:55 (UTC)

Latest Comments

dreieck commented on 2024-02-09 18:11 (UTC)

valgrind can be a makedependency only.

dreieck commented on 2024-02-09 15:13 (UTC) (edited on 2024-02-09 18:11 (UTC) by dreieck)

A fixed PKGBUILD is ↗ here:

# Maintainer:  Eric Engestrom <aur [at] engestrom [dot] ch> (https://aur.archlinux.org/account/1ace)
# Contributor: dreieck (https://aur.archlinux.org/account/dreieck)
# Contributor: Eric Engestrom (https://aur.archlinux.org/account/1ace)

_pkgname=igt-gpu-tools
pkgname="$_pkgname-git"
pkgver=1.28+606.g17a41dcf1e
pkgrel=2
pkgdesc="Collection of tools for development and testing of the DRM drivers."
url="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
arch=("x86_64" "aarch64")
license=(custom)
makedepends=(
  git
  meson
  ninja
  valgrind
)
depends=(
  alsa-lib
  cairo
  glib2
  gsl
  gtk-doc
  json-c
  kmod
  libdrm
  libelf
  liboping
  libpciaccess
  libunwind
  libxmlrpc
  libxrandr
  libxv
  pixman
  procps-ng
  python-docutils
  systemd-libs
  # valgrind
  zlib
)
provides=(
  "${_pkgname}=${pkgver}"
  "gputop=${pkgver}"
  "lsgpu=${pkgver}"
  "dpcd_reg=${pkgver}"
)
conflicts=(
  "${_pkgname}"
  gputop
  lsgpu
  dpcd_reg
)

source=("git+$url")
sha256sums=('SKIP')

pkgver() {
  git -C "$_pkgname" describe --tags --abbrev=10 | sed 's/^v//; s/-/+/; s/-/./'
}

prepare() {
  MESON_OPTS=()
  MESON_OPTS+=(-D overlay=disabled)
  MESON_OPTS+=(-Ddocs=disabled)
  arch-meson "$_pkgname" build "${MESON_OPTS[@]}"
}

build() {
  ninja -C build
}

# several tests are timing out
false &&
check() {
  ninja -C build test
}

package() {
  DESTDIR="$pkgdir" ninja -C build install

  install -Dm644 "$_pkgname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

Regards!

dreieck commented on 2024-01-17 20:35 (UTC) (edited on 2024-01-17 20:39 (UTC) by dreieck)

You need to add gputop to provides and conflicts arrays, since it installs /usr/bin/gputop.
Please also check the other binaries with this regard like lsgpu and dpcd_reg.

Thanks for maintaining!

dreieck commented on 2024-01-17 20:32 (UTC)

alsa-lib needs to be added to the depends array according to namcap:

igt-gpu-tools-git E: Dependency alsa-lib detected and not included (libraries ['usr/lib/libasound.so.2'] needed in files ['usr/lib/igt-gpu-tools/kms_chamelium_audio', 'usr/lib/libigt.so.0'])

Regards and thanks for maintaining!

dreieck commented on 2024-01-17 20:30 (UTC)

Adding MESON_OPTS+=(-Ddocs=disabled) fixed the previously reported issue for me.

Regards!

dreieck commented on 2024-01-17 20:28 (UTC)

After forcefully adding -Doverlay=disabled in all cases, the previous error is mitigated, prepare() and build() run through, but then package() fails with ERROR: Error in gtkdoc helper script:

==> Starting package()...
[...]
Installing symlink pointing to libi915_perf.so.1.5 to /tmp/makepkg/build/igt-gpu-tools-git/pkg/igt-gpu-tools-git/usr/lib/libi915_perf.so
Running custom install script '/usr/bin/meson --internal gtkdoc --sourcedir=/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools --builddir=/tmp/makepkg/build/igt-gpu-tools-git/src/build --subdir=docs/reference/igt-gpu-tools --headerdirs=/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib --mainfile=igt-gpu-tools-docs.xml --modulename=igt-gpu-tools --moduleversion= --mode=auto --gtkdoc-scan=/usr/bin/gtkdoc-scan --gtkdoc-scangobj=/usr/bin/gtkdoc-scangobj --gtkdoc-mkdb=/usr/bin/gtkdoc-mkdb --gtkdoc-mkhtml=/usr/bin/gtkdoc-mkhtml --gtkdoc-fixxref=/usr/bin/gtkdoc-fixxref --htmlargs= --scanargs=--rebuild-sections --scanobjsargs= --gobjects-types-file= --fixxrefargs= --mkdbargs=--output-format=xml --html-assets= --content-files=/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_amdgpu_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_amdgpu_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_core_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_core_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_debugfs_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_debugfs_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_drm_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_drm_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gem_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gem_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen3_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen3_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen7_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen7_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_i915_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_i915_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_kms_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_kms_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_meta_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_meta_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_perf_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_perf_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_pm_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_pm_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_prime_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_prime_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_sw_sync_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_sw_sync_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_testdisplay_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_testdisplay_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_tools_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_tools_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_vgem_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_vgem_description.xml --expand-content-files= --ignore-headers=gen6_render.h@@gen7_media.h@@gen7_render.h@@gen8_media.h@@gen8_render.h@@gen9_media.h@@gpgpu_fill.h@@i830_reg.h@@i915_3d.h@@i915_pciids.h@@i915_reg.h@@igt_edid_template.h@@intel_reg.h@@debug.h@@instdone.h@@media_fill.h@@rendercopy.h@@media_spin.h@@media_fill_gen9.h@@gen9_render.h@@version.h@@xe_pciids.h --installdir= --cc=ccache cc --ld=cc --cflags=-I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/include -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/include -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/include/drm-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/include/drm-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/include/linux-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/include/linux-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/stubs/syscalls -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib/stubs/syscalls -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/. -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/. -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -D_GNU_SOURCE -include config.h --ldflags=-L/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib -Wl,-rpath,/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib -ligt -lcairo -lglib-2.0 -ldrm -ldw -lelf -lkmod -ludev -lm -lpciaccess -lpixman-1 -pthread -lrt -lz -ldrm_nouveau -ldrm_amdgpu -lunwind -lgsl -lgslcblas -lasound -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lxmlrpc_client -lproc2'
--- stdout ---
Building documentation for igt-gpu-tools
./igt-gpu-tools-decl.txt:7273: warning: igt_fb_t has multiple definitions.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/igt_amd.c:254: warning: Symbol name not found at the start of the comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/igt_amd.c:286: warning: Symbol name not found at the start of the comment block.
[...]
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/igt_sriov_device.h:59: warning: Symbol name not found at the start of the comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/igt_store.c:16: warning: Section igt_store_word is not defined in the igt-gpu-tools-sections.txt file.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/igt_sysrq.c:11: warning: Symbol name not found at the start of the comment block.
[...]
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/xe/xe_spin.h:21: warning: Symbol name not found at the start of the comment block.
unknown:0: warning: Value descriptions for hang_type are missing in source code comment block.
unknown:0: warning: Field descriptions for struct amdgpu_cmd_base are missing in source code comment block.
[...]
unknown:0: warning: Field descriptions for struct amdgpu_ip_blocks_device are missing in source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/amdgpu/amd_ip_blocks.c:828: warning: Parameter description for asic_rings_readness::device handle is not used from source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/amdgpu/amd_ip_blocks.c:828: warning: Parameter description for asic_rings_readness::device_handle is missing in source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/amdgpu/amd_ip_blocks.c:828: warning: Parameter description for asic_rings_readness::arr is missing in source code comment block.
unknown:0: warning: Field descriptions for struct mmd_context are missing in source code comment block.
[...]
unknown:0: warning: Value descriptions for ps_type are missing in source code comment block.
2024-01-17 21:23:21,875:common.py:ParseFunctionDeclaration:541:WARNING:Cannot parse args for function in "__attribute__((unused)) uint32_t end
"
2024-01-17 21:23:21,876:common.py:ParseFunctionDeclaration:541:WARNING:Cannot parse args for function in "__attribute__((unused)) uint32_t end, uint32_t fract_bits
"
unknown:0: warning: Value descriptions for intel_driver are missing in source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/drmtest.h:94: warning: Parameter description for ALIGN_DOWN::v is not used from source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/drmtest.h:94: warning: Parameter description for ALIGN_DOWN::x is missing in source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/i915/gem_context.c:353: warning: Parameter description for gem_context_set_priority::ctx_id is not used from source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/i915/gem_context.c:353: warning: Parameter description for gem_context_set_priority::ctx is missing in source code comment block.
[...]
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/igt_dummyload.c:911: warning: Parameter description for igt_cork_unplug::method is not used from source code comment block.
2024-01-17 21:23:23,712:common.py:ParseStructDeclaration:355:WARNING:Cannot parse structure field: "} __attribute__((packed))"
2024-01-17 21:23:23,712:common.py:ParseStructDeclaration:355:WARNING:Cannot parse structure field: "STD_TIMING_16_10 = 0b00,
    STD_TIMING_4_3 = 0b01,
    STD_TIMING_5_4 = 0b10,
    STD_TIMING_16_9 = 0b11,
}"
unknown:0: warning: Field descriptions for struct est_timings are missing in source code comment block.
2024-01-17 21:23:23,713:common.py:ParseStructDeclaration:355:WARNING:Cannot parse structure field: "} __attribute__((packed))"
unknown:0: warning: Field descriptions for struct std_timing are missing in source code comment block.
2024-01-17 21:23:23,713:common.py:ParseStructDeclaration:355:WARNING:Cannot parse structure field: "} __attribute__((packed))"
2024-01-17 21:23:23,713:common.py:ParseStructDeclaration:355:WARNING:Cannot parse structure field: "} __attribute__((packed))"
2024-01-17 21:23:23,713:common.py:ParseStructDeclaration:355:WARNING:Cannot parse structure field: "CEA_SAD_FORMAT_PCM = 1,
    CEA_SAD_FORMAT_AC3 = 2,
    CEA_SAD_FORMAT_MPEG1 = 3,  
    CEA_SAD_FORMAT_MP3 = 4,
    CEA_SAD_FORMAT_MPEG2 = 5,
    CEA_SAD_FORMAT_AAC = 6,
    CEA_SAD_FORMAT_DTS = 7,
    CEA_SAD_FORMAT_ATRAC = 8,
    CEA_SAD_FORMAT_SACD = 9,  
    CEA_SAD_FORMAT_DD_PLUS = 10,
    CEA_SAD_FORMAT_DTS_HD = 11,
    CEA_SAD_FORMAT_DOLBY = 12,  
    CEA_SAD_FORMAT_DST = 13,
    CEA_SAD_FORMAT_WMA = 14,  
}"
unknown:0: warning: Field descriptions for struct detailed_non_pixel are missing in source code comment block.
[...]
[...]
unknown:0: warning: Field descriptions for struct xe_object are missing in source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/xe/xe_util.c:166: warning: Parameter description for xe_bind_unbind_async::xe is not used from source code comment block.
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/xe/xe_util.c:166: warning: Parameter description for xe_bind_unbind_async::fd is missing in source code comment block.
./igt-gpu-tools-unused.txt:1: warning: 69 unused declarations. They should be added to igt-gpu-tools-sections.txt in the appropriate place.

ERROR: Error in gtkdoc helper script:

ERROR: ['/usr/bin/gtkdoc-mkhtml', '--path=/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools:/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools', 'igt-gpu-tools', '../igt-gpu-tools-docs.xml'] failed with status 6
warning: failed to load external entity "/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs_amdgpu_programs.xml"
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs.xml:110: element include: XInclude error : could not load /tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs_amdgpu_programs.xml, and no fallback was found
warning: failed to load external entity "/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs_amdgpu_description.xml"
[...]
/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs.xml:255: element include: XInclude error : could not load /tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs_vgem_description.xml, and no fallback was found


--- stderr ---

FAILED: install script '/usr/bin/meson --internal gtkdoc --sourcedir=/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools --builddir=/tmp/makepkg/build/igt-gpu-tools-git/src/build --subdir=docs/reference/igt-gpu-tools --headerdirs=/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib --mainfile=igt-gpu-tools-docs.xml --modulename=igt-gpu-tools --moduleversion= --mode=auto --gtkdoc-scan=/usr/bin/gtkdoc-scan --gtkdoc-scangobj=/usr/bin/gtkdoc-scangobj --gtkdoc-mkdb=/usr/bin/gtkdoc-mkdb --gtkdoc-mkhtml=/usr/bin/gtkdoc-mkhtml --gtkdoc-fixxref=/usr/bin/gtkdoc-fixxref --htmlargs= --scanargs=--rebuild-sections --scanobjsargs= --gobjects-types-file= --fixxrefargs= --mkdbargs=--output-format=xml --html-assets= --content-files=/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/docs/reference/igt-gpu-tools/igt_test_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_amdgpu_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_amdgpu_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_core_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_core_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_debugfs_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_debugfs_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_drm_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_drm_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gem_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gem_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen3_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen3_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen7_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_gen7_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_i915_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_i915_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_kms_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_kms_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_meta_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_meta_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_perf_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_perf_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_pm_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_pm_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_prime_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_prime_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_sw_sync_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_sw_sync_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_testdisplay_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_testdisplay_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_tools_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_tools_description.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_vgem_programs.xml@@/tmp/makepkg/build/igt-gpu-tools-git/src/build/docs/reference/igt-gpu-tools/igt_test_programs_vgem_description.xml --expand-content-files= --ignore-headers=gen6_render.h@@gen7_media.h@@gen7_render.h@@gen8_media.h@@gen8_render.h@@gen9_media.h@@gpgpu_fill.h@@i830_reg.h@@i915_3d.h@@i915_pciids.h@@i915_reg.h@@igt_edid_template.h@@intel_reg.h@@debug.h@@instdone.h@@media_fill.h@@rendercopy.h@@media_spin.h@@media_fill_gen9.h@@gen9_render.h@@version.h@@xe_pciids.h --installdir= --cc=ccache cc --ld=cc --cflags=-I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/include -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/include -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/include/drm-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/include/drm-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/include/linux-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/include/linux-uapi -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/lib/stubs/syscalls -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib/stubs/syscalls -I/tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools/. -I/tmp/makepkg/build/igt-gpu-tools-git/src/build/. -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libdrm/nouveau -I/usr/include/valgrind -Wbad-function-cast -Wdeclaration-after-statement -Wformat=2 -Wimplicit-fallthrough=0 -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wuninitialized -Wunused -Wno-clobbered -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-pointer-arith -Wno-address-of-packed-member -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -Wno-unused-result -Werror=address -Werror=array-bounds -Werror=implicit -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=pointer-to-int-cast -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-builtin-malloc -fno-builtin-calloc -D_GNU_SOURCE -include config.h --ldflags=-L/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib -Wl,-rpath,/tmp/makepkg/build/igt-gpu-tools-git/src/build/lib -ligt -lcairo -lglib-2.0 -ldrm -ldw -lelf -lkmod -ludev -lm -lpciaccess -lpixman-1 -pthread -lrt -lz -ldrm_nouveau -ldrm_amdgpu -lunwind -lgsl -lgslcblas -lasound -lxmlrpc -lxmlrpc_xmlparse -lxmlrpc_xmltok -lxmlrpc_util -lxmlrpc_client -lproc2' exit code 1, stopped
FAILED: meson-internal__install 
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in package().

Regards!

dreieck commented on 2024-01-17 20:20 (UTC)

After fixing the previous error, prepare() fails with Program leg found: NO -- maybe a missing dependency or makedependency?:

==> Starting prepare()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 igt-gpu-tools build
The Meson build system
Version: 1.3.1
Source dir: /tmp/makepkg/build/igt-gpu-tools-git/src/igt-gpu-tools
Build dir: /tmp/makepkg/build/igt-gpu-tools-git/src/build
Build type: native build
Project name: igt-gpu-tools
Project version: 1.28
[...]
Run-time dependency libkmod found: YES 31
Found CMake: /usr/bin/cmake (3.28.1)
Run-time dependency libprocps found: NO (tried pkgconfig and cmake)
Run-time dependency libproc2 found: YES 4.0.4
[...]
Run-time dependency xrandr found: YES 1.5.4
Program leg found: NO

igt-gpu-tools/overlay/meson.build:75:6: ERROR: Program 'leg' not found or not executable

A full log can be found at /tmp/makepkg/build/igt-gpu-tools-git/src/build/meson-logs/meson-log.txt
==> ERROR: A failure occurred in prepare().

Regards!

dreieck commented on 2024-01-17 20:18 (UTC)

Please add "${_pkgname}=${pkgver}" to the provides array and ${_pkgname} to the conflicts array.

Thanks for maintaining!

dreieck commented on 2024-01-17 20:17 (UTC)

Fails to prepare():

==> Starting prepare()...
+ exec meson setup --prefix /usr --libexecdir lib --sbindir bin --buildtype plain --auto-features enabled --wrap-mode nodownload -D b_lto=true -D b_pie=true -D python.bytecompile=1 igt-gpu-tools-git-v1.27.1+141.g3434cef8be build

ERROR: Neither source directory 'igt-gpu-tools-git-v1.27.1+141.g3434cef8be' nor build directory 'build' exist.

"$pkgname-v$pkgver" is wrong. It must be "${_pkgname}" instead.

Thanks for maintaining!