Skip to content

building error after cloning #412

@S4WZ

Description

@S4WZ

every time i build the project i get this

C:\Windows\System32>cd D:\ungoogled-chromium-windows


C:\Windows\System32>D:

D:\ungoogled-chromium-windows>py build.py
INFO: Setting up cloning environment
INFO: Cloning chromium source: 131.0.6778.264
remote: Total 0 (delta 0), reused 0 (delta 0)
HEAD is now at 2d05e31515 Roll Chrome Mac Arm PGO Profile
INFO: Cloning depot_tools
remote: Total 0 (delta 0), reused 0 (delta 0)
From https://chromium.googlesource.com/chromium/tools/depot_tools

  • branch 20b9bdcace7ed561d6a75728c85373503473cb6b -> FETCH_HEAD
    HEAD is now at 20b9bdc Roll recipe dependencies (trivial).
    Removing git.bat
    error: patch failed: gclient.py:126
    error: gclient.py: patch does not apply
    error: patch failed: gclient_scm.py:952
    error: gclient_scm.py: patch does not apply
    error: patch failed: gsutil.py:25
    error: gsutil.py: patch does not apply
    Traceback (most recent call last):
    File "D:\ungoogled-chromium-windows\ungoogled-chromium\utils\clone.py", line 333, in
    main()
    File "D:\ungoogled-chromium-windows\ungoogled-chromium\utils\clone.py", line 329, in main
    clone(args)
    File "D:\ungoogled-chromium-windows\ungoogled-chromium\utils\clone.py", line 112, in clone
    run(['git', 'apply'],
    File "C:\Users\Damon\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['git', 'apply']' returned non-zero exit status 1.
    Traceback (most recent call last):
    File "D:\ungoogled-chromium-windows\build.py", line 305, in
    main()
    File "D:\ungoogled-chromium-windows\build.py", line 178, in main
    subprocess.run([sys.executable, str(Path('ungoogled-chromium', 'utils', 'clone.py')), '-o', 'build\src', '-p', 'win32' if args.x86 else 'win64'], check=True)
    File "C:\Users\Damon\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
    raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['C:\Users\Damon\AppData\Local\Programs\Python\Python310\python.exe', 'ungoogled-chromium\utils\clone.py', '-o', 'build\src', '-p', 'win64']' returned non-zero exit status 1.

D:\ungoogled-chromium-windows>


Note: i also used the developer command prompt for vs 2022

i do not know how to fix it at all, i have git, python 3.10 and i have the pip command that was needed i installed all deps so i dont see the problem, could someone please help

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