Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin.Build.Download .net Maui Build Process Hanging at File Extraction GAppM-10.24.0.tgz

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.

On Android Build all works fine.

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!

like image 306
HeisenbergsMeth Avatar asked Dec 08 '25 08:12

HeisenbergsMeth


2 Answers

I had this issue also. For me, the problem is that GAppM-10.24.0.tgz has files inside it with very long names. These long names cannot extract to the C:\Users{username}\AppData\Local\XamarinBuildDownloadCache\ directory because it violates the MAX PATH length of 260 characters. (At least on Windows 10). So it hangs trying to create a file it cannot create.

like image 176
rettigcd Avatar answered Dec 09 '25 22:12

rettigcd


  • setting long path names in registry did not help

  • visual studio build hangs both when deefault app for tgz is windows and 7 zip

what helped was to extract the files manually, then create a .unpacked file for it.

However, when I fixed GAppM-10.24.0 it then hang at the next one MLKCommon-11.0.0

like image 25
AbsolutelyFreeWeb Avatar answered Dec 09 '25 20:12

AbsolutelyFreeWeb



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!