Bug 708538 - fails to build without downstream patches
Summary: fails to build without downstream patches
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-tools
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Jiri Popelka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-27 21:34 UTC by Kamil Dudka
Modified: 2011-12-06 12:00 UTC (History)
3 users (show)

Fixed In Version: net-tools-1.60-106.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 12:00:21 UTC
Target Upstream Version:


Attachments (Terms of Use)
proposed fix (1.19 KB, patch)
2011-05-27 21:35 UTC, Kamil Dudka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1596 0 normal SHIPPED_LIVE net-tools bug fix update 2011-12-06 00:38:45 UTC

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


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