Mageia Bugzilla – Attachment 2778 Details for
Bug 7423
2: Numerous perl bugs when launching mcc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
mcc bug text
bug.txt (text/plain), 6.23 KB, created by
Bit Twister
on 2012-09-09 23:26:36 CEST
(
hide
)
Description:
mcc bug text
Filename:
MIME Type:
Creator:
Bit Twister
Created:
2012-09-09 23:26:36 CEST
Size:
6.23 KB
patch
obsolete
>[root@wb ~]# mcc >[root@wb ~]# Ambiguous call resolved as CORE::exit(), qualify as such or use & at > /usr/lib/libDrakX/standalone.pm line 200 (#1) > (W ambiguous) A subroutine you have declared has the same name as a Perl > keyword, and you have used the name without qualification for calling > one or the other. Perl decided to call the builtin because the > subroutine is not imported. > > To force interpretation as a subroutine call, either put an ampersand > before the subroutine name, or qualify the name with its package. > Alternatively, you can import the subroutine (or pretend that it's > imported with the use subs pragma). > > To silently interpret it as the Perl operator, use the CORE:: prefix > on the operator (e.g. CORE::log($x)) or declare the subroutine > to be an object method (see "Subroutine Attributes" in perlsub or > attributes). > >\1 better written as $1 at /usr/lib/libDrakX/standalone.pm line 206 (#2) > (W syntax) Outside of patterns, backreferences live on as variables. > The use of backslashes is grandfathered on the right-hand side of a > substitution, but stylistically it's better to use the variable form > because other Perl programmers will expect it, and it works better if > there are more than 9 backreferences. > >Ambiguous call resolved as CORE::exit(), qualify as such or use & at > /usr/lib/libDrakX/standalone.pm line 216 (#1) > >Statement unlikely to be reached at /usr/lib/libDrakX/standalone.pm line 220 (#3) > (W exec) You did an exec() with some statement after it other than a > die(). This is almost always an error, because exec() never returns > unless there was a failure. You probably wanted to use system() > instead, which does return. To suppress this warning, put the exec() in > a block by itself. > > (Maybe you meant system() when you said exec()?) >Subroutine detect_devices::formatError redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::output redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::linkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::symlinkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::renamef redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::mkdir_p redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::rm_rf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::cp_af redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::touch redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::substInFile redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::setVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::setExportedVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::setExportedVarsInCsh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Subroutine detect_devices::update_gnomekderc redefined at /usr/lib/libDrakX/detect_devices.pm line 12 >Use of uninitialized value $MDV::Control_Center::version in concatenation (.) > or string at /usr/lib/perl5/vendor_perl/5.14.2/MDV/Control_Center.pm line 49 (#4) > (W uninitialized) An undefined value was used as if it were already > defined. It was interpreted as a "" or a 0, but maybe it was a mistake. > To suppress this warning assign a defined value to your variables. > > To help you figure out what was undefined, perl will try to tell you the > name of the variable (if any) that was undefined. In some cases it cannot > do this, so it also tells you what operation you used the undefined value > in. Note, however, that perl optimizes your program and the operation > displayed in the warning may not necessarily appear literally in your > program. For example, "that $foo" is usually optimized into "that " > . $foo, and the warning will refer to the concatenation (.) operator, > even though there is no . in your program. > >main::build_list() called too early to check prototype at > /usr/sbin/drakconf.real line 702 (#5) > (W prototype) You've called a function that has a prototype before the > parser saw a definition or declaration for it, and Perl could not check > that the call conforms to the prototype. You need to either add an > early prototype declaration for the subroutine in question, or move the > subroutine definition ahead of the call to get proper prototype > checking. Alternatively, if you are certain that you're calling the > function correctly, you may put an ampersand before the name to avoid > the warning. See perlsub. > >main::hide_buttons() called too early to check prototype at > /usr/sbin/drakconf.real line 1084 (#5) >Use of uninitialized value in -f at /usr/sbin/drakconf.real line 126 (#4) >Use of uninitialized value in pattern match (m//) at > /usr/lib/libDrakX/detect_devices.pm line 218 (#4) >Use of uninitialized value $l in substitution (s///) at > /usr/lib/libDrakX/detect_devices.pm line 171 (#4) >Use of uninitialized value $modname in substitution (s///) at > /usr/lib/libDrakX/list_modules.pm line 380 (#4) >Use of uninitialized value $o_dir in concatenation (.) or string at > /usr/lib/libDrakX/common.pm line 358 (#4) >Use of uninitialized value $o_dir in concatenation (.) or string at > /usr/lib/libDrakX/common.pm line 377 (#4) >"/usr/sbin/mgaapplet-config" is not executable [Updates Configuration] at /usr/sbin/drakconf.real line 820. >"/usr/bin/drakmenustyle" is not executable [Menus] at /usr/sbin/drakconf.real line 820. >"/usr/sbin/drakbackup" is not executable [Backups] at /usr/sbin/drakconf.real line 820. >"/usr/sbin/drakvirt" is not executable [Virtualization] at /usr/sbin/drakconf.real line 820. >"/usr/sbin/tomoyo-gui" is not executable [Tomoyo Policy] at /usr/sbin/drakconf.real line 820. >"/usr/sbin/drakguard" is not executable [Parental Controls] at /usr/sbin/drakconf.real line 820. >Use of uninitialized value $para[1] in sprintf at /usr/lib/libDrakX/common.pm > line 37 (#4) >Use of uninitialized value $pid_exp in string eq at /usr/sbin/drakconf.real > line 1364 (#4) >
[root@wb ~]# mcc [root@wb ~]# Ambiguous call resolved as CORE::exit(), qualify as such or use & at /usr/lib/libDrakX/standalone.pm line 200 (#1) (W ambiguous) A subroutine you have declared has the same name as a Perl keyword, and you have used the name without qualification for calling one or the other. Perl decided to call the builtin because the subroutine is not imported. To force interpretation as a subroutine call, either put an ampersand before the subroutine name, or qualify the name with its package. Alternatively, you can import the subroutine (or pretend that it's imported with the use subs pragma). To silently interpret it as the Perl operator, use the CORE:: prefix on the operator (e.g. CORE::log($x)) or declare the subroutine to be an object method (see "Subroutine Attributes" in perlsub or attributes). \1 better written as $1 at /usr/lib/libDrakX/standalone.pm line 206 (#2) (W syntax) Outside of patterns, backreferences live on as variables. The use of backslashes is grandfathered on the right-hand side of a substitution, but stylistically it's better to use the variable form because other Perl programmers will expect it, and it works better if there are more than 9 backreferences. Ambiguous call resolved as CORE::exit(), qualify as such or use & at /usr/lib/libDrakX/standalone.pm line 216 (#1) Statement unlikely to be reached at /usr/lib/libDrakX/standalone.pm line 220 (#3) (W exec) You did an exec() with some statement after it other than a die(). This is almost always an error, because exec() never returns unless there was a failure. You probably wanted to use system() instead, which does return. To suppress this warning, put the exec() in a block by itself. (Maybe you meant system() when you said exec()?) Subroutine detect_devices::formatError redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::output redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::linkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::symlinkf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::renamef redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::mkdir_p redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::rm_rf redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::cp_af redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::touch redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::substInFile redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::setVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::setExportedVarsInSh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::setExportedVarsInCsh redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Subroutine detect_devices::update_gnomekderc redefined at /usr/lib/libDrakX/detect_devices.pm line 12 Use of uninitialized value $MDV::Control_Center::version in concatenation (.) or string at /usr/lib/perl5/vendor_perl/5.14.2/MDV/Control_Center.pm line 49 (#4) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl will try to tell you the name of the variable (if any) that was undefined. In some cases it cannot do this, so it also tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. main::build_list() called too early to check prototype at /usr/sbin/drakconf.real line 702 (#5) (W prototype) You've called a function that has a prototype before the parser saw a definition or declaration for it, and Perl could not check that the call conforms to the prototype. You need to either add an early prototype declaration for the subroutine in question, or move the subroutine definition ahead of the call to get proper prototype checking. Alternatively, if you are certain that you're calling the function correctly, you may put an ampersand before the name to avoid the warning. See perlsub. main::hide_buttons() called too early to check prototype at /usr/sbin/drakconf.real line 1084 (#5) Use of uninitialized value in -f at /usr/sbin/drakconf.real line 126 (#4) Use of uninitialized value in pattern match (m//) at /usr/lib/libDrakX/detect_devices.pm line 218 (#4) Use of uninitialized value $l in substitution (s///) at /usr/lib/libDrakX/detect_devices.pm line 171 (#4) Use of uninitialized value $modname in substitution (s///) at /usr/lib/libDrakX/list_modules.pm line 380 (#4) Use of uninitialized value $o_dir in concatenation (.) or string at /usr/lib/libDrakX/common.pm line 358 (#4) Use of uninitialized value $o_dir in concatenation (.) or string at /usr/lib/libDrakX/common.pm line 377 (#4) "/usr/sbin/mgaapplet-config" is not executable [Updates Configuration] at /usr/sbin/drakconf.real line 820. "/usr/bin/drakmenustyle" is not executable [Menus] at /usr/sbin/drakconf.real line 820. "/usr/sbin/drakbackup" is not executable [Backups] at /usr/sbin/drakconf.real line 820. "/usr/sbin/drakvirt" is not executable [Virtualization] at /usr/sbin/drakconf.real line 820. "/usr/sbin/tomoyo-gui" is not executable [Tomoyo Policy] at /usr/sbin/drakconf.real line 820. "/usr/sbin/drakguard" is not executable [Parental Controls] at /usr/sbin/drakconf.real line 820. Use of uninitialized value $para[1] in sprintf at /usr/lib/libDrakX/common.pm line 37 (#4) Use of uninitialized value $pid_exp in string eq at /usr/sbin/drakconf.real line 1364 (#4)
View Attachment As Raw
Actions:
View
Attachments on
bug 7423
: 2778