From root@res.otaru-uc.ac.jp  Wed Aug 29 16:57:42 2007
Return-Path: <root@res.otaru-uc.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 14CE916A417
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Aug 2007 16:57:42 +0000 (UTC)
	(envelope-from root@res.otaru-uc.ac.jp)
Received: from ca3.otaru-uc.ac.jp (ca3.otaru-uc.ac.jp [150.83.48.29])
	by mx1.freebsd.org (Postfix) with ESMTP id C21A213C48D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 29 Aug 2007 16:57:41 +0000 (UTC)
	(envelope-from root@res.otaru-uc.ac.jp)
Received: from canal1.otaru-uc.ac.jp (canal1 [150.83.48.23])
	by ca3.otaru-uc.ac.jp (Postfix) with ESMTP id 065251423DF
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Aug 2007 01:57:38 +0900 (JST)
Received: from desktop.yokota ([150.83.225.1])
        by canal1.otaru-uc.ac.jp (SMTP) with ESMTP id l7TGvb9e020412
        for <FreeBSD-gnats-submit@freebsd.org>; Thu, 30 Aug 2007 01:57:37 +0900 (JST)
Received: by desktop.yokota (Postfix, from userid 0)
	id DC83550822; Thu, 30 Aug 2007 01:50:34 +0900 (JST)
Message-Id: <20070829165034.DC83550822@desktop.yokota>
Date: Thu, 30 Aug 2007 01:50:34 +0900 (JST)
From: Koji Yokota <yokota@res.otaru-uc.ac.jp>
Reply-To: Koji Yokota <yokota@res.otaru-uc.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH]security/nss: doesn't build on amd64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         115928
>Category:       ports
>Synopsis:       [PATCH]security/nss: doesn't build on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 29 17:00:09 GMT 2007
>Closed-Date:    Mon Sep 03 01:50:06 GMT 2007
>Last-Modified:  Mon Sep 03 01:50:06 GMT 2007
>Originator:     Koji Yokota
>Release:        FreeBSD 6.2-RELEASE amd64
>Organization:
Otaru University of Commerce
>Environment:
System: FreeBSD hoge.hoge.otaru-uc.ac.jp 6.2-RELEASE FreeBSD 6.2-RELEASE #3: Thu Dec 28 16:17:05 JST 2006 hoge@hoge.hoge.otaru-uc.ac.jp:/usr/obj/usr/src/sys/SMP amd64
	
>Description:
On amd64, this port seems to require at least gcc >= 4.0 to build successfully.
	
>How-To-Repeat:
	
>Fix:
	



--- Makefile.patch begins here ---
--- Makefile.orig	Wed Aug 29 23:25:52 2007
+++ Makefile	Thu Aug 30 01:46:00 2007
@@ -39,6 +39,10 @@
 IGNORE=	core dumps on alpha during build
 .endif
 
+.if ${ARCH} == "amd64"
+USE_GCC=	4.0+
+.endif
+
 EXTERNALS=	CVS dbm security/nss/cmd/zlib nsprpub security/dbm
 EXTRACT_AFTER_ARGS=| ${TAR} -xf -	\
 	${EXTERNALS:C,^,--exclude ${DISTNAME}/mozilla/,}
--- Makefile.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Aug 29 17:00:17 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=115928 
State-Changed-From-To: open->closed 
State-Changed-By: mezz 
State-Changed-When: Mon Sep 3 01:47:57 UTC 2007 
State-Changed-Why:  
It doesn't require GCC 4.x as other tinderboxes can build nss on amd64 just 
fine. Please contiune on your old PR over at ports/114871. Sorry, I am not 
able to help with you since I have no idea what is wrong with your system. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/114871 
http://pointyhat.freebsd.org/errorlogs/i386-6-exp-latest-logs/nss-3.11.7.log 

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