Skip to content

Build Process Hanging at File Extraction GAppM-10.24.0.tgz #325

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

Closed
erickirsc opened this issue Jul 26, 2024 · 12 comments
Closed

Build Process Hanging at File Extraction GAppM-10.24.0.tgz #325

erickirsc opened this issue Jul 26, 2024 · 12 comments

Comments

@erickirsc
Copy link

erickirsc commented Jul 26, 2024

Environment:

IDE: Visual Studio 2022 Preview
Target Platform: iOS
Host Machine: Mac (connected via SSH)
Simulator: iOS Simulator

Description:
I am encountering an issue during the build process for an iOS application. The build seems to hang during the extraction of a specific file. The relevant portion of the build output is as follows:

Extracting C:\Users\{username}\AppData\Local\XamarinBuildDownloadCache\GAppM-10.24.0.tgz to C:\Users\{username}\AppData\Local\XamarinBuildDownloadCache\GAppM-10.24.0

The process gets stuck at this point and does not progress further. I have attempted to manually extract the file GAppM-10.24.0.tgz, and although this succeeds, the build still fails at the same extraction step.

Additional Information:

The issue persists across different projects and configurations.
No significant errors are shown in the logs, apart from the hanging during the extraction step.

Request:
Could anyone provide insights or solutions to bypass this issue? Any tips on further diagnostics or configurations that might help resolve this would be greatly appreciated.

Thank you in advance for your assistance!

@Herbstwc
Copy link

Herbstwc commented Aug 5, 2024

Exact same problem here,

Error (active) XBD008 Timed out waiting for exclusive file lock on:
\XamarinBuildDownloadCache\GAppM-10.24.0.locked {ProjectName}.Maui (net8.0-ios)
\xamarin.build.download\0.11.0\buildTransitive\Xamarin.Build.Download.targets 52

Person here solved it by downgrading and also setting 7zip as the default for windows for the tgz files.

This does not work for me , when I downgrade Plugin.Firebase to 2.0.14 I get a different problem.

https://stackoverflow.com/questions/78805812/xamarin-build-download-net-maui-build-process-hanging-at-file-extraction-gappm

@erickirsc
Copy link
Author

erickirsc commented Aug 15, 2024

Solved by setting the default opener for .tgz/.tar files to .7zip.

@douglasc211
Copy link

We still have this issue with Visual Studio 17.12, cannot complete a build, downgrading Firebase is not the answer, correct?

@RsZoli
Copy link

RsZoli commented Nov 20, 2024

I have this exact issue on a MAC build server, all of this since updating NuGets!

@erickirsc
Copy link
Author

erickirsc commented Nov 20, 2024

Hello, unfortunately not. I downgraded the GAppM to 8.x and then set the default opener on this file to .zip in the XamarinBuildDownloadCache folder which is in the Appdata. For whatever reason the compiler could not unpack the .tar.

@RsZoli
Copy link

RsZoli commented Nov 20, 2024

I just reverted back to 2.0.4 and everything is working fine, the iOS builds as well!

@indieshack
Copy link

Any updates on this, I'm getting the same error

@MaxMa04
Copy link

MaxMa04 commented Jan 21, 2025

Any updates on this, I'm getting the same error

You can extract the files manually or delete them completely. I think that solved it for me. It's been a while tho I had this problem.

@indieshack
Copy link

Any updates on this, I'm getting the same error

You can extract the files manually or delete them completely. I think that solved it for me. It's been a while tho I had this problem.

Which files?

@MaxMa04
Copy link

MaxMa04 commented Jan 21, 2025

Any updates on this, I'm getting the same error

You can extract the files manually or delete them completely. I think that solved it for me. It's been a while tho I had this problem.

Which files?

Can we connect on LinkedIn or something where I can support you properly?

Anyways visual studio tells you the Filepath. There you can go and delete the folder

@indieshack
Copy link

indieshack commented Jan 23, 2025

Any updates on this, I'm getting the same error

You can extract the files manually or delete them completely. I think that solved it for me. It's been a while tho I had this problem.

Which files?

Can we connect on LinkedIn or something where I can support you properly?

Anyways visual studio tells you the Filepath. There you can go and delete the folder

Thanks Tobias, much appreciated. I've managed to install the AdamE.Firebase.iOS.* packages manually. A build is currently hanging on:
Extracting C:\Users[UserName]\AppData\Local\XamarinBuildDownloadCache\GAppM-11.4.0.tgz to C:\Users[UserName]\AppData\Local\XamarinBuildDownloadCache\GAppM-11.4.0

@AdamEssenmacher
Copy link
Collaborator

Builds hanging on Windows are almost certainly because of dotnet/android-libraries#1047

Which we're tracking here with #383

On a related note, I've removed GAppM from the latest versions of AdamE.Firebase.iOS.Core. This means you'll only need to unpack this file if you actually need it (i.e. using Analytics).

Closing this issue to consolidate. Please offer any further discussion at #383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants