rpmbuild kernel.spec error

Justin Conover justin.conover at gmail.com
Sun Mar 12 15:18:06 UTC 2006


On 3/12/06, Justin Conover <justin.conover at gmail.com> wrote:
>
> This is from 2041.src.rpm
>
> $ rpmbuild -bp kernel-2.6.spec
> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.39530
> + umask 022
> + cd /home/justin/rpmbuild/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + '[' '!' -d kernel-2.6.15/vanilla ']'
> + cd kernel-2.6.15
> + '[' -d linux-2.6.15.x86_64 ']'
> + mv linux-2.6.15.x86_64 deleteme
> + rm -rf deleteme
> + '[' -d xen ']'
> + cp -rl vanilla linux-2.6.15.x86_64
> + cp -rl xen-vanilla xen
> cp: cannot stat `xen-vanilla': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.39530 (%prep)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.39530 (%prep)
>
> $ pwd
/home/justin/rpmbuild/BUILD/kernel-2.6.15

$ ls
linux-2.6.15  linux-2.6.15.x86_64  vanilla

$ mkdir xen-vanilla

spec now starts to build, so there is a mkdir xen-vanilla or something along
those lines missing

After that, it breaks on a patch

+ patch -p1 -s
1 out of 4 hunks FAILED -- saving rejects to file
arch/i386/kernel/sysenter.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.35125 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.35125 (%prep)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20060312/ba75d3cf/attachment.htm>


More information about the fedora-test-list mailing list