Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13942 - lirc-0.6.5 fails to install with a sandbox error
Summary: lirc-0.6.5 fails to install with a sandbox error
Status: RESOLVED DUPLICATE of bug 13688
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High critical
Assignee: Matt Keadle
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-14 18:01 UTC by Jared H. Hudson (RETIRED)
Modified: 2005-07-17 13:06 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 Jared H. Hudson (RETIRED) gentoo-dev 2003-01-14 18:01:02 UTC
make[1]: Entering directory
`/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_dev'
DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_dev.o modules)
/usr/src/linux-2.4.19-gentoo-r10/scripts/pathdown.sh: line 4: TOPDIR: parameter
null or not set
make[2]: Entering directory `/usr/src/linux-2.4.19-gentoo-r10'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
scripts/split-include include/linux/autoconf.h include/config
ACCESS DENIED  open_wr:   /usr/src/linux-2.4.19-gentoo-r10/include/config/tcic.h
scripts/split-include: tcic.h: Permission denied
make[2]: *** [include/config/MARKER] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10'
make[1]: *** [lirc_dev.o] Error 2
make[1]: Leaving directory
`/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_dev'
make: *** [all-recursive] Error 1
make: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers'

!!! ERROR: app-misc/lirc-0.6.5 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-lirc-0.6.5-31987.log"

open_wr:   /usr/src/linux-2.4.19-gentoo-r10/include/config/tcic.h
--------------------------------------------------------------------------------

emerge info:
Portage 2.0.46-r6 (, gcc-3.2.1, glibc-2.2.5-r4,2.3.1-r3)
=================================================================
System uname: 2.4.20-lolo-r1_rc2 i686 AMD Athlon(TM) MP Processor
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
    /config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow avi crypt encode gif jpeg libg++ mikmod mmx mpeg ncurses pdfl
    ib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline
tet     ex guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib
oggvorbis gno     me gtk opengl aalib afs -apm -arts bonobo cdr -cups doc evo
flash gb ggz gphoto2      gtk2 gtkhtml imap -java -kde lcms mbox -motif mozilla
nas -nls postgres -qt -qt     mt samba sasl slp snmp sse -svga tiff wmf xml
-tcltk -leim"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -finline-functions -ffor
    ce-mem -s -funroll-loops -frerun-loop-opt -fdelete-null-pointer-checks
-fprefetc     h-loop-arrays -maccumulate-outgoing-args -fschedule-insns"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer -finline-functions -ff
    orce-mem -s -funroll-loops -frerun-loop-opt -fdelete-null-pointer-checks
-fprefe     tch-loop-arrays -maccumulate-outgoing-args -fschedule-insns"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache buildpkg"
Comment 1 Matt Keadle 2003-01-20 00:38:52 UTC
have you tried this with any other kernel releases? It seems to have issues with
differnet kernels at random times. Maybe try with the 2.4.20 kernel.. 
Comment 2 Ilia Lobsanov 2003-01-30 16:44:34 UTC
similar problem with 2.4.20-gentoo-r1


gcc -O2 -g -Wall -o .libs/irpty irpty.o .libs/liblirc_client.so -lutil
gcc -O2 -g -Wall -o .libs/irexec irexec.o .libs/liblirc_client.so
creating irpty
/bin/sh ../libtool --mode=link gcc  -O2 -g -Wall  -o irxevent  irxevent.o -L/usr/X11R6/lib  -lSM -lICE -lX11  liblirc_client.la 
creating irexec
gcc -O2 -g -Wall -o .libs/irxevent irxevent.o -L/usr/X11R6/lib -lSM -lICE -lX11 .libs/liblirc_client.so
creating irxevent
make[2]: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/tools'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/doc'
Making all in man
make[3]: Entering directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/doc/man'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/doc/man'
make[3]: Entering directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/doc'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -g -Wall -c man2html.c
/bin/sh ../libtool --mode=link gcc  -O2 -g -Wall  -o man2html  man2html.o  
mkdir .libs
gcc -O2 -g -Wall -o man2html man2html.o
make[3]: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/doc'
make[2]: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/doc'
make[2]: Entering directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5'
make[2]: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5'
make[1]: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5'
make: Entering directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers'
Making all in lirc_dev
make[1]: Entering directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_dev'
DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_dev.o modules)
/usr/src/linux-2.4.20-gentoo-r1/scripts/pathdown.sh: line 4: TOPDIR: parameter null or not set
make[2]: Entering directory `/usr/src/linux-2.4.20-gentoo-r1'
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
scripts/split-include include/linux/autoconf.h include/config
ACCESS DENIED  mkdir:     /usr/src/linux-2.4.20-gentoo-r1/include/config/printer
scripts/split-include: printer: Permission denied
make[2]: *** [include/config/MARKER] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r1'
make[1]: *** [lirc_dev.o] Error 2
make[1]: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_dev'
make: *** [all-recursive] Error 1
make: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers'

!!! ERROR: app-misc/lirc-0.6.5 failed.
!!! Function src_compile, Line 83, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-lirc-0.6.5-20715.log"

mkdir:     /usr/src/linux-2.4.20-gentoo-r1/include/config/printer
--------------------------------------------------------------------------------
Comment 3 Richard Garand 2003-02-03 23:28:31 UTC
I have a very similar problem: 
 
make[1]: Entering directory 
`/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_dev' 
DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_dev.o modules) 
/usr/src/linux-2.4.19-gentoo-r10/scripts/pathdown.sh: line 4: TOPDIR: parameter null 
or not set 
make[2]: Entering directory `/usr/src/linux-2.4.19-gentoo-r10' 
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule. 
gcc -Wall -Wstrict-prototypes -Os -fomit-frame-pointer -o scripts/split-include 
scripts/split-include.c 
ACCESS DENIED  unlink:    /usr/src/linux-2.4.19-gentoo-r10/scripts/split-include 
ACCESS DENIED  open_wr:   /usr/src/linux-2.4.19-gentoo-r10/scripts/split-include 
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot 
open output file scripts/split-include: Permission denied 
collect2: ld returned 1 exit status 
ACCESS DENIED  unlink:    /usr/src/linux-2.4.19-gentoo-r10/scripts/split-include 
make[2]: *** [scripts/split-include] Error 1 
make[2]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r10' 
make[1]: *** [lirc_dev.o] Error 2 
make[1]: Leaving directory 
`/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_dev' 
make: *** [all-recursive] Error 1 
make: Leaving directory `/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers' 
 
!!! ERROR: app-misc/lirc-0.6.5 failed. 
!!! Function src_compile, Line 83, Exitcode 2 
!!! (no error message) 
 
--------------------------- ACCESS VIOLATION SUMMARY --------------------------- 
LOG FILE = "/tmp/sandbox-lirc-0.6.5-20691.log" 
 
unlink:    /usr/src/linux-2.4.19-gentoo-r10/scripts/split-include 
open_wr:   /usr/src/linux-2.4.19-gentoo-r10/scripts/split-include 
unlink:    /usr/src/linux-2.4.19-gentoo-r10/scripts/split-include 
-------------------------------------------------------------------------------- 
 
 
The problem seems to be on line 337 of 
/var/tmp/portage/lirc-0.6.5/work/lirc-0.6.5/drivers/lirc_dev/Makefile, where it 
changes to the kernel directory and runs make: 
 
$(module_DATA): $(automake_dummy_SOURCES) $(top_srcdir)/config.h ../lirc.h 
  ifndef MAKING_MODULES 
        DIR=`pwd`; (cd $(KERNEL_LOCATION); make SUBDIRS=$$DIR 
obj-m=$(module_DATA) modules) 
  endif 
 
emerge info: 
 
Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r3) 
================================================================= 
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor 
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo 
http://mirrors.sunsite.dk/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/portage" 
USE="x86 apm cups encode libg++ mikmod nls xmms zlib gtkhtml gdbm berkdb 
slang bonobo svga java guile esd oggvorbis gtk ldap cdr scanner 3dnow mmx X 
opengl dga xv fbcon kde qt qtmt arts -gnome motif tcltk imlib ncurses readline sdl gif 
jpeg png tiff gd avi mpeg quicktime oss ipv6 pam ssl crypt tcpd mozilla mozirc spell 
truetype xml xml2 pdflib tetex perl python libwww lib++ mysql postgres innodb samba 
doc gpm dvd ethereal usb" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=athlon-tbird -m3dnow -O3 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=athlon-tbird -m3dnow -O3 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86 ~x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache" 
Comment 4 Petter 2003-02-10 10:18:00 UTC
I also had this problem until I activated ir-support in the kernel, hopes this can help 
some of you guys. 
 
/Petter 
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-04-18 18:17:01 UTC

*** This bug has been marked as a duplicate of 13688 ***