* make rpm broken in 2.6.8-rc2
@ 2004-07-19 10:43 Steve Bangert
2004-07-19 15:22 ` sam
0 siblings, 1 reply; 5+ messages in thread
From: Steve Bangert @ 2004-07-19 10:43 UTC (permalink / raw)
To: linux-kernel
[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
+ LANG=C
+ export LANG
+ 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: Error is not recoverable: exiting now
error: Bad exit status from /var/tmp/rpm-tmp.72624 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.72624 (%prep)
make[1]: *** [rpm] Error 1
make: *** [rpm] Error 2
[root@localhost linux-2.6]#
Steve Bangert
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm broken in 2.6.8-rc2
2004-07-19 10:43 make rpm broken in 2.6.8-rc2 Steve Bangert
@ 2004-07-19 15:22 ` sam
2004-07-19 18:41 ` Steve Bangert
0 siblings, 1 reply; 5+ messages in thread
From: sam @ 2004-07-19 15:22 UTC (permalink / raw)
To: Steve Bangert; +Cc: linux-kernel
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
> + LANG=C
> + 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?
Sam
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm broken in 2.6.8-rc2
2004-07-19 15:22 ` sam
@ 2004-07-19 18:41 ` Steve Bangert
2004-07-19 22:31 ` sam
0 siblings, 1 reply; 5+ messages in thread
From: Steve Bangert @ 2004-07-19 18:41 UTC (permalink / raw)
To: sam, linux-kernel
sam@ravnborg.org 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
>>+ LANG=C
>>+ 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.
Steve
> Sam
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm broken in 2.6.8-rc2
2004-07-19 18:41 ` Steve Bangert
@ 2004-07-19 22:31 ` sam
2004-07-20 19:09 ` Steve Bangert
0 siblings, 1 reply; 5+ messages in thread
From: sam @ 2004-07-19 22:31 UTC (permalink / raw)
To: Steve Bangert; +Cc: sam, linux-kernel
> >>+ 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make rpm broken in 2.6.8-rc2
2004-07-19 22:31 ` sam
@ 2004-07-20 19:09 ` Steve Bangert
0 siblings, 0 replies; 5+ messages in thread
From: Steve Bangert @ 2004-07-20 19:09 UTC (permalink / raw)
To: sam, linux-kernel
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
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-20 19:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-19 10:43 make rpm broken in 2.6.8-rc2 Steve Bangert
2004-07-19 15:22 ` sam
2004-07-19 18:41 ` Steve Bangert
2004-07-19 22:31 ` sam
2004-07-20 19:09 ` Steve Bangert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox