Date: Wed, 17 Oct 2018 11:34:04 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232350] periodic pkg-checksum and pkg-backup interfere with 'overnight' port builds Message-ID: <bug-232350-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232350 Bug ID: 232350 Summary: periodic pkg-checksum and pkg-backup interfere with 'overnight' port builds Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: kuriyama@FreeBSD.org Reporter: bobf@mrp3.com Flags: maintainer-feedback?(kuriyama@FreeBSD.org) Assignee: kuriyama@FreeBSD.org while attempting to build ports at a time that the periodic nightly jobs are scheduled, the jobs 'pkg-checksum' and 'pkg-backup' (and possibly others) l= ock the package database for an extended period of time, and thereby prevent po= rts from being able to install in parallel, such as "leaving the ports build running overnight", something that is typically done for time-consuming bui= lds. These jobs appear to run themselves as part of the daily periodic scheduled operations, at around 4AM. This causes the entire build process for a port [one with a lot of dependencies, in particular] to halt in its tracks on er= ror at around the same time. A typical error output might look like this: =3D=3D=3D> Installing for p5-XML-Parser-2.44 =3D=3D=3D> Checking if p5-XML-Parser already installed =3D=3D=3D> Registering installation for p5-XML-Parser-2.44 as automatic pkg-static: Cannot get an exclusive lock on a database, it is locked by ano= ther process *** Error code 75 Stop. make[1]: stopped in /usr/ports/textproc/p5-XML-Parser *** Error code 1 Stop. The only real solution to this problem is to somehow detect that a port bui= ld is in progress and thereby prevent these jobs (and others like them) from running automatically. Typically it can take several DAYS to build and install a large number of ports, such as a mate desktop with a web browser, mail client, and an office suite, running unattended. It has been possible to do this in the past, an= d I had done so many times. However, this new SNAFU prevents me from being able= to leave a ports build/install unattended, as some minor dependency is likely = to fail to install as a result of one or more periodic jobs running at 4AM. A= nd nobody wants to have to wake up at 4AM to re-start a build because of things like this. uname output: FreeBSD fbsd11.hack 11.2-STABLE FreeBSD 11.2-STABLE #1 r339273: Tue Oct 9 21:10:39 PDT 2018 root@hack.SFT.local:/usr/obj/usr/src/sys/GENERIC amd= 64 pkg -v : 1.10.5 --=20 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-7788>