Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265488 - dev-db/mytop-1.6 error out with perl-core/Getopt-Long-2.38
Summary: dev-db/mytop-1.6 error out with perl-core/Getopt-Long-2.38
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-08 20:57 UTC by François MASSON
Modified: 2009-04-10 07:54 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 François MASSON 2009-04-08 20:57:24 UTC
dev-db/mytop-1.6 incompatible usage of perl-core/Getopt-Long-2.38

Reproducible: Always

Steps to Reproduce:
~ # mytop
Error in option spec: "long|!"
Actual Results:  
application doesn't launch

Expected Results:  
application launch

The offending statment in mytop is on line 159 :
    "long|!"               => \$config{long_nums},


According to documentation of getopt::long the | does not make any sens here.
I don't known if this is a wrong usage by mytop or overzealous syntax checking by getopt::long

Quick fixe :
remove the | on this line
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-04-10 07:54:11 UTC
fixed in cvs.