Bug 708538

Summary: fails to build without downstream patches
Product: Red Hat Enterprise Linux 6 Reporter: Kamil Dudka <kdudka>
Component: net-toolsAssignee: Jiri Popelka <jpopelka>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: asersen, azelinka, ovasik
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: net-tools-1.60-106.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 12:00:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
proposed fix none

Description Kamil Dudka 2011-05-27 21:34:43 UTC
Version-Release number of selected component (if applicable):
net-tools-1.60-105.el6


Steps to Reproduce:
1. rpmbuild --define '__patch /bin/true' --rebuild net-tools-1.60-105.el6.src.rpm

  
Actual results:
DEBUG: gcc -D_GNU_SOURCE -O2 -Wall -g  -I. -idirafter ./include/ -Ilib -I/builddir/build/BUILD/net-tools-1.60 -idirafter /builddir/build/BUILD/net-tools-1.60
DEBUG: ec_hw.c:24: error: 'NULL' undeclared here (not in a function)
DEBUG: make[1]: Leaving directory `/builddir/build/BUILD/net-tools-1.60/lib'
DEBUG: make[1]: *** [ec_hw.o] Error 1
DEBUG: make: *** [subdirs] Error 2
DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.cQfJhu (%build)
DEBUG: RPM build errors:
DEBUG:     Bad exit status from /var/tmp/rpm-tmp.cQfJhu (%build)


Additional info:
The proposed change is required for Coverity to scan defects in downstream
patches separately.

Comment 1 Kamil Dudka 2011-05-27 21:35:49 UTC
Created attachment 501404 [details]
proposed fix

Comment 11 errata-xmlrpc 2011-12-06 12:00:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1596.html