Package: sbuild Version: 0.76.0-1 Severity: normal Dear Maintainer,
Please add /dev/dri to the default sbuild mounts, this is needed to run GPU-based tests. For example the leela-zero package cannot run tests until I add the following line to /etc/schroot/sbuild/fstab: /dev/dri /dev/dri none rw,bind 0 0 After that then everything works fine. You can test by entering an schroot and running $ apt-get install clinfo mesa-opencl-icd $ clinfo -l replacing "mesa-opencl-icd" with another package that provides opencl-icd depending on what your graphics driver is. If everything is succesful then clinfo will output some "Device" lines, otherwise it will only output "Platform" lines (or nothing at all). The default sbuild setup fails, until I add the /dev/dri line that I mentioned above. X -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable'), (300, 'unstable'), (200, 'experimental'), (1, 'experimental-debug') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages sbuild depends on: ii adduser 3.117 ii libsbuild-perl 0.76.0-1 ii perl 5.26.2-6 Versions of packages sbuild recommends: ii autopkgtest 5.3.1 ii debootstrap 1.0.101 ii schroot 1.6.10-5 Versions of packages sbuild suggests: pn deborphan <none> ii kmod 25-1 ii wget 1.19.5-1 -- no debconf information