Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209773 - dev-perl/ExtUtils-CBuilder-0.19 sandbox mkdir violation
Summary: dev-perl/ExtUtils-CBuilder-0.19 sandbox mkdir violation
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-12 05:05 UTC by Robin Johnson
Modified: 2009-11-14 22:16 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 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-02-12 05:05:08 UTC
The latest ExtUtils-CBuilder has a sandbox violation where it tries to mkdir from the ${ROOT} directory instead of ${D}.

>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/ExtUtils-CBuilder-0.19

>>> Install ExtUtils-CBuilder-0.19 into /var/tmp/portage/dev-perl/ExtUtils-CBuilder-0.19/image/ category dev-perl
ACCESS DENIED  mkdir:     /usr/lib/perl5/site_perl/5.8.8/ExtUtils
mkdir /usr/lib/perl5/site_perl/5.8.8/ExtUtils: Permission denied at /usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/Install.pm line 176
 * Cleaning out stray man files
>>> Completed installing ExtUtils-CBuilder-0.19 into /var/tmp/portage/dev-perl/ExtUtils-CBuilder-0.19/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-1644.log"

mkdir:     /usr/lib/perl5/site_perl/5.8.8/ExtUtils
--------------------------------------------------------------------------------

server1 mysql # emerge -pv module-build                                                                                                                                                                                                                            
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-perl/ExtUtils-CBuilder-0.19 [0.05] 0 kB 
[ebuild     U ] dev-perl/module-build-0.28.08 [0.25] USE="-test%" 0 kB 

Portage 2.1.4.1 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.7-r1, 2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Fri, 08 Feb 2008 06:00:02 +0000
ccache version 2.3 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi apache2 berkdb bitmap-fonts bzip2 canna cjk clearpasswd cli cracklib crypt cups curl dri ethereal expat fortran freewnn gd gdbm gif iconv imap innodb ipalias ipv6 isdnlog jpeg libgda maildir mbox midi mmx mudflap mysql ncurses nls nptl nptlonly oav openmp pam pcap pcre perl pic plotutils png pnp pppd python readline reflection samba session slp snmp socks5 spl sse ssl tiff truetype truetype-fonts trusted type1-fonts ungif unicode urandom usb vscan winbind wmf x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-02-18 21:01:30 UTC
Perl: after I upgraded module-build, this went away, so perhaps update the deps in Extutils-CBuilder?
Comment 2 Honza 2008-03-06 21:42:07 UTC
That doesn't help much ... I don't have ANY ExtUtils-CBuilder, all versions in tree have this error, and ALL versions of module-build in tree depends on ExtUtils-CBuilder.
Comment 3 Honza 2008-03-06 21:52:43 UTC
Ok. dev-perl/module-build can both be installed without ExtUtils-CBuilder (with --nodeps) and build ExtUtils-CBuilder without ExtUtils-CBuilder.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2009-11-14 22:16:12 UTC
This bug was open long enough. I don't know what was wrong.
(/usr/lib/perl5/vendor_perl/5.8.4/ExtUtils/Install.pm looks really old.)