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

Error building on Windows #209

Closed
DartBot opened this issue Oct 23, 2011 · 4 comments
Closed

Error building on Windows #209

DartBot opened this issue Oct 23, 2011 · 4 comments
Assignees
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.

Comments

@DartBot
Copy link

DartBot commented Oct 23, 2011

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. Following Steps in getting code http://dev.chromium.org/developers/how-tos/install-depot-tools and
  2. run gclient config http://dart.googlecode.com/svn/trunk/deps/all.deps and
    gclient sync
  3. on error run gclient runhooks
  4. Apply workaround described at http://code.google.com/p/dart/issues/detail?id=109#c2
  5. Run 'gclient runhooks' again.

What is the expected output? What do you see instead?
Expected the command to complete without errors. Instead, output is

C:\Users\Greg\Downloads\dart>gclient runhooks

________ running 'C:\Users\Greg\Downloads\depot_tools\python_bin\python.exe dart
/client/tools/generate_build.py' in 'C:\Users\Greg\Downloads\dart'

________ running 'C:\Users\Greg\Downloads\depot_tools\python_bin\python.exe dart
/compiler/scripts/generate_my_projects.py' in 'C:\Users\Greg\Downloads\dart'

________ running 'C:\Users\Greg\Downloads\depot_tools\python_bin\python.exe dart
/tools/generate_projects.py runtime' in 'C:\Users\Greg\Downloads\dart'

________ running 'C:\Users\Greg\Downloads\depot_tools\python_bin\python.exe dart
/tools/generate_projects.py compiler' in 'C:\Users\Greg\Downloads\dart'
Warning: Missing input file third_party\v8\tools\gyp....\src\codegen-inl.h

________ running 'C:\Users\Greg\Downloads\depot_tools\python_bin\python.exe dart
/tools/generate_projects.py client' in 'C:\Users\Greg\Downloads\dart'
Warning: Missing input file third_party\v8\tools\gyp....\src\codegen-inl.h
client\dart-client.gyp does not exist

________ running 'C:\Users\Greg\Downloads\depot_tools\python_bin\python.exe dart
/tools/generate_projects.py language' in 'C:\Users\Greg\Downloads\dart'
Warning: Missing input file language\documentation\guide\dartguide.xml
Warning: Missing input file language\documentation\guide\styleguide.xsl
Warning: Missing input file language\documentation\guide\libraries-and-namespace
s.png
Warning: Missing input file language\documentation\guide\styleguide.css
language\dart-language.gyp does not exist

________ running 'dart/third_party/gyp/gyp --depth=dart -Idart/tools/gyp/all.gyp
i dart/dart.gyp' in 'C:\Users\Greg\Downloads\dart'
'dart' is not recognized as an internal or external command,
operable program or batch file.
Error: Command dart/third_party/gyp/gyp --depth=dart -Idart/tools/gyp/all.gypi d
art/dart.gyp returned non-zero exit status 1 in C:\Users\Greg\Downloads\dart

What version of the product are you using? On what operating system?
Windows 7 Home Premium SP1

@DartBot
Copy link
Author

DartBot commented Oct 25, 2011

This comment was originally written by [email protected]


Added Area-Build, Triaged labels.

@sgjesse
Copy link
Contributor

sgjesse commented Oct 27, 2011

The problem seems to be the handling of the action section of the DEPS file where gclient does not that the different path separators into account. With the following change it is possible to run gclient sync and gclient runhooks.

Index: all.deps/DEPS
===================================================================

--- all.deps/DEPS (revision 803)
+++ all.deps/DEPS (working copy)
@@ -81,7 +81,7 @­@
   },
   {
     "pattern": ".",

  • "action": ["dart/third_party/gyp/gyp", "--depth=dart",
  • "action": ["dart\third_party\gyp\gyp", "--depth=dart",
                    "-Idart/tools/gyp/all.gypi", "dart/dart.gyp"],
       },
       # Downloads the latest green dartium build

The following patch to gclient

Index: gclient_utils.py
===================================================================

--- gclient_utils.py (revision 107538)
+++ gclient_utils.py (working copy)
@@ -10,6 +10,7 @­@
 import Queue
 import re
 import stat
+import string
 import sys
 import tempfile
 import threading
@@ -351,6 +352,8 @­@
   assert print_stdout or filter_fn
   stdout = stdout or sys.stdout
   filter_fn = filter_fn or (lambda x: None)

  • if os.sep != '/':
  • args[0] = string.replace(args[0], "/", os.sep)
       kid = subprocess2.Popen(
           args, bufsize=0, stdout=subprocess2.PIPE, stderr=subprocess2.STDOUT,
           **kwargs)

Set owner to @sgjesse.

@sgjesse
Copy link
Contributor

sgjesse commented Oct 27, 2011

Fixed in https://code.google.com/p/dart/source/detail?r=856.


Added Fixed label.

@anders-sandholm
Copy link
Contributor

Removed Area-Build label.
Added Area-Infrastructure label.

@DartBot DartBot added Type-Defect area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes. labels Nov 20, 2013
copybara-service bot pushed a commit that referenced this issue Apr 4, 2023
…ctor, browser_launcher, characters, clock, collection, convert, crypto, csslib, dartdoc, fixnum, glob, html, http, http_multi_server, http_parser, json_rpc_2, logging, matcher, mime, package_config, path, pool, pub_semver, source_maps, source_span, sse, stack_trace, stream_channel, term_glyph, test, test_descriptor, test_process, tools, usage, watcher, web_socket_channel, webdev, yaml, yaml_edit

Revisions updated by `dart tools/rev_sdk_deps.dart`.

args (https://github.com/dart-lang/args/compare/7a5e3b0..5ac2ba1):
  5ac2ba1  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#238)
  f77b1dc  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#239)

async (https://github.com/dart-lang/async/compare/f454380..0127813):
  0127813  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#236)
  100445b  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#237)

bazel_worker (https://github.com/dart-lang/bazel_worker/compare/53871c5..d5f8837):
  d5f8837  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#70)
  a8a55e6  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#71)

benchmark_harness (https://github.com/dart-lang/benchmark_harness/compare/725534a..e591ec4):
  e591ec4  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#86)
  38bf5b8  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#87)

boolean_selector (https://github.com/dart-lang/boolean_selector/compare/16e6ad3..28dc03d):
  28dc03d  2023-04-04  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#45)

browser_launcher (https://github.com/dart-lang/browser_launcher/compare/bc2dc4e..ba4e028):
  ba4e028  2023-04-04  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#41)

characters (https://github.com/dart-lang/characters/compare/3281cc7..ba8d557):
  ba8d557  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#79)
  60cae68  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#80)

clock (https://github.com/dart-lang/clock/compare/984642e..93d9f56):
  93d9f56  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#48)

collection (https://github.com/dart-lang/collection/compare/30fd0f8..9db854d):
  9db854d  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#278)

convert (https://github.com/dart-lang/convert/compare/83886e3..8812e40):
  8812e40  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#79)
  d28dc33  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#80)

crypto (https://github.com/dart-lang/crypto/compare/9efb888..8a03816):
  8a03816  2023-04-04  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#143)

csslib (https://github.com/dart-lang/csslib/compare/d32bdd4..5836863):
  5836863  2023-04-04  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#177)

dartdoc (https://github.com/dart-lang/dartdoc/compare/9be04e0..1a7952b):
  1a7952b1  2023-04-03  dependabot[bot]  Bump ossf/scorecard-action from 2.1.2 to 2.1.3 (#3382)

fixnum (https://github.com/dart-lang/fixnum/compare/f8379d9..92ec336):
  92ec336  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#108)
  f14fd19  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#109)

glob (https://github.com/dart-lang/glob/compare/f378dc8..eaa878b):
  eaa878b  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#73)
  c0c7e66  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#74)

html (https://github.com/dart-lang/html/compare/08643e9..57b747d):
  57b747d  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#209)
  51c9910  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#210)

http (https://github.com/dart-lang/http/compare/74f9d3d..ffb4438):
  ffb4438  2023-04-04  Brian Quinlan  Fix maxRedirects documentation to mention ClientException rather than RedirectException (#907)
  ad0e1cf  2023-04-03  Bahaa Fathi Yousef  Fix some spelling (#885)

http_multi_server (https://github.com/dart-lang/http_multi_server/compare/7bd190c..e0b5d35):
  e0b5d35  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#53)
  3bbaf22  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#52)

http_parser (https://github.com/dart-lang/http_parser/compare/b3b283b..bbe37dd):
  bbe37dd  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#70)
  f0527a8  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#71)

json_rpc_2 (https://github.com/dart-lang/json_rpc_2/compare/aea3bea..5da2705):
  5da2705  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#94)
  d6ab373  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#95)

logging (https://github.com/dart-lang/logging/compare/abef371..787030a):
  787030a  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#133)
  be6a20e  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#134)

matcher (https://github.com/dart-lang/matcher/compare/61f4347..cb6b68c):
  cb6b68c  2023-04-04  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#216)

mime (https://github.com/dart-lang/mime/compare/1a51be0..2d8496d):
  2d8496d  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#90)
  3b39378  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#91)

package_config (https://github.com/dart-lang/package_config/compare/74ac1cb..7e09db1):
  7e09db1  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#132)
  6dc4072  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#133)

path (https://github.com/dart-lang/path/compare/cd37179..23e3319):
  23e3319  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#140)

pool (https://github.com/dart-lang/pool/compare/338bfb4..650e5d3):
  650e5d3  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#66)

pub_semver (https://github.com/dart-lang/pub_semver/compare/c0e6ea7..860e3d8):
  860e3d8  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#82)
  12eca92  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#83)

source_maps (https://github.com/dart-lang/source_maps/compare/a112e98..0a4b030):
  0a4b030  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#76)
  e753fea  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#75)

source_span (https://github.com/dart-lang/source_span/compare/3951ba5..b739fbf):
  b739fbf  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#94)
  c6547c2  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#95)

sse (https://github.com/dart-lang/sse/compare/8c3efdc..11e83a0):
  11e83a0  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#79)

stack_trace (https://github.com/dart-lang/stack_trace/compare/6ceb191..9c1b1c5):
  9c1b1c5  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#128)
  56a09db  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#129)

stream_channel (https://github.com/dart-lang/stream_channel/compare/fe0f5e4..74646ea):
  74646ea  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#88)

term_glyph (https://github.com/dart-lang/term_glyph/compare/d275a8f..f6856e2):
  f6856e2  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#36)

test (https://github.com/dart-lang/test/compare/a01b185..8ea4298):
  8ea42987  2023-04-04  Jakub Vrána  Make tests compatible with Strict CSP (#1987)
  49f7e17a  2023-04-03  dependabot[bot]  Bump ossf/scorecard-action from 2.1.2 to 2.1.3 (#1982)
  1a4f76b2  2023-04-03  dependabot[bot]  Bump github/codeql-action from 2.2.5 to 2.2.9 (#1985)

test_descriptor (https://github.com/dart-lang/test_descriptor/compare/1d4a967..aa11162):
  aa11162  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#49)
  226fe86  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#50)

test_process (https://github.com/dart-lang/test_process/compare/f76d0b8..946bc27):
  946bc27  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#40)
  441f585  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#41)

tools (https://github.com/dart-lang/tools/compare/d40ca93..0304fbb):
  0304fbb  2023-04-04  Elias Yishak  Add catcherror callback for `sendData` (#72)
  6d1dedf  2023-04-04  Daco Harkes  [cli_config] Pub badges (#71)
  561dce2  2023-04-04  Daco Harkes  [cli_config] Bump version (#68)
  d3909a4  2023-04-04  Daco Harkes  Fix windows path resolving (#67)
  77cf078  2023-04-03  Daco Harkes  [cli_config] Fix optionalString validValues (#69)

usage (https://github.com/dart-lang/usage/compare/399770f..0698711):
  0698711  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#190)
  2cdb5e3  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#189)

watcher (https://github.com/dart-lang/watcher/compare/5968409..00aa79b):
  00aa79b  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#140)
  598038f  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#141)

web_socket_channel (https://github.com/dart-lang/web_socket_channel/compare/e2fe7f6..40eb236):
  40eb236  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#260)
  1823444  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#261)

webdev (https://github.com/dart-lang/webdev/compare/b139649..e887316):
  e887316c  2023-04-03  Elliott Brooks  Prepare DWDS for version `19.0.0` release (#2068)
  704d5086  2023-04-03  Elliott Brooks  Fix typo (#2069)
  2e6e1b63  2023-04-03  Anna Gringauze  Fix getObject failure on record class. (#2063)

yaml (https://github.com/dart-lang/yaml/compare/0f80b12..56dfaf4):
  56dfaf4  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#140)
  d925d7e  2023-04-03  dependabot[bot]  Bump actions/checkout from 3.3.0 to 3.5.0 (#141)

yaml_edit (https://github.com/dart-lang/yaml_edit/compare/fbc5cb3..386fd33):
  386fd33  2023-04-03  dependabot[bot]  Bump dart-lang/setup-dart from 1.4.0 to 1.5.0 (#49)

Change-Id: I986c83f657631813a32e360fbb90f42f7d43440a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/293280
Auto-Submit: Devon Carew <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
copybara-service bot pushed a commit that referenced this issue Jan 2, 2024
…ystem, json_rpc_2

Revisions updated by `dart tools/rev_sdk_deps.dart`.

benchmark_harness (https://github.com/dart-lang/benchmark_harness/compare/e59f675..a62e416):
  a62e416  2023-12-14  Kevin Moore  Require Dart 3.2, pub dependencies, cleanup analysis_options (#97)

cli_util (https://github.com/dart-lang/cli_util/compare/500dffa..e5b38ac):
  e5b38ac  2024-01-01  dependabot[bot]  Bump actions/stale from 8.0.0 to 9.0.0 (#96)
  91540ca  2023-12-20  Kevin Moore  blast_repo fixes (#95)
  1fd87c1  2023-12-15  Devon Carew  require dart 3.0; rev to 0.4.1 in prep for publishing (#93)

convert (https://github.com/dart-lang/convert/compare/3503170..f8a72d6):
  f8a72d6  2024-01-01  dependabot[bot]  Bump actions/stale from 8.0.0 to 9.0.0 (#98)
  e6b0558  2023-12-18  Kevin Moore  Enable and fix new lints (#97)
  39e5ca6  2023-12-18  Kevin Moore  blast_repo fixes (#96)

crypto (https://github.com/dart-lang/crypto/compare/f3e64d2..63e9a90):
  63e9a90  2024-01-01  dependabot[bot]  Bump actions/stale from 8.0.0 to 9.0.0 (#160)
  f2c79ed  2023-12-19  Kevin Moore  blast_repo fixes (#157)

csslib (https://github.com/dart-lang/csslib/compare/17346e5..1ad2d1e):
  1ad2d1e  2024-01-01  dependabot[bot]  Bump actions/stale from 8.0.0 to 9.0.0 (#195)
  1325d75  2023-12-18  Kevin Moore  blast_repo fixes (#193)

ecosystem (https://github.com/dart-lang/ecosystem/compare/ce707fb..dc44e82):
  dc44e82  2024-01-02  Moritz  Get needed version from API tool in health check (#213)
  55251b1  2024-01-02  Moritz  De-async health checks (#208)
  2587855  2024-01-01  dependabot[bot]  Bump peter-evans/create-or-update-comment (#211)
  0136c56  2024-01-01  dependabot[bot]  Bump actions/upload-artifact from 3.1.3 to 4.0.0 (#210)
  82f4b77  2024-01-01  dependabot[bot]  Bump actions/stale from 8.0.0 to 9.0.0 (#212)
  5e12e96  2024-01-01  dependabot[bot]  Bump actions/labeler from 4.3.0 to 5.0.0 (#209)
  5d594f4  2023-12-14  Kevin Moore  Require/support latest pkg:http (#207)
  b8679da  2023-12-07  Devon Carew  normalize sort order of package listing (#205)

json_rpc_2 (https://github.com/dart-lang/json_rpc_2/compare/460545c..ac1fabd):
  ac1fabd  2024-01-01  dependabot[bot]  Bump actions/stale from 8.0.0 to 9.0.0 (#108)

Change-Id: I83fa7042ac1970ae792110093bdcf8c0ec779fda
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/344260
Auto-Submit: Devon Carew <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
Reviewed-by: Konstantin Shcheglov <[email protected]>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.
Projects
None yet
Development

No branches or pull requests

3 participants