Bug 60412

Summary: iputils has wrong defs for SOCK_STREAM and SOCK_DGRAM when building for MIPS
Product: [Retired] Red Hat Linux Reporter: Ken Cox <jkc>
Component: iputilsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: mips32   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-07 15:11:40 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:
Attachments:
Description Flags
Path file that fixes problem
none
patch to the spec file to apply the patch none

Description Ken Cox 2002-02-27 15:53:11 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901

Description of problem:
When cross compiling the iputils package for a MIPS platform, iputils uses it's
own version of socket.h instead of using the one out of the toolchain and the
#defines for SOCK_STREAM and SOCK_DGRAM are wrong for a MIPS platform.

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


How reproducible:
Always

Steps to Reproduce:
1.Cross compile the package for MIPS
2.Test by trying to ping another host
3.ping exits with a "Connection Refused" error
	

Actual Results:  When trying to open a "STREAM" (tcp) socket, a DGRAM (udp)
socket is opened instead and vice-versa.

Additional info:

This was found when compiling the package for the Embedded Linux Developer's
Suite (ELDS).

Comment 1 Ken Cox 2002-02-27 15:54:34 UTC
Created attachment 46800 [details]
Path file that fixes problem

Comment 2 Ken Cox 2002-02-27 15:56:54 UTC
Created attachment 46801 [details]
patch to the spec file to apply the patch

Comment 3 Phil Knirsch 2002-03-07 15:11:35 UTC
Will look into it... Might be fixed with the newest iputils package already...

Read ya, Phil

Comment 4 Phil Knirsch 2002-04-10 10:39:44 UTC
Fixed in current rawhide version (latest iputils upstream tarball already
contained the correct fix).

Read ya, Phil