Re: make rpm broken in 2.6.8-rc2

From: Steve Bangert
Date: Mon Jul 19 2004 - 13:43:28 EST

sam@xxxxxxxxxxxx wrote:

Works for me..

On Mon, Jul 19, 2004 at 03:43:30AM -0700, Steve Bangert wrote:

[root@localhost linux-2.6]# make rpm
make clean
set -e; cd ..; ln -sf /usr/src/linux-2.6 kernel-2.6.8rc2
set -e; cd ..; tar -cz -f kernel-2.6.8rc2.tar.gz kernel-2.6.8rc2/.
set -e; cd ..; rm kernel-2.6.8rc2
set -e; \
/bin/sh /usr/src/linux-2.6/scripts/mkversion > /usr/src/linux-2.6/.tmp_version
set -e; \
mv -f /usr/src/linux-2.6/.tmp_version /usr/src/linux-2.6/.version
rpmbuild --target i386 -ta ../kernel-2.6.8rc2.tar.gz
Building target platforms: i386
Building for target i386
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.72624
+ umask 022
+ cd /usr/src/redhat/BUILD
+ export LANG

These two lines are not present here. Maybe that have impact?

+ cd /usr/src/redhat/BUILD
+ rm -rf kernel-2.6.8rc1
+ /usr/bin/gzip -dc /usr/src/kernel-2.6.8rc1.tar.gz
+ tar -xf -

gzip: /usr/src/kernel-2.6.8rc1.tar.gz: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive

tar is complaining here, even though it is reading from '-'.
Is it repeatable?

Yes, tried it 3 times, same result. I don,t think the "make spec" script is being executed.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at