Bug 711032 - avoid a build failure without downstream patches and introduce a way to exclude test-suite
Summary: avoid a build failure without downstream patches and introduce a way to exclu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: krb5
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks: 874177 1058683
TreeView+ depends on / blocked
 
Reported: 2011-06-06 09:54 UTC by Kamil Dudka
Modified: 2018-09-20 11:24 UTC (History)
4 users (show)

Fixed In Version: krb5-1.9-14.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 874177 1058683 (view as bug list)
Environment:
Last Closed: 2011-12-06 17:36:46 UTC
Target Upstream Version:


Attachments (Terms of Use)
proposed fix (1.14 KB, patch)
2011-06-06 09:55 UTC, Kamil Dudka
no flags Details | Diff
proposed fix V2 (1.10 KB, patch)
2011-06-06 10:52 UTC, Kamil Dudka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1707 0 normal SHIPPED_LIVE krb5 bug fix update 2011-12-06 01:02:29 UTC

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


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