diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-09-11 00:07:58 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-09-11 00:07:58 +0000 |
commit | 5a8bbc0d75a840197972eaa171a1251f8a7d1c3b (patch) | |
tree | afcaa4fd1eba1988bbda2f4449c5046d078b484d /Tools | |
parent | Explict specify NFSv2 for mounting /usr/src and /usr/obj during make world. (diff) |
Add check for "invalid category" error.
Add another case for compilation error (undeclared variable).
Notes
Notes:
svn path=/head/; revision=21635
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processlogs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/processlogs b/Tools/portbuild/scripts/processlogs index 274d55ebf37c..f45237664e0e 100755 --- a/Tools/portbuild/scripts/processlogs +++ b/Tools/portbuild/scripts/processlogs @@ -42,6 +42,8 @@ else reason="fetch"; tag="fetch" elif grep -q "out of .* hunks .*--saving rejects to" $1; then reason="patch"; tag="patch" + elif grep -q 'Error: category .* not in list of valid categories' $1; then + reason="CATEGORIES"; tag="categories" elif grep -q 'undefined reference to `Xp' $1; then reason="MOTIFLIB"; tag="motiflib" elif grep -qi 'read-only file system' $1; then @@ -64,7 +66,7 @@ else fi elif grep -q "cd: can't cd to" $1; then reason="NFS"; tag="nfs" - elif grep -qE '(parse error|too (many|few) arguments to|argument.*doesn.*prototype)' $1; then + elif grep -qE '(parse error|too (many|few) arguments to|argument.*doesn.*prototype|undeclared \(first use this function\))' $1; then reason="compiler error"; tag="cc" elif grep -qE '(undefined reference to|cannot open -l.*: No such file)' $1; then reason="linker error"; tag="ld" |