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 614351 - rpmbuild fails when building kernel from src.rpm.
Summary: rpmbuild fails when building kernel from src.rpm.
Keywords:
Status: CLOSED DUPLICATE of bug 613568
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-14 08:34 UTC by Nawaz
Modified: 2010-07-14 15:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-07-14 15:08:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rpmbuild log (744.42 KB, text/x-log)
2010-07-14 08:34 UTC, Nawaz
no flags Details

Description Nawaz 2010-07-14 08:34:58 UTC
Created attachment 431702 [details]
rpmbuild log

Description of problem:
rpm build fails when trying to build kernel from the source rpm.

Version-Release number of selected component (if applicable):
OS: RHEL 6.0 Beta 2.
Platform: x86_64
SRC RPM: kernel-2.6.32-37.el6.src.rpm

How reproducible:
When building kernel source rpm.

Steps to Reproduce:

1. Install the kernel source rpm on RHEL 6.0 Beta 2 
#rpm -ivh kernel-2.6.32-37.el6.src.rpm

2. Start rpm build
#rpmbuild -ba kernel.spec 2>&1 | tee build.log

 
Actual results:
1. rpmbuild fails with following errors:

crypto/signature/ksign-publickey.c:2:17: error: key.h: No such file or directory
crypto/signature/ksign-publickey.c: In function 'ksign_init':
crypto/signature/ksign-publickey.c:10: error: 'ksign_def_public_key' undeclared (first use in this function)
crypto/signature/ksign-publickey.c:10: error: (Each undeclared identifier is reported only once
crypto/signature/ksign-publickey.c:10: error: for each function it appears in.)
crypto/signature/ksign-publickey.c:11: error: 'ksign_def_public_key_size' undeclared (first use in this function)
make[2]: *** [crypto/signature/ksign-publickey.o] Error 1
make[1]: *** [crypto/signature] Error 2
make: *** [crypto] Error 2

Expected results:
rpmbuild should succeed with rpms created in the RPMS directory

Additional info:

Attached is the full build log.

Comment 2 Bill Nottingham 2010-07-14 15:08:50 UTC

*** This bug has been marked as a duplicate of bug 613568 ***


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