From owner-freebsd-ports Wed Apr 7 13: 2: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3505C150AE for ; Wed, 7 Apr 1999 13:02:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id NAA81565; Wed, 7 Apr 1999 13:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from falcon.aitken.com (falcon.aitken.com [209.249.106.114]) by hub.freebsd.org (Postfix) with ESMTP id 96EBE14CC2 for ; Wed, 7 Apr 1999 12:53:27 -0700 (PDT) (envelope-from jaitken@falcon.aitken.com) Received: (from jaitken@localhost) by falcon.aitken.com (8.9.2/8.9.2) id PAA02486; Wed, 7 Apr 1999 15:51:23 -0400 (EDT) (envelope-from jaitken) Message-Id: <199904071951.PAA02486@falcon.aitken.com> Date: Wed, 7 Apr 1999 15:51:23 -0400 (EDT) From: jaitken@aitken.com Reply-To: jaitken@aitken.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/11007: issue with building multiple ports simultaneously Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11007 >Category: ports >Synopsis: building ports can cause problems if done simultaneously >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Apr 7 13:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Jeff Aitken >Release: FreeBSD 3.1-RELEASE i386 >Organization: >Environment: Standard FreeBSD-3.1-RELEASE on x86. >Description: When building two ports which both depend on a third, uninstalled port, each port will attempt to build the third one. If this happens at the same time, the two processes will step on each other. >How-To-Repeat: At the same time, do a 'make install' in /usr/ports/graphics/xpdf and /usr/ports/graphics/xfig. Both will attempt to build /usr/ports/graphics/xpm simultaneously, causing problems. >Fix: The ports collection should use some locking mechanism so that multiple users could attempt to build the same port at the same time without causing problems. Obviously something like a lock file is less-than-ideal solution, but might do for a start. Whether the second build should block or just fail I'm not sure. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message