Bug#362265: madwifi: FTBFS on mipsel

Kel Modderman kelrin at tpg.com.au
Fri Apr 14 06:37:07 UTC 2006


Kel Modderman wrote:
> Aurelien Jarno wrote:
>> Package: madwifi
>> Version: 0.svn20060207-4 Severity: serious
>> Justification: no longer builds from source
>>
>> Trying to builf madwifi version 0.svn20060207-4 on mipsel, I have seen
>> it now fails to build from source:
>>
>>   rm -rf debian/patched
>>   /usr/bin/make -C tools clean
>>   make[1]: Entering directory 
>> `/home/aurel32/madwifi/madwifi-0.svn20060207/tools'
>>   ../Makefile.inc:203: ../hal/public/mips-elf.inc: No such file or 
>> directory
>>   make[1]: *** No rule to make target `../hal/public/mips-elf.inc'.  
>> Stop.
>>   make[1]: Leaving directory 
>> `/home/aurel32/madwifi/madwifi-0.svn20060207/tools'
>>   make: *** [clean] Error 2
>>
>> The problem was already there in the previous version, but the error was
>> ignored. Therefore I suggest to make the following change:
>>
>> diff -u madwifi-0.svn20060207/debian/rules 
>> madwifi-0.svn20060207/debian/rules
>> --- madwifi-0.svn20060207/debian/rules
>> +++ madwifi-0.svn20060207/debian/rules
>> @@ -41 +41 @@
>> -    $(MAKE) -C tools clean
>> +    -$(MAKE) -C tools clean
>>
>>   
>
> My intention was to make the upstream tools/Makefile _never_ call 
> Makefile.inc. I will look into this some more this weekend.
>
> Thanks for the report.
>
> Kel.
>

Okay, the clean target is being called first, before the dirty Makefile 
is patched. Ignoring this error is okay (for now) with the suggested 
fix. Will make that change for the next upload, thanks.

madwifi-ng has been cleaned up in this regard, therefore this will not 
cause problems when we switch to those sources.

Thanks, Kel.




More information about the Pkg-madwifi-maintainers mailing list