Bug#1071222: mesa: FTBFS due to missing build dependency python3-pycparser
Source: mesa
Version: 24.1.0~rc3-1
Severity: minor
Tags: ftbfs
Dear Maintainer,
On my local machine, mesa FTBFS unless I install python3-pycparser:
Running command: /usr/bin/python3 -c '
try:
from packaging.version import Version
except:
from distutils.version import StrictVersion as Version
import pycparser
assert Version(pycparser.__version__) >= Version("2.20")
'
--- stdout ---
--- stderr ---
Traceback (most recent call last):
File "<string>", line 6, in <module>
ModuleNotFoundError: No module named 'pycparser'
../src/etnaviv/hwdb/meson.build:17:2: ERROR: Problem encountered: Python (3.x) pycparser module >= 2.20 required to build mesa.
It seems to install the dependency and build fine on Debian buildd, so
marking the bug as minor. Since this package seems to be a direct
dependency for the etnaviv hwdb bits, I think we should add
python3-pycparser as a direct build depends.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.7.12-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Reply to: