Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66712 - dev-utils/subversion-1.1.0 puts perl modules in /usr/lib/perl5/site_perl
Summary: dev-utils/subversion-1.1.0 puts perl modules in /usr/lib/perl5/site_perl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 18:27 UTC by bdonlan
Modified: 2004-11-11 20:36 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 bdonlan 2004-10-07 18:27:59 UTC
If USE="perl" is set, dev-utils/subversion-1.1.0 puts its perl modules in /usr/lib/perl5/site_perl instead of modules in /usr/lib/perl5/vendor_perl

Reproducible: Always
Steps to Reproduce:
1. USE="perl" emerge subversion

Actual Results:  
Perl modules were installed to /usr/lib/perl5/site_perl 

Expected Results:  
Perl modules should be installed to /usr/lib/perl5/vendor_perl 

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.
8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"   
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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/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="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/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 acl alsa apache2 apm arts artswrappersuid avi berkdb bitmap-fonts canna
cdr cjk crypt cups directfb dvd emacs encode esd faac faad fbcon fbdev flac
flaci foomaticdb gdbm gif gpm gtk gtk2 imlib innodb ipv6 jabber java jpeg kde
libg++ libwww mad matroska mikmod mmx mng motif mpeg msn mule mysql ncurses nls
nocd oggvorbis opengl oscar oss pam pdflib perl php pic png posix ppds python qt
quicktime readline ruby samba sdl slang spell sse ssl svga szip tcltk tcpd tetex
theora timidity truetype usb vim-with-x wxwindows x86 xml2 xmms xosd xprint
xrandr xv xvid yahoo zlib"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2004-10-08 05:47:28 UTC
If anyone cares to explain to me what is the policy about this I'll be happy to create a hack in the ebuild to move all the perl stuff around (assuming it will work just similarly). I don't really know about perl.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-10-09 05:05:48 UTC
There is no policy for this. We place perl modules in vendor-perl via the eclass so that CPAN modules don't overwrite core distribution modules, and thanks to the patch to reverse @INC vendor takes precedence over the core modules. For an explanation on this bit, you'd have to go the lists and changelogs and look for information on the MakeMaker debacle (just look for flames aimed at me and you'll be almost there).

So, installing perl modules in site isn't *wrong*. Yes, it is against the average installation on a gentoo box, but it is a perfectly legitimate place to put it. I can take a look at changing the install location if you'd like, Paul (knowing this is your package), but installing to site doesn't break anything, and isn't a violation of anything.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-10-09 06:46:30 UTC
I had the idea that it is a bit like placing something in /usr/local, it does work, but it isn't really supposed to. If you think it is better to move the modules (to the cost of needing to move them), or even use the eclass I wouldn't mind. If you decide to use the eclass, I'd like to see a diff though ;-)
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-11-11 20:36:40 UTC
Fixed in subversion-1.1.1-r1, thanks

I used INSTALLDIRS=vendor just like perl-module.eclass