And yes, this is a *bug of depot_tools *which should be fixed. 

On Tuesday 15 October 2024 at 14:57:32 UTC+3 Ion Filipski wrote:

> HI,
> I am trying to build v8 on external SSD, Win 11 x64, VisualStudio 2022 
> Community Edition.
> For some reason the checkout as described on v8 fetch 
> <https://v8.dev/docs/source-code> fails
> I already asked the question on stackoverflow, and so far have no feedback:
>
> https://stackoverflow.com/questions/79083115/conflicting-directory-found-in-v8-v8-while-trying-to-checkout-v8-from-sources-e
>
> While doing fetch v8 I get following error:
> Error: Command '%ProgramFiles%\\Git\\mingw64\\bin\\git.exe -c 
> color.ui=never config --local --replace-all remote.origin.fetch 
> +refs/branch-heads/*:refs/remotes/branch-heads/* 
> ^\\+refs/branch-heads/\\*:.*$' returned non-zero exit status 128 in 
> D:\compile\google\v8 fatal: --local can only be used inside a git repository
>
> Here D: is the external SSD
>
> There is the environment:
> >set ... 
> Path=%ProgramFiles%\Git\usr\bin;%ProgramFiles%\Git\mingw64\bin;%ProgramFiles%\Git\cmd;D:\compile\google\depot_tools;......
>  
> vs2022_install=%ProgramFiles%\Microsoft Visual Studio\2022\Community ... 
> 8>git config --list --global user.name=MyAndMyself user.email=
> meand...@gmail.com safe.directory=D:/compile/google/depot_tools 
> safe.directory=D:/compile/google/chromium/src 
> safe.directory=D:/compile/google/v8 safe.directory=D:/compile/google/v8/v8 
> core.longpaths=true core.autocrlf=false core.filemode=false 
> branch.autosetuprebase=always
>
> The full output
> :\compile\google\v8>fetch v8 Updating depot_tools... Running: 
> '%USERPROFILE%\AppData\Local\.vpython-root\store\python_venv-i6tr2130veudc7mkhurk6h3cao\contents\Scripts\python3.exe'
>  
> 'D:\compile\google\depot_tools\gclient.py' root Running: 
> '%USERPROFILE%\AppData\Local\.vpython-root\store\python_venv-i6tr2130veudc7mkhurk6h3cao\contents\Scripts\python3.exe'
>  
> 'D:\compile\google\depot_tools\gclient.py' config --spec 'solutions = [ { 
> "name": "v8", "url": "https://chromium.googlesource.com/v8/v8.git";, 
> "deps_file": "DEPS", "managed": False, "custom_deps": {}, }, ] ' Running: 
> '%USERPROFILE%\AppData\Local\.vpython-root\store\python_venv-i6tr2130veudc7mkhurk6h3cao\contents\Scripts\python3.exe'
>  
> 'D:\compile\google\depot_tools\gclient.py' sync --with_branch_heads 
> ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout 
> --progress https://chromium.googlesource.com/v8/v8.git 
> D:\compile\google\v8\_gclient_v8_kyoywjwd' in 'D:\compile\google\v8' 
> Cloning into 'D:\compile\google\v8\_gclient_v8_kyoywjwd'... remote: Total 
> 1136232 (delta 918600), reused 1136232 (delta 918600) Receiving objects: 
> 100% (1136232/1136232), 1.43 GiB | 19.36 MiB/s, done. Resolving deltas: 
> 100% (918600/918600), done. ________ running 'git -c 
> core.deltaBaseCacheLimit=2g clone --no-checkout --progress 
> https://chromium.googlesource.com/v8/v8.git 
> D:\compile\google\v8\_gclient_v8__cglk3b5' in 'D:\compile\google\v8' 
> Cloning into 'D:\compile\google\v8\_gclient_v8__cglk3b5'... remote: Total 
> 1136232 (delta 918600), reused 1136232 (delta 918600) Receiving objects: 
> 100% (1136232/1136232), 1.43 GiB | 19.61 MiB/s, done. Resolving deltas: 
> 100% (918600/918600), done. Syncing projects: 100% ( 1/ 1) v8 v8 (ERROR) 
> ---------------------------------------- [0:00:00] Started. [0:00:01] 
> [0:03:50] _____ Conflicting directory found in D:\compile\google\v8\v8. 
> Moving to D:\compile\google\v8\_bad_scm\v8clftymnp. [0:03:50] 
> ---------------------------------------- Error: Command 
> '%ProgramFiles%\\Git\\mingw64\\bin\\git.exe 
> -c color.ui=never config --local --replace-all remote.origin.fetch 
> +refs/branch-heads/*:refs/remotes/branch-heads/* 
> ^\\+refs/branch-heads/\\*:.*$' returned non-zero exit status 128 in 
> D:\compile\google\v8 fatal: --local can only be used inside a git 
> repository Warnings: Conflicting directory D:\compile\google\v8\v8 moved to 
> D:\compile\google\v8\_bad_scm\v8clftymnp. Subprocess failed with return 
> code 1. D:\compile\google\v8>
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/80dfa11d-5520-4918-8b68-6adf65ea1cean%40googlegroups.com.

Reply via email to