At the start of the build
cmds i have ran -
1.$gclient [worked]
2. $set DEPOT_TOOLS_WIN_TOOLCHAIN=0 & set vs2022_install=C:\Program Files\Microsoft Visual Studio\2022\Community
3.then $ git config as mentioned in build guides
4. made desired dirs
5. $ fetch --nohistory chromium
//
Syncing projects: 91% (42/46) src/third_party/flatbuffers/src
src/docs/website (ERROR)
----------------------------------------
[0:00:57] Started.
[0:00:57] Finished running: git config remote.origin.url
[0:00:57] Finished running: git rev-list -n 1 HEAD
[0:00:57] Finished running: git rev-parse --abbrev-ref=strict HEAD
----------------------------------------
Error: 11>
11> ____ src\docs\website at aaff8c73832da5174016a2eb114fcda9c0ec6c5f
11> You have unstaged changes.
11> Please commit, stash, or reset.
C:\Users\Administrator\Desktop\CHROMA\chromium>git reset --hard
fatal: not a git repository (or any of the parent directories): .git
C:\Users\Administrator\Desktop\CHROMA\chromium>gclient help
Updating depot_tools...
Usage: gclient.py <command> [options]
Meta checkout dependency manager for Git.
//this happened as it says src\docs\website - has some unstaged changes so i went into that dir and
6. there i ran $ git status
//HEAD detached at aaff8c7
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on- kevin-chromebook-plus/0001-FROMLIST-drm-panel-add-Kingdisplay-kd097d04-panel-dr.patch
deleted: site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on- kevin-chromebook-plus/0002-CHROMIUM-drm-Add-drm_master_relax-debugfs-file-non-r.patch
deleted: site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on- kevin-chromebook-plus/0003-CHROMIUM-drm-Allow-DRM_IOCTL_MODE_MAP_DUMB-for-rende.patch
deleted: site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on- kevin-chromebook-plus/0004-CHROMIUM-drm-Allow-render-node-access-to-KMS-getters.patch
deleted: site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on- kevin-chromebook-plus/0005-CHROMIUM-drm-Allow-DRM_IOCTL_MODE_DESTROY_DUMB-for-r.patch
deleted: site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on- kevin-chromebook-plus/0008-CHROMIUM-Revert-drm-vgem-create-a-render-node-for-vg.patch
no changes added to commit (use "git add" and/or "git commit -a")
//7. $ git checkout all file names [didnt worked file name too long
//8. ran the git checkout again but this time with individual file name [didnt work either]
//9. $ git reset --hard HEAD
//
error: unable to create file site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on-kevin-chromebook-plus/0001-FROMLIST-drm-panel-add-Kingdisplay-kd097d04-panel-dr.patch: Filename too long
error: unable to create file site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on-kevin-chromebook-plus/0002-CHROMIUM-drm-Add-drm_master_relax-debugfs-file-non-r.patch: Filename too long
error: unable to create file site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on-kevin-chromebook-plus/0003-CHROMIUM-drm-Allow-DRM_IOCTL_MODE_MAP_DUMB-for-rende.patch: Filename too long
error: unable to create file site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on-kevin-chromebook-plus/0004-CHROMIUM-drm-Allow-render-node-access-to-KMS-getters.patch: Filename too long
error: unable to create file site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on-kevin-chromebook-plus/0005-CHROMIUM-drm-Allow-DRM_IOCTL_MODE_DESTROY_DUMB-for-r.patch: Filename too long
error: unable to create file site/chromium-os/how-tos-and-troubleshooting/mainline-kernel-on-kevin-chromebook-plus/chrome-os-mainline-kernel-on-kevin-chromebook-plus/0008-CHROMIUM-Revert-drm-vgem-create-a-render-node-for-vg.patch: Filename too long
fatal: Could not reset index file to revision 'HEAD'.
// $ gclient sync gives this error
src/docs/website (ERROR)
----------------------------------------
[0:00:25] Started.
[0:00:25] Finished running: git config remote.origin.url
[0:00:25] Finished running: git rev-list -n 1 HEAD
[0:00:25] Finished running: git rev-parse --abbrev-ref=strict HEAD
----------------------------------------
Error: 11>
11> ____ src\docs\website at aaff8c73832da5174016a2eb114fcda9c0ec6c5f
11> You have unstaged changes.
11> Please commit, stash, or reset.
///
i have tried removing every thing doing all the process again but same things happen again again
can some one help me with this