Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 1999 15:51:23 -0400 (EDT)
From:      jaitken@aitken.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11007: issue with building multiple ports simultaneously
Message-ID:  <199904071951.PAA02486@falcon.aitken.com>

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

>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




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