Skip to main content
Topic: Cannot build mesa - missing packages? (Read 228 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Cannot build mesa - missing packages?

error: target not found: glproto
error: target not found: dri2proto
error: target not found: dri3proto
error: target not found: presentproto

dri2proto is in the AUR but the other 3 aren't found there either. Is this related to the xorgproto changes?

Code: [Select]
/mesa/repos/extra-x86_64$ makepkg -s
==> Making package: mesa 19.3.1-1 (Mon 30 Dec 2019 22:32:59 GMT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: glproto
error: target not found: dri2proto
error: target not found: dri3proto
error: target not found: presentproto
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> glproto
  -> dri2proto
  -> dri3proto
  -> presentproto
  -> glslang
==> ERROR: Could not resolve all dependencies.


Re: Cannot build mesa - missing packages?

Reply #1
I would say so.
Man is as good as his tools.

 

Re: Cannot build mesa - missing packages?

Reply #2
Modifying the PKGBUILD makedepends fixes the build. Doesn't make any noticeable difference to the resulting package in operation it seems, so no need to worry I think.
Code: [Select]
#makedepends=('python-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto' 
makedepends=('python-mako' 'libxml2' 'libx11' 'xorgproto' 'libdrm'
             'libxshmfence' 'libxxf86vm' 'libxdamage' 'libvdpau' 'libva' 'wayland' 'wayland-protocols'
             'elfutils' 'llvm' 'libomxil-bellagio' 'libclc' 'clang' 'libglvnd' 'libunwind' 'lm_sensors'
             'libxrandr' 'valgrind' 'glslang' 'meson')