Skip to content

How to build ks_chromium_77_webrtc #53

Description

@wudelu

https://github.com/ks32/crosswalk/tree/ks_chromium_77_webrtc
My steps as follows:

step 1:
export XWALK_OS_ANDROID=1
step 2:
gclient config --name src/xwalk https://github.com/ks32/crosswalk/tree/ks_chromium_77_webrtc
step 3:
echo "target_os = [ 'android' ]" >> ./.gclient
step 4:
gclient sync
ERRO:
{
Traceback (most recent call last):
File "src/xwalk/tools/fetch_deps.py", line 83, in
sys.exit(main())
File "src/xwalk/tools/fetch_deps.py", line 78, in main
deps_fetcher.DoGclientSyncForChromium()
File "src/xwalk/tools/fetch_deps.py", line 53, in DoGclientSyncForChromium
gclient_utils.CheckCallAndFilterAndHeader(gclient_cmd,
AttributeError: 'module' object has no attribute 'CheckCallAndFilterAndHeader'
Error: Command 'vpython src/xwalk/tools/fetch_deps.py -v' returned non-zero exit
}

instead of gclient sync --verbose --reset --force --with_branch_heads --delete_unversioned_trees --gclientfile=.gclient-xwalk
Download process
Error: src/third_party/devtools-node-modules (ERROR)

[0:00:05] Started.
_____ src/third_party/devtools-node-modules at 08f835aae2a552cd8b449ec1be9d292cbacbfb8b

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --verbose https://chromium.googlesource.com/external/github.com/ChromeDevTools/devtools-node-modules /home/rainyun/crosswalk-src/src/third_party/_gclient_devtools-node-modules_qi447qh2' in '/home/rainyun/crosswalk-src'

[0:00:05] Cloning into '/home/rainyun/crosswalk-src/src/third_party/_gclient_devtools-node-modules_qi447qh2'...
[0:00:05] fatal: repository 'https://chromium.googlesource.com/external/github.com/ChromeDevTools/devtools-node-modules/' not found
[0:00:07]
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --verbose https://chromium.googlesource.com/external/github.com/ChromeDevTools/devtools-node-modules /home/rainyun/crosswalk-src/src/third_party/_gclient_devtools-node-modules_qi447qh2' in '/home/rainyun/crosswalk-src' attempt 2 / 2

[0:00:07] Cloning into '/home/rainyun/crosswalk-src/src/third_party/_gclient_devtools-node-modules_qi447qh2'...
[0:00:07] fatal: repository 'https://chromium.googlesource.com/external/github.com/ChromeDevTools/devtools-node-modules/' not found
Traceback (most recent call last):
File "/home/rainyun/depot_tools/gclient_scm.py", line 1394, in _Clone
self._Run(clone_cmd,
File "/home/rainyun/depot_tools/gclient_scm.py", line 1741, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File "/home/rainyun/depot_tools/gclient_utils.py", line 716, in CheckCallAndFilter
raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None),
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --verbose https://chromium.googlesource.com/external/github.com/ChromeDevTools/devtools-node-modules /home/rainyun/crosswalk-src/src/third_party/_gclient_devtools-node-modules_qi447qh2' returned non-zero exit status 128 in /home/rainyun/crosswalk-src
[0:00:11] _____ Conflicting directory found in /home/rainyun/crosswalk-src/src/third_party/devtools-node-modules. Moving to /home/rainyun/crosswalk-src/_bad_scm/src/third_party/devtools-node-modulesi7jeo5mg.

Warnings:
Conflicting directory /home/rainyun/crosswalk-src/src/third_party/devtools-node-modules moved to /home/rainyun/crosswalk-src/_bad_scm/src/third_party/devtools-node-modulesi7jeo5mg.
Traceback (most recent call last):
File "/home/rainyun/depot_tools/gclient_scm.py", line 832, in update
self.current_revision = self._Clone(revision, url, options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rainyun/depot_tools/gclient_scm.py", line 1394, in _Clone
self._Run(clone_cmd,
File "/home/rainyun/depot_tools/gclient_scm.py", line 1741, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File "/home/rainyun/depot_tools/gclient_utils.py", line 716, in CheckCallAndFilter
raise subprocess2.CalledProcessError(rv, args, kwargs.get('cwd', None),
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --verbose https://chromium.googlesource.com/external/github.com/ChromeDevTools/devtools-node-modules /home/rainyun/crosswalk-src/src/third_party/_gclient_devtools-node-modules_qi447qh2' returned non-zero exit status 128 in /home/rainyun/crosswalk-src

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/.cache/.vpython-root/store/cpython+3jh5mm76ishfmboh9toc7685b0/contents/lib/python3.11/shutil.py", line 853, in move
os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/home/rainyun/crosswalk-src/src/third_party/devtools-node-modules' -> '/home/rainyun/crosswalk-src/_bad_scm/src/third_party/devtools-node-modulesi7jeo5mg/devtools-node-modules'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/rainyun/depot_tools/metrics.py", line 302, in print_notice_and_exit
yield
File "/home/rainyun/depot_tools/gclient.py", line 4670, in
sys.exit(main(sys.argv[1:]))
^^^^^^^^^^^^^^^^^^
File "/home/rainyun/depot_tools/gclient.py", line 4656, in main
return dispatcher.execute(OptionParser(), argv)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rainyun/depot_tools/subcommand.py", line 254, in execute
return command(parser, args[1:])
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rainyun/depot_tools/gclient.py", line 4009, in CMDsync
ret = client.RunOnDeps('update', args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rainyun/depot_tools/gclient.py", line 2449, in RunOnDeps
work_queue.flush(revision_overrides,
File "/home/rainyun/depot_tools/gclient_utils.py", line 1028, in flush
reraise(e[0], e[1], e[2])
File "/home/rainyun/depot_tools/gclient_utils.py", line 53, in reraise
raise value
File "/home/rainyun/depot_tools/gclient_utils.py", line 1107, in run
self.item.run(*self.args, **self.kwargs)
File "/home/rainyun/depot_tools/gclient.py", line 1251, in run
self._got_revision = self._used_scm.RunCommand(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rainyun/depot_tools/gclient_scm.py", line 137, in RunCommand
return getattr(self, command)(options, args, file_list)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rainyun/depot_tools/gclient_scm.py", line 664, in wrapper
return_val = f(*args)
^^^^^^^^
File "/home/rainyun/depot_tools/gclient_scm.py", line 835, in update
self._DeleteOrMove(options.force)
File "/home/rainyun/depot_tools/gclient_scm.py", line 209, in _DeleteOrMove
shutil.move(self.checkout_path, dest_path)
File "/root/.cache/.vpython-root/store/cpython+3jh5mm76ishfmboh9toc7685b0/contents/lib/python3.11/shutil.py", line 873, in move
copy_function(src, real_dst)
File "/root/.cache/.vpython-root/store/cpython+3jh5mm76ishfmboh9toc7685b0/contents/lib/python3.11/shutil.py", line 448, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/root/.cache/.vpython-root/store/cpython+3jh5mm76ishfmboh9toc7685b0/contents/lib/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/rainyun/crosswalk-src/src/third_party/devtools-node-modules'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions