[libconfig-model-dpkg-perl] 01/01: fix warnings issued when a alternate dep contains an unknown/virtual package
dod at debian.org
dod at debian.org
Thu Jan 16 21:23:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.
commit c121efae410c4935ddc99440345ab701a1c95c17
Author: Dominique Dumont <dod at debian.org>
Date: Thu Jan 16 22:23:43 2014 +0100
fix warnings issued when a alternate dep contains an unknown/virtual package
---
lib/Config/Model/Dpkg/Dependency.pm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm
index a855cfe..bbb521d 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -429,6 +429,11 @@ sub check_perl_lib_dep {
$async_log->debug("on_get_lib_version called with @_") ;
# get_available_version returns oldest first, like (etch,1.2,...)
my ($oldest_debian_with_lib,$oldest_lib_version_in_debian) = @_[0,1] ;
+ if (not defined $oldest_lib_version_in_debian or not defined $oldest_debian_with_lib) {
+ # no need to check further. Call send to unblock wait done with recv
+ AnyEvent::postpone { $perl_dep_cv->send };
+ return;
+ }
# lob off debian release number
$oldest_lib_version_in_debian =~ s/-.*//;
my $check_v = $dep_v ;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git
More information about the Pkg-perl-cvs-commits
mailing list