Re: make rpm broken in 2.6.8-rc2

From: sam
Date: Mon Jul 19 2004 - 15:32:15 EST


> >>+ 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.

Could you try running
/bin/gzip -dc /home/sam/bk/kernel-2.6.8rc2.tar.gz | tar -xf -
in an empty directory.
If that fails try:
/bin/gzip -dc /home/sam/bk/kernel-2.6.8rc2.tar.gz
eventually redirected to /dev/null


Also try to check the size of the .tar.gz file.
My tar.gz file:
$ ll /home/sam/bk/kernel-2.6.8rc2.tar.gz
-rw-r--r-- 1 sam users 153725342 Jul 20 00:17 /home/sam/bk/kernel-2.6.8rc2.tar.gz


If the .tar.gz file is broken try uncomenting the rm from the Makefile
and execute rpmbuild manually.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/