On Mon, May 05, 2008 at 11:06:52AM -0700, Matthew Warren wrote:
> Package: perl
> Version: 5.8.8-7etch3
> Severity: important

> Running debian stable on my NSLU2.  Updated to 5.8.8-7etch3, and immediately 
> started getting these errors:
> Weak references are not implemented in the version of perl at ...
> Undefined subroutine &Scalar::Util::weaken called at ...
> 
> This appears to be at least partially architecture-dependent or 
> architecture-related, as I did the same upgrade on 
> an Intel machine that runs the same hourly cron job and which did not start 
> generating the errors.
> 
> I Googled and learned that using cpan to reinstall Scalar::Util will probably 
> fix the problem, and I am going to try 
> that now.  Still, I shouldn't have to do that on stable.

Weird, weak references seems to work fine with 5.8.8-7etch3 on my slug
as well as agnesi.debian.org:

slug2% perl -le 'use Scalar::Util qw(weaken isweak); $r=\$foo; print isweak($r) 
? "y":"n"; weaken($r); print isweak($r) ? "y":"n"'
n
y

Could you please run

% strace -eopen perl -e 'use Scalar::Util qw/weaken/'

and send the output so we can see if it's using the system libraries 
or some local ones? The library where weaken() lives is 
/usr/lib/perl/5.8.8/auto/List/Util/Util.so .

Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]



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

Reply via email to