Date: Thu, 15 Nov 2018 09:36:34 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 232350] ports-mgmt/pkg: periodic pkg-checksum and pkg-backup interfere with 'overnight' port builds Message-ID: <bug-232350-32340-Z3dZbot4dX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-232350-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-232350-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232350 --- Comment #9 from Bob Frazier <bobf@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232350-32340-Z3dZbot4dX>
