Bug 711032

Summary: avoid a build failure without downstream patches and introduce a way to exclude test-suite
Product: Red Hat Enterprise Linux 6 Reporter: Kamil Dudka <kdudka>
Component: krb5Assignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: dpal, jplans, ovasik, prc
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: krb5-1.9-14.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 874177 1058683 (view as bug list) Environment:
Last Closed: 2011-12-06 17:36:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 874177, 1058683    
Attachments:
Description Flags
proposed fix
none
proposed fix V2 none

Description Kamil Dudka 2011-06-06 09:54:11 UTC
Version-Release number of selected component (if applicable):
krb5-1.9-9.el6


Steps to Reproduce:
1. rpmbuild --define '__patch /bin/true' --rebuild krb5-1.9-9.el6.src.rpm

  
Actual results:
DEBUG: locate_kdc.c: In function 'dns_locate_server':
DEBUG: locate_kdc.c:730: error: implicit declaration of function 'locate_srv_dns_1'
DEBUG: make[3]: [locate_kdc.so] Error 1 (ignored)
DEBUG: gcc: os/locate_kdc.so: No such file or directory
DEBUG: make[2]: [libkrb5.so.3.3] Error 1 (ignored)
DEBUG: make[3]: Leaving directory `/builddir/build/BUILD/krb5-1.9/src/lib/gssapi/mechglue'
DEBUG: make[2]: Leaving directory `/builddir/build/BUILD/krb5-1.9/src/lib/gssapi'
DEBUG: make[1]: [all-recurse] Error 1 (ignored)
DEBUG: make[1]: Leaving directory `/builddir/build/BUILD/krb5-1.9/src/lib'
DEBUG: making all in plugins/kadm5_hook/test...
DEBUG: make[1]: Entering directory `/builddir/build/BUILD/krb5-1.9/src/plugins/kadm5_hook/test'
DEBUG: make[1]: *** No rule to make target `../../../include/kadm5/admin.h', needed by `main.so'.  Stop.
DEBUG: make[1]: *** Waiting for unfinished jobs....
DEBUG: make[1]: Leaving directory `/builddir/build/BUILD/krb5-1.9/src/plugins/kadm5_hook/test'
DEBUG: make: [all-recurse] Error 1 (ignored)


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

Comment 1 Kamil Dudka 2011-06-06 09:55:09 UTC
Created attachment 503187 [details]
proposed fix

Comment 3 Kamil Dudka 2011-06-06 10:21:11 UTC
Comment on attachment 503187 [details]
proposed fix

krb5-1.7-nodeplibs.patch fails to apply, will attach an updated fix shortly...

Comment 4 Kamil Dudka 2011-06-06 10:52:32 UTC
Created attachment 503194 [details]
proposed fix V2

Comment 5 Nalin Dahyabhai 2011-06-07 14:13:44 UTC
How is the test suite being run for your build when it's not supposed to run during a normal build?  Is %{?_rawbuild} actually the final name?  Will it be documented anywhere else?

Comment 12 errata-xmlrpc 2011-12-06 17:36:46 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-1707.html