[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Perl module location



(The following is based on the information in the Contents-i386 file
on ftp-master.)

I just filed bugs on about 5 packages which install Perl modules into
/usr/share/perl/5.6.0 against the perl policy.  But then I checked to
see if there are any packages installing into /usr/lib/perl/5.6.0, and
I discovered that there are 16 which shouldn't, and I'm a little more
loathe to file 16 identical bug reports.

The next thing I checked was for dependencies.  These are somewhat
important due to the @INC restructuring.  There are 212 packages which
have files in /usr/lib/perl5.  Their perl dependencies look like this:

 Perl dependency                     number of packages
 ---------------                     ------------------
Probably correct packages:
  perl (>= 5.6.0-x), perlapi-5.6.0          58  (where x>=16)
  perl-base (>= 5.6.0-x), perlapi-5.6.0      1

Almost certainly incorrect packages:
  <none>                                     8
  perl                                      23
  perl (>= 5.006), perlapi-5.6.0             1
  perl (>= 5.6.0-16)                         3
  perl | perl5                               2
  perl, perl-5.005 | perl-5.6                1
  perl-5.005                                 7
  perl-5.005 | perl-5.6, perl5               1
  perl-5.6                                  12
  perl-modules (>= 5.6.0), perl              1
  perl5                                     84
  perl5 | perl                               3
  perl5 | perl (>= 5.002)                    2
  perl5 | perl (>=5.004)                     1
  perl5|perl                                 1
  perl5|perl5-base                           1

  Total incorrect: 153

And now for those using /usr/share/perl5, of which there are 94
packages:

 Perl dependency                     number of packages
 ---------------                     ------------------
Probably correct packages:
  perl (>= 5.6.0-16)                         1

Almost certainly incorrect packages:
  <none>                                     2
  perl                                      85
  perl (>= 5.6.0)                            1
  perl, perl (>= 5.6.0)                      1
  perl, perl5                                1
  perl-base (>= 5.6.0-4)                     1
  perl5                                      2

So only one of them has it right.

The current debhelper (>=3.0.18, in particular dh_perl), if it's used,
gets it right.  I haven't even bothered to try checking that the
Build-Depends(-Indep) on debhelper is versioned (>= 3.0.18), but it
needs to be.

Any suggestions where to go from here?  A post on -devel-announce,
perhaps?

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: