Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112618 - $D is not exported inside sandboxshell
Summary: $D is not exported inside sandboxshell
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-15 09:59 UTC by Petteri Räty (RETIRED)
Modified: 2005-11-19 23:54 UTC (History)
0 users

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 Petteri Räty (RETIRED) gentoo-dev 2005-11-15 09:59:13 UTC
[s]pena jzlib-1.0.7 # echo ${D}
/var/tmp/portage/jzlib-1.0.7/image/
[s]pena jzlib-1.0.7 # dodir /opt
ACCESS DENIED  chmod:     /opt
install: cannot change permissions of `/opt': Permission denied

Because dodir is a binary, ${D} is not defined in it.
export ${D} inside the sandboxshell fixes the situation.
It also seems that sandboxshell is missing metadata.xml.

Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.0_pre10
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-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d/java/ /etc/gconf /etc/init.d
/etc/java-config/vms/ /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mfpmath=sse -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/src/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks
fixpackages sandbox sfperms sign strict"
GENTOO_MIRRORS=" http://trumpetti.atm.tut.fi/gentoo 
http://lame.lut.fi/linux/gentoo "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="fi"
MAKEOPTS="-j2 -s"
PKGDIR="/home/pkg/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/mnt/checkouts/overlays/betelgeuse
/mnt/checkouts/overlays/eclipse /mnt/checkouts/overlays/axxo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aac acl acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts
bluetooth browserplugin bzip2 bzlib cdb cddb cdparanoia cdr crypt cups dbus
divx4linux dts dvd dvdr dvdread emboss esd expat fam ffmpeg firefox foomaticdb
freetype gif glut gstreamer gtk2 hal idn java jpeg kde kdeenablefinal lcms
libg++ libwww logitech-mouse mad makecheck mikmod mjpeg mmx mmx2 mng mp3 mpeg
ncurses network nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam
pcre pdflib png qt quicktime readline real rtc ruby samba spell sse sse2 ssl
subversion svg symlink tcpd theora tiff truetype truetype-fonts type1-fonts udev
unicode usb userlocales vorbis win32codecs xine xml xml2 xv xvid zlib
video_cards_nvidia linguas_fi userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-11-19 23:54:03 UTC
should be fixed in cvs with 0.2