|
板凳
楼主 |
发表于 2020-9-13 19:04:06
|
只看该作者
本帖最后由 Qter 于 2020-9-13 19:11 编辑
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/ast_array_index.cpp:24:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/ast.h:29:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_parser_extras.h:34:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/ast_expr.cpp:24:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/ast.h:29:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_parser_extras.h:34:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/ast_to_hir.cpp:52:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/ast_function.cpp:24:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl_types.cpp:26:
- 12:14.23 warning: In file included from glsl-optimizer/src\compiler/glsl/glsl_parser_extras.h:34:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: 1 error generated.
- 12:14.23 warning: 1 error generated.
- 12:14.23 warning: 1 error generated.
- 12:14.23 warning: 1 error generated.
- 12:14.23 warning: var->data.depth_layout = ir_depth_layout_unchanged;
- 12:14.23 warning: ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
- 12:14.23 warning: 1 warning and 1 error generated.
- 12:14.23 warning: 1 error generated.
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/builtin_functions.cpp:81:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_parser_extras.h:34:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: 1 error generated.
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/builtin_types.cpp:38:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_parser_extras.h:34:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: 1 error generated.
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/builtin_variables.cpp:42:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_parser_extras.h:34:
- 12:14.23 warning: In file included from glsl-optimizer/src/compiler/glsl/glsl_symbol_table.h:28:
- 12:14.23 warning: In file included from C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new:9:
- 12:14.23 warning: C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\yvals_core.h(494,2): error: STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer.
- 12:14.23 warning: ^
- 12:14.23 warning: 1 error generated.
- 12:14.36 error: build failed
- 12:14.36 mozmake.EXE[4]: *** [d:/github/he_chengjin_outlook/Firemail_Mozilla/config/makefiles/rust.mk;300: force-cargo-library-build] Error 101
- 12:14.37 mozmake.EXE[3]: *** [d:/github/he_chengjin_outlook/Firemail_Mozilla/config/recurse.mk;72: toolkit/library/rust/target] Error 2
- 12:14.37 mozmake.EXE[2]: *** [d:/github/he_chengjin_outlook/Firemail_Mozilla/config/recurse.mk;34: compile] Error 2
- 12:14.37 mozmake.EXE[1]: *** [d:/github/he_chengjin_outlook/Firemail_Mozilla/config/rules.mk;390: default] Error 2
- 12:14.37 mozmake.EXE: *** [client.mk;125: build] Error 2
- 12:14.40 9 compiler warnings present.
复制代码 应该是由于安装的vs2019版本不一样
vs_professional__984630800.1582248533.exe
vs_professional__1339673520.1599919222.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.27.29110\include\new 原来的是 14.26.28801
造成相关路径 下的文件要求Clang升级,而目录从网盘下载下来的是
- \.mozbuild\clang\bin> .\clang.exe -v
- clang version 9.0.1
- Target: x86_64-pc-windows-msvc
- Thread model: posix
复制代码 运行 ./mach bootstrap也不行- $ ./mach bootstrap
- Note on Artifact Mode:
- Artifact builds download prebuilt C++ components rather than building
- them locally. Artifact builds are faster!
- Artifact builds are recommended for people working on Firefox or
- Firefox for Android frontends, or the GeckoView Java API. They are unsuitable
- for those working on C++ code. For more information see:
- https://developer.mozilla.org/en-US/docs/Artifact_builds.
- Please choose the version of Firefox you want to build:
- 1. Firefox for Desktop Artifact Mode
- 2. Firefox for Desktop
- 3. GeckoView/Firefox for Android Artifact Mode
- 4. GeckoView/Firefox for Android
- Your choice: 2
- Your version of Python 3 (3.7.4) is new enough.
- Your version of Python 2 (2.7.16) is new enough.
- Your version of Mercurial (5.1.2) is sufficiently modern.
- Your version of Rust (1.45.1) is new enough.
- Rust supports x86_64-pc-windows-msvc targets.
- info: downloading component 'rust-std' for 'i686-pc-windows-msvc'
- 12.9 MiB / 12.9 MiB (100 %) 1.3 MiB/s in 15s ETA: 0s
- info: installing component 'rust-std' for 'i686-pc-windows-msvc'
- 12.9 MiB / 12.9 MiB (100 %) 12.6 MiB/s in 1s ETA: 0s
- Error running mach:
- ['bootstrap']
- 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 can invoke |./mach busted| to check if this issue is already on file. If it
- isn't, please use |./mach busted file bootstrap| to report it. If |./mach busted| is
- misbehaving, you can also inspect the dependencies of bug 1543241.
- If filing a bug, please include the full output of mach, including this error
- message.
- The details of the failure are as follows:
- mozversioncontrol.MissingVCSTool: Unable to obtain git path. Try running |mach bootstrap| to ensure your environment is up to date.
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozboot/mozboot/mach_commands.py", line 46, in bootstrap
- bootstrapper.bootstrap()
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozboot\mozboot\bootstrap.py", line 512, in bootstrap
- hg=self.instance.which('hg'))
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozboot\mozboot\bootstrap.py", line 766, in current_firefox_checkout
- _warn_if_risky_revision(path)
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozboot\mozboot\bootstrap.py", line 913, in _warn_if_risky_revision
- repo = get_repository_object(path)
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozversioncontrol\mozversioncontrol\__init__.py", line 599, in get_repository_object
- return GitRepository(path, git=git)
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozversioncontrol\mozversioncontrol\__init__.py", line 466, in __init__
- super(GitRepository, self).__init__(path, tool=git)
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozversioncontrol\mozversioncontrol\__init__.py", line 86, in __init__
- self._tool = get_tool_path(tool)
- File "d:\github\he_chengjin_outlook\Firemail_Mozilla\python/mozversioncontrol\mozversioncontrol\__init__.py", line 62, in get_tool_path
- 'date.' % tool)
复制代码
|
|