Closed Bug 1746843 Opened 3 years ago Closed 3 years ago

clang-format, js-format and push-to-try integration fail with mercurial 6.x

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1738943

People

(Reporter: jstutte, Unassigned)

Details

Ensuring https://hg.mozilla.org/hgcustom/version-control-tools is up to date at /home/jens/.mozbuild/version-control-tools
pulling from https://hg.mozilla.org/hgcustom/version-control-tools
searching for changes
no changes found
** Unknown exception encountered with possibly-broken third-party extension "js-format" (version N/A)
** which supports versions 5.3 of Mercurial.
** Please disable "js-format" and try your action again.
** If that fixes the bug please report it to https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox%20Build%20System&component=Lint%20and%20Formatting
** Python 3.10.1 (main, Dec 11 2021, 17:22:55) [GCC 11.1.0]
** Mercurial Distributed SCM (version 6.0)
** Extensions loaded: absorb, blackbox, evolve 10.4.1, firefoxtree, fsmonitor, histedit, js-format, push-to-try, rebase, show
Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/hgext/fsmonitor/__init__.py", line 834, in _state
    self.repo._watchmanclient.command(
  File "/usr/lib/python3.10/site-packages/hgext/fsmonitor/watchmanclient.py", line 119, in command
    return self._command(*args)
  File "/usr/lib/python3.10/site-packages/hgext/fsmonitor/watchmanclient.py", line 106, in _command
    return self._watchmanclient.query(*watchmanargs)
  File "/usr/lib/python3.10/site-packages/hgext/fsmonitor/pywatchman/__init__.py", line 1156, in query
    self._connect()
  File "/usr/lib/python3.10/site-packages/hgext/fsmonitor/pywatchman/__init__.py", line 1024, in _connect
    self.sockpath = self._resolvesockname()
  File "/usr/lib/python3.10/site-packages/hgext/fsmonitor/pywatchman/__init__.py", line 1007, in _resolvesockname
    result = bser.loads(stdout)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
Type: task → defect
Summary: clang-format and js-format integration fail with mercurial 6.x → clang-format, js-format and push-to-try integration fail with mercurial 6.x

This is bug 1738943 which I've just added to the ./mach busted list.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.