-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fail on Windows: file cannot create directory #2479
Comments
FWIW, downgrading to Sentry 8.10.0 fixes the issue. |
thanks for the issue we'll have a look, this is the related PR |
cc @vaind |
yeah... flutter/flutter#154977 -> flutter/flutter#143589
I haven't had this happen to me before but it looks like the file/directory was locked🤔 Have you tried a clean build, i.e. |
Yes, this is after flutter clean. Sorry I didn't mention it in the OP. The project isn't open source but if you agree, I'm happy to give you access to it (it's a private repo on GitHub). |
As long as it's the dev setup is reasonable, that would probably be the fastest way to get this fixed. |
Great! I just sent you an invite. You just need Git LFS installed, otherwise all should be straightforward. |
Interestingly, it doesn't even try to create the Relevant
Maybe you could try nuking any changes in your current directory (be sure to commit+push first :) ): |
Also, maybe it has something to do with a cmake version, mine is |
For us its compiles for release but crash as soon as we open it. Downgrading to 8.10.1 fix the issue. |
That sounds like a separate issue. Could you file a GH issue with more details? e.g. if there are any logs, any issues reported in Sentry, if the same happens in debug builds, etc. |
Platform
Flutter Desktop Windows
Obfuscation
Disabled
Debug Info
Disabled
Doctor
Version
8.11.0
Steps to Reproduce
flutter build windows
(I assume there is probably some confounding factor but I'd rather file an incomplete bug than just abandon the filing altogether.)
Expected Result
App builds.
Actual Result
After upgrading from
sentry
8.9.0 to version 8.11.0, my windows build fails with the following cryptic error:After some digging, I realize the real error is hidden by the
INSTALL.vcxproj
machinery. Running the command in question ("C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
) on the command line produces the following output:The error seems to be coming from
_deps/sentry-native-build/crashpad_build/cmake_install.cmake
. Line 41 of that file says:Are you willing to submit a PR?
No
The text was updated successfully, but these errors were encountered: