[Bug 243077] New: "make rpm" for kernel fails due to not finding spec file, may be caused by change to tar
https://bugzilla.novell.com/show_bug.cgi?id=243077 Summary: "make rpm" for kernel fails due to not finding spec file, may be caused by change to tar Product: openSUSE 10.3 Version: unspecified Platform: PowerPC-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: harbaugh@ncifcrf.gov QAContact: qa@suse.de after setting up the config file in /usr/src/linux, "make rpm" fails: % make rpm /bin/sh /usr/src/linux-2.6.20-rc7-2/scripts/package/mkspec > /usr/src/linux-2.6.20-rc7-2/kernel.spec make clean set -e; cd ..; ln -sf /usr/src/linux-2.6.20-rc7-2 kernel-2.6.20rc72ppc64 set -e; cd ..; tar -cz --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git -f kernel-2.6.20rc72ppc64.tar.gz kernel-2.6.20rc72ppc64/. set -e; cd ..; rm kernel-2.6.20rc72ppc64 set -e; \ /bin/sh /usr/src/linux-2.6.20-rc7-2/scripts/mkversion > /usr/src/linux-2.6.20-rc7-2/.tmp_version set -e; \ mv -f /usr/src/linux-2.6.20-rc7-2/.tmp_version /usr/src/linux-2.6.20-rc7-2/.version rpmbuild --target ppc64 -ta ../kernel-2.6.20rc72ppc64.tar.gz Building target platforms: ppc64 Building for target ppc64 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 The spec file *does* exist and seems valid % head kernel.spec Name: kernel Summary: The Linux Kernel Version: 2.6.20rc72ppc64 Release: 3 License: GPL Group: System Environment/Kernel Vendor: The Linux Community URL: http://www.kernel.org Source: kernel-2.6.20rc72ppc64.tar.gz BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root % gunzip -cd ../kernel-2.6.20rc72ppc64.tar.gz | tar -tvf - | grep 'kernel.spec' -rw-r--r-- harbaugh/messagebus 1347 2007-02-07 14:15 kernel-2.6.20rc72ppc64/./kernel.spec This problem may be due to a change in tar, see https://www.redhat.com/archives/fedora-devel-list/2006-September/msg00874.ht... for a patch to rpmbuild -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243077 chrubis@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kernel-maintainers@forge.provo.novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243077 lmb@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX ------- Comment #1 from lmb@novell.com 2007-02-08 04:07 MST ------- make rpm is not the proper way to build a SUSE kernel. You need to use "build". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243077 ------- Comment #2 from harbaugh@ncifcrf.gov 2007-02-08 04:22 MST ------- is this documented on the opensuse wiki? if so, where? thanks, Toni -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=243077 ------- Comment #3 from harbaugh@ncifcrf.gov 2007-02-08 04:54 MST ------- Also, if you want to change the kernel .config or edit the source, how does that work with "build"? Thanks, Toni -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com