Bug#639353: libdevel-leak-perl: Does not call sv_dump(), even when used with debugperl

Tim Cutts tjrc at sanger.ac.uk
Fri Aug 26 09:29:32 UTC 2011


Package: libdevel-leak-perl
Version: 0.03-1
Severity: normal
Tags: upstream patch


When run with debugperl, this module should call sv_dump() on the new
objects, but it does not.  This was also reported in the FreeBSD world,
and their patch fixes the problem on Debian also:

diff -ruN devel/p5-Devel-Leak.orig/files/patch-Leak.xs
devel/p5-Devel-Leak/files/patch-Leak.xs
--- devel/p5-Devel-Leak.orig/files/patch-Leak.xs    1970-01-01
03:00:00.000000000 +0300
+++ devel/p5-Devel-Leak/files/patch-Leak.xs 2011-05-14
18:51:59.477733160 +0400
@@ -0,0 +1,11 @@
+--- Leak.xs    2004-03-18 20:18:41.000000000 +0300
++++ Leak.xs    2011-05-14 18:47:28.253023619 +0400
+@@ -11,7 +11,7 @@
+ typedef long used_proc _((void *,SV *,long));
+ typedef struct hash_s *hash_ptr;
+ 
+-#ifndef DEBUGGING
++#ifndef sv_dump
+ #define sv_dump(sv) PerlIO_printf(PerlIO_stderr(), "\n")
+ #endif
+ 

The FreeBSD bug report is here:

http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-May/210916.html

and the associated Ubuntu bug report is here:

https://bugs.launchpad.net/ubuntu/+source/libdevel-leak-perl/+bug/450482

Regards,

Tim

-- System Information:
Debian Release: 6.0.2
Architecture: i386 (i686)

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

Versions of packages libdevel-leak-perl depends on:
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  perl                   5.10.1-17squeeze2 Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.1 5.10.1-17squeeze2 minimal Perl system

libdevel-leak-perl recommends no packages.

libdevel-leak-perl suggests no packages.

-- debconf-show failed


-- 
 The Wellcome Trust Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 





More information about the pkg-perl-maintainers mailing list