Package: libb-size-perl
Version: 0.05-1
Severity: important
File: /usr/lib/perl5/B/Size.pm

While trying to follow the directions for mod_perl Performance Tuning, I
ran into trouble trying to use the B::TerseSize module. Every time I
would try to include the module I would get this error:

Prototype mismatch: sub B::OP::size: none vs () at
/usr/lib/perl5/B/Size.pm line 24.

With the module included, Apache::Status would fail to run. With it
excluded it ran. I tried preloading the module via PerlRequire and that
shed some more light on the trouble, saying that B::OP::size was being
redefined. Adding a begin block to define the sub, I discovered that the
function was defined by XSLoader.pm

Subroutine B::OP::size redefined at /usr/lib/perl/5.8/XSLoader.pm line
91.
Subroutine B::OP::size redefined at /usr/lib/perl5/B/Size.pm line 24.
Prototype mismatch: sub B::OP::size: none vs () at
/usr/lib/perl5/B/Size.pm line 24.

I get the same warning with perl -e 'use B::TerseSize' and perl -e 'use
B::Size'

I don't know what the appropriate severity is for this bug, but it makes
the package unusable with mod_perl in the way I was going to use it.

http://perl.apache.org/docs/1.0/guide/performance.html#Code_Profiling_Techniques
http://lists.debian.org/debian-user/2006/05/msg01084.html

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-k7
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libb-size-perl depends on:
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an ii perl 5.8.4-8sarge4 Larry Wall's Practical Extraction ii perl-base [perlapi-5. 5.8.4-8sarge4 The Pathologically Eclectic Rubbis

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to