Closed Bug 1405610 Opened 7 years ago Closed 7 years ago

./mach static-analyzer check on dom/ is failing

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

defect
Not set
normal

Tracking

(firefox58 affected)

RESOLVED DUPLICATE of bug 1405607
Tracking Status
firefox58 --- affected

People

(Reporter: Sylvestre, Unassigned)

References

Details

./mach static-analyzer check  --fix dom/
[...]
 0:02.08     readability-uniqueptr-delete-release
 0:02.08 
 0:02.08 
 0:02.08 Traceback (most recent call last):
 0:02.08     main()
 0:02.08     file_name_re = re.compile('(' + ')|('.join(args.files) + ')')
 0:02.08   File "/home/sylvestre/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/_virtualenv/lib/python2.7/re.py", line 194, in compile
 0:02.09     return _compile(pattern, flags)
 0:02.09   File "/home/sylvestre/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/_virtualenv/lib/python2.7/re.py", line 249, in _compile
 0:02.09     p = sre_compile.compile(pattern, flags)
 0:02.09   File "/home/sylvestre/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/_virtualenv/lib/python2.7/sre_compile.py", line 583, in compile
 0:02.09     "sorry, but this version only supports 100 named groups"
 0:02.09 AssertionError: sorry, but this version only supports 100 named groups
Error running mach:

    ['static-analyzer', 'check', '--fix', 'dom/']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:


fixed upstream here: https://github.com/llvm-mirror/clang-tools-extra/commit/6da17244b6805ba4d8cef963a09d90d7ecb41f3b#diff-d084b68c49291b42fe7e4d5addb8f7b0
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.