[ATrpms-devel] Re: compilation of src rpms

André Fettouhi Andre.Fettouhi at exp2.physik.uni-giessen.de
Thu Nov 3 17:42:45 CET 2005


Axel Thimm wrote:

>On Thu, Nov 03, 2005 at 02:50:48PM +0100, André Fettouhi wrote:
>  
>
>>Axel Thimm wrote:
>>
>>    
>>
>>>On Wed, Nov 02, 2005 at 06:36:27PM +0100, André Fettouhi wrote:
>>>
>>>
>>>      
>>>
>>>>I finally managed to rebuild a kernel module of alsa and madwifi with 
>>>>the options
>>>>
>>>>rpmbuild -ba /usr/src/redhat/SPECS/madwifi-0.9.6.0-18.rhfc4.at.spec 
>>>>
>>>>rpmbuild -ba /usr/src/redhat/SPECS/alsa-driver-1.0.9rfb-40.rhfc4.at.spec 
>>>>
>>>>Now I have the problem that I can install the kernel module for madwifi 
>>>>but the madwifi rpm from ATrpms will not install with my build kernel 
>>>>module.
>>>>  
>>>>
>>>>        
>>>>
>>>Why not? what is the error? If you don't modify the src.rpm, then the
>>>madwifi rpm should accept the custom made kmdls. If not, there is
>>>somewhere a bug.
>>>
>>>
>>>      
>>>
>>There is no error, really I just get the message when trying to the 
>>madwifi rpm, that it depends on the madwifi kernel module and then it 
>>wants to install a new kernel and one of the kernel modules you provide. 
>>I haven't modified the rpmmacros or the spec file at all.
>>    
>>
>
>Well, that's the error. :)
>
>Please post the exact output of rpm -Uhv madwifi...rpm and also the
>output of rpm -qp --provides <your-kmdl-custom-package-here.rpm>, e.g.
>
>$ rpm -qp --provides madwifi-kmdl-2.6.13-1.1532_FC4-0.9.6.0-18.rhfc4.at.i686.rpm 
>madwifi-kmdl-0.9.6.0-18.rhfc4.at  
>madwifi-kmdl-2.6.13-1.1532_FC4 = 0.9.6.0-18.rhfc4.at
>
>The first line needs to match the dependencies from the madwifi rpm,
>rpm -Uhv will tell you what it misses.
>  
>
This is what I get
[root at andre-notebook gd1331]# rpm -qp --provides 
madwifi-kmdl-2.6.13-1.1532_FC4.stk16-0.9.6.0-18.rhfc4.at.i686.rpm
madwifi-kmdl-%{evr}
madwifi-kmdl-2.6.13-1.1532_FC4.stk16 = %{evr}
madwifi-kmdl-2.6.13-1.1532_FC4.stk16 = 0.9.6.0-18.rhfc4.at
[root at andre-notebook gd1331]# rpm -Uhv madwifi-0.9.6.0-18.rhfc4.at.i386.rpm
error: Failed dependencies:
        madwifi-kmdl-0.9.6.0-18.rhfc4.at is needed by 
madwifi-0.9.6.0-18.rhfc4.at.i386

the rpm of the kernel module done

rpmbuild -ba /usr/src/redhat/SPECS/madwifi-0.9.6.0-18.rhfc4.at.spec 
--target=i686 --define 'disttag3 fc4' --define 'atrelease() %1.rhfc4.at'

I can see there is something wrong.

Kind Regards

André Fettouhi

-- 
-------------------------------------------------------
Cand.Scient. André Fettouhi
Justus-Liebig-Universität Giessen
II. Physikalisches Institut
Arbeitsgruppe Prof. Geissel
Heinrich-Buff-Ring 14
Office: Raum 25
D-35392 Giessen
Germany
Telephone: +49-641-99-33253
Fax: +49-641-99-33239
-------------------------------------------------------




More information about the atrpms-devel mailing list