[Mono-bugs] [Bug 58562][Maj] New - gacutil not installing/overwriting already-installed libs in mcs/class build
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 15 May 2004 21:54:28 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by vladimir@pobox.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58562
--- shadow/58562 2004-05-15 21:54:28.000000000 -0400
+++ shadow/58562.tmp.22251 2004-05-15 21:54:28.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 58562
+Product: Mono: Class Libraries
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: vladimir@pobox.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: gacutil not installing/overwriting already-installed libs in mcs/class build
+
+(not sure where to file GAC bugs against)
+
+In cvs as of today (and yesterday, not sure what change broke it), making a
+change to any class lib (i.e. mcs/class/System.Drawing/System.Drawing/...),
+then doing a make && make install results in:
+
+vladimir@tornado[1025]% sudo make install
+mono ../../tools/gacutil/gacutil.exe /i
+../../class/lib/default/System.Drawing.dll /f /root /usr/local/lib /package
+1.0
+RefCount of assembly 'System.Drawing' increased by one.
+Package exported to: /usr/local/lib/mono/1.0
+
+Also:
+
+vladimir@tornado[1026]% touch System.Drawing/Image.cs
+vladimir@tornado[1027]% sudo make install
+touch ../../build/deps/default_System.Drawing.dll.stamp
+MONO_PATH="../../class/lib/default:$MONO_PATH" mono ../../mcs/mcs.exe
+-d:NET_1_1 -d:ONLY_1_1 -g /noconfig /unsafe /define:DECLARE_CDECL_DELEGATES
+/r:mscorlib.dll /r:System.dll /nowarn:649 /nowarn:169 /target:library
+/out:../../class/lib/default/System.Drawing.dll @System.Drawing.dll.sources
+Compilation succeeded
+mono ../../tools/gacutil/gacutil.exe /i
+../../class/lib/default/System.Drawing.dll /f /root /usr/local/lib /package
+1.0
+RefCount of assembly 'System.Drawing' increased by one.
+Package exported to: /usr/local/lib/mono/1.0
+
+Note that the file -never gets copied in-, even if it changes; its
+refcount, however, gets increased by one each time. If I remove the stuff
+from the gacutil line following the /f, then it installs and overwrites fine:
+
+vladimir@tornado[1028]% sudo mono ../../tools/gacutil/gacutil.exe /i
+../../class/lib/default/System.Drawing.dll /f
+System.Drawing installed into the gac (/usr/local/lib/mono/gac)