Menu

#38 rpmbuild fails on RHEL 7

v1.0 (example)
open
nobody
None
5
2016-06-06
2016-05-01
No

Trying to build rpm on RHEL 7 with the supplied SPEC file has several issues:

  • Wrong Version in SPEC file
  • Needed to add compiler options to ~/.rpmrc:
    optflags: x86_64 -O2 -g -Wno-unused-result -Wno-unused-parameter
  • Kerberos support won't compile, I disabled with "rpmbuild -D'nokerberos 1'"
  • Some mismatch between installed files and %files
  • SIGSEGV when using lpr -V

Attached find SPEC file that worked for me and patch for SIGSEGV

Regards Heinrich

2 Attachments

Discussion

  • grumpf_

    grumpf_ - 2016-06-04

    Hello Heinrich Mislik,
    you patch did not apply. Are you using the latest src ?

     
  • grumpf_

    grumpf_ - 2016-06-06

    Please use the git version on sf. the Version on lprng.com ist the latest release by the original autor.

     

Log in to post a comment.