Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107794 - Testing request for new splitted linux-wlan-ng ebuilds
Summary: Testing request for new splitted linux-wlan-ng ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Petteri Räty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-01 07:56 UTC by Petteri Räty (RETIRED)
Modified: 2006-12-01 11:23 UTC (History)
1 user (show)

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


Attachments
linux-wlan-ng-firmware-0.2.2.ebuild.patch (linux-wlan-ng-firmware-0.2.2.ebuild.patch,633 bytes, patch)
2005-10-02 02:11 UTC, Martin Nowack
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2005-10-01 07:56:11 UTC
I just committed new splitted linux-wlan-ng ebuilds to the tree so please test
them and add your keywords if working. The main linux-wlan-ng-0.2.2.ebuild is
package.masked at the moment but I will unmask it soon. The new ebuilds are:
net-wireless/linux-wlan-ng-utils
net-wireless/linux-wlan-ng-firmware
net-wireless/linux-wlan-ng-modules
Comment 1 Martin Nowack 2005-10-02 02:11:55 UTC
Created attachment 69692 [details, diff]
linux-wlan-ng-firmware-0.2.2.ebuild.patch

Hi,
the splitted ebuilds work great for me (x86 - prism2_usb).

The patch includes (what I've found)
* just a typo in the post_inst
* and var db location
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-10-02 02:16:22 UTC
Well I thought about hard coding the path to the ebuild but it is not quarantied
to be that way in the future. Maybe some day we will have one variable that will
give the location of the ebuild to run configure on. I will fix the typo.
Comment 3 Martin Nowack 2005-10-02 03:16:19 UTC
Ok.  
  
An other question, what is with the /etc/init.d/wlan script - is it obsolete?  
It isn't installed by any of these packages. 
 
An other question, the /etc/wlan/shared.prism2 file, where is the FIRMWARE_DIR 
variable set, possible this should be set to the new location /lib/firmware 
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-10-02 04:06:50 UTC
(In reply to comment #3)
> Ok.  
>   
> An other question, what is with the /etc/init.d/wlan script - is it obsolete?  
> It isn't installed by any of these packages. 

betelgeuse@pena ~ $ qfile /etc/init.d/wlan
net-wireless/linux-wlan-ng (/etc/init.d/wlan)

So it is installed by the main package.

>  
> An other question, the /etc/wlan/shared.prism2 file, where is the FIRMWARE_DIR 
> variable set, possible this should be set to the new location /lib/firmware 

/etc/wlan/shared:FIRMWARE_DIR=/lib/firmware
This file is then again sourced by the init script:
/etc/init.d/wlan:       if [ -f /etc/wlan/shared ]
/etc/init.d/wlan:               source /etc/wlan/shared
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2005-10-02 04:10:55 UTC
The plan was to obsolete the init script by writing a net module for
linux-wlan-ng but I decided to commit the split ebuilds at this point because
people needed the version bump for wireless to get working again. The net module
is still something I will be doing but there is not anything ready yet.
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2005-10-04 14:27:12 UTC
we're currently testing a new alias system, sorry for the bugspam
Comment 7 Neil Bothwick 2005-10-13 05:16:24 UTC
Works here on ~ppc with a D-Link DWL-122 
 
Portage 2.0.53_rc5 (default-linux/ppc/2005.1/ppc/G4, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13-gentoo-r4 ppc) 
================================================================= 
System uname: 2.6.13-gentoo-r4 ppc 7447A, altivec supported 
Gentoo Base System version 1.12.0_pre9 
ccache version 2.4 [enabled] 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
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.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="ppc ~ppc" 
AUTOCLEAN="yes" 
CBUILD="powerpc-unknown-linux-gnu" 
CFLAGS="-O2 -mcpu=G4 -fno-strict-aliasing -fomit-frame-pointer -pipe" 
CHOST="powerpc-unknown-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O2 -mcpu=G4 -fno-strict-aliasing -fomit-frame-pointer -pipe" 
DISTDIR="/mnt/portage/distfiles" 
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ 
http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/ 
ftp://mir.zyrianes.net/gentoo/ ftp://mirror.nutsmaas.nl/gentoo" 
LINGUAS="en_GB" 
PKGDIR="/mnt/portage/packages/krikkit" 
PORTAGE_TMPDIR="/mnt/scratch" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/mnt/portage/local" 
SYNC="rsync://desiato/gentoo" 
USE="ppc X alsa altivec arts berkdb bitmap-fonts bonobo cddb cdr crypt cups 
curl dv dvd emboss encode exif fam flac foomaticdb gdbm gif gimpprint gphoto2 
gpm gstreamer gtk gtk2 gtkhtml guile hal ieee1394 imagemagick imlib java jpeg 
kde kdeenablefinal libwww mad motif mp3 mpeg mysql ncurses offensive ogg 
oggvorbis opengl pdflib perl png ppds python qt readline sdl slang speex spell 
ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts unicode usb 
vhosts vorbis wifi xml xml2 xmms xv zlib linguas_en_GB userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS 
 
 
Comment 8 Joe Jezak (RETIRED) gentoo-dev 2005-10-15 16:11:26 UTC
Marked ~ppc.
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2005-10-29 08:50:42 UTC
Adding ppc back to CC because net-wireless/linux-wlan-ng is not keyworded ~ppc.
Comment 10 Joe Jezak (RETIRED) gentoo-dev 2005-11-19 16:13:15 UTC
Sorry about that, added ~ppc.
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2005-12-02 06:12:05 UTC
Please try to get this marked because the earlier versions do not compile with
2.6.14 kernel sources. I understand that it is hard if no-one has the hardware,
but I have been contacted by users wanting to use linux-wlan-ng on amd64. Just
too bad that they haven't reported about their progress in this bug.
Comment 12 Simon Stelling (RETIRED) gentoo-dev 2005-12-03 03:54:03 UTC
uhm, yes, that's rather bad. i did minimal testing and added ~amd64. better a
maybe-broken ebuild than a for-sure-broken one ;)
Comment 13 Petteri Räty (RETIRED) gentoo-dev 2005-12-19 02:56:09 UTC
(In reply to comment #12)
> uhm, yes, that's rather bad. i did minimal testing and added ~amd64. better a
> maybe-broken ebuild than a for-sure-broken one ;)

http://packages.gentoo.org/search/?sstring=linux-wlan-ng
no ~amd64 keywords here
Comment 14 Simon Stelling (RETIRED) gentoo-dev 2005-12-29 10:52:06 UTC
argh, don't know why i missed that one... finally marked ~amd64
Comment 15 Petteri Räty (RETIRED) gentoo-dev 2006-02-12 11:50:49 UTC
hppa: Could you provide some input on how to proceed here? I would like to clean old versions away at some point. 
Comment 16 frank 2006-03-21 05:34:07 UTC
net-wireless/linux-wlan-ng-modules-0.2.3 fails to compile with vanilla 2.6.16 kernel:

make[1]: Entering directory `/usr/src/linux-2.6.16'
  CC [M]  /var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.o
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:137: error: unknown field `attach' specified in initializer
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:137: warning: excess elements in struct initializer
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:137: warning: (near initialization for `prism2_cs_driver')
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:138: error: unknown field `detach' specified in initializer
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:138: warning: excess elements in struct initializer
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:138: warning: (near initialization for `prism2_cs_driver')
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: error: unknown field `event' specified in initializer
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: warning: missing braces around initializer
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: warning: (near initialization for `prism2_cs_driver.drv')
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:142: warning: initialization from incompatible pointer type
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c: In function `prism2sta_attach':
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:237: warning: implicit declaration of function `pcmcia_register_client'
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c: In function `prism2sta_detach':
/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.c:328: warning: implicit declaration of function `pcmcia_deregister_client'
make[2]: *** [/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver/prism2_cs.o] Error 1
make[1]: *** [_module_/var/tmp/portage/linux-wlan-ng-modules-0.2.3/work/linux-wlan-ng-0.2.3/src/prism2/driver] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16'
make: *** [default] Error 2

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-ck5 i686)
=================================================================
System uname: 2.6.15-ck5 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium3m -march=pentium3m -pipe -O2 -fomit-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=pentium3m -march=pentium3m -pipe -O2 -fomit-frame-pointer -fno-ident -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS=" http://gentoo.mirror.sdv.fr http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac accessibility acpi alsa apache2 arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdb cdparanoia cdr crypt css cups curl dga directfb divx4linux dri dts dv dvd dvdr dvdread eds emboss encode exif expat extrafilters fam fame fbcon ffmpeg flac foomaticdb fortran fping gd gdbm gif glut gmp gphoto2 gpm gstreamer gtk gtk2 hal icq idn ieee1394 imagemagick imlib jabber java javascript jpeg kde kdeenablefinal lcms libg++ libwww lirc lua mad matroska mhash mikmod mmap mmx mng motif mp3 mpeg mplayer msn musepack musicbrainz mysql ncurses network nls nptl nsplugin nvidia ogg oggvorbis openal opengl oss pam pcmcia pcre pdf pdflib perl php png python qt quicktime readline recode samba sdl sndfile snmp speex spell sse ssl subtitles svga symlink tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vorbis win32codecs xanim xine xinerama xml2 xmms xscreensaver xv xvid xvmc yahoo zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LINGUAS

let me know if i should attach kernel's config file...
Comment 17 Petteri Räty (RETIRED) gentoo-dev 2006-03-25 00:16:34 UTC
(In reply to comment #16)
> net-wireless/linux-wlan-ng-modules-0.2.3 fails to compile with vanilla 2.6.16
> kernel:
> 

This should be fixed now. In the future please report these problems in separate bugs. Sync in a few hours and try emerging linux-wlan-ng-modules-0.2.3 again.
Comment 18 frank 2006-03-25 10:44:13 UTC
sorry for posting in the wrong bug...
i've synced few minutes ago, but it still won't compile
Comment 19 frank 2006-03-27 02:22:30 UTC
update: it compiles fine with USE="-pcmcia" but breaks otherwise.

Comment 20 Klaus Zimmermann 2006-03-29 19:06:38 UTC
Thanks for this ebuild! I've been waiting quite some time ;)
It is working pretty on my amd64.
A couple of minor issues remain:
- shared does not get moved to /etc/wlan, error: /var/tmp/.../etc/wlan is not a directory (had to move it manually to make initscript work)

- Inside shared (line 73) there is a test -x `cat ...`. If that cat yields nothing the test fails with an error (too many arguments). The cat should be quoted like "`cat ...`". However this is probably upstream?

- emerge --unmerge linux-wlan-ng-modules does not remove the modules, leading to a collision-protect conflict on next emerge.

Thanks again!
Comment 21 Petteri Räty (RETIRED) gentoo-dev 2006-04-02 05:01:18 UTC
(In reply to comment #19)
> update: it compiles fine with USE="-pcmcia" but breaks otherwise.
> 

Removed support for pcmcia in 0.2.3-r1 as pcmcia users really should use other drivers any way.

(In reply to comment #20)
> Thanks for this ebuild! I've been waiting quite some time ;)
> It is working pretty on my amd64.
> A couple of minor issues remain:
> - shared does not get moved to /etc/wlan, error: /var/tmp/.../etc/wlan is not a
> directory (had to move it manually to make initscript work)

It works fine here with shared in /etc/conf.d/  but this probably should be improved.

> 
> - Inside shared (line 73) there is a test -x `cat ...`. If that cat yields
> nothing the test fails with an error (too many arguments). The cat should be
> quoted like "`cat ...`". However this is probably upstream?

This is upstream.

> 
> - emerge --unmerge linux-wlan-ng-modules does not remove the modules, leading
> to a collision-protect conflict on next emerge.

I added blocks for this.

> 
> Thanks again!
> 

Comment 22 Néstor Amigo Cairo 2006-04-04 13:48:10 UTC
Hello.
I have had some trouble with linux-wlan-ng 0.2.3 and kernel 2.6.15...
The kernel hung up giving an error message.
I have sent an email to the developers and I got the following answer:

===
"> I also use a vanilla linux-wlan-ng 0.2.3 on this kernel.

The bug is being triggered in add_timer().

Try the development head; the timer code has been rewritten a little 
bit to be a bit safer."
===

I have tried the svn code and it worked fine. Is it possible to apply a patch from svn version to 0.2.3-r1 to correct add_timer function behaviour?

svn co svn://svn.shaftnet.org/linux-wlan-ng/trunk linux-wlan-ng
Comment 23 Néstor Amigo Cairo 2006-04-04 14:26:40 UTC
Sorry. I must say that the SVN version is not working properly because of some "undefined flags"... The last time it worked for me, maybe because I forgot to clean the old version form /lib/modules.

Anyways, the trouble with add_timer() function seems to be solved in SVN code, so I think it would be very helpful if someone makes a fix for that in portage tree, before 0.2.4 happens.
Thanks!

(In reply to comment #22)
Comment 24 Petteri Räty (RETIRED) gentoo-dev 2006-04-09 00:16:14 UTC
(In reply to comment #22)
> Hello.
> I have had some trouble with linux-wlan-ng 0.2.3 and kernel 2.6.15...
> The kernel hung up giving an error message.
> I have sent an email to the developers and I got the following answer:
> 

Again, open new bugs for your issues and do not post to old bugs unless they describe the same issue you are having. If you think your issue prevents keywording, which this bug is about, then you make your bug block this one. Thanks.

> 
> I have tried the svn code and it worked fine. Is it possible to apply a patch
> from svn version to 0.2.3-r1 to correct add_timer function behaviour?
> 
> svn co svn://svn.shaftnet.org/linux-wlan-ng/trunk linux-wlan-ng
> 

It is possible to apply a patch. It makes my life easier if you use svn log and svn diff to find the patch for me and open a new bug with it attached. I am in a military hospital atm so my time for Gentoo work is limited. 
Comment 25 Guy Martin (RETIRED) gentoo-dev 2006-11-24 06:36:38 UTC
HPPA KW has been dropped and no HW to test those ebuild with.
Comment 26 Petteri Räty (RETIRED) gentoo-dev 2006-12-01 11:23:18 UTC
(In reply to comment #25)
> HPPA KW has been dropped and no HW to test those ebuild with.
> 

Marking as fixed.