FTBFS, python 3.12
Description:
Package fails to build after upgrade to python 3.12.
Additional info:
- package version(s): 102.15.1-2
- config and/or log files: below
- link to upstream bug report, if any: N/A
Steps to reproduce:
- Try to build
==> Starting build()...
Building instrumented JS...
Traceback (most recent call last):
File "/build/js102/src/firefox-102.15.1/./mach", line 96, in <module>
main(sys.argv[1:])
File "/build/js102/src/firefox-102.15.1/./mach", line 88, in main
mach = check_and_get_mach(os.path.dirname(os.path.realpath(__file__)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/js102/src/firefox-102.15.1/./mach", line 35, in check_and_get_mach
return load_mach(dir_path, mach_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/js102/src/firefox-102.15.1/./mach", line 21, in load_mach
return mach_initialize.initialize(dir_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/js102/src/firefox-102.15.1/build/mach_initialize.py", line 153, in initialize
_activate_python_environment(
File "/build/js102/src/firefox-102.15.1/build/mach_initialize.py", line 93, in _activate_python_environment
from mach.site import MachSiteManager
File "/build/js102/src/firefox-102.15.1/python/mach/mach/site.py", line 26, in <module>
from mach.requirements import (
File "/build/js102/src/firefox-102.15.1/python/mach/mach/requirements.py", line 7, in <module>
from packaging.requirements import Requirement
File "/build/js102/src/firefox-102.15.1/third_party/python/packaging/packaging/requirements.py", line 24, in <module>
from .markers import MARKER_EXPR, Marker
File "/build/js102/src/firefox-102.15.1/third_party/python/packaging/packaging/markers.py", line 25, in <module>
from .specifiers import InvalidSpecifier, Specifier
File "/build/js102/src/firefox-102.15.1/third_party/python/packaging/packaging/specifiers.py", line 14, in <module>
from .utils import canonicalize_version
File "/build/js102/src/firefox-102.15.1/third_party/python/packaging/packaging/utils.py", line 9, in <module>
from .tags import Tag, parse_tag
File "/build/js102/src/firefox-102.15.1/third_party/python/packaging/packaging/tags.py", line 7, in <module>
import distutils.util
ModuleNotFoundError: No module named 'distutils'
==> ERROR: A failure occurred in build().
Aborting...