Menu

#1 RPM step should check for rpmbuild

open-postponed
None
5
2010-10-02
2009-05-01
Anonymous
No

The rpm step should look for rpmbuild (`which rpmbuild`) before executing epm. If rpmbuild is not installed when epm is built, epm will default back to using the rpm command in the raw. Sadly, `rpm` does not support the -bb option any longer. this leads to the dreaded "unsupported option -bb" at the -r step from ape scripts. If rpmbuild is not found, ape should throw an error stating that rpm-build/rpmbuild needs to be installed and epm may need to be recompiled.

To fix an ape install manually:
* install rpmbuild
* rebuild epm via it's ape script
* clean out the rpm step temp files: `rm -rf /ape/_compile/util/tmp-build/buildroot/*`

Discussion

  • Bryn Mosher

    Bryn Mosher - 2010-10-02
    • assigned_to: nobody --> brynm
     
  • Bryn Mosher

    Bryn Mosher - 2010-10-02
    • status: open --> open-postponed
     

Log in to post a comment.