Bug 85787

Summary: build from SRPM fails with missing file
Product: [Retired] Red Hat Linux Reporter: Heath Hendrickson <heath>
Component: sendmailAssignee: Florian La Roche <laroche>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-03-08 22:18:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Heath Hendrickson 2003-03-07 19:53:05 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130

Description of problem:
When trying to rebuild the updated sendmail 8.12.8 from the RH 8.0 SRPM on a
RH7.2 machine, the rpm build fails with:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.17079
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd sendmail-8.12.8
+ sed -e 's,%{_libdir},/usr/lib,g' -e 's,%{_lib},lib,g' redhat.config.m4.in
sed: can't read redhat.config.m4.in: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.17079 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.17079 (%build)


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.  Download sendmail-8.12.8-1.80.src.rpm
2.  install SRPM
3.  modify spec file to make errata=72
4.  execute rpm -bb sendmail.spec
    

Actual Results:  error with:

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.17079
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd sendmail-8.12.8
+ sed -e 's,%{_libdir},/usr/lib,g' -e 's,%{_lib},lib,g' redhat.config.m4.in
sed: can't read redhat.config.m4.in: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.17079 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.17079 (%build)


Expected Results:  produced necessary RPM files

Additional info:

Comment 1 Mark J. Cox 2003-03-08 22:18:18 UTC
The sendmail 8.12.8 Red Hat Linux 8.0 SRPM was not designed to be compiled for
Red Hat Linux 7.2 and therefore quite likely would need further work to make it
work.

Comment 2 Florian La Roche 2003-03-08 22:37:02 UTC
http://people.redhat.com/laroche/ has an updated rpm that should also compile
on older releases.

greetings,

Florian La Roche