diff options
author | linimon <linimon@FreeBSD.org> | 2011-02-27 15:08:01 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2011-02-27 15:08:01 +0800 |
commit | 57f01757f0fb05a6c9c1a9b5cd80acc909dd1e17 (patch) | |
tree | 75a45c7dd1832c4d9f26aaa8bbd7fb93aa0f0c43 /Tools | |
parent | eac72930acf6f8ecc6c6034042c299cef9f793b3 (diff) | |
download | freebsd-ports-gnome-57f01757f0fb05a6c9c1a9b5cd80acc909dd1e17.tar.gz freebsd-ports-gnome-57f01757f0fb05a6c9c1a9b5cd80acc909dd1e17.tar.zst freebsd-ports-gnome-57f01757f0fb05a6c9c1a9b5cd80acc909dd1e17.zip |
Add an overly-large regexp to isolate "packages that fail to build with
clang". This will probably need to be trimmed down some so as to not
pessimize processing time.
At this time this change will be restricted to pointyhat-west.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/processonelog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/processonelog b/Tools/portbuild/scripts/processonelog index 3beffe74563c..32c8542df10e 100755 --- a/Tools/portbuild/scripts/processonelog +++ b/Tools/portbuild/scripts/processonelog @@ -91,9 +91,12 @@ elif bzgrep -q "core dumped" $1; then # linimon would _really_ like to understand how to fix this problem elif bzgrep -q "pkg_add: tar extract.*failed!" $1; then reason="truncated_distfile"; tag="truncated_distfile" +elif bzgrep -qE "(error: C++ requires a type specifier|error: allocation of incomplete type|error: array is too large|error: binding of reference|error: called object type|error: cannot combine with previous.*specifier|error: cannot initialize (a parameter|a variable|return object)|error: cannot pass object|error:.*cast from pointer|error: comparison of unsigned.*expression.*is always false|error: conversion.*(is ambiguous|specifies type)|error:.*converts between pointers to integer|error: declaration of.*shadows template parameter|error:.*declared as an array with a negative size|error: default arguments cannot be added|error: default initialization of an object|error:.*directive requires a positive integer argument|error: elaborated type refers to a typedef|error: exception specification|error: expected.*(at end of declaration|expression|identifier)|error: explicit specialization.*after instantiation|error: explicitly assigning a variable|error: expression result unused|error: fields must have a constant size|error: flexible array member|error: (first|second) parameter of .main|error: format string is not a string literal|error: global register values are not supported|error: if statement has empty body|error: illegal storage class on function|error: implicit (declaration|instantiation)|error: indirection.*will be deleted|error: initializer element is not.*constant|error: initialization of pointer|error: invalid (argument type|integral value|operand|token|use of a cast|value)|error: indirect goto might cross|error:.*is a (private|protected) member|error: member (of anonymous union|reference)|error: non-const lvalue|error: non-void function.*should return a value|error:.*not supported|error: no (matching constructor|member named|viable overloaded)|error: passing.(a.*value|incompatible type)|error: qualified reference|error: redeclaration of.*built-in type|error:.*requires a (constant expression|pointer or reference|type specifier)|error: redefinition of|error: switch condition has boolean|error: taking the address of a temporary object|error:.*unable to pass LLVM bit-code files to linker|error: unexpected token|error: unknown (machine mode|type name)|error: unsupported (inline asm|option)|error: unused (function|parameter)|error: use of (GNU old-style field designator|undeclared identifier|unknown builtin)|error: using the result of an assignment|error: variable length array|error: void function.*should not return a value|the clang compiler does not support|Unknown depmode none)" $1; then + reason="clang"; tag="clang" # below here are the less common items +# XXX MCL "file not recognized: File format not recognized" can be clang elif bzgrep -qE "(.s: Assembler messages:|Cannot (determine .* target|find the byte order) for this architecture|^cc1: bad value.*for -mcpu.*switch|could not read symbols: File in wrong format|[Ee]rror: [Uu]nknown opcode|error.*Unsupported architecture|ENDIAN must be defined 0 or 1|failed to merge target-specific data|(file not recognized|failed to set dynamic section sizes): File format not recognized|impossible register constraint|inconsistent operand constraints in an .asm|Invalid configuration.*unknown.*machine.*unknown not recognized|invalid lvalue in asm statement|is only for.*, and you are running|not a valid 64 bit base/index expression|relocation R_X86_64_32.*can not be used when making a shared object|relocation truncated to fit: |shminit failed: Function not implemented|The target cpu, .*, is not currently supported.|This architecture seems to be neither big endian nor little endian|unknown register name|Unable to correct byte order|Unsupported platform, sorry|won't run on this architecture)" $1; then reason="arch"; tag="arch" elif bzgrep -qE "autoconf([0-9\-\.]*): (not found|No such file or directory)" $1; then |