[Bug 287567] graphics/mesa-libs: configure failed: Python (3.x) mako module >= 0.8.0 required to build mesa

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287567

--- Comment #3 from Matthew Wener <[email protected]> ---
(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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.