pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Conflicts when building two packages at the same time



> 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).
> 
> Wouldn't it be possible to lock building of a package to prevent these
> sort of things?

Hi Loïc,

Yes. I have in a mk.conf:

OBJHOSTNAME=    yes     # use work.`hostname` -- needed for PKGSRC_LOCKTYPE
PKGSRC_LOCKTYPE=        sleep

I don't know where the docs are. Maybe see

mk/internal/locking.mk
mk/defaults/mk.conf



  Jeremy C. Reed


Home | Main Index | Thread Index | Old Index