Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2014 15:17:09 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        ports@FreeBSD.org, tobez@FreeBSD.org
Subject:   Re: Problem with ports after upgrade of Perl to 5.16.3_6 - overload arg '..' is invalid at Math/BigInt.pm line 153.
Message-ID:  <20140105141709.GF2951@home.opsec.eu>
In-Reply-To: <52C965AF.2030405@quip.cz>
References:  <52C965AF.2030405@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> After this upgrade, each port using Math/BigInt.pm shows warning:
> 
> # service sqlgrey restart
> Stopping sqlgrey.
> Waiting for PIDS: 986.
> Starting sqlgrey.
> overload arg '..' is invalid at 
> /usr/local/lib/perl5/site_perl/5.16/Math/BigInt.pm line 153.
[...]
> Is it known problem?

I have seen it before. Fix:

Comment out the line 153 in
/usr/local/lib/perl5/site_perl/5.16/Math/BigInt.pm.

Root cause is in math/p5-Math-BigInt:

It overloads lots of operations, one of them isn't even in perl yet 8-}

# not supported by Perl yet
'..'    =>      \&_pointpoint,

> Should I file a PR?

Yes, please.

-- 
pi@opsec.eu            +49 171 3101372                         6 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140105141709.GF2951>