gclient sync failure updating clang |
||
Issue description
________ running 'c:\src\depot_tools\python276_bin\python.exe src/tools/clang/scripts/update.py --if-needed' in 'c:\src\cr'
Updating Clang to 295793-1...
Downloading prebuilt clang
Traceback (most recent call last):
File "src/tools/clang/scripts/update.py", line 902, in <module>
sys.exit(main())
File "src/tools/clang/scripts/update.py", line 898, in main
return UpdateClang(args)
File "src/tools/clang/scripts/update.py", line 425, in UpdateClang
RmTree(LLVM_BUILD_DIR)
File "src/tools/clang/scripts/update.py", line 184, in RmTree
shutil.rmtree(dir, onerror=ChmodAndRetry)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 256, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 254, in rmtree
os.rmdir(path)
WindowsError: [Error 145] The directory is not empty: 'c:\\src\\cr\\src\\third_party\\llvm-build\\Release+Asserts\\compiler-rt\\tools\\llvm-size\\CMakeFiles'
Error: Command 'c:\\src\\depot_tools\\python276_bin\\python.exe src/tools/clang/scripts/update.py --if-needed' returned non-zero exit status 1 in c:\src\cr
Not sure if there's a ton we can do, but it's a bit annoying. Maybe ren the old location to a temp location, then get the new one into the right place and then non-fatally delete the temp location?
(I think Bruce was wrestling with a Super Directory Delete recently.)
,
Feb 25 2017
Hmm, it happened a second time. Maybe something's up with my checkout.
________ running 'c:\src\depot_tools\python276_bin\python.exe src/tools/clang/scripts/update.py --if-needed' in 'c:\src\cr'
Updating Clang to 295793-1...
Downloading prebuilt clang
Traceback (most recent call last):
File "src/tools/clang/scripts/update.py", line 902, in <module>
sys.exit(main())
File "src/tools/clang/scripts/update.py", line 898, in main
return UpdateClang(args)
File "src/tools/clang/scripts/update.py", line 425, in UpdateClang
RmTree(LLVM_BUILD_DIR)
File "src/tools/clang/scripts/update.py", line 184, in RmTree
shutil.rmtree(dir, onerror=ChmodAndRetry)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 256, in rmtree
onerror(os.rmdir, path, sys.exc_info())
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 254, in rmtree
os.rmdir(path)
WindowsError: [Error 145] The directory is not empty: 'c:\\src\\cr\\src\\third_party\\llvm-build\\Release+Asserts\\lib\\Target\\Hexagon\\Disassembler\\CMakeFiles'
,
Feb 25 2017
Yucky. :(
________ running 'c:\src\depot_tools\python276_bin\python.exe src/tools/clang/scripts/update.py --if-needed' in 'c:\src\cr'
Updating Clang to 295793-1...
Downloading prebuilt clang
Traceback (most recent call last):
File "src/tools/clang/scripts/update.py", line 902, in <module>
sys.exit(main())
File "src/tools/clang/scripts/update.py", line 898, in main
return UpdateClang(args)
File "src/tools/clang/scripts/update.py", line 425, in UpdateClang
RmTree(LLVM_BUILD_DIR)
File "src/tools/clang/scripts/update.py", line 184, in RmTree
shutil.rmtree(dir, onerror=ChmodAndRetry)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File "c:\src\depot_tools\python276_bin\lib\shutil.py", line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "src/tools/clang/scripts/update.py", line 180, in ChmodAndRetry
os.chmod(path, stat.S_IWUSR)
WindowsError: [Error 3] The system cannot find the path specified: 'c:\\src\\cr\\src\\third_party\\llvm-build\\Release+Asserts\\tools\\clang\\test\\Modules\\Output\\dependency-dump-dependent-module.m.tmp\\vfs\\src\\cr\\src\\third_party\\llvm\\tools\\clang\\test\\Modules\\Inputs\\Module.framework\\Frameworks\\SubFramework.framework\\Headers\\SubFramework.h'
Error: Command 'c:\\src\\depot_tools\\python276_bin\\python.exe src/tools/clang/scripts/update.py --if-needed' returned non-zero exit status 1 in c:\src\cr
,
Feb 25 2017
It kept failing, but manual removal eventually worked fine. I dunno. I didn't kill any processes, but maybe Defender or something eventually gave up? [93dc0c3...]c:\src\cr\src\third_party\llvm-build>rmdir /s/q Release+Asserts Release+Asserts\tools\lld\lib\READER~1\CMAKEF~1 - The directory is not empty. Release+Asserts\tools\lld\lib\READER~1\YAML\CMAKEF~1 - The directory is not empty. [93dc0c3...]c:\src\cr\src\third_party\llvm-build>rmdir /s/q Release+Asserts [93dc0c3...]c:\src\cr\src\third_party\llvm-build>rmdir /s/q Release+Asserts The system cannot find the file specified.
,
Jan 10
Archiving P3s older than 1 year with no owner or component. |
||
►
Sign in to add a comment |
||
Comment 1 by scottmg@chromium.org
, Feb 25 2017