Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110762 - cannot emerge net-wireless/ieee80211 against vanilla-sources-2.6.14
Summary: cannot emerge net-wireless/ieee80211 against vanilla-sources-2.6.14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
: 112441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-28 19:03 UTC by Scott McKenzie
Modified: 2005-11-16 06:04 UTC (History)
4 users (show)

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 Scott McKenzie 2005-10-28 19:03:49 UTC
Cannot emerge net-wireless/ieee80211 against vanilla-sources-2.6.14 due to
access violations.  Have tried this with ieee80211-1.0.3-r2 (current stable
version) and ieee80211-1.1.6 (latest version in portage).

I don't want to/cannot use the in-kernel ipw2200 driver due to it's lack of WPA
support.

Reproducible: Always
Steps to Reproduce:
1. emerge =vanilla-sources-2.6.14
2. build kernel and reboot to use new kernel
3. emerge ieee80211

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 2) net-wireless/ieee80211-1.0.3-r2 to /
>>> md5 files   ;-) ieee80211-1.0.3.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r1.ebuild
>>> md5 files   ;-) ieee80211-1.1.6.ebuild
>>> md5 files   ;-) ieee80211-1.0.2.ebuild
>>> md5 files   ;-) ieee80211-1.1.5.ebuild
>>> md5 files   ;-) ieee80211-1.0.3-r2.ebuild
>>> md5 files   ;-) ieee80211-1.1.5-r1.ebuild
>>> md5 files   ;-) ieee80211-1.0.1.ebuild
>>> md5 files   ;-) files/ieee80211-1.0.3-broadcast.patch
>>> md5 files   ;-) files/ieee80211-1.1.5-broadcast.patch
>>> md5 files   ;-) files/digest-ieee80211-1.0.1
>>> md5 files   ;-) files/digest-ieee80211-1.0.2
>>> md5 files   ;-) files/digest-ieee80211-1.0.3
>>> md5 files   ;-) files/digest-ieee80211-1.1.5
>>> md5 files   ;-) files/digest-ieee80211-1.1.6
>>> md5 files   ;-) files/ieee80211-1.1.5-we18.patch
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r1
>>> md5 files   ;-) files/digest-ieee80211-1.0.3-r2
>>> md5 files   ;-) files/digest-ieee80211-1.1.5-r1
>>> md5 files   ;-) files/ieee80211-1.0.3-keep_restricted_bit.patch
>>> md5 files   ;-) files/ieee80211-1.0.3-open_frag.patch
>>> md5 src_uri ;-) ieee80211-1.0.3.tgz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.14
 * Checking for suitable kernel configuration options:
>>> Unpacking source...
>>> Unpacking ieee80211-1.0.3.tgz to /var/tmp/portage/ieee80211-1.0.3-r2/work
 * Applying ieee80211-1.0.3-keep_restricted_bit.patch ...                      
                                                                               
       [ ok ]
 * Applying ieee80211-1.0.3-open_frag.patch ...                                
                                                                               
       [ ok ]
 * Applying ieee80211-1.0.3-broadcast.patch ...                                
                                                                               
       [ ok ]
>>> Source unpacked.
 * Preparing ieee80211 module
Checking in /usr/src/linux/ for ieee80211 components...

make -C /usr/src/linux
M=/var/tmp/portage/ieee80211-1.0.3-r2/work/ieee80211-1.0.3
MODVERDIR=/var/tmp/portage/ieee80211-1.0.3-r2/work/ieee80211-1.0.3 modules
make[1]: Entering directory `/usr/src/linux-2.6.14'
  CC [M] 
/var/tmp/portage/ieee80211-1.0.3-r2/work/ieee80211-1.0.3/ieee80211_module.o
In file included from
/var/tmp/portage/ieee80211-1.0.3-r2/work/ieee80211-1.0.3/ieee80211_module.c:54:
/var/tmp/portage/ieee80211-1.0.3-r2/work/ieee80211-1.0.3/net/ieee80211.h:724:
error: redefinition of 'is_broadcast_ether_addr'
include/linux/etherdevice.h:73: error: previous definition of
'is_broadcast_ether_addr' was here
make[2]: ***
[/var/tmp/portage/ieee80211-1.0.3-r2/work/ieee80211-1.0.3/ieee80211_module.o]
Error 1
make[1]: *** [_module_/var/tmp/portage/ieee80211-1.0.3-r2/work/ieee80211-1.0.3]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14'
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
/usr/src/linux/net/ieee80211
/usr/src/linux/net/ieee80211/ieee80211_module.c
/usr/src/linux/net/ieee80211/ieee80211_crypt_ccmp.c
/usr/src/linux/net/ieee80211/ieee80211_crypt_tkip.c
/usr/src/linux/net/ieee80211/ieee80211_rx.c
/usr/src/linux/net/ieee80211/ieee80211_tx.c
/usr/src/linux/net/ieee80211/ieee80211_wx.c
/usr/src/linux/net/ieee80211/ieee80211_crypt.c
/usr/src/linux/net/ieee80211/ieee80211_crypt_wep.c
/usr/src/linux/include/net/ieee80211_crypt.h
/usr/src/linux/include/config/ieee80211
/usr/src/linux/include/config/ieee80211.h

Above files found.  Remove? [y],n y
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_module.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_module.c': Permission
denied
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt_ccmp.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_crypt_ccmp.c':
Permission denied
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt_tkip.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_crypt_tkip.c':
Permission denied
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_rx.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_rx.c': Permission denied
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_tx.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_tx.c': Permission denied
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_wx.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_wx.c': Permission denied
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_crypt.c': Permission
denied
ACCESS DENIED  unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt_wep.c
rm: cannot remove `/usr/src/linux/net/ieee80211/ieee80211_crypt_wep.c':
Permission denied
ACCESS DENIED  unlink:    /usr/src/linux/include/net/ieee80211_crypt.h
rm: cannot remove `/usr/src/linux/include/net/ieee80211_crypt.h': Permission denied
ACCESS DENIED  unlink:    /usr/src/linux/include/config/ieee80211.h
rm: cannot remove `/usr/src/linux/include/config/ieee80211.h': Permission denied

 Old ieee80211 references found.  In order to build the ieee80211
 subsystem, prior versions must first be removed.  You can perform
 this task by running this makefile as root via:

        % sudo make check_old

 and answering Y to remove the file references.

 Aborting make.

make: *** [check_old] Error 1

!!! ERROR: net-wireless/ieee80211-1.0.3-r2 failed.
!!! Function linux-mod_src_compile, Line 505, Exitcode 2
!!! Unable to make                                  KSRC=/usr/src/linux
KSRC_OUTPUT=/usr/src/linux all.
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-net-wireless_-_ieee80211-1.0.3-r2-24398.log"

unlink:    /usr/src/linux/net/ieee80211/ieee80211_module.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_module.c)
unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt_ccmp.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_crypt_ccmp.c)
unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt_tkip.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_crypt_tkip.c)
unlink:    /usr/src/linux/net/ieee80211/ieee80211_rx.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_rx.c)
unlink:    /usr/src/linux/net/ieee80211/ieee80211_tx.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_tx.c)
unlink:    /usr/src/linux/net/ieee80211/ieee80211_wx.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_wx.c)
unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_crypt.c)
unlink:    /usr/src/linux/net/ieee80211/ieee80211_crypt_wep.c (symlink to
/usr/src/linux-2.6.14/net/ieee80211/ieee80211_crypt_wep.c)
unlink:    /usr/src/linux/include/net/ieee80211_crypt.h (symlink to
/usr/src/linux-2.6.14/include/net/ieee80211_crypt.h)
unlink:    /usr/src/linux/include/config/ieee80211.h (symlink to
/usr/src/linux-2.6.14/include/config/ieee80211.h)
--------------------------------------------------------------------------------


Expected Results:  
ieee80211 should emerge successfully.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.14 i686)
=================================================================
System uname: 2.6.14 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0_pre9
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://192.168.1.5/gentoo/
http://mirror.pacific.net.au/linux/Gentoo/"
LANG="en_AU"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.5/gentoo-portage"
USE="x86 X acpi alsa avi bash-completion berkdb bitmap-fonts bonobo cdr crypt
cups curl dbus dvd dvdr eds emboss encode flac foomaticdb fortran freetds gd
gdbm gif gnome gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib
jack java jpeg junit libg++ libwww logrotate mad mikmod mmx motif mozilla mp3
mpeg mysql ncurses nls nptl nptlonly oav odbc ogg oggvorbis opengl pam pcmcia
pdflib perl pic png python quicktime readline ruby samba sdl spell sqlite sse
sse2 ssl svga tcpd tetex threads truetype truetype-fonts type1-fonts udev vorbis
xine xml xml2 xmms xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 19:43:49 UTC
(In reply to comment #0)
>  Old ieee80211 references found.  In order to build the ieee80211
>  subsystem, prior versions must first be removed.  You can perform
>  this task by running this makefile as root via:
> 
>         % sudo make check_old
> 
>  and answering Y to remove the file references.

Please, read the ebuild instructions before reporting bugs.

*** This bug has been marked as a duplicate of 97397 ***
Comment 2 Scott McKenzie 2005-10-28 21:27:58 UTC
This bug is not a dup of 97397.  If it was then I could just follow the
instructions given (remove /usr/src/linux/include/net/ieee80211.h) and it would
merge.  This bug relates to kernel 2.6.14.  Bug 97397 relates to kernel 2.6.13 -
just like it says in the bug title.

> Please, read the ebuild instructions before reporting bugs.
Please look at the ebuild and show me where it says:
>         % sudo make check_old

Those instructions come not from the ebuild, but from the package source.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 22:07:39 UTC
Stop reopening this bug, I'm dead serious... 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-10-28 22:11:40 UTC
(In reply to comment #3)
> Stop reopening this bug, I'm dead serious... 

Eh, sorry. Too many open tabs, I thought you've reopened Bug 97397. 
Comment 5 Henrik Brix Andersen 2005-10-29 02:54:56 UTC
I've added a work-around to net-wireless/ieee80211-1.1.x. Basically, you need to
run the following command before emerging the package:

`/bin/sh /usr/portage/net-wireless/ieee80211/files/remove-old /usr/src/linux`

Wait a few hours, `emerge --sync`, run the above command - and retry the merge.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-11-13 12:37:24 UTC
*** Bug 112441 has been marked as a duplicate of this bug. ***
Comment 7 Aquila 2005-11-14 01:54:13 UTC
This is a problem, please reopen:
2.6.14 is stable on x86 but ieee80211 1.1 is not, so the current situation gives 
horrible errors. The new kernel should be marked unstable or ieee80211 1.1.x 
should become stable I guess?

Oh yes: there is even more confusion with the new kernel containing the 
ieee80211 framework, what should users use? (perhaps this is a different bug)
Comment 8 Andre Hinrichs 2005-11-16 06:04:41 UTC
I'd like to also suggest to either mark 2.6.14.2 unstable or to mark
ieee80211 stable. I've done this by marking 2.6.14.2 unstable locally on
my system:

Put the following line to /etc/portage/package.mask to do the same...

>=sys-kernel/vanilla-sources-2.6.14