Re: make rpm fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If you are trying to build an RPM, and it looks like you're trying to build a kernel RPM, you should try creating a spec file, and running:

rpmbuild -ba kernel-2.4.209custom

and that will build a src.rpm and a binary (i386.rpm)

> I ran "make rpm".
> 
> After much time, the build fails with this:
> ...
> make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.209custom'
> + cp arch/i386/boot/bzImage
> /var/tmp/kernel-2.4.209custom-root/boot/vmlinuz-2.4.20-9custom
> + cp System.map
> /var/tmp/kernel-2.4.209custom-root/boot/System.map-2.4.20-9custom
> + cp .config
> /var/tmp/kernel-2.4.209custom-root/boot/config-2.4.20-9custom
> + /usr/lib/rpm/brp-compress
> Processing files: kernel-2.4.209custom-2
> Provides: kernel-2.4.20-9custom kernel-drm
> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
> Processing files: kernel-debuginfo-2.4.209custom-2
> error: Could not open %files file
> /usr/src/redhat/BUILD/kernel-2.4.209custom/debugfiles.list: No such file
> or directory
>  
>  
> RPM build errors:
>     Could not open %files file
> /usr/src/redhat/BUILD/kernel-2.4.209custom/debugfiles.list: No such file
> or directory
> make: *** [rpm] Error 1
> [root@xxxxxxx linux-2.4]# ls /usr/src
HTH,
Kev

----------------------------------------------------------- 
Kevin Worthington - <kworthington (at) linuxmail {dot} org>
Faithful Red Hat Linux user since April 1998
Registered Linux User #218689 - http://counter.li.org
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze





[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux