ndiswrapper & madwifi-ng driver ebuilds are not doing proper kernel config checking. These ebuilds should check for wireless_extensions within linux/net/wireless. (Granted, these appear deprecated according to the kernel help menu, but they are required build deps still for the latest ndiswrapper & madwifi drivers!) Reproducible: Always Steps to Reproduce: emerge ndiswrapper || emerge madwifi-ng Actual Results: build fails if wireless_extensions are not activated within the kernel Expected Results: ebuilds never check kernel config file for proper configuration (Is there a good reason for the lack of checking? If not, this demonstrates poor programming practice.)
Both ebuilds do check for it ('old' wireless stack) and abort without required kernel options. Following is pasted from madwifi-ng ebuild. ---8< snip ---- CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD" ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)." ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions" ---8< snip ---
So the question is, why did it fail to not catch the lack of wireless_ext within my /usr/src/linux/.config? For some reason, on both the latest ndiswrapper & madwifi-ng ebuilds, they both passed the checks, but failed while compiling with a compiler complaint of something to the extent "no wireless_ext defined". After figuring out I was lacking the old deprecated code (config option), I then enabled it and things compiled just fine. <stumped>
=== Summaries Are Not Like Titles At All === === But More Like a Sentence Describing === === What the Actual Bug Report Is About ===
Please file a similar bug report for net-wireless/madwifi-ng - the ebuilds for either package are maintained by different groups of developers.
As for the summary, I try to make it as descriptive as possible for users searching for bugs via bugs.gentoo.org as they get truncated after five to six words. Sounds good, thanks for moving to madwifi-ng.
successfully fails for me on 1.56