FAQ
Old thread reference:
http://www.mail-archive.com/puppet-users@googlegroups.com/msg27199.html

I am trying to build Ruby 1.8.7 on a RHEL 5 system following the instructions in that thread and I have a few questions as I am a n00b to RPM building:
On Jan 4, 2012, at 8:04 PM, Jo Rhett wrote:
wget http://rbel.frameos.org/stable/el5/SRPMS/ruby-1.8.7.352-5.el5.src.rpm
rpm -i ruby-1.8.7.352-5.el5.src.rpm
rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec

For any of the nodes, you need only put this RPM in your repository and have Puppet upgrade them. It just works ;-)
When I ran the rpmbuild command, I got no RPM's.
I got a bunch of error complaining about "rpaths", and in the output was a suggestion to prepend an environment setting to the command -- like this:

QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec

When I ran this, the previous errors were now warnings, and I got a set of RPM's.

Is this The Way It Works ?

Is it possible to eliminate the errors/warnings ?

Would a link to a PatchBin of the build output help ?

Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Search Discussions

  • Jo Rhett at Apr 18, 2012 at 10:08 pm

    On Apr 16, 2012, at 6:51 PM, Dan White wrote:
    I got a bunch of error complaining about "rpaths", and in the output was a suggestion to prepend an environment setting to the command -- like this:

    QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec

    When I ran this, the previous errors were now warnings, and I got a set of RPM's.

    Is this The Way It Works ?

    Is it possible to eliminate the errors/warnings ?

    Would a link to a PatchBin of the build output help ?
    Yes, this is the way it works. Read up on what those particular rpath errors mean, and I think you'll come to understand why they don't matter. But it's best to read for yourself ;-)

    FYI, go edit that spec file and put the latest ruby patch release in there. There's some important fixes in the latest ruby patches, and the spec file and patches work just great with the latest ruby release.

    --
    Jo Rhett
    Net Consonance : consonant endings by net philanthropy, open source and other randomness

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Dan White at Apr 19, 2012 at 1:27 am

    On Apr 18, 2012, at 6:08 PM, Jo Rhett wrote:
    On Apr 16, 2012, at 6:51 PM, Dan White wrote:
    I got a bunch of error complaining about "rpaths", and in the output was a suggestion to prepend an environment setting to the command -- like this:

    QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec

    When I ran this, the previous errors were now warnings, and I got a set of RPM's.

    Is this The Way It Works ?

    Is it possible to eliminate the errors/warnings ?

    Would a link to a PatchBin of the build output help ?
    Yes, this is the way it works. Read up on what those particular rpath errors mean, and I think you'll come to understand why they don't matter. But it's best to read for yourself ;-)

    FYI, go edit that spec file and put the latest ruby patch release in there. There's some important fixes in the latest ruby patches, and the spec file and patches work just great with the latest ruby release.
    Might you be able to provide a few links or pointers to documentation and patches ?

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Jo Rhett at Apr 19, 2012 at 5:48 pm

    On Apr 18, 2012, at 6:27 PM, Dan White wrote:
    On Apr 18, 2012, at 6:08 PM, Jo Rhett wrote:
    On Apr 16, 2012, at 6:51 PM, Dan White wrote:
    I got a bunch of error complaining about "rpaths", and in the output was a suggestion to prepend an environment setting to the command -- like this:

    QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild -ba ~/rpmbuild/SPECS/ruby.spec

    When I ran this, the previous errors were now warnings, and I got a set of RPM's.

    Is this The Way It Works ?

    Is it possible to eliminate the errors/warnings ?

    Would a link to a PatchBin of the build output help ?
    Yes, this is the way it works. Read up on what those particular rpath errors mean, and I think you'll come to understand why they don't matter. But it's best to read for yourself ;-)

    FYI, go edit that spec file and put the latest ruby patch release in there. There's some important fixes in the latest ruby patches, and the spec file and patches work just great with the latest ruby release.
    Might you be able to provide a few links or pointers to documentation and patches ?
    I'm not sure what you mean. For ruby, go to ruby.org and find the latest patchlevel for 1.8.7 and put that number at the top of the spec file.

    For rpath, try http://www.lmgtfy.com/ ;-)

    --
    Jo Rhett
    Net Consonance : consonant endings by net philanthropy, open source and other randomness

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Dan White at Apr 19, 2012 at 7:54 pm

    ----- Jo Rhett wrote:
    For ruby, go to ruby.org and find the latest patchlevel for 1.8.7 and put that number at the top of the spec file.
    FYI: ruby.org is a parked domain.

    “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
    Bill Waterson (Calvin & Hobbes)

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
  • Brian Gupta at Apr 23, 2012 at 6:54 pm
    http://www.ruby-lang.org/ I think is what he meant.
    On Thu, Apr 19, 2012 at 3:54 PM, Dan White wrote:
    ----- Jo Rhett wrote:
    For ruby, go to ruby.org and find the latest patchlevel for 1.8.7 and put that number at the top of the spec file.
    FYI: ruby.org is a parked domain.

    “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
    Bill Waterson (Calvin & Hobbes)

    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
    --
    You received this message because you are subscribed to the Google Groups "Puppet Users" group.
    To post to this group, send email to puppet-users@googlegroups.com.
    To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedApr 17, '12 at 1:51a
activeApr 23, '12 at 6:54p
posts6
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase