Bug 190390 - net-wireless/madwifi-old bad CONFIG_CHECK with 2.6.22 kernels
|
Bug#:
190390
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: mobile@gentoo.org
|
Reported By: dpblnt@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: net-wireless/madwifi-old bad CONFIG_CHECK with 2.6.22 kernels
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-08-27 11:15 0000
|
* checking ebuild checksums ;-) ...
[ ok ]
* checking auxfile checksums ;-) ...
[ ok ]
* checking miscfile checksums ;-) ...
[ ok ]
* checking madwifi-old-r1417-20060128.tar.gz ;-) ...
[ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.22-gentoo-r5
* Checking for suitable kernel configuration options...
* madwifi-old-0.0.1417.20060128 requires support for Wireless LAN drivers
(non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO).
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Once you have satisfied these options, please try merging
* this package again.
!!! ERROR: net-wireless/madwifi-old-0.0.1417.20060128 failed.
Call stack:
ebuild.sh, line 1648: Called dyn_setup
ebuild.sh, line 714: Called qa_call 'pkg_setup'
ebuild.sh, line 44: Called pkg_setup
madwifi-old-0.0.1417.20060128.ebuild, line 31: Called linux-mod_pkg_setup
linux-mod.eclass, line 464: Called linux-info_pkg_setup
linux-info.eclass, line 572: Called check_extra_config
linux-info.eclass, line 471: Called die
!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/log/portage/net-wireless:madwifi-old-0.0.1417.20060128:20070827-110814.log'.
Reproducible: Always
Steps to Reproduce:
i appended
CONFIG_NET_RADIO = y
to the .config, now the check was successful.
but then there is another one:
* Preparing ath_hal module
cp ./../hal/linux/ah_osdep.c ah_osdep.c
uudecode ./../hal/public/i386-elf.hal.o.uu
cp ./../hal/public/i386-elf.opt_ah.h opt_ah.h
make -C /usr/src/linux
M=/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal
MODVERDIR=/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/../symbols
modules
make[1]: Entering directory `/usr/src/linux-2.6.22-gentoo-r5'
CC [M]
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.o
In file included from include/linux/compiler-gcc3.h:4,
from include/linux/compiler.h:42,
from include/asm-generic/page.h:7,
from include/asm/page.h:201,
from
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/../include/compat.h:71,
from <command line>:10:
include/linux/compiler-gcc.h:33:1: warning: "__packed" redefined
In file included from <command line>:10:
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/../include/compat.h:55:1:
warning: this is the location of the previous definition
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:44:26:
linux/config.h: No such file or directory
In file included from include/asm/system.h:4,
from include/asm/processor.h:18,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/module.h:9,
from
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:46:
include/linux/kernel.h:42:1: warning: "roundup" redefined
In file included from <command line>:10:
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/../include/compat.h:46:1:
warning: this is the location of the previous definition
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:
In function `ath_hal_getuptime':
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:386:
error: `jiffies' undeclared (first use in this function)
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:386:
error: (Each undeclared identifier is reported only once
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:386:
error: for each function it appears in.)
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:386:
error: `HZ' undeclared (first use in this function)
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:
In function `ath_hal_sysctl_register':
/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.c:516:
error: too many arguments to function `register_sysctl_table'
make[2]: ***
[/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal/ah_osdep.o]
Error 1
make[1]: ***
[_module_/var/tmp/portage/net-wireless/madwifi-old-0.0.1417.20060128/work/madwifi-old-r1417-20060128/ath_hal]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5'
make: *** [all] Error 2
!!! ERROR: net-wireless/madwifi-old-0.0.1417.20060128 failed.
Call stack:
ebuild.sh, line 1632: Called dyn_compile
ebuild.sh, line 983: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
madwifi-old-0.0.1417.20060128.ebuild, line 83: Called linux-mod_src_compile
linux-mod.eclass, line 516: Called die
!!! Unable to make KERNELPATH=/usr/src/linux ATH_RATE=ath_rate/sample all.
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/log/portage/net-wireless:madwifi-old-0.0.1417.20060128:20070827-111620.log'.
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE =
"/var/log/sandbox/sandbox-net-wireless_-_madwifi-old-0.0.1417.20060128-17907.log"
emerge --info
Portage 2.1.2.11 (default-linux/x86/2007.0, gcc-3.4.6, glibc-2.5-r4,
2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Pentium III (Katmai)
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 26 Aug 2007 17:30:01 +0000
app-shells/bash: 3.2_p17
dev-lang/python: 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.23b
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/
/etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
/etc/terminfo /var/svn/"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi apache2 berkdb bzip2 dba gd gnutls icq imap jabber jpeg mime ming
munin-apache mysql ncurses nptl nptlonly pam perl php png slang truetype
unicode utf8 x86 zlib" ELIBC="glibc" KERNEL="linux" USERLAND="GNU"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
config check thing fixed.