diff options
author | kris <kris@FreeBSD.org> | 2002-09-16 05:58:46 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-16 05:58:46 +0800 |
commit | 10b53f6848cf527c60f0998f861ebe3aef373fdf (patch) | |
tree | 43690d0355e6f7b5ec5cf8be08c8df3641987614 /Tools/portbuild | |
parent | 28eb8575a8d88fe9da45cb84dfa84071d570f705 (diff) | |
download | freebsd-ports-gnome-10b53f6848cf527c60f0998f861ebe3aef373fdf.tar.gz freebsd-ports-gnome-10b53f6848cf527c60f0998f861ebe3aef373fdf.tar.zst freebsd-ports-gnome-10b53f6848cf527c60f0998f861ebe3aef373fdf.zip |
Add a bunch of new failure modes (mostly to do with ports failing on 5.0)
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/processlogs | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/processlogs b/Tools/portbuild/scripts/processlogs index d377bd3d1f96..bd2109d5e86f 100755 --- a/Tools/portbuild/scripts/processlogs +++ b/Tools/portbuild/scripts/processlogs @@ -51,6 +51,8 @@ else echo -n "</td><td>" >>$of if grep -q 'list of extra files and directories' $1; then reason="mtree"; tag="mtree" + elif grep -q "See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions." $1; then + reason="gcc bug"; tag="gcc bug" elif grep -q 'Checksum mismatch' $1; then reason="checksum"; tag="checksum" elif grep -qE '(No checksum recorded for|(Maybe|Either) .* is out of date, or)' $1; then @@ -81,6 +83,10 @@ else reason="LIB_DEPENDS"; tag="libdepends" elif grep -qE "(crt0|c\+\+rt0)\.o: No such file" $1; then reason="ELF"; tag="elf" + elif grep -q "machine/soundcard.h: No such file or directory" $1; then + reason="soundcard.h"; tag="soundcard.h" + elif grep -q "values.h: No such file or directory" $1; then + reason="values.h"; tag="values.h" elif grep -q ".*\.h: No such file" $1; then if grep -qE "(X11/.*|Xosdefs)\.h: No such file" $1; then if grep -q "XFree86-.*\.tgz" $1; then @@ -103,13 +109,17 @@ else reason="compiler error"; tag="cc" elif grep -qE '(ANSI C.. forbids|is a contravariance violation|changed for new ANSI .for. scoping|[0-9]: passing .* changes signedness|discards qualifiers|lacks a cast|redeclared as different kind of symbol|invalid type .* for default argument to|wrong type argument to unary exclamation mark|duplicate explicit instantiation of|incompatible types in assignment|assuming . on overloaded member function|call of overloaded .* is ambiguous|declaration of C function .* conflicts with|initialization of non-const reference type|using typedef-name .* after|[0-9]: implicit declaration of function|[0-9]: size of array .* is too large|fixed or forbidden register .* for class)' $1; then reason="new compiler error"; tag="newgcc" - elif grep -qE '(undefined reference to|cannot open -l.*: No such file)' $1; then + elif grep -qE '(syntax error before|ISO C++ forbids|friend declaration|no matching function for call to|.main. must return .int.|invalid conversion from|cannot be used as a macro name as it is an operator in C\+\+|is not a member of type|after previous specification in|no class template named|because worst conversion for the former|better than worst conversion|no match for.*operator|no match for call to|undeclared in namespace|is used as a type, but is not)' $1; then + reason="Bad C++ code"; tag="badc++" + elif grep -qE '(/usr/libexec/elf/ld: cannot find|undefined reference to|cannot open -l.*: No such file)' $1; then reason="linker error"; tag="ld" + elif grep -qE 'chown:.*invalid argument' $1; then + reason="chown"; tag="chown" elif grep -q 'install: .*: No such file' $1; then reason="install error"; tag="install" elif grep -q "/usr/.*/man/.*: No such file or directory" $1; then reason="manpage"; tag="manpage" - elif grep -q "tar: can't add file" $1; then + elif grep -q "pkg_create: make_dist: tar command failed with code" $1; then reason="PLIST"; tag="plist" elif grep -q "Can't open display" $1; then reason="DISPLAY"; tag="display" @@ -123,6 +133,8 @@ else reason="coredump"; tag="coredump" elif grep -q "Segmentation fault" $1; then reason="segfault"; tag="segfault" + elif grep -q "structure has no member named" $1; then + reason="struct changes"; tag="struct" else reason="???"; tag="unknown" fi |