Skip to content

issues with build.py when build third_party #453

@liang3472

Description

@liang3472

this is the details, try many times, but still no work

`remote: Counting objects: 100% (229/229), done.
remote: Compressing objects: 100% (143/143), done.
remote: Total 167 (delta 114), reused 64 (delta 21), pack-reused 0 (from 0)
Receiving objects: 100% (167/167), 95.23 KiB | 2.16 MiB/s, done.
Resolving deltas: 100% (114/114), completed with 52 local objects.
From https://github.com/google/apitools

  • branch f0dfa4e3fcb510d7d27389e011198d9f176026e2 -> FETCH_HEAD
    HEAD is now at f0dfa4e python 3.12 changes (#328)
    INFO: Cloning gn
    HEAD is now at 6e8e0d6d zos: build with -m64 and ignore unknown-pragmas
    INFO: Running gsync
    WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
    Syncing projects: 100% (147/147) build\src/third_party/compiler-rt/src
    build\src/third_party/node/node_modules:4a9335f276363b47d0b6f8cff493360dba94f5af (ERROR)

[0:01:37] Started.

Traceback (most recent call last):
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\metrics.py", line 302, in print_notice_and_exit
yield
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient.py", line 4681, in
sys.exit(main(sys.argv[1:]))
~~~~^^^^^^^^^^^^^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient.py", line 4667, in main
return dispatcher.execute(OptionParser(), argv)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\subcommand.py", line 254, in execute
return command(parser, args[1:])
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient.py", line 4020, in CMDsync
ret = client.RunOnDeps('update', args)
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient.py", line 2459, in RunOnDeps
work_queue.flush(revision_overrides,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
command,
^^^^^^^^
...<3 lines>...
target_branches=target_branches,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
skip_sync_revisions=skip_sync_revisions)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient_utils.py", line 1045, in flush
reraise(e[0], e[1], e[2])
~~~~~~~^^^^^^^^^^^^^^^^^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient_utils.py", line 54, in reraise
raise value
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient_utils.py", line 1124, in run
self.item.run(*self.args, **self.kwargs)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient.py", line 2755, in run
self.DownloadGoogleStorage()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build\src\uc_staging\depot_tools\gclient.py", line 2860, in DownloadGoogleStorage
raise Exception(f'{code}: {err}')
Exception: 1: The system cannot find the path specified.

Traceback (most recent call last):
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\ungoogled-chromium\utils\clone.py", line 283, in
main()
~~~~^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\ungoogled-chromium\utils\clone.py", line 279, in main
clone(args)
~~~~~^^^^^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\ungoogled-chromium\utils\clone.py", line 165, in clone
run([
~~~^^
str(gcpath), 'sync', '-f', '-D', '-R', '--no-history', '--nohooks',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
f'--sysroot={args.sysroot}'
^^^^^^^^^^^^^^^^^^^^^^^^^^^
],
^^
check=True)
^^^^^^^^^^^
File "C:\Users\tomliang\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['build\src\uc_staging\depot_tools\gclient.bat', 'sync', '-f', '-D', '-R', '--no-history', '--nohooks', '--sysroot=None']' returned non-zero exit status 1.
Traceback (most recent call last):
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build.py", line 314, in
main()
~~~~^^
File "C:\Users\tomliang\MyGithub\ungoogled-chromium-windows\build.py", line 177, in main
subprocess.run([sys.executable, str(Path('ungoogled-chromium', 'utils', 'clone.py')), '-o', 'build\src', '-p', 'win32' if args.x86 else 'win-arm64' if args.arm else 'win64'], check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\tomliang\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['C:\Users\tomliang\AppData\Local\Programs\Python\Python313\python3.exe', 'ungoogled-chromium\utils\clone.py', '-o', 'build\src', '-p', 'win64']' returned non-zero exit status 1.`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions