Post by Jan Mostert@William, I've wiped everything and changed my setup scripts;
something in Python is failing, I'm guessing unit tests?
Is there a specific version of Python I should be using? python --version
= Python 2.6.6
The error is: sdk/tests/co19/src (ERROR)
svn co http://src.chromium.org/svn/trunk/tools/depot_tools
export PATH=$PATH:`pwd`/depot_tools
git clone https://github.com/dart-lang/sdk.git -b stable
gclient sync --jobs=1 --verbose
solutions = [
{ "name" : "sdk",
"deps_file" : "DEPS",
"managed" : False,
"custom_deps" : {
},
"safesync_url": "",
},
]
cache_dir = None
sdk (Elapsed: 0:00:00)
----------------------------------------
[0:00:00] Started.
_____ sdk at refs/remotes/origin/master
[0:00:00] ________ unmanaged solution; skipping sdk
[0:00:00] Finished.
----------------------------------------
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone"
"--no-checkout" "--progress" "--verbose"
"https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
"/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048"' in
/home/jan/Apps/dart failed; will retry after a short nap...
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone"
"--no-checkout" "--progress" "--verbose"
"https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
"/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048"' in
/home/jan/Apps/dart failed; will retry after a short nap...
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone"
"--no-checkout" "--progress" "--verbose"
"https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
"/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048"' in
/home/jan/Apps/dart failed; will retry after a short nap...
WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone"
"--no-checkout" "--progress" "--verbose"
"https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
"/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048"' in
/home/jan/Apps/dart failed; will retry after a short nap...
sdk/tests/co19/src (ERROR)
----------------------------------------
[0:00:00] Started.
_____ sdk/tests/co19/src at ead3698f33d2cd41e75b6ce5d4a1203767cedd50
________ running 'git -c core.deltaBaseCacheLimit=2g clone
--no-checkout
--progress --verbose
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048' in
'/home/jan/Apps/dart'
[0:00:00] Unknown option: -c
[0:00:00] usage: git [--version] [--exec-path[=GIT_EXEC_PATH]]
[--html-path]
[0:00:00] [-p|--paginate|--no-pager] [--no-replace-objects]
[0:00:00] [--bare] [--git-dir=GIT_DIR]
[--work-tree=GIT_WORK_TREE]
[0:00:00] [--help] COMMAND [ARGS]
________ running 'git -c core.deltaBaseCacheLimit=2g clone
--no-checkout
--progress --verbose
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048' in
'/home/jan/Apps/dart'
[0:00:00] Unknown option: -c
[0:00:00] usage: git [--version] [--exec-path[=GIT_EXEC_PATH]]
[--html-path]
[0:00:00] [-p|--paginate|--no-pager] [--no-replace-objects]
[0:00:00] [--bare] [--git-dir=GIT_DIR]
[--work-tree=GIT_WORK_TREE]
[0:00:00] [--help] COMMAND [ARGS]
________ running 'git -c core.deltaBaseCacheLimit=2g clone
--no-checkout
--progress --verbose
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048' in
'/home/jan/Apps/dart'
[0:00:01] Unknown option: -c
[0:00:01] usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[0:00:01] [-p|--paginate|--no-pager] [--no-replace-objects]
[0:00:01] [--bare] [--git-dir=GIT_DIR]
[--work-tree=GIT_WORK_TREE]
[0:00:01] [--help] COMMAND [ARGS]
________ running 'git -c core.deltaBaseCacheLimit=2g clone
--no-checkout
--progress --verbose
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
/home/jan/Apps/dart/sdk/tests/co19/_gclient_src_EjN048' in
'/home/jan/Apps/dart'
[0:00:03] Unknown option: -c
[0:00:03] usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[0:00:03] [-p|--paginate|--no-pager] [--no-replace-objects]
[0:00:03] [--bare] [--git-dir=GIT_DIR]
[--work-tree=GIT_WORK_TREE]
[0:00:03] [--help] COMMAND [ARGS]
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 924, in
_Clone self._Run(clone_cmd, options, cwd=self._root_dir, retry=True)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 1209, in
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 293, in
CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 538, in
CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 37, in
__init__ super(CalledProcessError, self).__init__(returncode, cmd,
output=stdout)
TypeError: __init__() got an unexpected keyword argument 'output'
----------------------------------------
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2325, in
<module> sys.exit(main(sys.argv[1:]))
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2311, in main
return dispatcher.execute(OptionParser(), argv)
File "/home/jan/Apps/dart/depot_tools/subcommand.py", line 252, in
execute return command(parser, args[1:])
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2066, in CMDsync
ret = client.RunOnDeps('update', args)
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 1523, in
RunOnDeps work_queue.flush(revision_overrides, command, args,
options=self._options)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 896, in
flush self._run_one_task(self.queued.pop(i), args, kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 988, in
_run_one_task task_item.run(*args, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 834, in run
file_list)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 166, in
RunCommand return getattr(self, command)(options, args, file_list)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 418, in
update self._Clone(revision, url, options)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 924, in
_Clone self._Run(clone_cmd, options, cwd=self._root_dir, retry=True)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 1209, in
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 293, in
CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 538, in
CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 37, in
__init__ super(CalledProcessError, self).__init__(returncode, cmd,
output=stdout)
TypeError: __init__() got an unexpected keyword argument 'output'
--
Jan Vladimir Mostert
janvladimirmostert.com
On Mon, Jan 4, 2016 at 2:10 PM, 'William Hesse' via Dart Misc
I would not try and access the stable DEPS with this "blob" url, but
do a regular checkout of Dart, and then switch to the stable branch
with a git checkout command. Then, running gclient sync will use the
checked out DEPS, from the stable branch, and update everything. You
can try a -j1 on gclient sync to limit it to one git fetch at a time.
Since we have just removed the last SVN bits from the Dart checkout,
since the last stable version, I would suggest using bleeding-edge,
rather than stable, anyway. In this case, you wouldn't switch to the
stable branch and resync.
solutions = [
{ "name" : "sdk",
"deps_file" : "DEPS",
"managed" : False,
"custom_deps" : {
},
"safesync_url": "",
},
]
Post by Jan MostertHi, I'm trying to build dart sdk from source for ancient CentOS 6.5
Following these steps for version 1.2 of Dart, it worked flawlessly.
Post by Jan Mostertyum update
yum install subversion
yum install make
yum install g++
yum install openjdk-6-jdk
svn co http://src.chromium.org/svn/trunk/tools/depot_tools export
PATH=$PATH:`pwd`/depot_tools
gclient config
http://dart.googlecode.com/svn/branches/1.2/deps/all.deps
gclient sync
gclient runhooks
cd dart
tools/build.py --mode=release --arch=x64 create_sdk
dart/out/ReleaseX64/dart --version ## prints the dart version and some
other info
I changed it to use the DEPS from GitHub and changed out the gclient config
Post by Jan Mostertgclient config https://github.com/dart-lang/sdk/blob/stable/DEPS
gclient sync --jobs=1 --verbose
"https://github.com/dart-lang/sdk/blob/stable/DEPS", "deps_file" : "DEPS",
"",},]cache_dir =
None
Oh hai! You are using subversion. Chrome infra is eager to get rid of
svn
http://crbug.com/475320
If
https://code.google.com/p/chromium/issues/entry?template=Infra-Git
________ running 'svn checkout
https://github.com/dart-lang/sdk/blob/stable/DEPS
/home/jan/Apps/dart/DEPS
--ignore-externals' in '/home/jan/Apps/dart'
The sync part dies in various ways, I've tried about 10 times already
and it
either fails on timeouts or too many requests.
________ running 'svn checkout
https://github.com/dart-lang/sdk/blob/stable/DEPS
/home/jan/Apps/dart/DEPS
--ignore-externals' in '/home/jan/Apps/dart'
svn: Server sent unexpected return value (504 Gateway Timeout) in response
to OPTIONS request for
'https://github.com/dart-lang/sdk/blob/stable/DEPS'
svn: Server sent unexpected return value (429 Too Many Requests) in response
to OPTIONS request for
'https://github.com/dart-lang/sdk/blob/stable/DEPS'
Should I just keep on trying or is there a way to get gclient to make
less
requests or be a little more patient with its timeouts ?
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send
an
--
William Hesse
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to
http://www.dartbug.com/new
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
"Dart Misc" group.