From nobody Thu Oct 14 22:13:42 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 AC1F917FF991 for ; Thu, 14 Oct 2021 22:13:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HVkFR46Hjz3GZW; Thu, 14 Oct 2021 22:13:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1634249627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SeXZGLAWbM3S3hptz/MJksXTQpD1hTdrnY77gEbXsAY=; b=rkY61hiTaakrdRhWC9+nez4CYWAJT7awj8vHXX3JngagUxI2yERGv2UF3Kxmb4seaR8SQK NiSJIHC0DAbf0K70fqqpehfdRzJJDfs19tvAojTD7+GLxccQC9tKIq6wrXxxv/Jik3Fpal Aij8+/J8zCXy1EQMKJATrcn7WhB2fFVswhP4fN9XV+Z14ewbdto17XcEhAdqd9aM60fsw0 V+tePcM9FIZGlgVI0N5XZBE/0DToAfVf4D/K49fnsBkPMSb45Og7VHdFCUMxEoz6FRC+yX YTLnmoSCL8v5E3BgfgJEoTKTPxJElkaMP9y7jlww30reqatKGi3L5knx59p1bA== Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 4D0DE1F496; Thu, 14 Oct 2021 22:13:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 472432CFFD; Thu, 14 Oct 2021 15:13:46 -0700 (PDT) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id XqjdjH2lfwxV; Thu, 14 Oct 2021 15:13:43 -0700 (PDT) Message-ID: <0eb4bf8e-27db-3309-e2f2-71a74cfe462d@FreeBSD.org> DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 4794A2CFF4 Date: Thu, 14 Oct 2021 15:13:42 -0700 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: Poudriere bulk "Deleting foo-1.2.3.pkg: no longer needed" Content-Language: en-US To: freebsd-ports@freebsd.org References: Cc: J David , tech-lists From: Bryan Drewery Organization: FreeBSD In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1634249627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SeXZGLAWbM3S3hptz/MJksXTQpD1hTdrnY77gEbXsAY=; b=tFOasRIvGd9XgZtnumwTH07spQDd/il+oU+jwX0d/fy6RfgIqRAHdUDj9+LNVW86anhOOg BEhccndDzZXrq7R6mcZBLSP3iwuFyBB5eIWgtuIu0tXJ0QcV1j2Dbz4YsvNZ07YK4Q3DZH PGawhtAo08TtgrAucfPtFeEQKYD++0eDnW866eHNDuZUxM/7CbW4ng1zjaU8Xsasa7OwLF Lbm2JleqL5EMzyhPpr+l4blmiwBYc529/qF/6UjRDSeNYs69KKxV1yDXb4fZSSxwwqs1MA JwKOpOc+UQ9f1EVnXtlnGyKtQTCyeIARKXGwkAIaLAoAggUaw9crWb6wkOH3nA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1634249627; a=rsa-sha256; cv=none; b=LgCtvXVAqQxqbkme8mI2qzJ76dLNAvd2QKrHdn/WshHNDorXRAx6Csq8Zfx6XoqtpnRiv4 lV2w8B26G9GGNVPO26AL1GgMXEgfhan2PTQBEwlct42ds1J/XeGYQtPT6jiuQVP7TILMYR OlHnI2tSYS0QJFRFEPKkp0j0d3sA2WAy2sro+7FAnJBBaQ4XrG5H2BryNqbjYxcMRoyDCg 6iy279sCtkeRbinwR42ijDLBMiTBDeQ8amKUKp/MobyU6Ll9W15DXktuMLcCnXVWX00Z+w SUJPLK+E2Qd4SDg15wm/IAMOeBTMnanHJyaJ3dCpm5RgLUbknx5ChFI+FLSTHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 10/11/2021 9:53 AM, tech-lists wrote: > Hi, > > On Sun, Oct 10, 2021 at 04:15:32PM -0400, J David wrote: >> We use a staged approach to building packages with poudriere, with >> several "bulk" commands, because some ports we rarely need take an >> incredibly long time to build.  (Mainly languages, like rust, clang, >> and gcc.) > > [snip] > >> Basically, "bulk -f" seems to have started preemptively deleting any >> existing package that isn't specifically listed in the given file or >> required by a port that is listed.  So much for building things in >> stages! >> >> This wasn't the case previously, and I can't find any flags that >> control this behavior on the man page. >> >> Is this intentional?  Is there a way to get it not to do that?  (Short >> of modifying our build scripts not to use -f anymore.) > > I build in stages too, as there are some huge ports that don't play nice > in a bulk build but build fine when invoked in the form > poudriere -j jailname port_category/portname. I don't think it's > intentional. I'm seeing the same behaviour in poudriere-devel on > stable/13 (poudriere-devel is poudriere-devel-3.3.99.20210907_1) > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259085 explains it and has a workaround. Sorry for the trouble. I've been busy and haven't had a chance to update the port yet. I did add a MUTUALLY_EXCLUSIVE_BUILD_PACKAGES list that I need to push to the port too that should help with the root cause of the multiple bulk -f. That one depends on a queue rework which I don't have time to support at the moment but it's coming. -- Bryan Drewery