Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6097 - dev-perl modules installs into wrong destination
Summary: dev-perl modules installs into wrong destination
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
: 5733 (view as bug list)
Depends on:
Blocks: 6081 6120
  Show dependency tree
 
Reported: 2002-08-06 10:43 UTC by Jens Hilligsøe
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated eclass (perl-module.eclass,1.65 KB, text/plain)
2002-08-06 16:02 UTC, Michael Cummings (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Hilligsøe 2002-08-06 10:43:09 UTC
Quiet a few dev-perl module packages seems to install into the wrong 
destinations directory.

So far I have tried to install Net-Daemon, Storable, PlRPC, DBI, DBD-Pg 
(which fails because of DBI.pm, which it is not able to locate), GD and 
Chart. 

They all do the same: Installs under the /usr/lib/site_perl directory 
instead of /usr/lib/perl5/site_perl which is where Perl's PERL5LIB search 
path is pointing to (Where ever that is configured).

I have tried it on 3 different systems, all up to date, and 
reproduceability seems to be 1:1 on all of them.
Comment 1 Zaheer Merali 2002-08-06 12:35:58 UTC
I can concur that this has started happening to me today.  It used to install my
modules into /usr/lib/perl5/site_perl but now is installing into /usr/lib/site_perl.

Could this be to do with the change to /usr/portage/eclass/perl-module.eclass
that occurred last night?
Comment 2 Nicholas Wourms 2002-08-06 13:12:11 UTC
What perl version are you using?  It seems to be working fine for me.  I
am using perl-5.8.0.
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2002-08-06 16:02:08 UTC
Created attachment 2877 [details]
updated eclass

Can both the perl 5.6.1 users and 5.8.0 users test this as soon as possible? we
don't have the ability to mask eclasses, so its a win or lose situation if I
commit. Thanks!
Comment 4 Zaheer Merali 2002-08-06 18:04:42 UTC
The updated eclass seems to fix it for me.  Here is my perl -V output:

> perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.19-gentoo-r7, archname=i686-linux
    uname='linux zaheer.cs.ucl.ac.uk 2.4.19-gentoo-r7 #1 sat jul 20 02:38:40 bst
2002 i686 genuineintel '
    config_args='-des -Dprefix=/usr -Darchname=i686-linux -Duselargefiles
-Dd_dosuid -Dlocincpth=  -Dd_semctl_semun -Di_gdbm -Di_db -Di_ndbm'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2 -mcpu=i686 -pipe',
    cppflags='-fno-strict-aliasing'
    ccversion='', gccversion='2.95.3 20010315 (release)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/libc-2.2.5.so, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: USE_LARGE_FILES
  Built under linux
  Compiled at Jul 25 2002 12:25:57
  @INC:
    /usr/lib/perl5/5.6.1/i686-linux
    /usr/lib/perl5/5.6.1
    /usr/lib/perl5/site_perl/5.6.1/i686-linux
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl
    .
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2002-08-06 20:50:53 UTC
I got a hold of perl 5.8 user to test and he said it looked good on his end.
With lostlogic and the 5.6.1 user below's output, I commited the modified eclass
file to portage. The modules eclass now checks your perl version and crafts the
perl Makefile statement accordingly (with or without the PREFIX). Please emerge
rsync and try again.

Michael
Comment 6 Michael Cummings (RETIRED) gentoo-dev 2002-08-06 20:54:06 UTC
*** Bug 5733 has been marked as a duplicate of this bug. ***
Comment 7 Jens Hilligsøe 2002-08-07 04:49:36 UTC
emerge rsync and trying again...
emerge DBI DBD-Pg and it works.

Thank you very much, Mr. Cummings!

(This bug is fixed, as far as I am concerned, but I am not sure, if I am the 
one who should change the status..?)
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2002-08-07 06:44:39 UTC
Egads, no Mr. in the name!! Not a problem, when I tested the new eclass I 
watched that it completed smoothly and without violating the sandbox - didn't 
think to theck that it was going to /usr/lib/perl5 and not /usr/lib. Let me 
know if you have any more problems with it,

Michael