uh_parser/RaptorUnreciped.pm
changeset 185 978ef35b4e5f
parent 182 d7b846505d9e
child 186 b76adfbc6648
--- a/uh_parser/RaptorUnreciped.pm	Thu Mar 04 17:14:46 2010 +0000
+++ b/uh_parser/RaptorUnreciped.pm	Mon Mar 08 17:19:08 2010 +0000
@@ -49,6 +49,7 @@
 my $CATEGORY_RAPTORUNRECIPED_OVERRIDINGCOMMANDSFORTARGET = 'overriding_commands_for_target';
 my $CATEGORY_RAPTORUNRECIPED_MAKE_TARGETNOTREMADEBECAUSEOFERRORS = 'make_target_not_remade_because_of_errors';
 my $CATEGORY_RAPTORUNRECIPED_MAKE_ERROR1 = 'make_error_1';
+my $CATEGORY_RAPTORUNRECIPED_MAKE_NORULETOMAKETARGETNEEDEDBY = 'make_no_rule_to_make_target_needed_by';
 my $CATEGORY_RAPTORUNRECIPED_MAKE_NORULETOMAKETARGET = 'make_no_rule_to_make_target';
 
 sub process
@@ -73,9 +74,7 @@
 	}
 	elsif ($text =~ m,: warning: ignoring old commands for target,)
 	{
-		$severity = $RaptorCommon::SEVERITY_MINOR;
-		my $subcategory = $CATEGORY_RAPTORUNRECIPED_IGNORINGOLDCOMMANDSFORTARGET;
-		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file, $line);
+		# don't dump
 	}
 	elsif ($text =~ m,: warning: overriding commands for target,)
 	{
@@ -98,6 +97,12 @@
 	elsif ($text =~ m,^make: \*\*\* No rule to make target .*\ needed by .*,)
 	{
 		$severity = $RaptorCommon::SEVERITY_MINOR;
+		my $subcategory = $CATEGORY_RAPTORUNRECIPED_MAKE_NORULETOMAKETARGETNEEDEDBY;
+		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file, $line);
+	}
+	elsif ($text =~ m,^make: \*\*\* No rule to make target .*,)
+	{
+		$severity = $RaptorCommon::SEVERITY_MINOR;
 		my $subcategory = $CATEGORY_RAPTORUNRECIPED_MAKE_NORULETOMAKETARGET;
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file, $line);
 	}
@@ -109,6 +114,18 @@
 	{
 		# don't dump
 	}
+	elsif ($text =~ m,win32/cygwin/bin/cp\.exe,)
+	{
+		# don't dump
+	}
+	elsif ($text =~ m,epoc32/tools/svgtbinencode\.exe,)
+	{
+		# don't dump
+	}
+	elsif ($text =~ m,win32/cygwin/bin/chmod\.exe a\+rw,)
+	{
+		# don't dump
+	}
 	else # log everything by default
 	{
 		RaptorCommon::dump_fault($category, $subcategory, $severity, $logfile, $component, $mmp, $phase, $recipe, $file, $line);