From linimon@lonesome.com  Tue Jul  8 18:19:24 2003
Return-Path: <linimon@lonesome.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D5FE437B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue,  8 Jul 2003 18:19:24 -0700 (PDT)
Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 34E4A43F93
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue,  8 Jul 2003 18:19:24 -0700 (PDT)
	(envelope-from linimon@lonesome.com)
Received: from lonesome.lonesome.com (cs242746-11.austin.rr.com [24.27.46.11])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by mail.soaustin.net (Postfix) with ESMTP id 38090140CB
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue,  8 Jul 2003 20:19:21 -0500 (CDT)
Received: from lonesome.lonesome.com (localhost.lonesome.com [127.0.0.1])
	by lonesome.lonesome.com (8.12.9/8.12.3) with ESMTP id h691MnNa025115
	for <FreeBSD-gnats-submit@FreeBSD.org>; Tue, 8 Jul 2003 20:22:52 -0500 (CDT)
	(envelope-from linimon@lonesome.lonesome.com)
Received: (from linimon@localhost)
	by lonesome.lonesome.com (8.12.9/8.12.6/Submit) id h691MhPt025111;
	Tue, 8 Jul 2003 20:22:43 -0500 (CDT)
	(envelope-from linimon)
Message-Id: <200307090122.h691MhPt025111@lonesome.lonesome.com>
Date: Tue, 8 Jul 2003 20:22:43 -0500 (CDT)
From: Mark Linimon <linimon@lonesome.com>
Reply-To:
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:
Subject: [patch] add detection of amd64 errors to bento logs
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:

>Number:         54236
>Category:       ports
>Synopsis:       [patch] add detection of amd64 errors to bento logs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 08 18:20:12 PDT 2003
>Closed-Date:    Fri Sep 12 18:31:55 PDT 2003
>Last-Modified:  Fri Sep 12 18:31:55 PDT 2003
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: erwin 
Responsible-Changed-When: Wed Jul 9 01:18:53 PDT 2003 
Responsible-Changed-Why:  
portmgr territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54236 
State-Changed-From-To: open->analyzed 
State-Changed-By: kris 
State-Changed-When: Sun Jul 27 18:19:50 PDT 2003 
State-Changed-Why:  
Patch applied, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54236 
State-Changed-From-To: analyzed->patched 
State-Changed-By: kris 
State-Changed-When: Sun Jul 27 18:20:12 PDT 2003 
State-Changed-Why:  
Patched is a more appropriate state for this until I commit 
the change. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54236 
State-Changed-From-To: patched->closed 
State-Changed-By: kris 
State-Changed-When: Fri Sep 12 18:30:51 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54236 
>Unformatted:
