Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 00:39:20 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Is it safe to compile multiple ports at the same time ?
Message-ID:  <20060517073919.GA169@pentarou.parodius.com>
In-Reply-To: <20060517045403.GI1113@k7.mavetju>
References:  <200605171353.37745.paul.koch@statseeker.com> <20060517045403.GI1113@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 17, 2006 at 02:54:03PM +1000, Edwin Groothuis wrote:
> I once submitted a patch which checked for this. Now that I've
> learned about lockf(1) I think there is a chance a next one will
> be approved too!

Will this solve (indirectly I presume) the following issue?  If not,
not a big deal, but thought I'd ask anyways, as it's something I've
run into a couple of times:

* cd ports/A
* make
* ports/A begins building, finds dependancy on ports/X
* begins building ports/X

Then in another window/screen/whatever:

* cd ports/B
* make clean
* ports/B begins cleaning out work/ directories for all dependancies,
  which includes ports/X

Back to the other window:

* ports/X stops building because you just nuked its work/ directory
* ports/A breaks due to the above

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |




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