[ATrpms-users] kmdl's for RHEL4 kernel 2.6.9-78.0.8.EL

Axel Thimm Axel.Thimm at ATrpms.net
Wed Jan 7 09:34:02 CET 2009


Hi,

On Tue, Jan 06, 2009 at 04:49:35PM -0500, Tuan Hoang wrote:
> > The cvs version fails on RHEL4's latest kernels as well. There are
> > some parts defined like ispowerof2 that usually aren't and the build
> > dies.
> 
> Axel - I've been trying to rebuild the 0.8.4a-81 here on my CentOS 4.7 
> box.  FWIW, I only have your atrpms-rpm-config-183-1 installed.  I can 
> get it to build with the following spec file patch and this command-line:
> 
> rpmbuild -ba --clean --define "dist .rhel4" --define "rhel 4" lirc.spec
> 
> ----- begin patch -----
> --- lirc.spec   2008-11-08 09:25:13.000000000 +0000
> +++ lirc.spec.rhel4     2009-01-06 21:03:54.000000000 +0000
> @@ -26,7 +26,12 @@
>   BuildRequires: i2c-devel
>   %endif
>   BuildRequires: portaudio >= 18, libirman-devel
> -BuildRequires: libXt-devel, libX11-devel, alsa-lib-devel
> +%if 0%{?fedora} > 4 || 0%{?rhel} > 4
> +BuildRequires: libXt-devel, libX11-devel
> +%else
> +BuildRequires: xorg-x11-devel
> +%endif
> +BuildRequires: alsa-lib-devel
>   %{!?_without_libusb:BuildRequires: libusb-devel}
>   BuildRequires: python
>   %lib_dependencies
> ----- end patch -----

This patch is not needed, if you point your depsolver to ATrpms.

> But I have one problem.  I can see it cycling through my various 
> installed kernels when it's building, but it doesn't seem to package 
> them correctly.  I only end up with the following binary RPM's (note the 
> double dash):
> 
> lirc-kmdl--0.8.4a-81.rhel4.i386.rpm
> lirc-kmdl--debuginfo-0.8.4a-81.rhel4.i386.rpm
> 
> Any hints?

You should post the buildlog, it looks like it did not find
kernel-devel for the currently running kernel or something like
that. What is missing between the dashes is the kernel uname-r id.

Make sure you have the matching kernel-devel installed. If all go
well, you will hit the same bug as I do (ispowerof2).
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20090107/c26a0b1b/attachment.bin 


More information about the atrpms-users mailing list