[Bug 232350] ports-mgmt/pkg: periodic pkg-checksum and pkg-backup interfere with 'overnight' port builds

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 15 09:36:38 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232350

--- Comment #9 from Bob Frazier <bobf at mrp3.com> ---
the thing is, if a port has a zillion run/build dependencies, and you simply
type 'make' for the port, then the dependent packages will all be installed as
part of the process.  In the case of build dependencies, it would not be
possible to build a package until the build dependencies have been installed. 
And the process does not appear to differentiate between build dependencies and
run dependencies when you use 'make' (or 'make package' for that matter).

So it's back to 'Catch 22' on the build-dependency packages, if building
packages "without installing" is the only option.

Why not just eliminate the problem by making a copy of the relevant files,
rather than locking them at all, during the periodic jobs, and working with the
copies?  

Ian's suggestion of copying them to /tmp first makes the most sense.

The alternative would be to shut off the periodic jobs somehow while ports are
building, even if that means creating a /var/run/ports-are-building file (or
similar) and locking it for the duration of the process.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list