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

Re: Please give back ruby1.9/1.9.0.2-9 on hppa and alpha



On 09/02/09 at 11:10 -0700, dann frazier wrote:
> On Mon, Feb 09, 2009 at 06:20:41PM +0100, Lucas Nussbaum wrote:
> > On 09/02/09 at 16:33 +0100, Adeodato Sim? wrote:
> > > * dann frazier [Mon, 09 Feb 2009 08:26:40 -0700]:
> > > 
> > > > On Mon, Feb 09, 2009 at 02:25:10PM +0100, Adeodato Sim?? wrote:
> > > > > Please upload a manual build this time. If you're in a position to do
> > > > > the same for hppa, please do that as well, else we'll migrate ruby1.9 -9
> > > > > without hppa.
> > > 
> > > > > Please reply to this mail if you won't be uploading for hppa, so that we
> > > > > can take the manual action needed.
> > > 
> > > > I'd be happy to do a manual upload for hppa if it would build, but
> > > > this isn't just a problem with the buildds :(
> > > 
> > > Right. However, I've known Lucas has managed in the past to build hppa
> > > binaries somewhere (the previous upload, ruby1.9_1.9.0.2-8_hppa.changes,
> > > is signed by him), that's why I asked.
> > 
> > working on it (on paer.d.o).
> 
> Thanks Lucas - I'll be very interested if you manage to get this to
> succeed - I've tried it several times on several machines running a
> current kernel and found it consistently hangs :(

Built and uploaded.
Two tests are blocking. I'm not sure about the first one
(in test_thread.rb), which might be a race condition.
The second one is test_should_propagate_signaled in
test_beginendblock.rb.

> Whomever manages to get it to build, please let me know the recipe
> used - we'll need to reproduce it for security updates.

During the build, I just killed the test subprocess when it blocked,
which allowed the other tests to run.

For security updates, the simplest solution is:
1) in test/ruby/test_thread.rb, change:
  def test_mutex_synchronize
to:
  def testx_mutex_synchronize

I'm not sure if that test blocks, or just takes a lot of time on hppa
because of differences in the thread implementation.
Renaming the function disables the test since it no longer matches
/^test_/.

in test/ruby/test_beginendblock.rb, change:
  def test_should_propagate_signaled
to:
  def testx_should_propagate_signaled

This one definitely blocks.  A reduced test case is the following ruby
script:
<----->
#!/usr/bin/ruby1.9
out = IO.popen("ruby1.9 -e 'STDERR.reopen(STDOUT)' -e 'at_exit{Process.kill(:INT, $$); loop{}}'") {|f| f.read }
<----->

This returns on all arches except hppa.
-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |


Reply to: