[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#673594: ruby1.8: FTBFS[kfreebsd-*]: test-all hangs/segfaults



found 673594 1.8.7.352-2
tags 673594 + patch
thanks

Hi,

What about using the attached patch to time out the test-all suite if it
hangs, as was done for ruby1.9.1, because its exit status is ignored
anyway (some failures are expected, on all arches).

I think a workaround like this is needed to at least fix the FTBFS since
there are security patches and s390x stuff all waiting on it.  The
version of ruby1.8 in testing seems to already have this problem (it
only built for kfreebsd-i386 on the 4th attempt).

We can separately follow up on working out why some of the tests hang;
probably thread-related races in eglibc and/or the tests themselves.

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org
diff --git a/debian/control b/debian/control
index c8d77e0..db229e5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: akira yamada <akira@debian.org>
 Uploaders: Daigo Moriwaki <daigo@debian.org>, Lucas Nussbaum <lucas@debian.org>, Antonio Terceiro <terceiro@debian.org>
-Build-Depends: cdbs (>= 0.4.106), debhelper (>= 5), autotools-dev, autoconf, m4, quilt (>= 0.40), patch, bison, binutils (>= 2.14.90.0.7), libgdbm-dev, libncurses5-dev, libreadline-gplv2-dev, tcl-dev, tk-dev, zlib1g-dev, libssl-dev (>= 0.9.6b), file
+Build-Depends: cdbs (>= 0.4.106), debhelper (>= 5), autotools-dev, autoconf, m4, quilt (>= 0.40), patch, bison, binutils (>= 2.14.90.0.7), libgdbm-dev, libncurses5-dev, libreadline-gplv2-dev, tcl-dev, tk-dev, zlib1g-dev, libssl-dev (>= 0.9.6b), file, coreutils
 Standards-Version: 3.9.2
 Homepage: http://www.ruby-lang.org/
 Vcs-Git: git://git.debian.org/collab-maint/ruby1.8.git
diff --git a/debian/rules b/debian/rules
index e238759..1456921 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,7 +62,7 @@ DEB_MAKE_BUILD_TARGET = all test
 
 common-post-build-arch::
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	-make test-all
+	-timeout 1200 make test-all
 endif
 
 

Reply to: