From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Nov 9 19:20:08 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87C58106564A for ; Wed, 9 Nov 2011 19:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6564B8FC0C for ; Wed, 9 Nov 2011 19:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id pA9JK8x2068761 for ; Wed, 9 Nov 2011 19:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id pA9JK80i068760; Wed, 9 Nov 2011 19:20:08 GMT (envelope-from gnats) Resent-Date: Wed, 9 Nov 2011 19:20:08 GMT Resent-Message-Id: <201111091920.pA9JK80i068760@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "4720@hushmail.com" <4720@hushmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 361AC106564A for ; Wed, 9 Nov 2011 19:12:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 267A88FC1B for ; Wed, 9 Nov 2011 19:12:19 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pA9JCIYs023505 for ; Wed, 9 Nov 2011 19:12:18 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pA9JCIh0023502; Wed, 9 Nov 2011 19:12:18 GMT (envelope-from nobody) Message-Id: <201111091912.pA9JCIh0023502@red.freebsd.org> Date: Wed, 9 Nov 2011 19:12:18 GMT From: "4720@hushmail.com" <4720@hushmail.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/162412: [patch] graphics/libGL not fully make jobs safe X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 19:20:08 -0000 >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: