Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 265488

Summary: dev-db/mytop-1.6 error out with perl-core/Getopt-Long-2.38
Product: Gentoo Linux Reporter: François MASSON <tereutes>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.