Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Nov 2011 19:12:18 GMT
From:      "4720@hushmail.com" <4720@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162412: [patch] graphics/libGL not fully make jobs safe
Message-ID:  <201111091912.pA9JCIh0023502@red.freebsd.org>
Resent-Message-ID: <201111091920.pA9JK80i068760@freefall.freebsd.org>

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

>Number:         162412
>Category:       ports
>Synopsis:       [patch] graphics/libGL not fully make jobs safe
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 09 19:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     4720@hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
graphics/libGL sometimes fail to build when using 20 make jobs. occasionally
matypes.h is not finished generating before things that need matypes.h to
compile are sent to the compiler.

x86/common_x86_asm.S:42:21: error: matypes.h: No such file or directory
gmake[2]: *** [x86/common_x86_asm.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
x86/x86_xform2.S:33:21: error: matypes.h: No such file or directory
x86/x86_cliptest.S:33:21: error: matypes.h: No such file or directory
gmake[2]: *** [x86/x86_cliptest.o] Error 1
gmake[2]: *** [x86/x86_xform2.o] Error 1
x86/sse_normal.S:35:21: error: matypes.h: No such file or directory
gmake[2]: *** [x86/sse_normal.o] Error 1
./gen_matypes > matypes.h
gmake[3]: Leaving directory `/work/a/ports/graphics/libGL/work/Mesa-7.6.1/src/mesa/x86'
>How-To-Repeat:

>Fix:
attached patch marks port as make jobs unsafe.

Patch attached with submission follows:

Index: graphics/libGL/bsd.mesalib.mk
===================================================================
RCS file: /home/ncvs/ports/graphics/libGL/bsd.mesalib.mk,v
retrieving revision 1.18
diff -u -r1.18 bsd.mesalib.mk
--- graphics/libGL/bsd.mesalib.mk	23 Sep 2011 22:23:18 -0000	1.18
+++ graphics/libGL/bsd.mesalib.mk	9 Nov 2011 19:03:51 -0000
@@ -41,7 +41,7 @@
 USE_GMAKE=		yes
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
-MAKE_JOBS_SAFE=	yes
+MAKE_JOBS_UNSAFE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib


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



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