Subject: Re: Conflicts when building two packages at the same time
To: Loic Hoguin <essen@dev-extend.eu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 03/23/2007 12:45:35
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--0-1798544182-1174671935=:11279
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: QUOTED-PRINTABLE
> Earlier this week I installed macppc on my iBook and, to win some time,
> I launched different pkgsrc compilations at the same time. When I got
> back later this day I found that two of these tried to compile gtk+
> at the same time, and of course it failed for both (seems they wrote
> in the same file at the same time).
>=20
> Wouldn't it be possible to lock building of a package to prevent these
> sort of things?
Hi Lo=EFc,
Yes. I have in a mk.conf:
OBJHOSTNAME=3D yes # use work.`hostname` -- needed for PKGSRC_LOCKTY=
PE
PKGSRC_LOCKTYPE=3D sleep
I don't know where the docs are. Maybe see
mk/internal/locking.mk
mk/defaults/mk.conf
Jeremy C. Reed
--0-1798544182-1174671935=:11279--