From thierry@pompo.net  Sun Sep 15 20:25:22 2013
Return-Path: <thierry@pompo.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 9B6BD1B0;
	Sun, 15 Sep 2013 20:25:22 +0000 (UTC)
	(envelope-from thierry@pompo.net)
Received: from mx1b.lautre.net (etna.lautre.net [80.67.160.72])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 5E72223FE;
	Sun, 15 Sep 2013 20:25:22 +0000 (UTC)
Received: from graf.pompo.net (graf.pompo.net [78.225.128.39])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	(Authenticated sender: thierry@pompo.net)
	by mx1b.lautre.net (Postfix) with ESMTPSA id C06007E0F4;
	Sun, 15 Sep 2013 22:25:16 +0200 (CEST)
Received: by graf.pompo.net (Postfix, from userid 1001)
	id A740942D2E8D; Sun, 15 Sep 2013 22:25:15 +0200 (CEST)
Message-Id: <20130915202515.A740942D2E8D@graf.pompo.net>
Date: Sun, 15 Sep 2013 22:25:15 +0200 (CEST)
From: Thierry Thomas <thierry@FreeBSD.org>
Reply-To: Thierry Thomas <thierry@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: stephen@FreeBSD.org
Subject: cad/gmsh: set MAKE_JOBS_UNSAFE
X-Send-Pr-Version: 3.114
X-GNATS-Notify:

>Number:         182125
>Category:       ports
>Synopsis:       cad/gmsh: set MAKE_JOBS_UNSAFE
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    stephen
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 15 20:30:00 UTC 2013
>Closed-Date:    Sun Sep 15 21:43:18 UTC 2013
>Last-Modified:  Sun Sep 15 21:50:00 UTC 2013
>Originator:     Thierry Thomas
>Release:        FreeBSD 9.2-BETA2 i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r253984: Tue Aug 6 19:35:52 CEST 2013 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF130324 i386


	
>Description:
	Gmsh fails on redports:
	https://redports.org/~thierry/20130915103801-15392-144687/gmsh-2.8.2.log

	If MAKE_JOBS_UNSAFE is set, it builds successfully:
	https://redports.org/~thierry/20130915190601-11654-144707/gmsh-2.8.2.log

>How-To-Repeat:
	Build on a MP machine.

>Fix:
	Apply the hereunder patch:

	(Note: as usual, this is just a workaround - perhaps a better
	fix could be found in the port's Makefiles?)

--- gmsh.diff begins here ---
diff -u cad/gmsh.orig/Makefile cad/gmsh/Makefile
--- cad/gmsh.orig/Makefile	2013-08-10 11:38:49.000000000 +0200
+++ cad/gmsh/Makefile	2013-09-15 21:05:56.000000000 +0200
@@ -1,5 +1,5 @@
 # Created by: Pedro Giffuni <giffunip@asme.org>
-# $FreeBSD: head/cad/gmsh/Makefile 324253 2013-08-04 22:27:55Z stephen $
+# $FreeBSD: thierry/cad/gmsh/Makefile 16948 2013-09-15 19:05:56Z thierry $
 
 PORTNAME=	gmsh
 PORTVERSION=	2.8.2
@@ -32,6 +32,8 @@
 USE_GL=		yes
 ALL_TARGET=	all
 
+MAKE_JOBS_UNSAFE=	yes
+
 MAN1=		gmsh.1
 
 CMAKE_ARGS+=	-DCMAKE_SKIP_RPATH:BOOL=YES
Common subdirectories: cad/gmsh.orig/files and cad/gmsh/files
--- gmsh.diff ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stephen 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 15 20:30:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182125 
State-Changed-From-To: open->closed 
State-Changed-By: stephen 
State-Changed-When: Sun Sep 15 21:42:39 UTC 2013 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=182125 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/182125: commit references a PR
Date: Sun, 15 Sep 2013 21:41:43 +0000 (UTC)

 Author: stephen
 Date: Sun Sep 15 21:41:35 2013
 New Revision: 327360
 URL: http://svnweb.freebsd.org/changeset/ports/327360
 
 Log:
   - Set make_jobs_unsafe.
   
   PR:		ports/182125
   Submitted by:	Thierry Thomas <thierry@FreeBSD.org>
 
 Modified:
   head/cad/gmsh/Makefile
 
 Modified: head/cad/gmsh/Makefile
 ==============================================================================
 --- head/cad/gmsh/Makefile	Sun Sep 15 21:37:31 2013	(r327359)
 +++ head/cad/gmsh/Makefile	Sun Sep 15 21:41:35 2013	(r327360)
 @@ -32,6 +32,8 @@ USE_GMAKE=	yes
  USE_GL=		yes
  ALL_TARGET=	all
  
 +MAKE_JOBS_UNSAFE=	yes
 +
  MAN1=		gmsh.1
  
  CMAKE_ARGS+=	-DCMAKE_SKIP_RPATH:BOOL=YES
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
