From nobody Fri Feb 2 20:34:13 2024 X-Original-To: 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 4TRSDS1fZWz58Cwj for ; Fri, 2 Feb 2024 20:34:16 +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 4TRSDS15N7z4ypD for ; Fri, 2 Feb 2024 20:34:16 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706906056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AhxmZg4ygs3Jf/vBSSNliBGOXUsgyWLy/VKf9fu53pM=; b=CgaH9j+Da2Do1fGckYazUUBLopGV7pSgAeypVRvuGCZULZOMOvEJo1f8/hSP93sBuHUTuv 4lLAh0PEvzVLp3/C0LidRb3oNinjiZPIQTjIkP/ex70Y/zhvjpndTIlh/wWI2wzDyrZeXu ZTI5/KS5vci+JWx/HzgJeozz96fLXQPlBHl21PmyDD1JH19FgjZLqW3dqRDJyAYd1EPW5G xNsIbwhIXTEzjNvwBjrOGk8tBdmekWMeboa5arukkvrFO6vq1Bw7AqqEj3YjQx6vzQbl4c VD7zfJP782YReI3VJKABs1qKFiX5V/faMZjyEi/eDp+tmP/Mzo+gajm3voQAlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706906056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AhxmZg4ygs3Jf/vBSSNliBGOXUsgyWLy/VKf9fu53pM=; b=VgGoXQ0RlcX4iZM4Mz1/UgBbw4fPGLHs3n1py1MYZETsp0sXHr7tzYY8kl5viwSEvhIjIl +thNxvW7HiV93uhhfrADAcrQ4ZiqsRGRTp8mIz7ERdAHvp1SqKaVrTDRpQ8djH4rLkwsxO jK+7HyJgJMo/YXjtC73b3K/UdHhvc/upqSUNUwZKn0t8vMiLvojfVxBYk2wYBfG+/g4tzG uaVXnNf1NrD3Ka508hTiK7S5VNRIJMtffXinzQDWO8ccg0kFNBGpyimaMPzatkBbeICDlx cdEv4f3PE9rDfyO9IXHhllLSMN2uORYWQ/3nHTl/ZZiNMTjVGjtFBWpusZYT+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706906056; a=rsa-sha256; cv=none; b=IcLq2nCcww2swiof0RhwJdstN/oRleWNJR+uM9dkguOBMrfe6ttGFtlxbOHScaTPAmJBnx MQV2Kua2r48zh5AvcBlwpD+F+Vll4yJXD3R7whtucTmboSc0kOVHC3Ff/qmSGKPu7RxNHa zSQkQEsM0P/5Ru+gjaS72Th1HxfAXjx/13tpevbZSIo1bG1hP4nHm3Be6R6sQJx7ozX9hA TnukiOnzOCmkZZEuvbHbRasNAJHNymhP1aguocaw486CidVYLqAtyKX5/kYpH+q3ZHWx/y 4KZTNqwoMcV1JmiJC9Qu98TCM5QmfxgWEjzud5FnqM0xqS2k3ysm8wFv97u3Bg== 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 C9C0A41FC for ; Fri, 2 Feb 2024 20:34:15 +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 BD741CC99 for ; Fri, 2 Feb 2024 12:34:14 -0800 (PST) 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 x6OPRDEbk9ZY for ; Fri, 2 Feb 2024 12:34:13 -0800 (PST) Message-ID: DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 0C45ECC92 Date: Fri, 2 Feb 2024 12:34:13 -0800 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 Thunderbird Subject: Re: We need to do something about build times Content-Language: en-US To: ports@freebsd.org References: From: Bryan Drewery Organization: FreeBSD In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/31/2024 12:16 PM, Bryan Drewery wrote: > On 10/24/2023 12:12 PM, Robert Clausecker wrote: >>   - rework Poudriere's rebuild detection to not rebuild every port for >>     every random bullshit thing.  For example, I don't see why ports need >>     to be rebuilt for transitive changes in build dependencies.  E.g. if >>     port A has build depends on port B which build depends on port C, and >>     C is updated, then A has to be rebuilt despite its direct >> dependencies >>     being unchanged.  This does not appear to be reasonable. > > I have this working in a private branch for a few years. Along with > allowing Rust to build OFF of tmpfs, and avoiding gcc*/llvm*/rust > building concurrently. It's been hard to find time to work on it and get > proper testing; there have been a lot of issues identified. I think it's > stable now, but the subpackages work that went into Poudriere recently > requires me to rebase my work. It's a few hundred commits in conflict. > It's so massive I have not figured out how to move forward yet. I need > to find time for it. If it were up to me I would strip out subpackages > support because it has no tests, isn't properly supported in Poudriere > (things needlessly rebuild), had its examples reverted, and has > community pushback about it. As is once I find time to get my changes > rebased in I need to add tests and proper support for subpackages. > This sounds harsher to subpackages that I intended. It's actually a very simple change to Poudriere, it just touches a lot of places that cause me conflicts and slow me down. It's my fault for sleeping on reviewing/merging the feature for the past few years leading to the issues I have with it now. -- Bryan Drewery