Bug 206580
| Summary: | Unable to "make rpm" for kernel-2.6.17-1.2187_FC5.src.rpm | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mace Moneta <moneta.mace> | ||||
| Component: | kernel | Assignee: | Dave Jones <davej> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Brian Brock <bbrock> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5 | CC: | pfrields, wtogami | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-09-17 03:07:49 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: | |||||||
| Attachments: |
|
||||||
|
Description
Mace Moneta
2006-09-15 04:31:38 UTC
Sorry, forgot to fill these in, though they are obvious: Description of problem: Trying to "make rpm" on the new kernel source fails. Version-Release number of selected component (if applicable): kernel-2.6.17-1.2187_FC5.src.rpm Created attachment 136436 [details] spec file from an unmodified, failing 'make rpm' I've confirmed that this occurs even with a "vanilla" build sequence: 1. wget http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/kernel-2.6.17-1.2187_FC5.src.rpm 2. rpm -ivh kernel-2.6.17-1.2187_FC5.src.rpm 3. cd /usr/src/redhat/SPECS/ 4. rpmbuild -bp --target=i686 kernel-2.6.spec 5. cd /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/ 6. cp configs/kernel-2.6.17-i686.config ./.config 7. make oldconfig 8. make clean 9. make rpm /bin/sh /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/scripts/package/mkspec > /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/kernel.spec make clean set -e; cd ..; ln -sf /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686 kernel-2.6.17prep set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git -f kernel-2.6.17prep.tar.gz kernel-2.6.17prep/. set -e; cd ..; rm kernel-2.6.17prep set -e; \ /bin/sh /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/scripts/mkversion > /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/.tmp_version set -e; \ mv -f /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/.tmp_version /usr/src/redhat/BUILD/kernel-2.6.17/linux-2.6.17.i686/.version rpmbuild --target i386 -ta ../kernel-2.6.17prep.tar.gz Building target platforms: i386 Building for target i386 error: Name field must be present in package: (main package) error: Version field must be present in package: (main package) error: Release field must be present in package: (main package) error: Summary field must be present in package: (main package) error: Group field must be present in package: (main package) error: License field must be present in package: (main package) make[1]: *** [rpm] Error 1 make: *** [rpm] Error 2 While it appears that the spec file is not in the tar file, it is: tar xvzf kernel-2.6.17prep.tar.gz kernel-2.6.17prep/./kernel.spec The kernel.spec file is attached. |