[Mono-bugs] [Bug 51693][Wis] New - Building mono on RHEL3 results in a segfault

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 2 Feb 2004 11:25:32 -0500 (EST)


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 vargaz@freemail.hu.

http://bugzilla.ximian.com/show_bug.cgi?id=51693

--- shadow/51693	2004-02-02 11:25:32.000000000 -0500
+++ shadow/51693.tmp.20632	2004-02-02 11:25:32.000000000 -0500
@@ -0,0 +1,114 @@
+Bug#: 51693
+Product: Mono/Runtime
+Version: unspecified
+OS: unknown
+OS Details: Red Hat
+Status: NEEDINFO   
+Resolution: 
+Severity: Unknown
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dag@wieers.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Building mono on RHEL3 results in a segfault
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When building mono packages on RHEL3, the buildsystem segfaults.
+
+Here's some output:
+
+creating libwapi.la
+(cd .libs && rm -f libwapi.la && ln -s ../libwapi.la libwapi.la)
+make[3]: Leaving directory `/usr/src/redhat/BUILD/mono-0.29/mono/io-layer'
+Making all in monoburg
+make[3]: Entering directory `/usr/src/redhat/BUILD/mono-0.29/mono/monoburg'
+bison ./monoburg.y -o parser.c
+make[3]: *** [parser.c] Segmentation fault
+make[3]: Leaving directory `/usr/src/redhat/BUILD/mono-0.29/mono/monoburg'
+make[2]: *** [all-recursive] Error 1
+make[2]: Leaving directory `/usr/src/redhat/BUILD/mono-0.29/mono'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/usr/src/redhat/BUILD/mono-0.29'
+make: *** [all] Error 2
+
+
+Steps to reproduce the problem:
+1.
+2. 
+3. 
+
+Actual Results:
+
+
+Expected Results:
+
+
+How often does this happen? 
+
+
+Additional Information:
+
+------- Additional Comments From vargaz@freemail.hu  2003-12-04 09:54 -------
+Could you tell us the version of bison you are using (bison --version) ?
+
+------- Additional Comments From dag@wieers.com  2003-12-04 10:04 -------
+I realise this probably is a bison bug when running inside soapbox and
+I should address this to the bison-developers.
+
+Here's the different bison-versions I compile against, it only
+segfaults for RHEL3 (and mono only builds on RH80, RH90 and RHFC1)
+
+    [root@lisse SPECS]# dar-exec rpm -q bison
+    Executing "rpm -q bison" for rhfc1.
+    bison-1.875-5
+    Executing "rpm -q bison" for rh90.
+    bison-1.35-6
+    Executing "rpm -q bison" for rhel3.
+    bison-1.875-4
+    Executing "rpm -q bison" for rh80.
+    bison-1.35-4
+    Executing "rpm -q bison" for rh73.
+    bison-1.35-1
+    Executing "rpm -q bison" for rh62.
+    bison-1.28-2
+
+The versions on RHFC1 and RHEL3 are similar and both use soapbox while
+building. So it is really weird ;/
+
+Also (maybe this belongs in another bugreport) the buildsystems tries
+to install the following header-file in /usr/... (not relative to
+$(prefix) but hardcoded !)
+
+    soapbox: Attempt to
+open64("/usr/include/mono/private/libgc-mono-debugger.h",
+O_WRONLY|O_CREAT, 100644).
+    soapbox: Attempt to
+chmod("/usr/include/mono/private/libgc-mono-debugger.h", 0600).
+    soapbox: Attempt to
+chown("/usr/include/mono/private/libgc-mono-debugger.h", -1, -1).
+    soapbox: Attempt to
+chmod("/usr/include/mono/private/libgc-mono-debugger.h", 0644).
+
+
+------- Additional Comments From vargaz@freemail.hu  2003-12-04 10:40 -------
+About the ${prefix} issue: this works for me (i.e. the files are
+installed under ${prefix}/include). Could you paste the relevant parts
+of your build logs ?
+
+------- Additional Comments From dag@wieers.com  2003-12-04 10:46 -------
+The logs are available at:
+
+    http://dag.wieers.com/packages/mono/_buildlogs/
+
+The rh90 buildlogs will show you these errors at the end.
+
+Thanks in advance!
+
+------- Additional Comments From vargaz@freemail.hu  2003-12-04 10:52 -------
+I get a HTTP 404 when trying to dowload the logs.