Bug 110426 - rdist fails to build under 2.4.21-4.0.1.EL kernel
Summary: rdist fails to build under 2.4.21-4.0.1.EL kernel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rdist
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-11-19 15:22 UTC by David E. Cox
Modified: 2015-03-05 01:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-12-17 11:45:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2004:077 0 normal SHIPPED_LIVE An updated rdist package is available 2004-05-12 04:00:00 UTC

Description David E. Cox 2003-11-19 15:22:41 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922

Description of problem:
rdist misidentifies the OS as svr4 when rebulding under
kernel-2.4.21-4.0.1.EL

The error is in ./build/os-type, comparison of "uname -a" with *4.0*
matches and sets OS type to svr4.  The relevant line is

*"4.0"*)        OS=svr4;;       # There has to be a better way

I agree with the comment ;)




Version-Release number of selected component (if applicable):
rdist-6.1.5.30, kernel-2.4.21-4.0.1.EL

How reproducible:
Always

Steps to Reproduce:
1.rpmbuild --rebuild rdist-6.1.5-30.src.rpm
2.
3.
    

Actual Results:  install: cannot stat `src/rdist': No such file or
directory
error: Bad exit status from /var/tmp/rpm-tmp.57802 (%install)
 
 
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.57802 (%install)


Expected Results:  exit 0

Additional info:

Comment 1 Phil Knirsch 2003-11-19 16:22:03 UTC
Urgs, now thats a really funny one. :-)

I guess the easiest way would be to simply check for Linux first in
the os-type check (which would catch that problem).

But i agree with the comment as well. ;-)

Will include a fix in one of the next rdist builds.

Read ya, Phil

Comment 2 Phil Knirsch 2003-12-17 11:45:15 UTC
Fixed in latest rawhide version. And with newer errata kernels the
problem should go away, too. :-)

Read ya, Phil

Comment 3 John Flanagan 2004-05-12 04:45:47 UTC
An errata has been issued which should help the problem described in this bug report. 
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen 
this bug report if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2004-077.html



Note You need to log in before you can comment on or make changes to this bug.