Skip Menu |

This queue is for tickets about the PerlBuildSystem CPAN distribution.

Report information
The Basics
Id: 17049
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: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Misleading error message when sub Pbsfiles cannot be found
PBS searches for sub Pbsfiles in different directories, among others in the source directories. When PBS cannot find a sub Pbsfile, it just reports that it cannot find it in the last tried directory. The user then gets the impression that PBS only has searched in that directory, when it actually has searched in multiple directories. Two solution proposals: 1. Change the error message to "Cannot find 'A/Subpbs.pl", that is, with just the path specified by the user - no full path. or 2. Change the error message to a list of all paths PBS has searched in.
done in 0.37 r147. Also changed the format used with --display_subpbs_search_info --display_all_subpbs_alternatives [6/0] Depending './d3' , inserted at 'all:PBS::Runs::PBS_1:User:./Pbsfile.pl:14', with sub pbs 'd3:d3/Pbsfilexx.pl'. Couldn't locate 'd3/Pbsfilexx.pl' to define subpbs run. Locating pbsfile 'd3/Pbsfilexx.pl' from rule 'd3' at './Pbsfile.pl:18'. Couldn't find pbsfile 'd3/Pbsfilexx.pl' in '/devel/perl_modules/PerlBuildSystem/Pbsfiles/subpbs_locate'. Couldn't find pbsfile 'd3/Pbsfilexx.pl' in '/devel/perl_modules/PerlBuildSystem/Pbsfiles/subpbs_locate/sd1'. Couldn't find pbsfile 'd3/Pbsfilexx.pl' in '/devel/perl_modules/PerlBuildSystem/Pbsfiles/subpbs_locate/sd2'. Couldn't find pbsfile 'd3/Pbsfilexx.pl' in './'. Died at /usr/lib/perl5/site_perl/5.8.7/PBS/Depend.pm line 931. PBS run 1 building './all' with './Pbsfile.pl'