Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48764 - after upgrading fcron mrtg borks
Summary: after upgrading fcron mrtg borks
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-23 00:50 UTC by André Lemos
Modified: 2004-09-21 13:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Lemos 2004-04-23 00:50:40 UTC
I know this sounds strange, but I believe that the only thing that I've updated recently was fcron, and now every 5 minutes I get the following error for my mrtg scripts:

Number found where operator expected at /usr/lib/perl5/5.8.2/IO/Socket/INET.pm line 231, near "9 1"
        (Missing operator before  1?)
syntax error at /usr/lib/perl5/5.8.2/IO/Socket/INET.pm line 231, near "9 1"

etc etc.... I know it looks like a perl issue, but I don't believe I have updated in a while.
Comment 1 Eric Brown 2004-04-23 13:42:21 UTC
what's on line 231 of INET.pm?

perl 5.8.3 i have: 
    return $sock->SUPER::bind(@_ == 1 ? shift : pack_sockaddr_in(@_))

so.. if you have =9 1 that would be bad.
Comment 2 André Lemos 2004-04-23 13:47:26 UTC
find /usr -name "INET.pm"
/usr/lib/perl5/5.8.2/IO/Socket/INET.pm


Line 231
return $sock->SUPER::bind(@_ =9 1 ? shift : pack_sockaddr_in(@_))
Comment 3 André Lemos 2004-04-23 13:49:22 UTC
I've changed my file so that it looks like yours, and now mrtg works again...

WHAT GIVES? what might have changed that? I wasn't, that's for sure..
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2004-09-21 13:27:32 UTC
This falls into the realm of "weird, unreproducable". Sorry we couldn't help more, nothing in the ebuild for IO::Socket::INET would do something like this and can't reproduce this.