Bug 319282 (MONO76425) - Mono 1.1.9.2 will not compile - gac directories could not be created
Summary: Mono 1.1.9.2 will not compile - gac directories could not be created
Status: RESOLVED FIXED
Alias: MONO76425
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.1
Hardware: Other Linux
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2005-10-13 07:12 UTC by John Lopez
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:34:41 UTC


---- Reported by johnlopezj@aol.com 2005-10-13 00:12:36 MST ----

Please fill in this template when reporting a bug, unless you know what 
you are doing.
Description of Problem:
Cannot build from source

Steps to reproduce the problem:
1. Updated mono & mcs using svn
2. Performed: make uninstall
3. Performed: ./configure in mono-1.1.9.2 directory
4. Performed: make PROFILE="atomic"
5. Performed: make install

Actual Results:
Received the following messages at a point in make install:

make[7]: Leaving directory `/home/src2/mono-1.1.9.2/mcs/class/corlib'
make[6]: Leaving directory `/home/src2/mono-1.1.9.2/mcs/class/corlib'
make[6]: Entering directory `/home/src2/mono-1.1.9.2/mcs/class/System'
make install-local
make[7]: Entering directory `/home/src2/mono-1.1.9.2/mcs/class/System'
MONO_PATH="../../class/lib/net_1_1_bootstrap:$MONO_PATH" /usr/src/mono-
1.1.9.2/runtime/mono-
wrapper  ../../class/lib/net_1_1_bootstrap/gacutil.exe /i ../../class/lib/
default/System.dll /f  /root /usr/local/lib /package 1.0

** (../../class/lib/net_1_1_bootstrap/gacutil.exe:23530): WARNING **: 
cant resolve internal call to "System.IO.MonoIO::GetFileSystemEntries
(string,string,int,int,System.IO.MonoIOError&)" (tested without signature 
also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/src2/mono-
1.1.9.2/mcs/class/lib/net_1_1_bootstrap/mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably 
related
and you need to fix your mono install first.

** (../../class/lib/net_1_1_bootstrap/gacutil.exe:23530): WARNING **: 
cant resolve internal call to "System.IO.MonoIO::GetFileSystemEntries
(string,string,int,int,System.IO.MonoIOError&)" (tested without signature 
also)

Your mono runtime and class libraries are out of sync.
The out of sync library is: /home/src2/mono-
1.1.9.2/mcs/class/lib/net_1_1_bootstrap/mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably 
related
and you need to fix your mono install first.
Failure adding assembly to the cache: gac directories could not be 
created, possibly permission issues.
make[7]: *** [install-local] Error 1
make[7]: Leaving directory `/home/src2/mono-1.1.9.2/mcs/class/System'
make[6]: *** [do-install] Error 2
make[6]: Leaving directory `/home/src2/mono-1.1.9.2/mcs/class/System'
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory `/home/src2/mono-1.1.9.2/mcs/class'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory `/home/src2/mono-1.1.9.2/mcs'
make[3]: *** [profile-do--default--install] Error 2
make[3]: Leaving directory `/home/src2/mono-1.1.9.2/mcs'
make[2]: *** [profiles-do--install] Error 2
make[2]: Leaving directory `/home/src2/mono-1.1.9.2/mcs'
make[1]: *** [install-exec] Error 1
make[1]: Leaving directory `/home/src2/mono-1.1.9.2/runtime'
make: *** [install-recursive] Error 1
!root:/usr/src/mono-1.1.9.2>


Expected Results:
Mono should be installed


How often does this happen? 
Every time installation procedures are followed

Additional Information:
Same result happens with or without using "atomic" option.  SVN was used 
at 17:00 on 10/12/05.



---- Additional Comments From johnlopezj@aol.com 2005-10-13 00:20:01 MST ----

Note:  /usr/src is a symbolic link to /home/src2



---- Additional Comments From vargaz@gmail.com 2005-10-13 13:46:44 MST ----

Try downloading the latest monocharge from

http://mono.ximian.com/daily/

and copy mscorlib.dll from it into the mcs/class/lib/net_1_1_bootstrap
directory.




---- Additional Comments From johnlopezj@aol.com 2005-10-13 18:49:16 MST ----

Hi, thank you for the advice.  I did exactly what you said, however, 
I get exactly the same error.  I verified also that there was indeed 
a new mscorlib.dll in the net_1_1_bootstrap directory.



---- Additional Comments From vargaz@gmail.com 2005-10-14 20:02:39 MST ----

No idea than. I think your system somehow has a mixture of mono SVN
and 1.1.9.2 and that doesn't work.





---- Additional Comments From johnlopezj@aol.com 2005-10-14 21:09:23 MST ----

I saw that the function that is missing was added to the code on 
10/04/05 from the ChangeLog.  I am going to try:

1.  make uninstall
2.  rm -rf /usr/src/mono-1.1.9.2
3.  reinstall from tarball mono-1.1.9.2_1

Let's see what happens....



---- Additional Comments From johnlopezj@aol.com 2005-10-15 03:04:41 MST ----

I saw that the mono-1.1.9.2_2 installer was out.  After using it to 
install, I get a new set of errors, but at the same point as before 
(trying to access the same .aspx page as before).  The .aspx page 
works with XSP, but not with mod_mono/apache as stated before.  Here 
is the latest error_log:

[Sat Oct 15 02:19:52 2005] [warn] handler: mono
[Sat Oct 15 02:19:52 2005] [warn] config = -2146881904
[Sat Oct 15 02:19:52 2005] [warn] dir_config = -2146881896
[Sat Oct 15 02:19:52 2005] [warn] idx = 0
[Sat Oct 15 02:19:52 2005] [warn] Socket file 
name /tmp/mod_mono_server
[Sat Oct 15 02:19:52 2005] [warn] try_connect: 0
[Sat Oct 15 02:19:52 2005] [warn] After setup_socket
[Sat Oct 15 02:19:52 2005] [warn] Sending init data
[Sat Oct 15 02:19:52 2005] [warn] Send init1
[Sat Oct 15 02:19:52 2005] [warn] Sending headers (init2)
[Sat Oct 15 02:19:52 2005] [warn] Elements: 7
[Sat Oct 15 02:19:52 2005] [warn] Accept: */*
[Sat Oct 15 02:19:52 2005] [warn] Accept-Language: en-us
[Sat Oct 15 02:19:52 2005] [warn] Accept-Encoding: gzip, deflate
[Sat Oct 15 02:19:52 2005] [warn] User-Agent: Mozilla/4.0 
(compatible; MSIE 6.0; Windows NT 5.1)
[Sat Oct 15 02:19:52 2005] [warn] Host: 192.168.1.77
[Sat Oct 15 02:19:52 2005] [warn] Connection: Keep-Alive
[Sat Oct 15 02:19:52 2005] [warn] Cookie: 
ASPSESSION=520B688C405535D1B98E3F832728A0
[Sat Oct 15 02:19:52 2005] [warn] Done headers (init2)
[Sat Oct 15 02:19:52 2005] [warn] Sending init3
[Sat Oct 15 02:19:52 2005] [warn] Done init3
[Sat Oct 15 02:19:52 2005] [warn] Loop

Unhandled Exception: System.Reflection.TargetInvocationException: 
Exception has been thrown by the target of an invocation. ---> 
System.Threading.ThreadAbortException: Thread was being aborted
in <0x00000> <unknown method>
in (wrapper managed-to-native) 
System.Threading.Monitor:Monitor_try_enter (object,int)
in [0x00013] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/corlib/System.Threading/Monitor.cs:64) 
System.Threading.Monitor:Enter (System.Object obj)
in [0x00008] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/System.Web/System.Web.Configuration/WebConfiguratio
nSettings.cs:310) 
System.Web.Configuration.FileWatcherCache:SetChanged (System.Object 
o, System.IO.FileSystemEventArgs args)
in <0x00000> <unknown method>
in (wrapper managed-to-native) 
System.Reflection.MonoMethod:InternalInvoke (object,object[])
in [0x00044] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:127) 
System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] 
parameters, System.Globalization.CultureInfo culture)--- End of 
inner exception stack trace ---

in [0x0006b] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:133) 
System.Reflection.MonoMethod:Invoke (System.Object obj, BindingFlags 
invokeAttr, System.Reflection.Binder binder, System.Object[] 
parameters, System.Globalization.CultureInfo culture)
in [0x00006] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/corlib/System.Reflection/MethodBase.cs:87) 
System.Reflection.MethodBase:Invoke (System.Object obj, System.Object
[] parameters)
in [0x0005e] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/corlib/System/Delegate.cs:239) 
System.Delegate:DynamicInvokeImpl (System.Object[] args)
in [0x0001a] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/corlib/System/MulticastDelegate.cs:68) 
System.MulticastDelegate:DynamicInvokeImpl (System.Object[] args)
in [0x00002] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/corlib/System/Delegate.cs:227) 
System.Delegate:DynamicInvoke (System.Object[] args)
in [0x00024] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/System/System.IO/FileSystemWatcher.cs:354) 
System.IO.FileSystemWatcher:RaiseEvent (System.Delegate ev, 
System.EventArgs arg)
in [0x00008] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/System/System.IO/FileSystemWatcher.cs:373) 
System.IO.FileSystemWatcher:OnDeleted (System.IO.FileSystemEventArgs 
e)
in [0x00090] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/System/System.IO/FileSystemWatcher.cs:428) 
System.IO.FileSystemWatcher:DispatchEvents (FileAction act, 
System.String filename, System.IO.RenamedEventArgs renamed)
in (wrapper remoting-invoke-with-check) 
System.IO.FileSystemWatcher:DispatchEvents 
(System.IO.FileAction,string,System.IO.RenamedEventArgs&)
in [0x00237] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/System/System.IO/FAMWatcher.cs:310) 
System.IO.FAMWatcher:ProcessEvents ()
in [0x0002c] (at /tmp/scratch/BUILD/mono-
1.1.9.2/mcs/class/System/System.IO/FAMWatcher.cs:208) 
System.IO.FAMWatcher:Monitor ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
!root:/root>




---- Additional Comments From johnlopezj@aol.com 2005-10-16 17:29:15 MST ----

Downloaded the daily snapshop tarball from 10/14/05.  Now everything 
compiles and the page draws.  Seems like there was a problem that 
got fixed during development.  Thanks for all the help!


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Mandriva 10.2 Linux</cf_op_sys_details>