Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93497 - dev-util/svk-1.0 build failure -- sandbox violation
Summary: dev-util/svk-1.0 build failure -- sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Guillaume Destuynder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 20:34 UTC by Jacob Smullyan
Modified: 2006-01-10 06:48 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 Jacob Smullyan 2005-05-21 20:34:35 UTC
I got a sandbox violation attempting to emerge svk-1.0:

ACCESS DENIED  open_wr:   /usr/lib/perl5/5.8.5/CPAN/Config.pm
Cannot open >/usr/lib/perl5/5.8.5/CPAN/Config.pm at /usr/lib/perl5/5.8.5/CPAN.pm
    line 1219
        CPAN::Config::_configpmtest('/usr/lib/perl5/5.8.5/CPAN', '/usr/lib/perl5
   /5.8.5/CPAN/Config.pm') called at /usr/lib/perl5/5.8.5/CPAN.pm line 1253
        CPAN::Config::load('CPAN::Config') called at inc/ExtUtils/AutoInstall.pm
    - /usr/local/lib/perl5/site_perl/5.8.5/ExtUtils/AutoInstall.pm line 495
        ExtUtils::AutoInstall::_check_lock() called at inc/ExtUtils/AutoInstall.
   pm - /usr/local/lib/perl5/site_perl/5.8.5/ExtUtils/AutoInstall.pm line 473
        ExtUtils::AutoInstall::import('ExtUtils::AutoInstall', '-core', 'ARRAY(0
   x8408758)', 'Localized messages', 'ARRAY(0x843cc9c)', 'Message display
through a     pager', 'ARRAY(0x843cc84)', 'Patch management',
'ARRAY(0x843cc54)', ...) called     at inc/Module/Install/AutoInstall.pm -
/usr/local/lib/perl5/site_perl/5.8.5/Mod    ule/Install/AutoInstall.pm line 43
        Module::Install::AutoInstall::auto_install('Module::Install::AutoInstall
   =HASH(0x8333918)') called at Makefile.PL line 68
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-util/svk-1.00 failed.
!!! Function perl-module_src_compile, Line 107, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-util_-_svk-1.00-31150.log"

open_wr:   /usr/lib/perl5/5.8.5/CPAN/Config.pm


Reproducible: Always
Steps to Reproduce:




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:             
dev-lang/python-2.2.3-r5,dev-lang/python-2.4,dev-lang/python-2.3.5 [2.4 (#1, Jan
 5 2005, 23:05:27)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.4, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib adns alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt
cups curl doc eds emacs emboss encode escreen esd fam firebird flac foomaticdb
fortran gcj gd gdbm ggi gif gimp glade gmp gnome gphoto2 gpm gstreamer gtk gtk2
gtkhtml guile imagemagick imap imlib ipv6 jabber jack javascript jpeg junit kde
lcms ldap libg++ libwww mad maildir mikmod motif mp3 mpeg mysql ncurses nls ogg
oggvorbis opengl oss pam pdflib perl plotutils png postgres python qt quicktime
readline ruby samba sdl slang sox speex spell sqlite ssl svga tcltk tcpd tetex
tiff truetype truetype-fonts type1-fonts usb vhosts vorbis wxwindows xchattext
xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-06-01 09:51:49 UTC
The error indicates that perl wasn't able to find a module that portage 
believes is installed (I can give more details about the autoinstaller that got 
invoked if your really curious). Have you upgraded versions of perl without 
running perl-cleaner (previously called libperl_rebuilder)? Your best bet would 
be to re-install the perl modules associated with svk-1.0. 
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-06-03 05:52:34 UTC
Any word? 
Comment 3 Felix Wiemann 2005-08-20 13:41:15 UTC
I'm experiencing the same problem (with svk 1.02), and "perl-cleaner all" did
not help.


# ACCEPT_KEYWORDS=~x86 emerge -v svk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/svk-1.02 to /
>>> md5 files   ;-) svk-1.00.ebuild
>>> md5 files   ;-) svk-1.01.ebuild
>>> md5 files   ;-) svk-1.02.ebuild
>>> md5 files   ;-) files/digest-svk-1.00
>>> md5 files   ;-) files/svk-0.29-nognupgtest.patch
>>> md5 files   ;-) files/svk-1.00-nognupgtest.patch
>>> md5 files   ;-) files/digest-svk-1.01
>>> md5 files   ;-) files/digest-svk-1.02
>>> md5 src_uri ;-) SVK-1.02.tar.gz
>>> Unpacking source...
>>> Unpacking SVK-1.02.tar.gz to /var/tmp/portage/svk-1.02/work
 * Self-tests may cause the installation to fail with USE=crypt!
 * Try USE="-crypt" emerge -v svk if this happens.
>>> Source unpacked.
 * Using ExtUtils::MakeMaker
*** ExtUtils::AutoInstall version 0.61
*** Checking for dependencies...
[Core Features]
- Algorithm::Annotate       ...loaded. (0.10)
- Algorithm::Diff           ...loaded. (1.1901)
- YAML                      ...loaded. (0.39 >= 0.38)
- Regexp::Shellish          ...loaded. (0.93)
- Data::Hierarchy           ...missing. (would need 0.21)
- File::Temp                ...loaded. (0.16 >= 0.14)
- Clone                     ...missing.
- Pod::Escapes              ...loaded. (1.04)
- Pod::Simple               ...loaded. (3.02)
- PerlIO::via::dynamic      ...loaded. (0.11 >= 0.11)
- PerlIO::via::symlink      ...loaded. (0.04 >= 0.02)
- IO::Digest                ...loaded. (0.10)
- SVN::Simple::Edit         ...missing. (would need 0.27)
- Date::Parse               ...loaded. (2.27)
- File::Type                ...loaded. (0.22)
- URI                       ...loaded. (1.35)
- PerlIO::eol               ...loaded. (0.13 >= 0.13)
- Class::Autouse            ...loaded. (1.17 >= 1.15)
- Getopt::Long              ...loaded. (2.34 >= 2.34)
- Encode                    ...loaded. (2.10 >= 2.10)
- SVN::Mirror               ...missing. (would need 0.65)
==> Auto-install the 4 mandatory module(s) from CPAN? [y] y
[Localized messages]
- Locale::Maketext::Lexicon ...loaded. (0.46 >= 0.42)
- Locale::Maketext::Simple  ...loaded. (0.12 >= 0.12)
[Message display through a pager]
- IO::Pager                 ...loaded. (0.05)
[Patch management]
- Compress::Zlib            ...loaded. (1.35)
- FreezeThaw                ...loaded. (0.43)
ACCESS DENIED   open_wr:   /usr/lib/perl5/5.8.7/CPAN/Config.pm
Cannot open >/usr/lib/perl5/5.8.7/CPAN/Config.pm at /usr/lib/perl5/5.8.7/CPAN.pm
line 1219
        CPAN::Config::_configpmtest('/usr/lib/perl5/5.8.7/CPAN',
'/usr/lib/perl5/5.8.7/CPAN/Config.pm') called at /usr/lib/perl5/5.8.7/CPAN.pm
line 1253
        CPAN::Config::load('CPAN::Config') called at inc/ExtUtils/AutoInstall.pm
- /usr/local/lib/perl5/site_perl/5.8.5/ExtUtils/AutoInstall.pm line 495
        ExtUtils::AutoInstall::_check_lock() called at
inc/ExtUtils/AutoInstall.pm -
/usr/local/lib/perl5/site_perl/5.8.5/ExtUtils/AutoInstall.pm line 473
        ExtUtils::AutoInstall::import('ExtUtils::AutoInstall', '-core',
'ARRAY(0x84a1d68)', 'Localized messages', 'ARRAY(0x849c8b4)', 'Message display
through a pager', 'ARRAY(0x849c89c)', 'Patch management', 'ARRAY(0x8775404)',
...) called at inc/Module/Install/AutoInstall.pm -
/usr/local/lib/perl5/site_perl/5.8.5/Module/Install/AutoInstall.pm line 43
        Module::Install::AutoInstall::auto_install('undef') called at
Makefile.PL line 69
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-util/svk-1.02 failed.
!!! Function perl-module_src_compile, Line 119, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/tmp/sandbox-dev-util_-_svk-1.02-12594.log"

open_wr:   /usr/lib/perl5/5.8.7/CPAN/Config.pm
--------------------------------------------------------------------------------



# USE=-crypt ACCEPT_KEYWORDS=~x86 emerge -v svk
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/svk-1.02 to /
>>> md5 files   ;-) svk-1.00.ebuild
>>> md5 files   ;-) svk-1.01.ebuild
>>> md5 files   ;-) svk-1.02.ebuild
>>> md5 files   ;-) files/digest-svk-1.00
>>> md5 files   ;-) files/svk-0.29-nognupgtest.patch
>>> md5 files   ;-) files/svk-1.00-nognupgtest.patch
>>> md5 files   ;-) files/digest-svk-1.01
>>> md5 files   ;-) files/digest-svk-1.02
>>> md5 src_uri ;-) SVK-1.02.tar.gz
>>> Unpacking source...
>>> Unpacking SVK-1.02.tar.gz to /var/tmp/portage/svk-1.02/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/dev-util/svk/files/svk-1.02-nognupgtest.patch
 *   ( svk-1.02-nognupgtest.patch )


!!! ERROR: dev-util/svk-1.02 failed.
!!! Function epatch, Line 217, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, NOT this status message.



# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.9-gentoo-r9 i686)
=================================================================
System uname: 2.6.9-gentoo-r9 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.13
dev-lang/python:     2.1.3-r1, 2.2.3-r5, 2.3.5, 2.4.1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.14.90.0.6-r6
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/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="-O2 -fomit-frame-pointer -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X Xaw3d acpi alsa amd apache2 apm arts artswrappersuid
audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt
cscope cups curl dhcp divx4linux djbfft doc dvd dvdread eds emacs emboss encode
fam flac foomaticdb gcj gd gdbm gif gimpprint gpm gstreamer gtk gtk2 guile
imagemagick jikes jpeg junit leim libg++ libwww lua mad maildir mbox mikmod mmap
mmx motif mozilla mp3 mpeg ncurses network noreiserfs offensive ogg oggvorbis
opengl pdf pdflib perl plotutils png ppds python qt quicktime readline ruby sdl
slang sndfile speex spell sse ssl svga tcltk tcpd tetex threads tiff truetype
truetype-fonts type1-fonts unicode usb vim-with-x vorbis wmf xanim xine xml xml2
xmms xprint xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 4 Jacob Smullyan 2005-10-14 07:17:57 UTC
(I completely forgot about this bug and my attempt to install svk, and then
tried again to install 1.0.4, got the same problem, found this bug, and bugged
out when I saw that I had reported it!)

Anyway, I'm running perl-cleaner (slowly -- although I didn't ask it to ask, it
asks for every ebuild) but the problem seems to be that I had no CPAN/Config.pm
in /usr/lib/perl5/5.8.7.  I saw that I had Config.pm in some older installations
which got there because I ran the CPAN shell as root for some reason.  So I
naively generated a config file the same way again, and then tried to emerge
svk.  My configuration included paths like /root/.cpan/, and this gave rise to
ACCESS DENIED sandbox violations.

So obviously there is supposed to be some way of generating this Config.pm that
works with ebuilds that use CPAN.  What do I have to do/reinstall to get the
Config.pm it expects?

Comment 5 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2005-11-07 02:53:21 UTC
Reassigned to new maintainer. Kang, please update metadata.xml
Comment 6 Guillaume Destuynder (RETIRED) gentoo-dev 2005-11-19 14:54:28 UTC
i personally had this problem, which was fixed by removing the /root/.cpan dir,
and re-emerging every dep of SVK.
With SVK 1.04/1.05 at least have no problems.
Could you confirm you still have the problems after following thoses steps ?

BTW, unmasking svk require unmasking perl 5.8.7 and latest subversion. Check you
got thoses :)
Comment 7 Guillaume Destuynder (RETIRED) gentoo-dev 2006-01-10 06:48:24 UTC
no replies for ~2monthes, closing. reopen if the issue arise again (since newer ebuilds it should be ok and is FIXED for me, as i got the prob, though.)