Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[native_toolchain_c] Visual studio resolution fails due to ( in path #123

Closed
dcharkes opened this issue Sep 7, 2023 · 0 comments · Fixed by #124
Closed

[native_toolchain_c] Visual studio resolution fails due to ( in path #123

dcharkes opened this issue Sep 7, 2023 · 0 comments · Fixed by #124
Labels
P2 A bug or feature request we're likely to work on package:native_toolchain_c

Comments

@dcharkes
Copy link
Collaborator

dcharkes commented Sep 7, 2023

[  4.8s] stdout: Unhandled exception:
[  4.8s] stdout: Error on line 1, column 18: unexpected "("
[  4.8s] stdout:   <2577>
[  4.8s] stdout: 1 <2502> C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Auxiliary/Build/vcvars32.bat
[  4.8s] stdout:   <2502>                  ^
[  4.8s] stdout:   <2575>
[  4.8s] stdout: #0      StringScanner.error (package:string_scanner/src/string_scanner.dart:263:5)
[  4.8s] stdout: #1      Parser._parseLiteral (package:glob/src/parser.dart:169:44)
[  4.8s] stdout: #2      Parser._parseNode (package:glob/src/parser.dart:66:12)
[  4.8s] stdout: #3      Parser._parseSequence (package:glob/src/parser.dart:44:17)
[  4.8s] stdout: #4      Parser.parse (package:glob/src/parser.dart:30:27)
[  4.8s] stdout: #5      new Glob (package:glob/glob.dart:104:44)
[  4.8s] stdout: #6      InstallLocationResolver.tryResolvePath (package:native_toolchain_c/src/tool/tool_resolver.dart:221:38)
[  4.8s] stdout: #7      InstallLocationResolver.resolve (package:native_toolchain_c/src/tool/tool_resolver.dart:198:42)
[  4.8s] stdout: #8      CompilerResolver.toolchainEnvironmentScript (package:native_toolchain_c/src/cbuilder/compiler_resolver.dart:200:50)
[  4.8s] stdout: #9      RunCBuilder.runCl (package:native_toolchain_c/src/cbuilder/run_cbuilder.dart:187:37)
[  4.8s] stdout: #10     RunCBuilder.run (package:native_toolchain_c/src/cbuilder/run_cbuilder.dart:92:11)
[  4.8s] stdout: <asynchronous suspension>
[  4.8s] stdout: #11     CBuilder.run (package:native_toolchain_c/src/cbuilder/cbuilder.dart:170:7)
[  4.8s] stdout: <asynchronous suspension>
[  4.8s] stdout: #12     main (file:///C:/b/s/w/ir/x/t/29d4255a/package_with_native_assets/build.dart:18:3)
[  4.8s] stdout: <asynchronous suspension>
[  4.9s] stdout: Building native assets for package:package_with_native_assets failed.

from: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8770603117094658273/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_5_6/test_stdout

from:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 A bug or feature request we're likely to work on package:native_toolchain_c
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant