[ruby/private-ruby-2.1] Add remark about the upcomming ARM issue fix.
Vít Ondruch
vondruch at fedoraproject.org
Mon Dec 23 16:58:23 UTC 2013
commit 4f8b7ad60ddf7d052852dcd88e684bcb3aa7dda9
Author: Vít Ondruch <vondruch at redhat.com>
Date: Tue Nov 12 13:28:42 2013 +0100
Add remark about the upcomming ARM issue fix.
ruby.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index ce694b0..aebfa01 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -612,6 +612,9 @@ sed -i '/def test_hup_me/,/end if Process.respond_to/ s/^/#/' test/ruby/test_sig
%ifarch armv7l armv7hl armv7hnl
# TestProcess#test_clock_getres_constants and TestProcess#test_clock_gettime_constants fails on ARM.
# http://bugs.ruby-lang.org/issues/9008
+# Kernel issue. Should be fixed in 3.13 kernel.
+# https://lkml.org/lkml/2013/10/18/521
+# http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=98d6f4dd84a134d942827584a3c5f67ffd8ec35f
sed -i '/Process.constants.grep(\/\\ACLOCK_\/).each {|n|/ s/$/\n next if [:CLOCK_REALTIME_ALARM, :CLOCK_BOOTTIME_ALARM].include? n/' \
test/ruby/test_process.rb
%endif
More information about the scm-commits
mailing list