1

Abrufen Chrom Code gefolgt ich die auf den Link Anweisungen https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.mdStörung zu erhalten, während Quelle

und versucht mit verschiedenen Befehlen holen wie --no-Geschichte, nohooks usw. Aber es hält mit dem folgenden Fehler auf Fehler:

C:\chromium_nohistory>fetch --no-history chromium 
Running: 'C:\depot_tools\python276_bin\python.exe' 'C:\depot_tools\gclient.py' root 
Running: 'C:\depot_tools\python276_bin\python.exe' 'C:\depot_tools\gclient.py' config --spec 'solutions = [ 
    { 
    "url": "https://chromium.googlesource.com/chromium/src.git", 
    "managed": False, 
    "name": "src", 
    "deps_file": ".DEPS.git", 
    "custom_deps": {}, 
    }, 
] 
' 
Running: 'C:\depot_tools\python276_bin\python.exe' 'C:\depot_tools\gclient.py' sync --no-history 
Error: Command 'C:\\depot_tools\\python276_bin\\python.exe src/build/landmines.py' returned non-zero exit status 1 in C:\chromium_nohistory 
Traceback (most recent call last): 
    File "C:\depot_tools\\fetch.py", line 300, in <module> 
    sys.exit(main()) 
    File "C:\depot_tools\\fetch.py", line 295, in main 
    return run(options, spec, root) 
    File "C:\depot_tools\\fetch.py", line 289, in run 
    return checkout.init() 
    File "C:\depot_tools\\fetch.py", line 132, in init 
    self.run_gclient(*sync_cmd) 
    File "C:\depot_tools\\fetch.py", line 76, in run_gclient 
    return self.run(cmd_prefix + cmd, kwargs) 
    File "C:\depot_tools\\fetch.py", line 66, in run 
    return subprocess.check_output(cmd, kwargs) 
    File "C:\depot_tools\python276_bin\lib\subprocess.py", line 573, in check_output 
    raise CalledProcessError(retcode, cmd, output=output) 
subprocess.CalledProcessError: Command '('C:\\depot_tools\\python276_bin\\python.exe', 'C:\\depot_tools\\gclient.py', 'sync', '--no-history')' **returned non-zero exit status 2** 

Ich bin neu in die Chrom ist so etwas, dass ich fehle, Jede Hilfe in dieser geschätzt.

Vielen Dank im Voraus.

Antwort

0

erstellen DEPOT_TOOLS_WIN_TOOLCHAIN ​​Systemvariable, und setzen Sie ihn auf 0

Diese Einstellung Ich vermisste das ist, warum der Fehler kam. Danach hat alles sehr reibungslos funktioniert.

Verwandte Themen