Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48770 - Subversion ebuild needs write access to /usr/lib/perl5/.../SVN/
Summary: Subversion ebuild needs write access to /usr/lib/perl5/.../SVN/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-23 02:47 UTC by Shevek
Modified: 2004-11-11 20:43 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 Shevek 2004-04-23 02:47:15 UTC
If you upgrade or reinstall subversion, it gives a violation on /usr/lib/perl5/.../SVN/ (both the binary and the native perl versions of that directory). It should either be addwrite, or it must be removed before reinstallation (my current workaround).

S.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-04-25 19:50:42 UTC
Shevek,

Can you attach an emerge info please.

Paul,
I remember somewhere you mentioning you were not maintaining subversion any more. Is this correct?
If not can something be marked stable and/or old ebuilds removed?
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-04-26 13:14:28 UTC
I do maintain subversion, I just don't no anything about perl so I could use some help on the perl area.
Comment 3 Shevek 2004-04-26 14:42:30 UTC
Emerge info not really relevant since I maintain dozens of systems and this applies to all of them. For the sake of argument, here's a couple of them.

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-mm6)
=================================================================
System uname: 2.6.5-mm6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
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/lib/mozilla/defaults/pref /usr/share/
config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/shar
e/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 -pipe -fomit-frame-pointer -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://212.2
19.247.17/sites/www.ibiblio.org/gentoo/ http://212.219.247.16/sites/www.ibiblio.
org/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds X aac aalib acpi acpi4linux alsa antlr apache2 apm arts audiofile avi b
erkdb bluetooth cddb cdr chroot crypt cups dga directfb dnd dv dvd encode esd ex
pat faad fam fbcon fbdev ffmpeg fmod foomaticdb freetype fs gcl gd gdbm gif glad
e glgd gmp gnome gphoto2 gpm gsl gtk gtk2 gtkhtml guile ieee1394 imagemagick ima
p imlib irda jabber jack java jikes jpeg junit jython kde lcms ldap libg++ libgd
a libsamplerate libwww lirc lmtp log4j mad maildir md5sum mdb mikmod mmx mng mon
key mono motif mozilla moznocompose moznoirc mozsvg mpeg mpeg4 mpi msn music mys
ql nas ncurses nls nptl offensive oggvorbis opengl oss pam pcap pcmcia pcre pda 
pdflib perl php plotutils png portaudio postgres ppds pthreads python qt quickti
me radeon readline regexp samba sdl skey slang slp snmp speedo spell sqlite sse 
ssl svg svga tcpd tetex tiff timidity transcode truetype trusted type1 unicode u
sb v4l2 wifi wmf x86 xalan xerces xinerama xml2 xmms xv xvid yahoo zlib zvbi"


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.1-r4, 2.4.23)
=================================================================
System uname: 2.4.23 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.2.8
Autoconf: sys-devel/autoconf-2.57-r1
Automake: sys-devel/automake-1.7.5-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/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="X aalib apache2 apm arts avi berkdb bonobo crypt cups dga dvd encode esd foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 guile imap imlib ipv6 jikes jpeg kde lcms ldap libg++ libwww mad maildir mbox mikmod mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl pic png python qt quicktime readline samba sdl slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype wmf x86 xml xml2 xmms xv zlib"
Comment 4 Shevek 2004-04-26 14:46:18 UTC
Paul, the problem is that the Perl module's Makefile will explicitly stat and attempt to remove old copies of the code directly from /usr/lib/perl5/<something appropriate>. Therefore it needs the sandbox to permit it to write to that directory.

To reproduce the bug, install subversion, then reinstall or upgrade without unmerging the old instance.

I am really glad the Perl module installs by default now since this is my main way of using svn. However, fixing this little niggle will also help a lot with my use of gentoo.

S.
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2004-11-11 20:43:01 UTC
This doesn't seem to be a problem in current versions.  Please re-open if it still happens for you.