Subject: libperl dependency problem
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: Laurent DAVERIO <daverio@cri.ensmp.fr>
List: tech-pkg
Date: 02/01/2005 15:55:51
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8EA4920366AB2F91AA0825AD
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
dependencies
  ***  - "/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.

--

     Laurent DAVERIO
     Centre de Recherche en Informatique
     de l'École Nationale Supérieure des Mines de Paris (CRI-ENSMP)
     35, Rue Saint-Honoré
     77305 FONTAINEBLEAU CEDEX
     FRANCE                               Tel:    (+33|0) 1.64.69.48.37
                                          Fax:    (+33|0) 1.64.69.48.47
                                          E-mail: laurent@daverio.net
                                          http://daverio.net/
					 La Page Trad : http://trad.org/



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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iD8DBQFB/5h3EevWK0aUuN4RAr4SAJ9tSzCTGRtoamkSt2tn2wjYjrAYHACfcqkm
rXz20E9E6z5RoVe3hADi31c=
=3zhk
-----END PGP SIGNATURE-----

--------------enig8EA4920366AB2F91AA0825AD--