Package: mesa
Version: 20.2.1-1
Since forever (ie: the 9 yrs of salsa history I could go back through with git blame), libdrm-dev has been marked not to be a build dep on hurd for mesa.
eg: From debian/control in 20.2.1-1:
libdrm-dev (>= 2.4.101) [!hurd-any]
Changes to upstream mesa's surfaceless EGL now basically require libdrm-dev.
From meson.build in 20.2.1 @ lines 337 -> 343:
if _platforms.contains('surfaceless')
warning('Platform `surfaceless` is now always selected; setting this option will be an error in Mesa 20.3')
endif
if _platforms.contains('drm')
warning('Platform `drm` is now automatically selected; setting this option will be an error in Mesa 20.3')
endif
FWIW: Looks like these changes were made upstream about 3 months ago.
Relaxing the restriction on libdrm-dev actually allows the package to build, and libdrm is being built already on hurd.
Another way I that may work would be to disable EGL in debian/rules, but not sure if that's a suitable option?
Note: I can't actually test anything further though as I can't currently get either mesa 18.3.6 or 20.2.1 to work with qemu passthru on my machine.
--
Stuart Young (aka Cefiar)