From nobody Sat Jul 3 08:17:25 2021 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B3F3F11F2EA1 for ; Sat, 3 Jul 2021 08:17:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-8.consmr.mail.gq1.yahoo.com (sonic315-8.consmr.mail.gq1.yahoo.com [98.137.65.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GH4Z53L57z4VTR for ; Sat, 3 Jul 2021 08:17:33 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1625300251; bh=4B+Ji8RG1N2Xssmv3zyOfyUXUHhvsLc9JyN36YKyE/w=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=qJBvoAbzUMnMrL+uNQJcX+XulNjEvuNb27k9lWdhciMt2vLP8pJRem2eDQP1We8F/1TP/CKXO5eZ0519Ca5AZE1mIywSlfTcL1EDsf1xz+PASupuHqU3PKxKXj1FeS7xDQVV9N6hiDWv/0wWTKmBqqQiU85GKy3NYN3HptBYzhH72n3hi8JYzW1qHvNJBosmrSToU3Qub5IBVF+Ave5W8JWGx3m5/HqH5AtKBYrF+XQvqcVggUuqL+h7QKYzCGGQOLuoQcVD0mWLBapPYfhAnZVjzxlP6HWiyWwygWtKNyDP/vjUh/R426VkDNEt4Mnj65GaH9H3RtomSIq+GpFADg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1625300251; bh=2LdHaH/j9JU60CTnyHLtFutNGmIeVt8nij0xszCHBBE=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=ms0H4NhIOevCO9qc+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dssKv7q.3gVtmTb1 5mINODC8Wz9_Lvv2tzsDDIFGWhPD32oU7_HF.Z8q_nLeikr6pva5XWPdKFHTozmQ4Fm4PjBeI4m3 sn0JUK8igwme118b72A4LdH2o75PzccIKHsn9UO9wgwxqvXs7eH.7v9uQZ2z_.EWI7P0cxxKX6yU 3eEqOwx0lNNs5d1UpDV9ZDrDIW.Z.33A9nVGzCoNIIlyx_EcV61Gn_i2mE67RQXBTQC4G4_5Tuj4 kHhRRvvqfei6jPRRh5V1K3JshEDxzQ0DYooOahxKEZQRLHS9oY4JFHdiFX2t6sOpRQ1Kxr4jE5Ob NxVqLYaBGFTcuee5nUgir2vOoODikLkefToiq.jE9vp.2zHijEc8xBVaRUevr5HTgQHr8CPTAfsf pHjry0vujBUBEutOD6EXoJulM3KIWlVX2MouG.YW7Enycj01u.Cz2lXPQLx3zjao0rUURvPfn4DW J4xC34iWoH317lc0w3dSymJc87G5efIU9VkqdnU7n..l7XZiLCtlHQ0HBQmiLycie3bepxv2ZXHl Pbw2Hdq.576_snL1NMBbHKZGu7XdOj4uulNTh3L0LaKnLBoSIt4ZZqsBy5HJI50ubI9miBiEv.xC DuuThmUgFT5_uGtx1o1TMZI_iVwa151v5VAjh71hBDjo.LUEvl_bjdSm.EN6MtyQB00CnUiVRKVn JONOwcB2.U2__rkktuK8.NXmDQhytc9kA2hsTUGpHe_YgULmzPTj7grUhqUKjY3c- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Sat, 3 Jul 2021 08:17:31 +0000 Received: by kubenode542.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 72e98908c6cf3ab827fb2f04b3bd5128; Sat, 03 Jul 2021 08:17:27 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: Restarting a failed poudriere session Date: Sat, 3 Jul 2021 01:17:25 -0700 References: <841656A2-789C-4F4A-A5C4-109899CCBF2F.ref@yahoo.com> <841656A2-789C-4F4A-A5C4-109899CCBF2F@yahoo.com> <20210703021609.GA8453@www.zefox.net> To: bob prohaska , freebsd-ports@freebsd.org In-Reply-To: Message-Id: <2561E30F-31ED-4C43-82D9-F4AA32C57F85@yahoo.com> X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Rspamd-Queue-Id: 4GH4Z53L57z4VTR X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=qJBvoAbz; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.32 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.65.32:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.65.32:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.32:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.32:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-ports] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-ports X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Jul-2, at 19:21, Mark Millard wrote: > On 2021-Jul-2, at 19:16, bob prohaska wrote: >=20 >> On Fri, Jul 02, 2021 at 05:38:12PM -0700, Mark Millard wrote: >>> From: bob prohaska wrote on >>> Date: Fri, 2 Jul 2021 14:08:12 -0700 : >>>=20 >>>> There's an option to=20 >>>> SAVE_WRKDIR=3Dyes >>>> in /usr/local/etc/poudriere.conf >>>>=20 >>>> What is its intended use? >>>=20 >>> It avoids having to remember to type -w on the >>> poudriere bulk command line. >>>=20 >>> Both cause a crash in the jail to produce a .txz >>> (or other tar format) of the /wrkdirs/ directory >>> tree that it was using when the crash happened. >>>=20 >> I take it "crash" in this context is any stoppage, >> even if orderly... >=20 > "failure to complete the package build" would have been > a better wording on my part, for sure. >=20 > (I'm actually unsure what is done if the failure is after > staging.) >=20 >>> The can later be extracted and the contents examined >>> for getting evidence about the problem. >>>=20 >>>> In particular, >>>> can it be used to pick up a failed build >>>> close to the point where it stopped? >>>=20 >>> No. >>>=20 >>> Individual builders (jobs) never restart in the >>> middle: always at the beginning. But prior >>> completed builders/jobs are not rerun unless >>> something changed to cause such. >>>=20 >>=20 >> So much for wishfull thinking. =20 If a builder fails, it is not obvious what all of the built material prior to the obvious failure is also suspect: problems are not always reasonably detectable up front at every related point. If the goal is reliably clean builds, then the rebuilds fit with that, accepting just builds that have no obvious failure. Poudriere's goal is clean builds. >>>> There's no obvious reference to SAVE_WRKDIR >>>> in the man page and a web search came up >>>> empty in terms of what it's good for. >>>=20 >>>> =46rom man poudriere-bulk : >>>=20 >>> -w Save WRKDIR on build failure. The WRKDIR will be tarred = up into >>> ${POUDRIERE_DATA}/wrkdirs. >>>=20 >>> I will note that the WRKDIR concept is not specific to >>> poudriere but to all the ports infrastructure. From >>> man ports : >>>=20 >>> WRKDIRPREFIX Where to create any temporary files. Useful if >>> PORTSDIR is read-only (perhaps mounted from a = CD-ROM). >>>=20 >>> . . . >>>=20 >>> SU_CMD Command used to elevate privilege to configure = and >>> install a port. The unprivileged user must = have write >>> access to WRKDIRPREFIX and DISTDIR. The = default is >>> ???/usr/bin/su root -c???. Many users set it = to >>> ???/usr/local/bin/sudo -E sh -c??? for = convenience. >>>=20 >>>=20 >>> SIDE NOTE: >>>=20 >>> main has commits today for avoiding the rust build failures. >>>=20 >>=20 >> Thanks for answering my questions! I've got one more for a separate = subject line. >>=20 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)