Subject: | fix for dependency resolution |
System Info (probably not related): perl5.8.8, NetBSD2.1/alpha
Hello,
there is an issue with dependency resolution in CPAN.pm, starting with
v1.80. When I install a module snapshot from an active
amavisd/SpamAssassin system an a fresh Perl installation, it will always
need several iterations of "install Snapshot_..." to really install all
of the modules therein. v1.76 (as distributed with Perl 5.8.8) runs fine.
If necessary, I can provide complete output of the snapshot install for
CPAN versions 1.76, 1.80, 1.81, 1.83, 1.84, 1.86, 1.87. Thought it might
be a bit to long to post here :-)
Actually, I do not know anything about the dependency resolution in
CPAN, but from diffing between v1.76 and v1.87 I found a suspect change,
removed it, and now it works.
The attached file is a diff for v1.87 to comment away 2 lines:
--- CPAN.pm.orig 2006-03-23 23:51:03.000000000 +0100
+++ CPAN.pm 2006-03-28 14:19:28.000000000 +0200
@@ -5112,8 +5112,8 @@
if (exists $self->{later} and length($self->{later})) {
if ($self->unsat_prereq) {
push @e, $self->{later};
- } else {
- delete $self->{later};
+# } else {
+# delete $self->{later};
}
}
With this change, the snapshot installation works again, exactly as it
did in v1.76.
Best regards
Matthias Ferdinand
Subject: | CPAN.dif |
Message body not shown because it is not plain text.