Date: Sun, 21 Sep 2003 15:53:33 -0500 (CDT) From: Mark Linimon <linimon@lonesome.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57067: add imake and pthread detection to Tools/portbuild/scripts/processlogs Message-ID: <200309212053.h8LKrX86056684@lonesome.lonesome.com> Resent-Message-ID: <200309212100.h8LL0VPK001134@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57067 >Category: ports >Synopsis: add imake and pthread detection to Tools/portbuild/scripts/processlogs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Sep 21 14:00:30 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mark Linimon >Release: FreeBSD 4.9-PRERELEASE i386 >Organization: Lonesome Dove Computing Services >Environment: System: FreeBSD lonesome.lonesome.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Fri Sep 5 01:19:33 CDT 2003 linimon@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA_DEBUG i386 >Description: This change adds two new recent port-building errors to the detection script. Also, a 'C++' string was not properly being escaped. These changes will allow the classification of another couple of dozen build errors on e.g. sparc64-5-latest. >How-To-Repeat: n/a >Fix: --- processlogs.dist Mon Sep 15 19:11:21 2003 +++ processlogs Sun Sep 21 15:51:22 2003 @@ -119,7 +119,7 @@ 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 '(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 + 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" @@ -255,6 +255,8 @@ reason="forbidden"; tag="forbidden" elif grep -qE "previous declaration.*int getopt" $1; then reason="getopt.h"; tag="getopt.h" + elif grep -q "imake: Exit code 1" $1; then + reason="imake"; tag="imake" elif grep -q 'Run-time system build failed for some reason' $1; then reason="install_error"; tag="install" elif grep -q "/usr/bin/ld: cannot find -lc_r" $1; then @@ -295,6 +297,8 @@ reason="sed"; tag="sed" elif grep -q "Your STL string implementation is unusable" $1; then reason="stl"; tag="stl" + elif grep -q ': The -pthread option is deprecated' $1; then + reason="threads"; tag="threads" elif grep -q "Error: pthreads are required to build this package" $1; then reason="threads"; tag="threads" elif grep -q "Please install/update your POSIX threads (pthreads) library" $1; then >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309212053.h8LKrX86056684>