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

Bug 53336

Summary: cdemu didn't emerge - sandbox problem
Product: Gentoo Linux Reporter: Honza <hkmaly>
Component: Current packagesAssignee: SpanKY <vapier>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Honza 2004-06-08 11:57:16 UTC
I can't emerge app-cdr/cdemu-0.6_beta because of sandbox problem. BTW, that thing I must do 'su -' to su from one root account to other is very weird too - I didn't need to do it for any other package.

Reproducible: Always
Steps to Reproduce:
1. su -
2. emerge cdemu


Actual Results:  
>>> Install cdemu-0.6_beta into /var/tmp/portage/cdemu-0.6_beta/image/ category
app-cdr

**** Installing files ****
install -D -m 644 cdemu.o      
/var/tmp/portage/cdemu-0.6_beta/image//lib/modules/2.4.26/misc/cdemu.o
install -D -m 644 libcdemu.py  
/var/tmp/portage/cdemu-0.6_beta/image///usr/lib/python2.3/site-packages/libcdemu.py
install -D -m 755 cdemu         /var/tmp/portage/cdemu-0.6_beta/image//usr/bin/cdemu
install -D -m 755 create_cdemu_devs.sh 
/var/tmp/portage/cdemu-0.6_beta/image//usr/bin/create_cdemu_devs.sh
ACCESS DENIED  mkdir:     /dev/cdemu
mkdir: cannot create directory `/dev/cdemu': Permission denied
mknod: `/dev/cdemu/0': No such file or directory
mknod: `/dev/cdemu/1': No such file or directory
mknod: `/dev/cdemu/2': No such file or directory
mknod: `/dev/cdemu/3': No such file or directory
mknod: `/dev/cdemu/4': No such file or directory
mknod: `/dev/cdemu/5': No such file or directory
mknod: `/dev/cdemu/6': No such file or directory
mknod: `/dev/cdemu/7': No such file or directory
if no error did show up device files created ;-)

man:
prepallstrip:
strip: 
strip: 
>>> Completed installing into /var/tmp/portage/cdemu-0.6_beta/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-cdr_-_cdemu-0.6_beta-8808.log"

mkdir:     /dev/cdemu
--------------------------------------------------------------------------------


Expected Results:  
Emerge finnaly that damned cdemu ...

BTW, I didn't use distcc for this build - I mean I didn't run distccd on other
computers.

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
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="3dnow X Xaw3d aalib apache2 apm arts avi berkdb caps cdr crypt cups curl
dga doc dvd encode esd flac foomaticdb gd gdbm gif gpm gtk gtk2 imagemagick
imlib innodb ipv6 java jpeg lcms lesstif libg++ libwww mad mbox mcal memlimit
mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline samba sdl slang snmp spell sqlite sse ssl
svga tcltk tcpd tetex theora tiff truetype unicode usb vhosts videos wmf x86 xml
xml2 xmms xosd xv zlib"
Comment 1 Honza 2004-06-08 12:02:36 UTC
Oh ... Do gentoo support "normal" devices on ext2, or only devfs & udev ?
It emerged without other problems when I touch /dev/.devfs before ...
Comment 2 SpanKY gentoo-dev 2004-06-08 14:33:50 UTC
heh yeah i never thought of the case where devfs/udev arent installed

i'll fix it upstream since i maintain the pkg

it'll be fixed in the next release of cdemu when i get around to making it :/