Bug#588294: dh-lisp: fails to link the ASD file

Desmond O. Chang dochang at gmail.com
Wed Jul 7 00:30:45 UTC 2010


Package: dh-lisp
Version: 0.6.4
Severity: normal

dh_lisp will fails to link the ASD file if the file name has perl
regex metacharacters, e.g., the plus character in cl+ssl.asd.

Here is a patch:

diff --git a/dh_lisp b/dh_lisp
index 3ed88bc..e425a4b 100644
--- a/dh_lisp
+++ b/dh_lisp
@@ -156,7 +156,7 @@ foreach my $package (@{$dh{DOPACKAGES}})
 
 	my @registered_dirs;
 	foreach my $asdf (@{$matches{"asd"}}) {
-	    $asdf =~ s/^($tmp$common_lisp_sources)//;
+	    $asdf =~ s/^(\Q$tmp$common_lisp_sources\E)//;
 
 	    # only register if asd file is in the right direcotry
 	    if ($1 && $asdf =~ m:^/?([^/]+)/.+\.asd$: ) {



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-lisp depends on:
ii  debhelper                     7.9.3      helper programs for debian/rules
ii  perl                          5.10.1-13  Larry Wall's Practical Extraction 

dh-lisp recommends no packages.

dh-lisp suggests no packages.

-- no debconf information





More information about the pkg-common-lisp-devel mailing list