Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53484 - madwifi-driver fails sandbox
Summary: madwifi-driver fails sandbox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-09 22:19 UTC by David Brigada
Modified: 2004-12-29 06:24 UTC (History)
1 user (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 David Brigada 2004-06-09 22:19:56 UTC
net-wireless/madwifi-driver-0.1_pre20040514 fails to build.  I get sandbox errors because the ebuild calls part of the kernel build process.  It seems to vary at which file the build violates the sandbox, depending on how recently the kernel has been built.  I was getting errors that scripts/fixdep in the kernel-(2.6) tree was creating a (temporary) file, but now the file is /usr/src/linux-2.6.5-gentoo-r1/include/asm-i386/asm_offsets.h.tmp, violating the sandbox for a write violation.  I can help with the diagnosis of and solution to this problem.

The errors are all similar to:

make -C /usr/src/linux SUBDIRS=/var/tmp/portage/madwifi-driver-0.1_pre20040514/w
ork/wlan modules
make[2]: Entering directory `/usr/src/linux-2.6.5-gentoo-r1'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/asm-i386/asm_offsets.h
ACCESS DENIED  open_wr:   /usr/src/linux-2.6.5-gentoo-r1/include/asm-i386/asm_of
fsets.h.tmp
/bin/sh: line 1: include/asm-i386/asm_offsets.h.tmp: Permission denied
  UPD     include/asm-i386/asm_offsets.h
mv: cannot stat `include/asm-i386/asm_offsets.h.tmp': No such file or directory

Note the (partial) kernel compile with the line
  CHK     include/asm-i386/asm_offsets.h
This action attempts to write to a temporary file, which fails, and then tries to mv this temporary file over the old one (fails because of the stat of nonexistent file, and would also fail due to sandbox).

emerge info:
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-ge
ntoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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="-O3 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://192.168.0.1/ http://genMAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage/"
USE="X aalib alsa apache2 apm async berkdb bluetooth cdr crypt cscope cups curl dga dillo directfb doc dvd encode esd ethereal f77 fbcon flac flash foomaticdb gdbm ggi gif gimpprint gnome gnomedb gpm gtk gtk2 guile imlib irda java joystick jpeg lcd libg++ libwww mad mbox md5sum mikmod mmx mng motif mozilla mpeg mpeg4 mysql ncurses oggvorbis opengl pam pdflib perl php plotutils png pnp ppds python qt quicktime radeon readline regexp samba sdl slang spell sse ssl tcltk tcpd tetex tiff truetype usb video_cards_radeon wxwindows x86 xml2 xmms xv zlib"
too.mirrors.pair.com/"
Comment 1 Karol Wojtaszek (RETIRED) gentoo-dev 2004-06-23 12:10:48 UTC
None problems with 2.6.7.

PS. You have unterminated string in make.conf in line GENTOO_MIRRORS="http://192.168.0.1/ 
Comment 2 solar (RETIRED) gentoo-dev 2004-09-06 12:38:51 UTC
madwifi-driver-0.1_pre20040906 and madwifi-tools-0.1_pre20040906 
are both in the tree now. This should work for everybody.

emerge rsync
ACCEPT_KEYWORDS=~x86 emerge madwifi-driver madwifi-tools

Please test and CLOSE appropriate bugs if this solves the problem anybody was
having.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2004-09-22 09:49:14 UTC
ACCEPT_KEYWORDS="~x86" emerge madwifi-driver

Once again... Test Request since it's been 4 months and we've worked on this situation extensively.
Comment 4 David Brigada 2004-09-22 09:57:45 UTC
It works for me.
Comment 5 Henrik Brix Andersen 2004-12-29 06:24:30 UTC
Reopening.
Comment 6 Henrik Brix Andersen 2004-12-29 06:24:44 UTC
Closing as FIXED.