Skip Menu |

This queue is for tickets about the PerlBuildSystem CPAN distribution.

Report information
The Basics
Id: 15049
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: PerlBuildSystem

People
Owner: Nobody in particular
Requestors: emil.jansson [...] obigo.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.34
Fixed in: (no value)



Subject: Bad error message
When passing undef to AddSubpbsRule, the trace back does not show the filename and line of the file containing the call to AddSubpbsRule, just a lot of internal calls in PBS. The error message is: Use of uninitialized value in string eq at '/devel/modules/PerlBuildSystem-0.34/Plugins/SimplifyRule.pm' line 256. Empty Regex definition at /usr/lib/perl5/site_perl/5.8.5/PBS/Plugin.pm line 166 Error Running plugin sub 'AddSubpbsRule': Died at '/devel/modules/PerlBuildSystem-0.34/Plugins/SimplifyRule.pm' line 102. at /usr/lib/perl5/site_perl/5.8.5/PBS/Plugin.pm line 167. ...propagated at /usr/lib/perl5/site_perl/5.8.5/PBS/PBS.pm line 580. ...propagated at /usr/lib/perl5/site_perl/5.8.5/PBS/PBS.pm line 580. PBS run 1 building './install_otl' with './Pbsfile.pl'
[guest - Thu Oct 13 14:38:47 2005]: Show quoted text
> When passing undef to AddSubpbsRule, the trace back does not show the > filename and line of the file containing the call to AddSubpbsRule, > just a lot of internal calls in PBS. > > The error message is: > > Use of uninitialized value in string eq at > '/devel/modules/PerlBuildSystem-0.34/Plugins/SimplifyRule.pm' line > 256. > Empty Regex definition at /usr/lib/perl5/site_perl/5.8.5/PBS/Plugin.pm > line 166 > Error Running plugin sub 'AddSubpbsRule': > Died at '/devel/modules/PerlBuildSystem-0.34/Plugins/SimplifyRule.pm' > line 102. > at /usr/lib/perl5/site_perl/5.8.5/PBS/Plugin.pm line 167. > ...propagated at /usr/lib/perl5/site_perl/5.8.5/PBS/PBS.pm > line 580. > ...propagated at /usr/lib/perl5/site_perl/5.8.5/PBS/PBS.pm > line 580. > PBS run 1 building './install_otl' with './Pbsfile.pl'
An example wouldn't have hurt. A working Pbsfile would have been even better. SimplifyRule.pm is a new module that allows the use of non pure perl syntax. This was practical for not breaking all Pbsfiles when PBS went over to pure perl rules as default.
PBS version 0.36 ADDED: information when AddSubpbsRule is passed bad argument FIXED: AddSubpbsRule arguments are more thorowly checked Invalid rule at './Pbsfile.pl:12' Empty Regex definition Error Running plugin sub 'AddSubpbsRule': Died at '/devel/perl_modules/PerlBuildSystem/Plugins/SimplifyRule.pm' line 102. at /usr/lib/perl5/site_perl/5.8.7/PBS/Plugin.pm line 167. ...propagated at /usr/lib/perl5/site_perl/5.8.7/PBS/PBS.pm line 579.