SPECS: ruby.spec - restored `--without-pthreads' for PPCs after pr...

twittner twittner at pld-linux.org
Mon Dec 25 19:51:33 CET 2006


Author: twittner                     Date: Mon Dec 25 18:51:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- restored `--without-pthreads' for PPCs after producing buildlog with
  compilation error msg.
- added huge note with explanation of encountered building fails on PPC

---- Files affected:
SPECS:
   ruby.spec (1.147 -> 1.148) 

---- Diffs:

================================================================
Index: SPECS/ruby.spec
diff -u SPECS/ruby.spec:1.147 SPECS/ruby.spec:1.148
--- SPECS/ruby.spec:1.147	Mon Dec 25 17:15:11 2006
+++ SPECS/ruby.spec	Mon Dec 25 19:51:28 2006
@@ -1,5 +1,17 @@
 # $Revision$, $Date$
 #
+# NOTE: - segfaults on ppc during building when is built with  `--with-pthreads'
+#	/home/users/builder/rpm/BUILD/ruby-1.8.5-p2/lib/mkmf.rb:147: [BUG] Segmentation fault
+#	ruby 1.8.5 (2006-12-04) [powerpc-linux]
+#
+#	- on the other hand when ruby is built on pcc with `--without-pthreads'
+#	compilation of tk extensions fails with message:
+#
+#	Ruby is not compiled with --enable-pthread, but your Tcl/Tk 
+#	**   library seems to be compiled with pthread support. This
+#	**   combination may cause frequent hang or segmentation fault
+#	**   errors when Ruby/Tk is working.
+#
 # Conditional build:
 %bcond_without	doc	# skip generating docs (which is time-consuming). Intended for speed up test builds
 %bcond_without	emacs	# skip building package with ruby-mode for emacs
@@ -230,13 +242,11 @@
 %{__autoconf}
 %configure \
 	--enable-shared \
+%ifnarch powerpc ppc ppc64
 	--enable-pthread
-
-#%%ifnarch powerpc ppc ppc64
-#	--enable-pthread
-#%%else
-#	--disable-pthread
-#%%endif
+%else
+	--disable-pthread
+%endif
 
 %{__make}
 %{__make} clean -C %{name}-texi-1.4-en
@@ -443,6 +453,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.148  2006/12/25 18:51:28  twittner
+- restored `--without-pthreads' for PPCs after producing buildlog with
+  compilation error msg.
+- added huge note with explanation of encountered building fails on PPC
+
 Revision 1.147  2006/12/25 16:15:11  twittner
 - missing comment
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ruby.spec?r1=1.147&r2=1.148&f=u



More information about the pld-cvs-commit mailing list