Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:
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