Bug 620558

Summary: gacutil fails to list, install and uninstall assemblies on Windows
Product: [Mono] Mono: Runtime Reporter: Atsushi Enomoto <aenomoto>
Component: miscAssignee: Gonzalo Paniagua Javier <gonzalo>
Status: RESOLVED FIXED QA Contact: Mono Bugs <mono-bugs>
Severity: Major    
Priority: P5 - None    
Version: SVN   
Target Milestone: ---   
Hardware: Other   
OS: Windows 7   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 580090    
Bug Blocks:    

Description Atsushi Enomoto 2010-07-07 16:45:57 UTC
gacutil (gacutil2) stopped working on Windows anymore.

$ gacutil2 -l System
The following assemblies are installed into the GAC:
Number of items = 0

$ ls /usr/local/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/
System.dll  System.dll.mdb

$ which gacutil2
/usr/local/bin/gacutil2

It is practically impossible to exactly point out which change is to blame as Windows build had been broken for several weeks.
Comment 1 Atsushi Enomoto 2010-07-08 03:36:34 UTC
It turned out to be a regression due to the fix for bug #580090.
Comment 2 Gonzalo Paniagua Javier 2010-07-08 22:30:13 UTC
Eno, I'm going to need your help debugging this. Ping me in IRC when you're around.
Comment 3 Gonzalo Paniagua Javier 2010-07-09 20:06:44 UTC
This should be working fine now.
Can you verify/close it?
Comment 4 Atsushi Enomoto 2010-07-13 08:07:35 UTC
I'm still getting errors like this in *some* assembly at *some* stage, but it's not really reproducible (it might be due to somethings like indexing service on old Windows, or could be even cygwin+Windows7 wiredness).

Failure adding assembly ./../../class/lib/net_3_5/System.Data.Services.Client.dll to the cache: gac directories could not be created, possibly permission issues.

If you have any further ideas for fixing this, I'd try those too.

I'd rather close this bug so far and wait for any other complaints from Windows users if any. Thanks for the fix, Gonzalo.