# New RBEL ruby packages in testing (fixing ruby segfaults with Chef, yum provider)

**URL:** https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008
**Category:** Chef Infra (archive)
**Created:** [August 4, 2011, 11:26am UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008 "2011-08-04T11:26:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Sergio\_Rubio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/sergio_rubio/32/754_2.png) [@Sergio\_Rubio](https://discourse.chef.io/u/Sergio_Rubio)
#### Post date: [August 4, 2011, 11:26am UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/1 "2011-08-04T11:26:22Z")

</div>

Hi all,

For those of you experiencing crashes with RBEL/Aegisco ruby packages  
for RHEL, I’ve uploaded a new set of packages that may fix the  
segfault:

[http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)

[http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)

Tweaking the build flags seems to fix the issue. YMMV.

More info on the subject:

[http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)

Please, let us know whatever happens to your Chef installs with this packages.

Thanks!

---

<div class="post-metadata">

### Author: ![James](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/james/32/232_2.png) [@James](https://discourse.chef.io/u/James)
#### Post date: [August 4, 2011, 12:33pm UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/2 "2011-08-04T12:33:17Z")

</div>

There are similar packages at [testing.aegisco.com](http://testing.aegisco.com). What I'm having trouble  
with currently is the rubygems 1.8.5 build for i386. There are 11 failures  
when running rake test, and I'm wary to just look past them. Have you had  
any luck in building this package? If so, could you share your spec file?

As far as I know, the segfaults occurring were from the i386 ruby 1.8.7  
rpm.

Thanks,

James

On Thu, Aug 4, 2011 at 4:26 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org) wrote:

> Hi all,
> 
> For those of you experiencing crashes with RBEL/Aegisco ruby packages  
> for RHEL, I've uploaded a new set of packages that may fix the  
> segfault:
> 
> [http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)
> 
> [http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)
> 
> Tweaking the build flags seems to fix the issue. YMMV.
> 
> More info on the subject:
> 
> [http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)
> 
> Please, let us know whatever happens to your Chef installs with this  
> packages.
> 
> Thanks!

---

<div class="post-metadata">

### Author: ![James](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/james/32/232_2.png) [@James](https://discourse.chef.io/u/James)
#### Post date: [August 4, 2011, 12:33pm UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/3 "2011-08-04T12:33:58Z")

</div>

Also, what build flags did you tweak? I found success by simply compiling a  
newer version of ruby 1.8.7.

James

On Thu, Aug 4, 2011 at 5:33 AM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:

> There are similar packages at [testing.aegisco.com](http://testing.aegisco.com). What I'm having trouble  
> with currently is the rubygems 1.8.5 build for i386. There are 11 failures  
> when running rake test, and I'm wary to just look past them. Have you had  
> any luck in building this package? If so, could you share your spec file?
> 
> As far as I know, the segfaults occurring were from the i386 ruby 1.8.7  
> rpm.
> 
> Thanks,
> 
> James
> 
> On Thu, Aug 4, 2011 at 4:26 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org) wrote:
> 
> > Hi all,
> > 
> > For those of you experiencing crashes with RBEL/Aegisco ruby packages  
> > for RHEL, I've uploaded a new set of packages that may fix the  
> > segfault:
> > 
> > [http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)
> > 
> > [http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)
> > 
> > Tweaking the build flags seems to fix the issue. YMMV.
> > 
> > More info on the subject:
> > 
> > [http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)
> > 
> > Please, let us know whatever happens to your Chef installs with this  
> > packages.
> > 
> > Thanks!

---

<div class="post-metadata">

### Author: ![Sergio\_Rubio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/sergio_rubio/32/754_2.png) [@Sergio\_Rubio](https://discourse.chef.io/u/Sergio_Rubio)
#### Post date: [August 4, 2011, 12:39pm UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/4 "2011-08-04T12:39:59Z")

</div>

On Thu, Aug 4, 2011 at 2:33 PM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:

> There are similar packages at [testing.aegisco.com](http://testing.aegisco.com). What I'm having trouble  
> with currently is the rubygems 1.8.5 build for i386. There are 11 failures  
> when running rake test, and I'm wary to just look past them. Have you had  
> any luck in building this package?

Hi James,

Didn't try upgrading rubygems.

If so, could you share your spec file?

> As far as I know, the segfaults occurring were from the i386 ruby 1.8.7  
> rpm.

Not sure, people are reporting segfaults also with x86\_64 packages...

Latest ruby package in RBEL is 1.8.7-p352 matching upstream ruby  
version so upgrading to p352 didn't fix the issue.

> Thanks,  
> James
> 
> On Thu, Aug 4, 2011 at 4:26 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org) wrote:
> 
> > Hi all,
> > 
> > For those of you experiencing crashes with RBEL/Aegisco ruby packages  
> > for RHEL, I've uploaded a new set of packages that may fix the  
> > segfault:
> > 
> > [http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)
> > 
> > [http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)
> > 
> > Tweaking the build flags seems to fix the issue. YMMV.
> > 
> > More info on the subject:
> > 
> > [http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)
> > 
> > Please, let us know whatever happens to your Chef installs with this  
> > packages.
> > 
> > Thanks!

---

<div class="post-metadata">

### Author: ![Sergio\_Rubio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/sergio_rubio/32/754_2.png) [@Sergio\_Rubio](https://discourse.chef.io/u/Sergio_Rubio)
#### Post date: [August 4, 2011, 12:44pm UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/5 "2011-08-04T12:44:29Z")

</div>

On Thu, Aug 4, 2011 at 2:33 PM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:

> Also, what build flags did you tweak? I found success by simply compiling a  
> newer version of ruby 1.8.7.  
> James

Removed a bunch of them. Still need to find which one is causing the  
issue though. Upgrading ruby to p352 didn't help in my case  
unfortunately.

Have a look at the sources here, I just pushed them:

> **[GitHub - frameos-linux/ruby-rpm: MRI ruby 1.8.7 RPM](https://github.com/frameos-linux/ruby-rpm)**
>
> MRI ruby 1.8.7 RPM. Contribute to frameos-linux/ruby-rpm development by creating an account on GitHub.

> On Thu, Aug 4, 2011 at 5:33 AM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> 
> > There are similar packages at [testing.aegisco.com](http://testing.aegisco.com). What I'm having trouble  
> > with currently is the rubygems 1.8.5 build for i386. There are 11 failures  
> > when running rake test, and I'm wary to just look past them. Have you had  
> > any luck in building this package? If so, could you share your spec file?  
> > As far as I know, the segfaults occurring were from the i386 ruby 1.8.7  
> > rpm.
> > 
> > Thanks,  
> > James
> > 
> > On Thu, Aug 4, 2011 at 4:26 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org) wrote:
> > 
> > > Hi all,
> > > 
> > > For those of you experiencing crashes with RBEL/Aegisco ruby packages  
> > > for RHEL, I've uploaded a new set of packages that may fix the  
> > > segfault:
> > > 
> > > [http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)
> > > 
> > > [http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)
> > > 
> > > Tweaking the build flags seems to fix the issue. YMMV.
> > > 
> > > More info on the subject:
> > > 
> > > [http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)
> > > 
> > > Please, let us know whatever happens to your Chef installs with this  
> > > packages.
> > > 
> > > Thanks!

---

<div class="post-metadata">

### Author: ![James](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/james/32/232_2.png) [@James](https://discourse.chef.io/u/James)
#### Post date: [August 5, 2011, 12:15am UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/6 "2011-08-05T00:15:51Z")

</div>

Sergio, and anyone else with segfaults on x86\_64 el5, can you test out the  
new packages in:

[testing.aegisco.com](http://testing.aegisco.com)

I'm not able to reproduce the x86\_64 segfaults. Still working on the i386  
ones.

Thanks,

James

On Thu, Aug 4, 2011 at 5:44 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org) wrote:

> On Thu, Aug 4, 2011 at 2:33 PM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> 
> > Also, what build flags did you tweak? I found success by simply compiling  
> > a  
> > newer version of ruby 1.8.7.  
> > James
> 
> Removed a bunch of them. Still need to find which one is causing the  
> issue though. Upgrading ruby to p352 didn't help in my case  
> unfortunately.
> 
> Have a look at the sources here, I just pushed them:
> 
> [GitHub - frameos-linux/ruby-rpm: MRI ruby 1.8.7 RPM](http://github.com/frameos/ruby-rpm)
> 
> > On Thu, Aug 4, 2011 at 5:33 AM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> > 
> > > There are similar packages at [testing.aegisco.com](http://testing.aegisco.com). What I'm having  
> > > trouble  
> > > with currently is the rubygems 1.8.5 build for i386. There are 11  
> > > failures  
> > > when running rake test, and I'm wary to just look past them. Have you  
> > > had  
> > > any luck in building this package? If so, could you share your spec  
> > > file?  
> > > As far as I know, the segfaults occurring were from the i386 ruby 1.8.7  
> > > rpm.
> > > 
> > > Thanks,  
> > > James
> > > 
> > > On Thu, Aug 4, 2011 at 4:26 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org)  
> > > wrote:
> > > 
> > > > Hi all,
> > > > 
> > > > For those of you experiencing crashes with RBEL/Aegisco ruby packages  
> > > > for RHEL, I've uploaded a new set of packages that may fix the  
> > > > segfault:
> > > > 
> > > > [http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)
> > > > 
> > > > [http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)
> > > > 
> > > > Tweaking the build flags seems to fix the issue. YMMV.
> > > > 
> > > > More info on the subject:
> > > > 
> > > > [http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)
> > > > 
> > > > Please, let us know whatever happens to your Chef installs with this  
> > > > packages.
> > > > 
> > > > Thanks!

---

<div class="post-metadata">

### Author: ![Sergio\_Rubio](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/sergio_rubio/32/754_2.png) [@Sergio\_Rubio](https://discourse.chef.io/u/Sergio_Rubio)
#### Post date: [August 5, 2011, 9:14am UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/7 "2011-08-05T09:14:49Z")

</div>

On Fri, Aug 5, 2011 at 2:15 AM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:

> Sergio, and anyone else with segfaults on x86\_64 el5, can you test out the  
> new packages in:  
> [testing.aegisco.com](http://testing.aegisco.com)

Sure. I wonder if

[http://testing.aegisco.com/el5/x86\_64/](http://testing.aegisco.com/el5/x86_64/)

is a symlink to

[http://testing.aegisco.com/rhel/5/x86\_64/](http://testing.aegisco.com/rhel/5/x86_64/)

Where should I get the package from?

Thanks.

> I'm not able to reproduce the x86\_64 segfaults. Still working on the i386  
> ones.  
> Thanks,  
> James
> 
> On Thu, Aug 4, 2011 at 5:44 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org) wrote:
> 
> > On Thu, Aug 4, 2011 at 2:33 PM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> > 
> > > Also, what build flags did you tweak? I found success by simply  
> > > compiling a  
> > > newer version of ruby 1.8.7.  
> > > James
> > 
> > Removed a bunch of them. Still need to find which one is causing the  
> > issue though. Upgrading ruby to p352 didn't help in my case  
> > unfortunately.
> > 
> > Have a look at the sources here, I just pushed them:
> > 
> > [GitHub - frameos-linux/ruby-rpm: MRI ruby 1.8.7 RPM](http://github.com/frameos/ruby-rpm)
> > 
> > > On Thu, Aug 4, 2011 at 5:33 AM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> > > 
> > > > There are similar packages at [testing.aegisco.com](http://testing.aegisco.com). What I'm having  
> > > > trouble  
> > > > with currently is the rubygems 1.8.5 build for i386. There are 11  
> > > > failures  
> > > > when running rake test, and I'm wary to just look past them. Have you  
> > > > had  
> > > > any luck in building this package? If so, could you share your spec  
> > > > file?  
> > > > As far as I know, the segfaults occurring were from the i386 ruby 1.8.7  
> > > > rpm.
> > > > 
> > > > Thanks,  
> > > > James
> > > > 
> > > > On Thu, Aug 4, 2011 at 4:26 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org)  
> > > > wrote:
> > > > 
> > > > > Hi all,
> > > > > 
> > > > > For those of you experiencing crashes with RBEL/Aegisco ruby packages  
> > > > > for RHEL, I've uploaded a new set of packages that may fix the  
> > > > > segfault:
> > > > > 
> > > > > [http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)
> > > > > 
> > > > > [http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)
> > > > > 
> > > > > Tweaking the build flags seems to fix the issue. YMMV.
> > > > > 
> > > > > More info on the subject:
> > > > > 
> > > > > [http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)
> > > > > 
> > > > > Please, let us know whatever happens to your Chef installs with this  
> > > > > packages.
> > > > > 
> > > > > Thanks!

---

<div class="post-metadata">

### Author: ![James](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/james/32/232_2.png) [@James](https://discourse.chef.io/u/James)
#### Post date: [August 5, 2011, 5:35pm UTC](https://discourse.chef.io/t/new-rbel-ruby-packages-in-testing-fixing-ruby-segfaults-with-chef-yum-provider/2008/8 "2011-08-05T17:35:22Z")

</div>

Sergio,

Yes, that's accurate. That directory structure is used for reasons of  
backwards compatibility. Either directory will work.

Thanks,

James

On Fri, Aug 5, 2011 at 2:14 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org) wrote:

> On Fri, Aug 5, 2011 at 2:15 AM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> 
> > Sergio, and anyone else with segfaults on x86\_64 el5, can you test out  
> > the  
> > new packages in:  
> > [testing.aegisco.com](http://testing.aegisco.com)
> 
> Sure. I wonder if
> 
> [http://testing.aegisco.com/el5/x86\_64/](http://testing.aegisco.com/el5/x86_64/)
> 
> is a symlink to
> 
> [http://testing.aegisco.com/rhel/5/x86\_64/](http://testing.aegisco.com/rhel/5/x86_64/)
> 
> Where should I get the package from?
> 
> Thanks.
> 
> > I'm not able to reproduce the x86\_64 segfaults. Still working on the i386  
> > ones.  
> > Thanks,  
> > James
> > 
> > On Thu, Aug 4, 2011 at 5:44 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org)  
> > wrote:
> > 
> > > On Thu, Aug 4, 2011 at 2:33 PM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> > > 
> > > > Also, what build flags did you tweak? I found success by simply  
> > > > compiling a  
> > > > newer version of ruby 1.8.7.  
> > > > James
> > > 
> > > Removed a bunch of them. Still need to find which one is causing the  
> > > issue though. Upgrading ruby to p352 didn't help in my case  
> > > unfortunately.
> > > 
> > > Have a look at the sources here, I just pushed them:
> > > 
> > > [GitHub - frameos-linux/ruby-rpm: MRI ruby 1.8.7 RPM](http://github.com/frameos/ruby-rpm)
> > > 
> > > > On Thu, Aug 4, 2011 at 5:33 AM, James [js@aegisco.com](mailto:js@aegisco.com) wrote:
> > > > 
> > > > > There are similar packages at [testing.aegisco.com](http://testing.aegisco.com). What I'm having  
> > > > > trouble  
> > > > > with currently is the rubygems 1.8.5 build for i386. There are 11  
> > > > > failures  
> > > > > when running rake test, and I'm wary to just look past them. Have you  
> > > > > had  
> > > > > any luck in building this package? If so, could you share your spec  
> > > > > file?  
> > > > > As far as I know, the segfaults occurring were from the i386 ruby  
> > > > > 1.8.7  
> > > > > rpm.
> > > > > 
> > > > > Thanks,  
> > > > > James
> > > > > 
> > > > > On Thu, Aug 4, 2011 at 4:26 AM, Sergio Rubio [rubiojr@frameos.org](mailto:rubiojr@frameos.org)  
> > > > > wrote:
> > > > > 
> > > > > > Hi all,
> > > > > > 
> > > > > > For those of you experiencing crashes with RBEL/Aegisco ruby  
> > > > > > packages  
> > > > > > for RHEL, I've uploaded a new set of packages that may fix the  
> > > > > > segfault:
> > > > > > 
> > > > > > [http://rbel.frameos.org/ruby-test/el5](http://rbel.frameos.org/ruby-test/el5) (for RHEL5 distributions)
> > > > > > 
> > > > > > [http://rbel.frameos.org/ruby-test/el6](http://rbel.frameos.org/ruby-test/el6) (for RHEL6 distributions)
> > > > > > 
> > > > > > Tweaking the build flags seems to fix the issue. YMMV.
> > > > > > 
> > > > > > More info on the subject:
> > > > > > 
> > > > > > [http://tickets.opscode.com/browse/CHEF-2413](http://tickets.opscode.com/browse/CHEF-2413)
> > > > > > 
> > > > > > Please, let us know whatever happens to your Chef installs with this  
> > > > > > packages.
> > > > > > 
> > > > > > Thanks!
