Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2003 20:22:43 -0500 (CDT)
From:      Mark Linimon <linimon@lonesome.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/54236: [patch] add detection of amd64 errors to bento logs
Message-ID:  <200307090122.h691MhPt025111@lonesome.lonesome.com>
Resent-Message-ID: <200307090120.h691KCII083944@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54236
>Category:       ports
>Synopsis:       [patch] add detection of amd64 errors to bento logs
>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:   Tue Jul 08 18:20:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD-4.7
>Organization:
FreeBSD
>Environment:
System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	The AMD64 toolchain produces slightly different error
	messages when it is unable to build a port.  This patch
	to /usr/ports/Tools/portbuild/scripts/processlogs corrects
	that, leading to identifying about 65 of 100 otherwise
	unidentified errors as "arch".
>How-To-Repeat:
	see http://bento.freebsd.org/errorlogs/amd64-5-latest/index-reason.html
>Fix:

--- scripts/processlogs.dist	Fri Feb 14 03:28:42 2003
+++ scripts/processlogs	Tue Jul  8 20:15:43 2003
@@ -191,7 +191,13 @@
       reason="arch"; tag="arch"
     elif grep -qE "is only for.*, and you are running" $1;  then
       reason="arch"; tag="arch"
+    elif grep -q "not a valid 64 bit base/index expression" $1;  then
+      reason="arch"; tag="arch"
+    elif grep -qE "relocation R_X86_64_32.*can not be used when making a shared object" $1;  then
+      reason="arch"; tag="arch"
     elif grep -q "relocation truncated to fit: " $1;  then
+      reason="arch"; tag="arch"
+    elif grep -qE "The target cpu, .*, is not currently supported." $1;  then
       reason="arch"; tag="arch"
     elif grep -q "This architecture seems to be neither big endian nor little endian" $1;  then
       reason="arch"; tag="arch"
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307090122.h691MhPt025111>