From nobody Wed Jan 31 20:16:22 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 4TQCwn2NkGz58CfK for ; Wed, 31 Jan 2024 20:16:25 +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 4TQCwn1KBmz4gkh; Wed, 31 Jan 2024 20:16:25 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706732185; 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=J+O6Ye6n9nYp5OUOa54CfBxByDG1zC1Lo249JUjDyOI=; b=S2By3DqGp4k+mLfzd0qt7tPtdfmUeZHYFiPA99osQfzncrvxAjiSME0Ep2o+f8HInBapsa ZRXbmVGiI5LgU8+VOd/YVhXzK2JPJqYGLOZTFpWdJ8QhzQNUcqr/+GSmxNdrvyNLhfL0/X AhWOLm/mheJuRpb73kzfpuAm9i7AIsanXLeWcDx+ADYVkA8b+RhoHPNcQJoZNXbFm38Jmu osaOefNmjcMFRY2OKhdlUJHPYMJw6TznttVRdlGJUQZuLWMlx9waK675KuOLRfTKOccslY IpzMOYQn/K2dUT4EnV5GpTK3vzYoDX8NIfC2sg5sqDr+/ZPgU+zTXObaH0ZsdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706732185; 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=J+O6Ye6n9nYp5OUOa54CfBxByDG1zC1Lo249JUjDyOI=; b=oGoImmzfDjgtWWnF9UN84ogbcNG1pbF9eITX1iWHy8JXCRx8wZROMplmhUlpwL5FibXhUd 9m1rm9XO1S7VLSQ0Wkv6xwoPwJtgwyeAbGnjXRXHyVp83wBNJ57rMoikvqtyZfZlS2IRMh xX/2lsCSeHWa9/YjvRzxhjpRWVQUhOA/mKvXLigUGUzzskvk97DGCQBZzdW2/PpVkkQOxI RUhJ2O5YzySXqHigtJvn3p+Y0SX9DLi1C1MjpgaBGHuyGgMr+YWNMM+PxPiwhp+F8hnaOa kjZauZbVbl53PZOUx/tY5UScFnN7VaEg891Tm2FNrzgT7ilyfsOqFYjYEkux+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706732185; a=rsa-sha256; cv=none; b=UT/nz6kUdokSYzO7XN8LtA4QP+fmraZtJNkQWlF30q9xluQrdLdjbsE8gPRBipApfIwAHD fpfhIXIs/APILzsYDeA4cehjl040NtWtLTeAw2K/hJF6U5GDubmecAzBUV+k9OmvmBCfwN p7KrxuIDscVW/vPu6RZ+fziXHjgyDTbXcHgtX5qdbqCimXfqwwdQOPe3KogW2+n2oaU0nQ /ZRoTDPZAPmVK4/7C7ZdJd0HUAG/Ms6UIfzEBGaZmeahcypeT1skCgcP37SsojeF5gdysO nNXIxwTlCgCDJGzNLzZwZd+dey3vSEvO7Bkkpqdnq8DAhd7TaB+/gS0iQhexbg== 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 F219F1E14A; Wed, 31 Jan 2024 20:16:24 +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 4781E66D6; Wed, 31 Jan 2024 12:16:24 -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 oAPnlh87nxfi; Wed, 31 Jan 2024 12:16:22 -0800 (PST) Message-ID: DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com B14CF66CD Date: Wed, 31 Jan 2024 12:16:22 -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: Robert Clausecker , ports@freebsd.org References: From: Bryan Drewery Organization: FreeBSD In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. -- Bryan Drewery