Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 44410

Summary: Access violation while emerging net-wireless/ipw2100-0.30.ebuild
Product: Gentoo Linux Reporter: Nuno Araujo <nuno.araujo>
Component: [OLD] UnspecifiedAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED CANTFIX    
Severity: normal CC: magnet
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 32737    
Bug Blocks:    
Attachments: The log file that was created when the access violation took place

Description Nuno Araujo 2004-03-11 19:28:42 UTC
When I try to emerge the net-wireless/ipw2100 ebuild there is an access violation with the file /usr/src/linux-2.6.4/.__modpost.cmd

Here is the log of the emerge: 


Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ipw2100-0.30 to /
>>> md5 src_uri ;-) ipw2100-full-0.30.tgz
>>> md5 src_uri ;-) ipw2100-fw-1.0.tgz
>>> Unpacking source...
>>> Unpacking ipw2100-full-0.30.tgz to /var/tmp/portage/ipw2100-0.30/work
>>> Unpacking ipw2100-fw-1.0.tgz to /var/tmp/portage/ipw2100-0.30/work
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.4 found in /usr/src/linux
>>> Source unpacked.
make: Entering directory `/usr/src/linux-2.6.4'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[1]: 
Comment 1 Nuno Araujo 2004-03-11 19:28:42 UTC
When I try to emerge the net-wireless/ipw2100 ebuild there is an access violation with the file /usr/src/linux-2.6.4/.__modpost.cmd

Here is the log of the emerge: 


Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ipw2100-0.30 to /
>>> md5 src_uri ;-) ipw2100-full-0.30.tgz
>>> md5 src_uri ;-) ipw2100-fw-1.0.tgz
>>> Unpacking source...
>>> Unpacking ipw2100-full-0.30.tgz to /var/tmp/portage/ipw2100-0.30/work
>>> Unpacking ipw2100-fw-1.0.tgz to /var/tmp/portage/ipw2100-0.30/work
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.4 found in /usr/src/linux
>>> Source unpacked.
make: Entering directory `/usr/src/linux-2.6.4'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[1]: « arch/i386/kernel/asm-offsets.s » est à jour.
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_main.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_fw.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_wx.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_frag.o
  LD [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/av5100.o
  Building modules, stage 2.
  MODPOST
ACCESS DENIED  open_wr:   /usr/src/linux-2.6.4/.__modpost.cmd
/bin/sh: line 1: ./.__modpost.cmd: Permission non accordée
make[1]: *** [__modpost] Erreur 1
make: *** [modules] Erreur 2
make: Leaving directory `/usr/src/linux-2.6.4'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_ipw2100-0.30-7293.log"
 
open_wr:   /usr/src/linux-2.6.4/.__modpost.cmd
--------------------------------------------------------------------------------



Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge net-wireless/ipw2100
2.
3.

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ipw2100-0.30 to /
>>> md5 src_uri ;-) ipw2100-full-0.30.tgz
>>> md5 src_uri ;-) ipw2100-fw-1.0.tgz
>>> Unpacking source...
>>> Unpacking ipw2100-full-0.30.tgz to /var/tmp/portage/ipw2100-0.30/work
>>> Unpacking ipw2100-fw-1.0.tgz to /var/tmp/portage/ipw2100-0.30/work
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.6.4 found in /usr/src/linux
>>> Source unpacked.
make: Entering directory `/usr/src/linux-2.6.4'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[1]: « arch/i386/kernel/asm-offsets.s » est à jour.
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_main.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_fw.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_wx.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100_frag.o
  LD [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/ipw2100.o
  CC [M]  /var/tmp/portage/ipw2100-0.30/work/ipw2100-0.30/av5100.o
  Building modules, stage 2.
  MODPOST
ACCESS DENIED  open_wr:   /usr/src/linux-2.6.4/.__modpost.cmd
/bin/sh: line 1: ./.__modpost.cmd: Permission non accordée
make[1]: *** [__modpost] Erreur 1
make: *** [modules] Erreur 2
make: Leaving directory `/usr/src/linux-2.6.4'
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-wireless_-_ipw2100-0.30-7293.log"
 
open_wr:   /usr/src/linux-2.6.4/.__modpost.cmd
--------------------------------------------------------------------------------


Expected Results:  
it should be emerged :-)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse
-msse2"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /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="-Os -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx
-msse -msse2"
DISTDIR="/home/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
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="X acpi alsa altivec apache2 apm avi berkdb bluetooth bonobo cdr crypt
cscope cups dga doc dvd encode esd ethereal evo flash foomaticdb gb gd gdbm ggi
gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci imap imlib
innodb java javascript jikes jpeg junit lcms ldap leim libg++ libgda libwww mad
mdb mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mpeg mule
mysql ncurses nls odbc offensive ofx oggvorbis opengl pam pcmcia pda pdflib perl
plotutils png pnp ppds python qt quicktime radeon readline samba sasl scanner
sdl slp spell sse ssl stencil-buffer svga tcltk tcpd tetex tiff truetype usb v4l
video_cards_radeon video_cards_rage128 videos wmf wxwindows x86 xine xinerama
xml xml2 xmms xv zeo zlib"
Comment 2 Nuno Araujo 2004-03-11 19:30:03 UTC
Created attachment 27226 [details]
The log file that was created when the access violation took place
Comment 3 Minati jean michel 2004-03-12 06:39:23 UTC
I have the same trouble.
note that a new version of the driver is avalaible.
Comment 4 Peter Johanson (RETIRED) gentoo-dev 2004-03-12 07:09:56 UTC
This is a persistant problem with 2.6 and external module ebuilds. See bug #32737 for the major work being done on this. The work from that bug will hopefully be merged next week when i'm finally on my spring break and have time to do the major commits. For now:

# FEATURES="-sandbox -usersandbox -userpriv" ACCEPT_KEYWORDS='~x86' emerge ipw2100

The 0.30 got added to portage yesterday.
Comment 5 Peter Johanson (RETIRED) gentoo-dev 2004-07-04 07:43:19 UTC
Okay, people should try using 0.46-r1 with a kernel of 2.6.6 or newer. Those kernels added the new M= stuff which fixes all of these problems. Please test this and report back.
Comment 6 Henrik Brix Andersen 2004-08-18 08:40:48 UTC
Kernel 2.6.6 has no issues with building external modules. Suggest closing as WONTFIX.
Comment 7 Henrik Brix Andersen 2004-09-02 01:28:58 UTC
Closing as CANTFIX since the build issues were in the kernel build system and fixed in 2.6.6 and above.