[Bug 287567] graphics/mesa-libs: configure failed: Python (3.x) mako module >= 0.8.0 required to build mesa
Date: Mon, 23 Jun 2025 21:58:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287567 --- Comment #3 from Matthew Wener <matthew@wener.org> --- (In reply to Jaskie from comment #2) Looked at the meson.build where the error occured. Since setuptools is no longer included by default starting with Python 3.12 it fails the following import. I think either including py-setuptools or py-packaging should resolve the build error. Since distutils is the exception the more correct answer is to set py-packaging as a build_dep. try: from packaging.version import Version except: from distutils.version import StrictVersion as Version -- You are receiving this mail because: You are the assignee for the bug.