[Craft] [Bug 411031] New: craft --update fails on Windows: could not delete msvcp140.dll during Action: cleanimage for libs/runtime
Vieler Hyloks
bugzilla_noreply at kde.org
Sun Aug 18 10:12:54 BST 2019
https://bugs.kde.org/show_bug.cgi?id=411031
Bug ID: 411031
Summary: craft --update fails on Windows: could not delete
msvcp140.dll during Action: cleanimage for
libs/runtime
Product: Craft
Version: stable
Platform: MS Windows
OS: MS Windows
Status: REPORTED
Severity: normal
Priority: NOR
Component: Core
Assignee: vonreth at kde.org
Reporter: vielerhyloks at tuta.io
CC: kde-windows at kde.org
Target Milestone: ---
SUMMARY
Coming back to craft after a while, I wanted to update everything, but I'm
presented with the error that not all (old?) files can be removed.
Specifically, it fails to remove files `msvcp140.dll` and `vcruntime140.dll` in
`CraftRoot\build\libs\runtime\image-RelWithDebInfo-15\bin`. Craft then crashes
because it tries to delete the directory in which these files are and a
"[WinError 145] Directory not empty" gets thrown.
STEPS TO REPRODUCE
1. Open Craft environment from Start menu (as Administrator or not, same
result)
2. Execute `craft --update`
OBSERVED RESULT
Some files cannot be removed and the update process fails.
EXPECTED RESULT
Update all outdated packages.
SOFTWARE/OS VERSIONS
Windows: Pro 10.0.18362
ADDITIONAL INFORMATION
Before doing this, I ran one `craft --clean-unused` (without erros). I don't
know if it's related.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kde-windows
mailing list