diff options
author | asami <asami@FreeBSD.org> | 1999-09-11 00:07:58 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-09-11 00:07:58 +0000 |
commit | 841e344c689dda9b8db42ea2fa56d03f1e339f06 (patch) | |
tree | 1881de8a6396f80928b7567932b76d40c90a108a /Tools | |
parent | 09694888e40feddda3aa441768b4657e38500447 (diff) | |
download | FreeBSD-ports-841e344c689dda9b8db42ea2fa56d03f1e339f06.zip FreeBSD-ports-841e344c689dda9b8db42ea2fa56d03f1e339f06.tar.gz |
Add check for "invalid category" error.
Add another case for compilation error (undeclared variable).
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 274d55e..f452376 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" |