Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs17:/tmp/cvs-serv13255
Modified Files: ChangeLog Validation.pm Log Message: Say which shlibs db file couldn't be read Index: Validation.pm =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v retrieving revision 1.270 retrieving revision 1.271 diff -u -d -r1.270 -r1.271 --- Validation.pm 12 Oct 2007 02:37:43 -0000 1.270 +++ Validation.pm 13 Oct 2007 20:12:34 -0000 1.271 @@ -1478,7 +1478,8 @@ # read the shlibs database file my $deb_shlibs = {}; { - foreach my $filename ("$destdir/DEBIAN/shlibs", "$destdir/DEBIAN/private-shlibs") { + foreach my $debfile ('shlibs', 'private-shlibs') { + my $filename = "$destdir/DEBIAN/$debfile"; if (-f $filename) { if (open my $script, '<', $filename) { chomp( my @deb_shlibs_raw = <$script> ); # slurp the data file @@ -1498,7 +1499,7 @@ } } } else { - print "Error: could not read dpkg shlibs database file: $!\n"; + print "Error: could not read dpkg shlibs database file ($debfile): $!\n"; $looks_good = 0; } } Index: ChangeLog =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v retrieving revision 1.1497 retrieving revision 1.1498 diff -u -d -r1.1497 -r1.1498 --- ChangeLog 12 Oct 2007 02:21:37 -0000 1.1497 +++ ChangeLog 13 Oct 2007 20:12:33 -0000 1.1498 @@ -1,3 +1,7 @@ +2007-10-11 Daniel Macks <[EMAIL PROTECTED]> + + * Validator.pm: More explicit error message. + 2007-10-11 Benjamin Reed <[EMAIL PROTECTED]> * PkgVersion.pm, Validator.pm: Added "private" Shlibs support; if a ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs