Discussion:
[dart-misc] Building Dart SDK from source on CentOS 6.5
Jan Mostert
2016-01-04 11:14:13 UTC
Permalink
Hi, 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.

yum 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
and sync steps:

*gclient config https://github.com/dart-lang/sdk/blob/stable/DEPS
<https://github.com/dart-lang/sdk/blob/stable/DEPS>*
*gclient sync --jobs=1 --verbose*
Output:

solutions = [{ "name" : "DEPS", "url" : "
https://github.com/dart-lang/sdk/blob/stable/DEPS", "deps_file" : "DEPS",
"managed" : True, "custom_deps" : {},"safesync_url": "",},]cache_dir = None
Oh hai! You are using subversion. Chrome infra is eager to get rid of svn
support so please switch to git. Tracking bug: 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 email to misc+***@dartlang.org.
'William Hesse' via Dart Misc
2016-01-04 12:10:46 UTC
Permalink
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.

The solution in .gclient should be:

solutions = [
{ "name" : "sdk",
"url" : "***@github.com:dart-lang/sdk.git",
"deps_file" : "DEPS",
"managed" : False,
"custom_deps" : {
},
"safesync_url": "",
},
]
Post by Jan Mostert
Hi, 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 Mostert
yum 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 Mostert
gclient 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",
"managed" : True, "custom_deps" : {},"safesync_url": "",},]cache_dir = None
Oh hai! You are using subversion. Chrome infra is eager to get rid of svn
support so please switch to git. Tracking bug: 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 email to misc+***@dartlang.org.
Jan Mostert
2016-01-04 13:55:50 UTC
Permalink
@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)

New setup script:

svn co http://src.chromium.org/svn/trunk/tools/depot_tools
Post by k***@gmail.com
export PATH=$PATH:`pwd`/depot_tools
git clone https://github.com/dart-lang/sdk.git -b stable
gclient sync --jobs=1 --verbose
*Output:*

solutions = [
{ "name" : "sdk",
"url" : "***@github.com:dart-lang/sdk.git",
"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]
Traceback (most recent call last):
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'
----------------------------------------
Traceback (most recent call last):
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 <
Post by k***@gmail.com
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 Mostert
Hi, 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 Mostert
yum 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
Post by Jan Mostert
Post by Jan Mostert
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 Mostert
Post by Jan Mostert
gclient config https://github.com/dart-lang/sdk/blob/stable/DEPS
gclient sync --jobs=1 --verbose
"DEPS",
Post by Jan Mostert
Post by Jan Mostert
"managed" : True, "custom_deps" : {},"safesync_url": "",},]cache_dir =
None
Post by Jan Mostert
Post by Jan Mostert
Oh hai! You are using subversion. Chrome infra is eager to get rid of
svn
Post by Jan Mostert
Post by Jan Mostert
support so please switch to git. Tracking bug: http://crbug.com/475320
If
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by Jan Mostert
--ignore-externals' in '/home/jan/Apps/dart'
The sync part dies in various ways, I've tried about 10 times already
and it
Post by Jan Mostert
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
Post by Jan Mostert
--ignore-externals' in '/home/jan/Apps/dart'
svn: Server sent unexpected return value (504 Gateway Timeout) in
response
Post by Jan Mostert
to OPTIONS request for '
https://github.com/dart-lang/sdk/blob/stable/DEPS'
Post by Jan Mostert
svn: Server sent unexpected return value (429 Too Many Requests) in
response
Post by Jan Mostert
to OPTIONS request for '
https://github.com/dart-lang/sdk/blob/stable/DEPS'
Post by Jan Mostert
Should I just keep on trying or is there a way to get gclient to make
less
Post by Jan Mostert
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
Post by Jan Mostert
---
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 email to misc+***@dartlang.org.
Kao peter
2016-01-04 14:25:18 UTC
Permalink
I think python 2.7 is necessary to build dart sdk,
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
Post by k***@gmail.com
export PATH=$PATH:`pwd`/depot_tools
git clone https://github.com/dart-lang/sdk.git -b stable
gclient sync --jobs=1 --verbose
*Output:*
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 <
Post by k***@gmail.com
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 Mostert
Hi, 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 Mostert
yum 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
Post by Jan Mostert
Post by Jan Mostert
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 Mostert
Post by Jan Mostert
gclient config https://github.com/dart-lang/sdk/blob/stable/DEPS
gclient sync --jobs=1 --verbose
"DEPS",
Post by Jan Mostert
Post by Jan Mostert
"managed" : True, "custom_deps" : {},"safesync_url": "",},]cache_dir =
None
Post by Jan Mostert
Post by Jan Mostert
Oh hai! You are using subversion. Chrome infra is eager to get rid of
svn
Post by Jan Mostert
Post by Jan Mostert
support so please switch to git. Tracking bug: http://crbug.com/475320
If
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by Jan Mostert
--ignore-externals' in '/home/jan/Apps/dart'
The sync part dies in various ways, I've tried about 10 times already
and it
Post by Jan Mostert
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
Post by Jan Mostert
--ignore-externals' in '/home/jan/Apps/dart'
svn: Server sent unexpected return value (504 Gateway Timeout) in
response
Post by Jan Mostert
to OPTIONS request for '
https://github.com/dart-lang/sdk/blob/stable/DEPS'
Post by Jan Mostert
svn: Server sent unexpected return value (429 Too Many Requests) in
response
Post by Jan Mostert
to OPTIONS request for '
https://github.com/dart-lang/sdk/blob/stable/DEPS'
Post by Jan Mostert
Should I just keep on trying or is there a way to get gclient to make
less
Post by Jan Mostert
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
Post by Jan Mostert
---
You received this message because you are subscribed to the Google
Groups
Post by Jan Mostert
"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
--
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 email to misc+***@dartlang.org.
Jan Mostert
2016-01-04 15:13:00 UTC
Permalink
Thanks @KaoPeter, just installed python 2.7.10 from source to make sure
it's not a Python issue and
now using depot_tools from git to make sure that depot_tools via svn is not
outdated

python --version => Python 2.7.10
gclient --version => gclient.py 0.7

$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ export PATH=$PATH:`pwd`/depot_tools
$ git clone https://github.com/dart-lang/sdk.git -b stable
$ gclient sync --jobs=1 --verbose
Don't know if I should consider this as progress?

As soon as I run:
*gclient config --name=sdk --unmanaged ***@github.com:dart-lang/sdk.git*

depot_tools update failed. Conflict in /home/jan/Apps/dart/depot_tools
cannot rebase: you have unstaged changes
M update_depot_tools.bat
M win_toolchain/7z/LICENSE
so I attempt to fix it:

$cd depot_tools
$ git add update_depot_tools.bat
$ git add win_toolchain/7z/LICENSE
$ git commit -m "meh"
$ cd ..
re-running the gclient config command and it's no longer complaining about
the conflict.

$* gclient sync --jobs=1 --verbose*


and I get another error also related to co19:

solutions = [

{ "name" : "sdk",

"url" : "***@github.com:dart-lang/sdk.git",

"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_SDQJGW"' 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_SDQJGW"' 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_SDQJGW"' 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_SDQJGW"' 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_SDQJGW' 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_SDQJGW' 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_SDQJGW' 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_SDQJGW' 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]
Traceback (most recent call last):
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)
CalledProcessError: Command '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_SDQJGW' returned non-zero
exit status 129 in /home/jan/Apps/dart
[0:00:07] _____ Conflicting directory found in
/home/jan/Apps/dart/sdk/tests/co19/src. Moving to
/home/jan/Apps/dart/_bad_scm/sdk/tests/co19/srctvcme5.
----------------------------------------


Warnings:
Conflicting directory /home/jan/Apps/dart/sdk/tests/co19/src moved to
/home/jan/Apps/dart/_bad_scm/sdk/tests/co19/srctvcme5.
Traceback (most recent call last):
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 420, in
update self._DeleteOrMove(options.force)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 240, in
_DeleteOrMove shutil.move(self.checkout_path, dest_path)
File "/usr/local/lib/python2.7/shutil.py", line 302, in move copy2(src,
real_dst)
File "/usr/local/lib/python2.7/shutil.py", line 130, in copy2
copyfile(src, dst)
File "/usr/local/lib/python2.7/shutil.py", line 82, in copyfile with
open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/home/jan/Apps/dart/sdk/tests/co19/src'



How do I get further from here?
--
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 email to misc+***@dartlang.org.
'William Hesse' via Dart Misc
2016-01-04 15:14:32 UTC
Permalink
It looks like your version of git is too old. Older versions don't
support the -c option:

https://github.com/FredrikNoren/ungit/issues/146
Post by Kao peter
I think python 2.7 is necessary to build dart sdk,
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 Mostert
Hi, 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 Mostert
yum 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 Mostert
gclient 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",
"managed" : True, "custom_deps" : {},"safesync_url": "",},]cache_dir = None
Oh hai! You are using subversion. Chrome infra is eager to get rid of svn
support so please switch to git. Tracking bug: 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
--
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 email to misc+***@dartlang.org.
Jan Mostert
2016-01-04 16:06:16 UTC
Permalink
Removed git and built from source, git --version => git version 2.0.5
Wiped the whole directory clean and did a clean checkout of the sdk as well
as depot_tools and started from the beginning.

After quite a bit of waiting, it's now failing on sdk/third_party/7zip:

.....
[0:00:02] = [up to date] lukechurch_v1_10_1_upstream ->
origin/lukechurch_v1_10_1_upstream
[0:00:02] = [up to date] master -> origin/master
[0:00:02] = [up to date] null_aware -> origin/null_aware
[0:00:02] = [up to date] summarizer -> origin/summarizer
[0:00:02] = [up to date] upgrade_1.13.0 -> origin/upgrade_1.13.0
[0:00:02] = [up to date] v-191-e -> origin/v-191-e
[0:00:02] = [up to date] v1_11_0-prod-test -> origin/v1_11_0-prod-test
[0:00:02] Up-to-date; skipping checkout.
Checked out revision 7aea2574e6f3924bf409a80afb8ad52aa2be4f97
[0:00:02] Finished.
----------------------------------------

*sdk/third_party/7zip (ERROR)*
----------------------------------------
[0:00:00] Started.
----------------------------------------
Traceback (most recent call last):
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 1024, in
run self.item.run(*self.args, **self.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 1321, in
update if scm.GIT.IsGitSvn(self.checkout_path):
File "/home/jan/Apps/dart/depot_tools/scm.py", line 193, in IsGitSvn
cwd=cwd)
File "/home/jan/Apps/dart/depot_tools/scm.py", line 121, in Capture
cwd=cwd, stderr=subprocess2.PIPE, env=env, **kwargs)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 524, in
check_output return check_call_out(args, stdout=PIPE, **kwargs)[0]
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 487, in
check_call_out returncode, args, kwargs.get('cwd'), out[0], out[1])
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'

Checking what's in the 7zip dir, I'm seeing an exe file ...

ls -lah sdk/third_party/7zip/

-rwxrwxr-x 1 jan jan 574K Jan 4 17:39 7za.exe
-rwxrwxr-x 1 jan jan 1.2K Jan 4 17:39 license.txt
-rwxrwxr-x 1 jan jan 1.3K Jan 4 17:39 readme.txt
drwxrwxr-x 6 jan jan 4.0K Jan 4 17:39 .svn

Feels like I'm close, what else am I missing?









--
Jan Vladimir Mostert
janvladimirmostert.com


On Mon, Jan 4, 2016 at 5:14 PM, 'William Hesse' via Dart Misc <
Post by 'William Hesse' via Dart Misc
It looks like your version of git is too old. Older versions don't
https://github.com/FredrikNoren/ungit/issues/146
Post by Kao peter
I think python 2.7 is necessary to build dart sdk,
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
Post by Kao peter
Post by Jan Mostert
= 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"
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Kao peter
Post by Jan Mostert
"/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
Post by Kao peter
Post by Jan Mostert
/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
Post by Kao peter
Post by Jan Mostert
/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
Post by Kao peter
Post by Jan Mostert
/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
Post by Kao peter
Post by Jan Mostert
/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
Post by Kao peter
Post by Jan Mostert
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 Mostert
Hi, 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 Mostert
yum 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
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
other info
I changed it to use the DEPS from GitHub and changed out the gclient config
Post by Jan Mostert
gclient 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 =
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
None
Oh hai! You are using subversion. Chrome infra is eager to get rid
of
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
svn
http://crbug.com/475320
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
If
you are a project owner, you may request git migration assistance
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
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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
Post by Kao peter
Post by Jan Mostert
---
You received this message because you are subscribed to the Google
Groups
Post by Kao peter
Post by Jan Mostert
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Kao peter
Post by Jan Mostert
--
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
Post by Kao peter
Post by Jan Mostert
---
You received this message because you are subscribed to the Google
Groups
Post by Kao peter
Post by Jan Mostert
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Kao peter
--
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
Post by Kao peter
---
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 email to misc+***@dartlang.org.
'William Hesse' via Dart Misc
2016-01-04 16:23:10 UTC
Permalink
A previous issue claimed that a python that was too old was causing
the issue: https://github.com/dart-lang/sdk/issues/21125

But it claimed that python 2.7.7 fixed it, and you have python 2.7.10.
Could you check your python version, and make sure the new one is in
the path? Try and find the subprocess module, in your python, and
check that CalledProcessError.__init__ has an argument called output.
Maybe your modules, like subprocess, didn't get updated with your python build.

Searching the Internet for the error in your stack trace found most of
this information.
Post by Jan Mostert
Removed git and built from source, git --version => git version 2.0.5
Wiped the whole directory clean and did a clean checkout of the sdk as well
as depot_tools and started from the beginning.
.....
[0:00:02] = [up to date] lukechurch_v1_10_1_upstream ->
origin/lukechurch_v1_10_1_upstream
[0:00:02] = [up to date] master -> origin/master
[0:00:02] = [up to date] null_aware -> origin/null_aware
[0:00:02] = [up to date] summarizer -> origin/summarizer
[0:00:02] = [up to date] upgrade_1.13.0 -> origin/upgrade_1.13.0
[0:00:02] = [up to date] v-191-e -> origin/v-191-e
[0:00:02] = [up to date] v1_11_0-prod-test -> origin/v1_11_0-prod-test
[0:00:02] Up-to-date; skipping checkout.
Checked out revision 7aea2574e6f3924bf409a80afb8ad52aa2be4f97
[0:00:02] Finished.
----------------------------------------
sdk/third_party/7zip (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
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 1024, in run
self.item.run(*self.args, **self.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 1321, in
File "/home/jan/Apps/dart/depot_tools/scm.py", line 193, in IsGitSvn
cwd=cwd)
File "/home/jan/Apps/dart/depot_tools/scm.py", line 121, in Capture
cwd=cwd, stderr=subprocess2.PIPE, env=env, **kwargs)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 524, in
check_output return check_call_out(args, stdout=PIPE, **kwargs)[0]
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 487, in
check_call_out returncode, args, kwargs.get('cwd'), out[0], out[1])
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'
Checking what's in the 7zip dir, I'm seeing an exe file ...
ls -lah sdk/third_party/7zip/
-rwxrwxr-x 1 jan jan 574K Jan 4 17:39 7za.exe
-rwxrwxr-x 1 jan jan 1.2K Jan 4 17:39 license.txt
-rwxrwxr-x 1 jan jan 1.3K Jan 4 17:39 readme.txt
drwxrwxr-x 6 jan jan 4.0K Jan 4 17:39 .svn
Feels like I'm close, what else am I missing?
--
Jan Vladimir Mostert
janvladimirmostert.com
On Mon, Jan 4, 2016 at 5:14 PM, 'William Hesse' via Dart Misc
Post by 'William Hesse' via Dart Misc
It looks like your version of git is too old. Older versions don't
https://github.com/FredrikNoren/ungit/issues/146
Post by Kao peter
I think python 2.7 is necessary to build dart sdk,
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 Mostert
Hi, 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 Mostert
yum 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 Mostert
gclient 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
--
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
--
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 email to misc+***@dartlang.org.
Jan Mostert
2016-01-05 10:56:42 UTC
Permalink
Hi William, I appreciate the help!
Until now I didn't know anyone else also tried to get it up and running on
older versions of CentOS,
the only search result I've been getting was my old December 2014 post on
StackOverflow and many outdated walk-throughs.

GCC is what is still standing in my way, build fails due to having version
4.4.7
Can't upgrade GCC on the server as it will break other legacy software
depending on 4.4.7.

Is it possible to build Dart on let's say a Google Compute Engine instance
that has the latest CentOS with latest everything
including GCC and then simply download the SDK, will that be a valid
working Dart SDK?

Kind Regards
Jan








--
Jan Vladimir Mostert
janvladimirmostert.com


On Mon, Jan 4, 2016 at 6:23 PM, 'William Hesse' via Dart Misc <
Post by 'William Hesse' via Dart Misc
A previous issue claimed that a python that was too old was causing
the issue: https://github.com/dart-lang/sdk/issues/21125
But it claimed that python 2.7.7 fixed it, and you have python 2.7.10.
Could you check your python version, and make sure the new one is in
the path? Try and find the subprocess module, in your python, and
check that CalledProcessError.__init__ has an argument called output.
Maybe your modules, like subprocess, didn't get updated with your python build.
Searching the Internet for the error in your stack trace found most of
this information.
Post by Jan Mostert
Removed git and built from source, git --version => git version 2.0.5
Wiped the whole directory clean and did a clean checkout of the sdk as
well
Post by Jan Mostert
as depot_tools and started from the beginning.
.....
[0:00:02] = [up to date] lukechurch_v1_10_1_upstream ->
origin/lukechurch_v1_10_1_upstream
[0:00:02] = [up to date] master -> origin/master
[0:00:02] = [up to date] null_aware -> origin/null_aware
[0:00:02] = [up to date] summarizer -> origin/summarizer
[0:00:02] = [up to date] upgrade_1.13.0 -> origin/upgrade_1.13.0
[0:00:02] = [up to date] v-191-e -> origin/v-191-e
[0:00:02] = [up to date] v1_11_0-prod-test ->
origin/v1_11_0-prod-test
Post by Jan Mostert
[0:00:02] Up-to-date; skipping checkout.
Checked out revision 7aea2574e6f3924bf409a80afb8ad52aa2be4f97
[0:00:02] Finished.
----------------------------------------
sdk/third_party/7zip (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2325, in
<module>
Post by Jan Mostert
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
Post by Jan Mostert
return command(parser, args[1:])
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2066, in
CMDsync
Post by Jan Mostert
ret = client.RunOnDeps('update', args)
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 1523, in
RunOnDeps
Post by Jan Mostert
work_queue.flush(revision_overrides, command, args,
options=self._options)
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 1024, in
run
Post by Jan Mostert
self.item.run(*self.args, **self.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 1321, in
File "/home/jan/Apps/dart/depot_tools/scm.py", line 193, in IsGitSvn
cwd=cwd)
File "/home/jan/Apps/dart/depot_tools/scm.py", line 121, in Capture
cwd=cwd, stderr=subprocess2.PIPE, env=env, **kwargs)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 524, in
check_output return check_call_out(args, stdout=PIPE, **kwargs)[0]
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 487, in
check_call_out returncode, args, kwargs.get('cwd'), out[0], out[1])
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'
Checking what's in the 7zip dir, I'm seeing an exe file ...
ls -lah sdk/third_party/7zip/
-rwxrwxr-x 1 jan jan 574K Jan 4 17:39 7za.exe
-rwxrwxr-x 1 jan jan 1.2K Jan 4 17:39 license.txt
-rwxrwxr-x 1 jan jan 1.3K Jan 4 17:39 readme.txt
drwxrwxr-x 6 jan jan 4.0K Jan 4 17:39 .svn
Feels like I'm close, what else am I missing?
--
Jan Vladimir Mostert
janvladimirmostert.com
On Mon, Jan 4, 2016 at 5:14 PM, 'William Hesse' via Dart Misc
Post by 'William Hesse' via Dart Misc
It looks like your version of git is too old. Older versions don't
https://github.com/FredrikNoren/ungit/issues/146
Post by Kao peter
I think python 2.7 is necessary to build dart sdk,
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
dart-lang/sdk.git
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 293,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 538,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
flush self._run_one_task(self.queued.pop(i), args, kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 988,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 293,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilterAndHeader return CheckCallAndFilter(args, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 538,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
checked out DEPS, from the stable branch, and update everything.
You
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
can try a -j1 on gclient sync to limit it to one git fetch at a
time.
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
stable branch and resync.
solutions = [
{ "name" : "sdk",
"deps_file" : "DEPS",
"managed" : False,
"custom_deps" : {
},
"safesync_url": "",
},
]
Post by Jan Mostert
Hi, I'm trying to build dart sdk from source for ancient CentOS
6.5
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Following these steps for version 1.2 of Dart, it worked
flawlessly.
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
yum 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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
config
Post by Jan Mostert
gclient 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",
"",},]cache_dir =
None
Oh hai! You are using subversion. Chrome infra is eager to get
rid
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
of
svn
http://crbug.com/475320
If
https://code.google.com/p/chromium/issues/entry?template=Infra-Git
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
________ 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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
--
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
---
You received this message because you are subscribed to the Google
Groups
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Jan Mostert
--
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
Post by Jan Mostert
---
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 email to misc+***@dartlang.org.
'Rico Wind' via Dart Misc
2016-01-05 11:13:19 UTC
Permalink
That may not work, if libc versions are incompatible

Can't you have two gcc installations side by side?

Cheers,
Rico
Post by Jan Mostert
Hi William, I appreciate the help!
Until now I didn't know anyone else also tried to get it up and running on
older versions of CentOS,
the only search result I've been getting was my old December 2014 post on
StackOverflow and many outdated walk-throughs.
GCC is what is still standing in my way, build fails due to having version
4.4.7
Can't upgrade GCC on the server as it will break other legacy software
depending on 4.4.7.
Is it possible to build Dart on let's say a Google Compute Engine instance
that has the latest CentOS with latest everything
including GCC and then simply download the SDK, will that be a valid
working Dart SDK?
Kind Regards
Jan
--
Jan Vladimir Mostert
janvladimirmostert.com
On Mon, Jan 4, 2016 at 6:23 PM, 'William Hesse' via Dart Misc <
Post by 'William Hesse' via Dart Misc
A previous issue claimed that a python that was too old was causing
the issue: https://github.com/dart-lang/sdk/issues/21125
But it claimed that python 2.7.7 fixed it, and you have python 2.7.10.
Could you check your python version, and make sure the new one is in
the path? Try and find the subprocess module, in your python, and
check that CalledProcessError.__init__ has an argument called output.
Maybe your modules, like subprocess, didn't get updated with your python build.
Searching the Internet for the error in your stack trace found most of
this information.
Post by Jan Mostert
Removed git and built from source, git --version => git version 2.0.5
Wiped the whole directory clean and did a clean checkout of the sdk as
well
Post by Jan Mostert
as depot_tools and started from the beginning.
.....
[0:00:02] = [up to date] lukechurch_v1_10_1_upstream ->
origin/lukechurch_v1_10_1_upstream
[0:00:02] = [up to date] master -> origin/master
[0:00:02] = [up to date] null_aware -> origin/null_aware
[0:00:02] = [up to date] summarizer -> origin/summarizer
[0:00:02] = [up to date] upgrade_1.13.0 -> origin/upgrade_1.13.0
[0:00:02] = [up to date] v-191-e -> origin/v-191-e
[0:00:02] = [up to date] v1_11_0-prod-test ->
origin/v1_11_0-prod-test
Post by Jan Mostert
[0:00:02] Up-to-date; skipping checkout.
Checked out revision 7aea2574e6f3924bf409a80afb8ad52aa2be4f97
[0:00:02] Finished.
----------------------------------------
sdk/third_party/7zip (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2325, in
<module>
Post by Jan Mostert
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
Post by Jan Mostert
return command(parser, args[1:])
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2066, in
CMDsync
Post by Jan Mostert
ret = client.RunOnDeps('update', args)
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 1523, in
RunOnDeps
Post by Jan Mostert
work_queue.flush(revision_overrides, command, args,
options=self._options)
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 1024,
in run
Post by Jan Mostert
self.item.run(*self.args, **self.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 1321, in
File "/home/jan/Apps/dart/depot_tools/scm.py", line 193, in IsGitSvn
cwd=cwd)
File "/home/jan/Apps/dart/depot_tools/scm.py", line 121, in Capture
cwd=cwd, stderr=subprocess2.PIPE, env=env, **kwargs)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 524, in
check_output return check_call_out(args, stdout=PIPE, **kwargs)[0]
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 487, in
check_call_out returncode, args, kwargs.get('cwd'), out[0], out[1])
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'
Checking what's in the 7zip dir, I'm seeing an exe file ...
ls -lah sdk/third_party/7zip/
-rwxrwxr-x 1 jan jan 574K Jan 4 17:39 7za.exe
-rwxrwxr-x 1 jan jan 1.2K Jan 4 17:39 license.txt
-rwxrwxr-x 1 jan jan 1.3K Jan 4 17:39 readme.txt
drwxrwxr-x 6 jan jan 4.0K Jan 4 17:39 .svn
Feels like I'm close, what else am I missing?
--
Jan Vladimir Mostert
janvladimirmostert.com
On Mon, Jan 4, 2016 at 5:14 PM, 'William Hesse' via Dart Misc
Post by 'William Hesse' via Dart Misc
It looks like your version of git is too old. Older versions don't
https://github.com/FredrikNoren/ungit/issues/146
Post by Kao peter
I think python 2.7 is necessary to build dart sdk,
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
dart-lang/sdk.git
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
293, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilterAndHeader return CheckCallAndFilter(args,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
538, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
flush self._run_one_task(self.queued.pop(i), args, kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
988, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_run_one_task task_item.run(*args, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 834, in
run
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
file_list)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 166,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
RunCommand return getattr(self, command)(options, args, file_list)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 418,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
update self._Clone(revision, url, options)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 924,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
293, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilterAndHeader return CheckCallAndFilter(args,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
538, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
checked out DEPS, from the stable branch, and update everything.
You
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
can try a -j1 on gclient sync to limit it to one git fetch at a
time.
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Since we have just removed the last SVN bits from the Dart
checkout,
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
since the last stable version, I would suggest using bleeding-edge,
rather than stable, anyway. In this case, you wouldn't switch to
the
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
stable branch and resync.
solutions = [
{ "name" : "sdk",
"deps_file" : "DEPS",
"managed" : False,
"custom_deps" : {
},
"safesync_url": "",
},
]
On Mon, Jan 4, 2016 at 12:14 PM, Jan Mostert <
Post by Jan Mostert
Hi, I'm trying to build dart sdk from source for ancient CentOS
6.5
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Following these steps for version 1.2 of Dart, it worked
flawlessly.
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
yum 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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
some
other info
I changed it to use the DEPS from GitHub and changed out the
gclient
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
config
Post by Jan Mostert
gclient config
https://github.com/dart-lang/sdk/blob/stable/DEPS
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
gclient sync --jobs=1 --verbose
"https://github.com/dart-lang/sdk/blob/stable/DEPS",
"DEPS",
"",},]cache_dir =
None
Oh hai! You are using subversion. Chrome infra is eager to get
rid
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
of
svn
http://crbug.com/475320
If
you are a project owner, you may request git migration
assistance
https://code.google.com/p/chromium/issues/entry?template=Infra-Git
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
________ 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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
an
--
For other discussions, see
https://groups.google.com/a/dartlang.org/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
---
You received this message because you are subscribed to the Google
Groups
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send
an
Post by Jan Mostert
--
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
Post by Jan Mostert
---
You received this message because you are subscribed to the Google
Groups
Post by Jan Mostert
"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
--
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 email to misc+***@dartlang.org.
Jan Mostert
2016-01-05 11:17:11 UTC
Permalink
I don't know, I'm busy figuring out if that's possible, already downloaded:
https://ftp.gnu.org/gnu/gcc/gcc-5.3.0/
Busy reading on how to set it up.

Also trying to build it on GCE and see if that works for me, seems like the
easier option if it actually works.




--
Jan Vladimir Mostert
janvladimirmostert.com
Post by 'Rico Wind' via Dart Misc
That may not work, if libc versions are incompatible
Can't you have two gcc installations side by side?
Cheers,
Rico
Post by Jan Mostert
Hi William, I appreciate the help!
Until now I didn't know anyone else also tried to get it up and running
on older versions of CentOS,
the only search result I've been getting was my old December 2014 post on
StackOverflow and many outdated walk-throughs.
GCC is what is still standing in my way, build fails due to having
version 4.4.7
Can't upgrade GCC on the server as it will break other legacy software
depending on 4.4.7.
Is it possible to build Dart on let's say a Google Compute Engine
instance that has the latest CentOS with latest everything
including GCC and then simply download the SDK, will that be a valid
working Dart SDK?
Kind Regards
Jan
--
Jan Vladimir Mostert
janvladimirmostert.com
On Mon, Jan 4, 2016 at 6:23 PM, 'William Hesse' via Dart Misc <
Post by 'William Hesse' via Dart Misc
A previous issue claimed that a python that was too old was causing
the issue: https://github.com/dart-lang/sdk/issues/21125
But it claimed that python 2.7.7 fixed it, and you have python 2.7.10.
Could you check your python version, and make sure the new one is in
the path? Try and find the subprocess module, in your python, and
check that CalledProcessError.__init__ has an argument called output.
Maybe your modules, like subprocess, didn't get updated with your python build.
Searching the Internet for the error in your stack trace found most of
this information.
Post by Jan Mostert
Removed git and built from source, git --version => git version 2.0.5
Wiped the whole directory clean and did a clean checkout of the sdk as
well
Post by Jan Mostert
as depot_tools and started from the beginning.
.....
[0:00:02] = [up to date] lukechurch_v1_10_1_upstream ->
origin/lukechurch_v1_10_1_upstream
[0:00:02] = [up to date] master -> origin/master
[0:00:02] = [up to date] null_aware -> origin/null_aware
[0:00:02] = [up to date] summarizer -> origin/summarizer
[0:00:02] = [up to date] upgrade_1.13.0 -> origin/upgrade_1.13.0
[0:00:02] = [up to date] v-191-e -> origin/v-191-e
[0:00:02] = [up to date] v1_11_0-prod-test ->
origin/v1_11_0-prod-test
Post by Jan Mostert
[0:00:02] Up-to-date; skipping checkout.
Checked out revision 7aea2574e6f3924bf409a80afb8ad52aa2be4f97
[0:00:02] Finished.
----------------------------------------
sdk/third_party/7zip (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2325, in
<module>
Post by Jan Mostert
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
Post by Jan Mostert
return command(parser, args[1:])
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 2066, in
CMDsync
Post by Jan Mostert
ret = client.RunOnDeps('update', args)
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 1523, in
RunOnDeps
Post by Jan Mostert
work_queue.flush(revision_overrides, command, args,
options=self._options)
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line 1024,
in run
Post by Jan Mostert
self.item.run(*self.args, **self.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 1321, in
File "/home/jan/Apps/dart/depot_tools/scm.py", line 193, in IsGitSvn
cwd=cwd)
File "/home/jan/Apps/dart/depot_tools/scm.py", line 121, in Capture
cwd=cwd, stderr=subprocess2.PIPE, env=env, **kwargs)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 524, in
check_output return check_call_out(args, stdout=PIPE, **kwargs)[0]
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 487, in
check_call_out returncode, args, kwargs.get('cwd'), out[0], out[1])
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'
Checking what's in the 7zip dir, I'm seeing an exe file ...
ls -lah sdk/third_party/7zip/
-rwxrwxr-x 1 jan jan 574K Jan 4 17:39 7za.exe
-rwxrwxr-x 1 jan jan 1.2K Jan 4 17:39 license.txt
-rwxrwxr-x 1 jan jan 1.3K Jan 4 17:39 readme.txt
drwxrwxr-x 6 jan jan 4.0K Jan 4 17:39 .svn
Feels like I'm close, what else am I missing?
--
Jan Vladimir Mostert
janvladimirmostert.com
On Mon, Jan 4, 2016 at 5:14 PM, 'William Hesse' via Dart Misc
Post by 'William Hesse' via Dart Misc
It looks like your version of git is too old. Older versions don't
https://github.com/FredrikNoren/ungit/issues/146
Post by Kao peter
I think python 2.7 is necessary to build dart sdk,
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
dart-lang/sdk.git
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"--no-checkout" "--progress" "--verbose"
"
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
"
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
"/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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout
--progress --verbose
https://chromium.googlesource.com/external/github.com/dart-lang/co19.git
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
/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]
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
[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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Clone self._Run(clone_cmd, options, cwd=self._root_dir,
retry=True)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line
1209, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
293, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilterAndHeader return CheckCallAndFilter(args,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
538, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 37,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
__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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
return dispatcher.execute(OptionParser(), argv)
File "/home/jan/Apps/dart/depot_tools/subcommand.py", line 252,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
flush self._run_one_task(self.queued.pop(i), args, kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
988, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_run_one_task task_item.run(*args, **kwargs)
File "/home/jan/Apps/dart/depot_tools/gclient.py", line 834, in
run
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
file_list)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 166,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
RunCommand return getattr(self, command)(options, args, file_list)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 418,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
update self._Clone(revision, url, options)
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line 924,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Clone self._Run(clone_cmd, options, cwd=self._root_dir,
retry=True)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_scm.py", line
1209, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
_Run gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
293, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilterAndHeader return CheckCallAndFilter(args,
**kwargs)
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
File "/home/jan/Apps/dart/depot_tools/gclient_utils.py", line
538, in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
CheckCallAndFilter rv, args, kwargs.get('cwd', None), None, None)
File "/home/jan/Apps/dart/depot_tools/subprocess2.py", line 37,
in
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
__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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
do a regular checkout of Dart, and then switch to the stable
branch
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
with a git checkout command. Then, running gclient sync will use
the
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
checked out DEPS, from the stable branch, and update everything.
You
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
can try a -j1 on gclient sync to limit it to one git fetch at a
time.
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Since we have just removed the last SVN bits from the Dart
checkout,
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
since the last stable version, I would suggest using
bleeding-edge,
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
rather than stable, anyway. In this case, you wouldn't switch to
the
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
stable branch and resync.
solutions = [
{ "name" : "sdk",
"deps_file" : "DEPS",
"managed" : False,
"custom_deps" : {
},
"safesync_url": "",
},
]
On Mon, Jan 4, 2016 at 12:14 PM, Jan Mostert <
Post by Jan Mostert
Hi, I'm trying to build dart sdk from source for ancient CentOS
6.5
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Following these steps for version 1.2 of Dart, it worked
flawlessly.
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
yum 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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
some
other info
I changed it to use the DEPS from GitHub and changed out the
gclient
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
config
Post by Jan Mostert
gclient config
https://github.com/dart-lang/sdk/blob/stable/DEPS
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
gclient sync --jobs=1 --verbose
"https://github.com/dart-lang/sdk/blob/stable/DEPS",
"DEPS",
"",},]cache_dir =
None
Oh hai! You are using subversion. Chrome infra is eager to get
rid
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
of
svn
http://crbug.com/475320
If
you are a project owner, you may request git migration
assistance
https://code.google.com/p/chromium/issues/entry?template=Infra-Git
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Post by Jan Mostert
________ 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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from
it,
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
Post by Jan Mostert
send
an
--
William Hesse
--
For other discussions, see
https://groups.google.com/a/dartlang.org/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
an
--
For other discussions, see
https://groups.google.com/a/dartlang.org/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
Post by Jan Mostert
an
--
For other discussions, see
https://groups.google.com/a/dartlang.org/
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
Post by Kao peter
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
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
---
You received this message because you are subscribed to the Google
Groups
Post by Jan Mostert
Post by 'William Hesse' via Dart Misc
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it,
send an
Post by Jan Mostert
--
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
Post by Jan Mostert
---
You received this message because you are subscribed to the Google
Groups
Post by Jan Mostert
"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
--
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
--
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 email to misc+***@dartlang.org.
k***@gmail.com
2016-01-04 12:12:56 UTC
Permalink
<html><head></head><body lang="zh-CN" style="background-color: rgb(255, 255, 255); line-height: initial;"> <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">‎Maybe this &nbsp;note can help you.&nbsp;https://github.com/cjkao/dart-sdk-cent-os-6</div> <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div> <div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div> <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"> <div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;"> <div><b>寄件者: </b>Jan Mostert</div><div><b>已傳送: </b>2016年1月4日星期一 19:14</div><div><b>收件者: </b>General Dart Discussion</div><div><b>回覆至: </b>***@dartlang.org</div><div><b>主旨: </b>[dart-misc] Building Dart SDK from source on CentOS 6.5</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div><br><div id="_originalContent" style=""><div dir="ltr">Hi, I'm trying to build dart sdk from source for ancient CentOS 6.5<div><br></div><div>Following these steps for version 1.2 of Dart, it worked flawlessly.</div><div><br></div><div><span><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex" class="gmail_quote"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">yum update<br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">yum install subversion <br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">yum install make <br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">yum install g++ <br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">yum install openjdk-6-jdk</span><span><br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">svn co <a href="http://src.chromium.org/svn/trunk/tools/depot_tools" target="_blank">http://src.chromium.org/svn/trunk/tools/depot_tools</a> export PATH=$PATH:`pwd`/depot_tools</span><span><br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">gclient config <a href="http://dart.googlecode.com/svn/branches/1.2/deps/all.deps" target="_blank">http://dart.googlecode.com/svn/branches/1.2/deps/all.deps</a> <br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">gclient sync <br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">gclient runhooks</span><span><br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">cd dart<br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">tools/build.py --mode=release --arch=x64 create_sdk<br></span><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">dart/out/ReleaseX64/dart --version ## prints the dart version and some other info</span></blockquote><div><br></div><div>I changed it to use the DEPS from GitHub and changed out the gclient config and sync steps:</div><div><br></div></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span id="docs-internal-guid-039d2b8a-0c4e-e660-a973-43786cfc2e4b"><span id="docs-internal-guid-039d2b8a-0c4f-1bc5-0254-f70b34295d82"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><b><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">gclient config </span><a href="https://github.com/dart-lang/sdk/blob/stable/DEPS" style="text-decoration:none"><span style="font-size:14.6666666666667px;font-family:Arial;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">https://github.com/dart-lang/sdk/blob/stable/DEPS</span></a></b></p></span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"><b>gclient sync --jobs=1 --verbose</b></span></p></span></blockquote><div>&nbsp;</div><div>Output:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">solutions = [{ "name" : "DEPS", "url" : "<a href="https://github.com/dart-lang/sdk/blob/stable/DEPS">https://github.com/dart-lang/sdk/blob/stable/DEPS</a>", "deps_file" : "DEPS", "managed" : True, "custom_deps" : {},"safesync_url": "",},]cache_dir = None<br>Oh hai! You are using subversion. Chrome infra is eager to get rid of svn support so please switch to git. Tracking bug: <a href="http://crbug.com/475320">http://crbug.com/475320</a> If you are a project owner, you may request git migration assistance at:<br><a href="https://code.google.com/p/chromium/issues/entry?template=Infra-Git">https://code.google.com/p/chromium/issues/entry?template=Infra-Git</a><br>________ running 'svn checkout <a href="https://github.com/dart-lang/sdk/blob/stable/DEPS">https://github.com/dart-lang/sdk/blob/stable/DEPS</a> /home/jan/Apps/dart/DEPS --ignore-externals' in '/home/jan/Apps/dart'</blockquote></div></div><div><br></div><div><br></div><div><b>The sync part dies in various ways, I've tried about 10 times already and it either fails on timeouts or too many requests.</b><br></div><div><br></div><div><br></div><div><div>________ running 'svn checkout <a href="https://github.com/dart-lang/sdk/blob/stable/DEPS">https://github.com/dart-lang/sdk/blob/stable/DEPS</a> /home/jan/Apps/dart/DEPS --ignore-externals' in '/home/jan/Apps/dart'</div><div>svn: Server sent unexpected return value (<b>504 Gateway Timeout</b>) in response to OPTIONS request for '<a href="https://github.com/dart-lang/sdk/blob/stable/DEPS">https://github.com/dart-lang/sdk/blob/stable/DEPS</a>' &nbsp;&nbsp;</div></div><div><br></div><div><br></div><div><div>svn: Server sent unexpected return value (<b>429 Too Many Requests</b>) in response to OPTIONS request for '<a href="https://github.com/dart-lang/sdk/blob/stable/DEPS">https://github.com/dart-lang/sdk/blob/stable/DEPS</a>'</div></div><div><br></div><div><br></div><div><br></div><div>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 ?</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>

<p></p>

-- <br>
For other discussions, see <a href="https://groups.google.com/a/dartlang.org/">https://groups.google.com/a/dartlang.org/</a><br>
&nbsp;<br>
For HOWTO questions, visit <a href="http://stackoverflow.com/tags/dart">http://stackoverflow.com/tags/dart</a><br>
&nbsp;<br>
To file a bug report or feature request, go to <a href="http://www.dartbug.com/new">http://www.dartbug.com/new</a><br>
--- <br>
You received this message because you are subscribed to the Google Groups "Dart Misc" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:misc+***@dartlang.org">misc+***@dartlang.org</a>.<br>
<br><!--end of _originalContent --></div></body></html>

<p></p>

-- <br />
For other discussions, see <a href="https://groups.google.com/a/dartlang.org/">https://groups.google.com/a/dartlang.org/</a><br />
&nbsp;<br />
For HOWTO questions, visit <a href="http://stackoverflow.com/tags/dart">http://stackoverflow.com/tags/dart</a><br />
&nbsp;<br />
To file a bug report or feature request, go to <a href="http://www.dartbug.com/new">http://www.dartbug.com/new</a><br />
--- <br />
You received this message because you are subscribed to the Google Groups &quot;Dart Misc&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:misc+***@dartlang.org">misc+***@dartlang.org</a>.<br />
Loading...