Subject: libperl dependency problem
To: NetBSD Packages Technical Discussion List <>
From: Laurent DAVERIO <>
List: tech-pkg
Date: 02/01/2005 15:55:51
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hello list,

I'm currently running into a dependency problem regarding libperl on a SPARC
Solaris 8 platform : libperl seems to depend both on packages perl5 (Perl 5.6.1)
and perl58 (Perl 5.8.6), which are mutually incompatible :-(

- If I start with libperl and no perl installed, pkgsrc first installs Perl 5.6
(deprecated, because vulnerable), then complains that Perl 5.8 can not be found,
and tries to install Perl 5.6 again, which fails :

  root@nanteau 180:make -DALLOW_VULNERABLE_PACKAGES
  => Checksum OK for perl-5.6.1.tar.gz.
  ===> Extracting for libperl-5.6.1
  ===> Required installed package perl-5.6.1{,nb*}: perl-5.6.1nb10 found
  ===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.6.1nb10 found
  ===> Required package perl>=5.8.5nb6: NOT found
  ===> Verifying reinstall for ../../lang/perl5
  ===> Installing for perl-5.6.1nb10
  ===> perl-5.6.1nb10 is already installed - perhaps an older version?
  *** If so, you may use either of:
  ***  - "pkg_delete perl-5.6.1nb10" and "/usr/pkg/bin/make reinstall" to
upgrade properly
  ***  - "/usr/pkg/bin/make update" to rebuild the package and all of its
  ***  - "/usr/pkg/bin/make replace" to replace only the package without re-linking
  ***    dependencies, risking various problems.
  *** Error code 1

- On the other hand, if I try to install Perl 5.8 first (after deinstalling Perl
5.6, of course), pkgsrc first tries to reinstall Perl5.6,and complains that 5.8
is in the way... :-(

I guess I'll find a fix (propbably  reinstall things by hand), because I have to
get it working again quickly. (For the record, it all started with a "make
update" on a pretty inocuous Perl module, which zapped Perl, eperl, Mason, etc.
Some days I hate pkgsrc...)



     Laurent DAVERIO
     Centre de Recherche en Informatique
     de l'École Nationale Supérieure des Mines de Paris (CRI-ENSMP)
     35, Rue Saint-Honoré
     FRANCE                               Tel:    (+33|0)
                                          Fax:    (+33|0)
					 La Page Trad :

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v1.4.0 (Darwin)