Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2012 11:19:47 GMT
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174293: [PATCH] math/suitesparse is MAKE_JOBS_UNSAFE
Message-ID:  <201212091119.qB9BJldE025842@red.freebsd.org>
Resent-Message-ID: <201212091120.qB9BK03g082676@freefall.freebsd.org>

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

>Number:         174293
>Category:       ports
>Synopsis:       [PATCH] math/suitesparse is MAKE_JOBS_UNSAFE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 09 11:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD blaviken.slowicza.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Fri Nov 30 20:03:01 CET 2012     corn@blaviken.slowicza.org:/usr/obj/amd64.amd64/usr/src/sys/BLAVIKEN64  amd64

>Description:
I build ports with FORCE_MAKE_JOBS=yes, math/suitesparse fails to build everytime:

http://people.freebsd.org/~pawel/buildlogs/suitesparse-3.6.1_2.log

My system: Phenom II x4

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/math/suitesparse/Makefile math/suitesparse/Makefile
--- /usr/ports/math/suitesparse/Makefile	2012-11-17 06:59:31.000000000 +0100
+++ math/suitesparse/Makefile	2012-12-08 22:04:45.000000000 +0100
@@ -64,6 +64,7 @@
 USE_LDCONFIG=	yes
 USE_GMAKE=	yes
 USE_FORTRAN=	yes
+MAKE_JOBS_UNSAFE=yes
 WRKSRC=${WRKDIR}/SuiteSparse
 WRKSRC_SHARED=${WRKSRC}_shared
 SVERSION=1
@@ -97,9 +98,9 @@
 
 do-build:
 	@cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} PICFLAG= \
-		${GMAKE} ${_MAKE_JOBS} ${MAKE_ARGS}
+		${GMAKE} ${MAKE_ARGS}
 	@cd ${WRKSRC_SHARED} ; ${SETENV} ${MAKE_ENV} PICFLAG=${PICFLAG} \
-		${GMAKE} ${_MAKE_JOBS} ${MAKE_ARGS}
+		${GMAKE} ${MAKE_ARGS}
 
 post-build:
 	@for i in `find ${WRKSRC_SHARED} -type f -name '*.a'` ; do \


>Release-Note:
>Audit-Trail:
>Unformatted:



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