Trying to adopt latest stable v8(11.1.277.13) but failed compilation

8 views
Skip to first unread message

Ripudaman Sidhu

unread,
Mar 10, 2023, 9:44:27 AM3/10/23
to v8-dev
I am trying to adopt latest stable v8 but it is failing compilation with a python error. Its missing an async_util.py fil in jinja2 directory for some reason. I see it in the compilation though but is not actually present when I check on the build machine.
Compilation: [2023-03-10T04:24:57.743Z] third_party/jinja2/DIR_METADATA [2023-03-10T04:24:57.743Z] third_party/jinja2/LICENSE.rst [2023-03-10T04:24:57.743Z] third_party/jinja2/OWNERS [2023-03-10T04:24:57.743Z] third_party/jinja2/README.chromium [2023-03-10T04:24:57.743Z] third_party/jinja2/README.rst [2023-03-10T04:24:57.743Z] third_party/jinja2/__init__.py [2023-03-10T04:24:57.743Z] third_party/jinja2/_identifier.py [2023-03-10T04:24:57.743Z] third_party/jinja2/async_utils.py [2023-03-10T04:24:57.743Z] third_party/jinja2/bccache.py [2023-03-10T04:24:57.743Z] third_party/jinja2/compiler.py [2023-03-10T04:24:57.743Z] third_party/jinja2/constants.py [2023-03-10T04:24:57.743Z] third_party/jinja2/debug.py [2023-03-10T04:24:57.743Z] third_party/jinja2/defaults.py [2023-03-10T04:24:57.743Z] third_party/jinja2/environment.py [2023-03-10T04:24:57.743Z] third_party/jinja2/exceptions.py [2023-03-10T04:24:57.743Z] third_party/jinja2/ext.py [2023-03-10T04:24:57.743Z] third_party/jinja2/filters.py [2023-03-10T04:24:57.743Z] third_party/jinja2/idtracking.py [2023-03-10T04:24:57.743Z] third_party/jinja2/jinja2.gni [2023-03-10T04:24:57.743Z] third_party/jinja2/lexer.py [2023-03-10T04:24:57.743Z] third_party/jinja2/loaders.py [2023-03-10T04:24:57.743Z] third_party/jinja2/meta.py [2023-03-10T04:24:57.743Z] third_party/jinja2/nativetypes.py [2023-03-10T04:24:57.743Z] third_party/jinja2/nodes.py [2023-03-10T04:24:57.743Z] third_party/jinja2/optimizer.py [2023-03-10T04:24:57.743Z] third_party/jinja2/parser.py [2023-03-10T04:24:57.743Z] third_party/jinja2/py.typed [2023-03-10T04:24:57.743Z] third_party/jinja2/runtime.py [2023-03-10T04:24:57.743Z] third_party/jinja2/sandbox.py [2023-03-10T04:24:57.743Z] third_party/jinja2/tests.py [2023-03-10T04:24:57.743Z] third_party/jinja2/utils.py [2023-03-10T04:24:57.743Z] third_party/jinja2/visitor.py

Error:python3 ../../third_party/inspector_protocol/code_generator.py --jinja_dir ../../third_party/ --output_base gen/src/inspector --config ../../src/inspector/inspector_protocol_config.json --inspector_protocol_dir ///third_party/inspector_protocol --config_value protocol.path=../../include/js_protocol.pdl
[2023-03-10T04:38:50.137Z] Traceback (most recent call last):
[2023-03-10T04:38:50.137Z] File "../../third_party/inspector_protocol/code_generator.py", line 735, in <module>
[2023-03-10T04:38:50.137Z] main()
[2023-03-10T04:38:50.137Z] File "../../third_party/inspector_protocol/code_generator.py", line 612, in main
[2023-03-10T04:38:50.137Z] jinja_env = initialize_jinja_env(jinja_dir, config.protocol.output, config)
[2023-03-10T04:38:50.138Z] File "../../third_party/inspector_protocol/code_generator.py", line 193, in initialize_jinja_env
[2023-03-10T04:38:50.138Z] import jinja2
[2023-03-10T04:38:50.138Z] File "/root/workspace/V8-PRECOMPILATION-PIPELINE/stormcloud_v8/v8/third_party/jinja2/__init__.py", line 8, in <module>
[2023-03-10T04:38:50.138Z] from .environment import Environment as Environment
[2023-03-10T04:38:50.138Z] File "/root/workspace/V8-PRECOMPILATION-PIPELINE/stormcloud_v8/v8/third_party/jinja2/environment.py", line 19, in <module>
[2023-03-10T04:38:50.138Z] from .defaults import BLOCK_END_STRING
[2023-03-10T04:38:50.138Z] File "/root/workspace/V8-PRECOMPILATION-PIPELINE/stormcloud_v8/v8/third_party/jinja2/defaults.py", line 3, in <module>
[2023-03-10T04:38:50.138Z] from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401
[2023-03-10T04:38:50.138Z] File "/root/workspace/V8-PRECOMPILATION-PIPELINE/stormcloud_v8/v8/third_party/jinja2/filters.py", line 15, in <module>
[2023-03-10T04:38:50.138Z] from .async_utils import async_variant
[2023-03-10T04:38:50.138Z] ModuleNotFoundError: No module named 'jinja2.async_utils' """

Jakob Kummerow

unread,
Mar 10, 2023, 3:52:33 PM3/10/23
to v8-...@googlegroups.com
Have you tried `gclient sync`?

--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/79756716-0dd7-4328-a494-d3bc277a1dfan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages