Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84508 - net-wireless/ipw2200-1.0.1.ebuild doesn't check kernel config correctly
Summary: net-wireless/ipw2200-1.0.1.ebuild doesn't check kernel config correctly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-03-08 06:13 UTC by Simon Holm Thøgersen
Modified: 2005-03-25 10:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Holm Thøgersen 2005-03-08 06:13:50 UTC
Line 46 in ipw2200-1.0.1.ebuild is
if linux_chkconfig_present CRYPTO_AES_586 && linux_chkconfig_present CRYPTO_AES; then
but should rather be
if ! (linux_chkconfig_present CRYPTO_AES_586 || linux_chkconfig_present CRYPTO_AES); then
if the intention is to fail when neither CRYPTO_AES or CRYPTO_AES_586 is present in /usr/src/linux/.config.
linux_chkconfig_present ARG returns 0 if ARG is in /usr/src/linux/.config, which evaluates linux_chkconfig_present ARG true. My guess is that someone got that wrong, causing the ebuild to fail only when both are present in .config, which I happened to have today ;0)

Reproducible: Always
Steps to Reproduce:
1. Link /usr/src/linux to kernel sources with both CRYPTO_AES and CRYPTO_AES_586 present
2. emerge =ipw2200-1.0.1



Actual Results:  
The ebuild will not complete.
Comment 1 Henrik Brix Andersen 2005-03-25 10:33:20 UTC
Fixed for net-wireless/ipw2100 - ipw2200 fix coming up.
Comment 2 Henrik Brix Andersen 2005-03-25 10:48:40 UTC
Fixed net-wireless/ipw2200 as well. Thank you for reporting this.