Messages in this thread | | | Date | Tue, 20 Jul 2004 12:09:34 -0700 | From | Steve Bangert <> | Subject | Re: make rpm broken in 2.6.8-rc2 |
| |
sam@ravnborg.org wrote:
>>>>+ 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. > > Works fine
>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 > > It was corrupted and the cause of the error, notice that tar was complaining about 2.6.8-rc1, but I was building 2.6.8-rc2, thats because the kernel.spec file didn't get updated, the " make spec" script didn't get executed after I built 2.6.8-rc1, It will execute if I delete the kernel.spec file and I can successfully build the kernel with "make rpm"
Steve
> >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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |