From: Thomas Schweikle <TSchweikle@BfS.de>
To: linux-kernel@vger.kernel.org
Subject: make rpm-pkg fails for all kernels with "spec file not found in <kernel>.tar.gz
Date: Wed, 17 Apr 2013 22:06:32 +0200 [thread overview]
Message-ID: <516F00C8.9070906@BfS.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 4434 bytes --]
[1.] One line summary of the problem:
"make rpm-pkg" fails for all kernels with
"spec file not found in <kernel>.tar.gz"
[2.] Full description of the problem/report:
"make rpm-pkg" fails for all kernels with
"spec file not found in <kernel>.tar.gz"
make O=/home/sct-muc/dev/obj/3.8.8 defconfig
make O=/home/sct-muc/dev/obj/3.8.8 bzImage
make O=/home/sct-muc/dev/obj/3.8.8 rpm-pkg
/bin/bash /home/sct-muc/dev/linux-3.8.y/scripts/package/mkspec \
> /home/sct-muc/dev/obj/3.8.8/kernel.spec
make clean
set -e; cd -P ..; ln -sf /home/sct-muc/dev/linux-3.8.y kernel-3.8.8
/bin/bash /home/sct-muc/dev/linux-3.8.y/scripts/setlocalversion \
--save-scmversion
set -e; cd -P ..; tar -cz --exclude SCCS --exclude BitKeeper \
--exclude .svn --exclude CVS --exclude .pc --exclude .hg \
--exclude .git -f kernel-3.8.8.tar.gz kernel-3.8.8/.
set -e; cd -P ..; rm kernel-3.8.8
rm -f /home/sct-muc/dev/obj/3.8.8/.scmversion
set -e; \
/bin/bash /home/sct-muc/dev/linux-3.8.y/scripts/mkversion \
> /home/sct-muc/dev/obj/3.8.8/.tmp_version
set -e; \
mv -f /home/sct-muc/dev/obj/3.8.8/.tmp_version \
/home/sct-muc/dev/obj/3.8.8/.version
rpmbuild --target x86_64 -ta ../kernel-3.8.8.tar.gz
Fehler: Konnte Spec-Datei von ../kernel-3.8.8.tar.gz nicht lesen
Baue für die Zielplattform(en): x86_64
Baue für das Ziel x86_64
make[2]: *** [rpm-pkg] Fehler 1
make[1]: *** [rpm-pkg] Fehler 2
make: *** [sub-make] Fehler 2
[3.] Keywords:
build, rpm-pkg
[4.] Kernel version:
all
[5.] Output of Oops.. message
"rpmbuild --target x86_64 -ta ../kernel-3.8.8.tar.gz"
Error: could not read spec-file from ../kernel-3.8.8.tar.gz
Building for target(s): x86_64
Building for target: x86_64
make[2]: *** [rpm-pkg] Error 1
make[1]: *** [rpm-pkg] Error 2
make: *** [sub-make] Error 2
[6.] Shell script to trigger the problem:
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-3.4.y
cd linux-3.4.y
git checkout -t origin/linux-3.4.y
make clean
make mrpropper
mkdir -p ${HOME}/obj
make O=${HOME}/obj defconfig
make O=${HOME}/obj bzImage
make O=${HOME}/obj rpm-pkg
[7.] Environment
[7.1.] Software:
$ scripts/ver_linux
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
Linux cc-tps-build-muc 3.2.0-40-generic #64-Ubuntu SMP Mon Mar 25
21:22:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Gnu C 4.6
Gnu make 3.81
binutils 2.22
util-linux 2.20.1
mount support
module-init-tools 3.16
e2fsprogs 1.42
jfsutils 1.1.15
reiserfsprogs 3.6.21
pcmciautils 018
PPP 2.4.5
Linux C Library 2.15
Dynamic linker (ldd) 2.15
Procps 3.2.8
Net-tools 1.60
Kbd 1.15.2
Sh-utils 8.13
wireless-tools 30
Modules Loaded pcnet32 vmxnet vmblock vmsync vmhgfs nfsd nfs
lockd fscache auth_rpcgss nfs_acl sunrpc ext2 ppdev vmw_balloon psmouse
serio_raw vmwgfx ttm drm parport_pc i2c_piix4 shpchp vmci mac_hid lp
parport floppy e1000 mptspi mptscsih mptbase btrfs zlib_deflate libcrc32c
[7.2.] Processor information (from /proc/cpuinfo):
n.a.
[7.3.] Module information (from /proc/modules):
n.a.
[7.4.] Loaded driver and hardware information:
n.a.
[7.5.] PCI information ('lspci -vvv' as root)
n.a.
[7.6.] SCSI information (from /proc/scsi/scsi)
n.a.
[7.7.] Other information that might be relevant to the problem
(please look in /proc and include all information that you
think to be relevant):
n.a.
[X.] Other notes, patches, fixes, workarounds:
git clone \
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-3.4.y
cd linux-3.4.y
git checkout -t origin/linux-3.4.y
make clean
make mrpropper
mkdir -p ${HOME}/obj
make O=${HOME}/obj defconfig
make O=${HOME}/obj bzImage
make O=${HOME}/obj deb-pkg
works.
--
Mit freundlichen Grüssen
Thomas Schweikle
Bundesamt für Strahlenschutz Thomas Schweikle
Ingolstädter Landstraße 1 AG-IT
D-85764 Oberschleißheim Tel.: +49(0) 30 / 18 333 2594
Fax: +49(0) 30 / 18 10 333 2594
http://www.bfs.de e-mail: tschweikle@bfs.de
[-- Attachment #2: S/MIME Kryptografische Unterschrift --]
[-- Type: application/pkcs7-signature, Size: 4717 bytes --]
next reply other threads:[~2013-04-17 20:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-17 20:06 Thomas Schweikle [this message]
2013-04-18 12:51 ` make rpm-pkg fails for all kernels with "spec file not found in <kernel>.tar.gz Michal Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=516F00C8.9070906@BfS.de \
--to=tschweikle@bfs.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.