From nobody Sun Jun 08 02:45:03 2025 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 4bFKCs1xMCz5yGg8 for ; Sun, 08 Jun 2025 02:45:13 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4bFKCr2ht6z3Tn2 for ; Sun, 08 Jun 2025 02:45:11 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (124-18-43-114.area1c.commufa.jp [124.18.43.114]) (authenticated bits=0) by www121.sakura.ne.jp (8.18.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 5582j3kN011028; Sun, 8 Jun 2025 11:45:06 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1749350707; bh=jiaVefXR80Bp1Okv4q4kjjklyED6swVOSGoh1rG3O28=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=DQyadKvUPaafaZQPAHXti8KGqlR5g5PA67uPtGzKaMCJC71/MkxUZizJAcFfZGsNu 5jDFa1mMRQeLFWGNrGinl1wsXlISkT9wbAhFGSufGg2ReW7z3junlj+9Cm4g7eCP0d AKrNBzCElQawiX0ZQIdWrtr8ZZBUyuELDgjoK8Tw= Date: Sun, 8 Jun 2025 11:45:03 +0900 From: Tomoaki AOKI To: "Janky Jay, III" Cc: ports@freebsd.org Subject: Re: Any interest in lang/rust-bin? Message-Id: <20250608114503.6136b4be611a42ad26613087@dec.sakura.ne.jp> In-Reply-To: References: <164bd213-f9c6-4509-ba3d-916f8ef78df4@gmail.com> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.2) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4bFKCr2ht6z3Tn2 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] On Sat, 7 Jun 2025 16:27:11 -0600 "Janky Jay, III" wrote: > On 6/7/25 12:48PM, Sergei Vyshenski wrote: > > On 7 Jun 25 Sat 21:03, Gleb Popov wrote: > >> What about people that contribute to ports and run poudriere testport > >> on their little port and then having to wait an hour for rust to > >> compile? > > > > This fetches precompiled packages for dependencies (like rust) if > > these packages are available at the repository: > > > > poudriere testport -j jailname -v -p local -b latest -c -i -o > > category/port > > > > Key option here is "-b". > > > Of course, this is only true if the repo package version matches the > port version. If port version is newer, you're still building the > dependencies. Not sure it's technically possible or not (especially pkg side and build cluster side), but *splitting out documents from lang/rust and depend on it if option DOCS is enabled (currently default option), assuming the files to be just extracted or buildable without rust compiler, *splitting out source files from lang/rust and depend on it if option SOURCES is enabled (currently default option), assuming the files to be just extracted or buildable without rust compiler, *FLAVORize lang/rust with @default (build as currently) and @bin and @bin to be NO_BUILD and fetch official pkg for slimmed down lang/rust, *allow @default being newer than @bin, *if not yet exists, any way to indicate FAVOR part should be ignored on tracking dependencies by pkg and poudriere, (here, "poudriere" stands for any builder possible) *implement hook or something on build cluster to monitor lang/rust@default finished building on all supported archs and automatically commit changes in version for @bin flavor and re-generate INDEX to be fetched are what are wanted? > I've always hoped for an option in Poudriere that would allow the option > to build *ONLY* ports with non-default OPTIONS configured and simply > fetch whatever the latest repo package versions are for everything else. > That would probably save me about 20-30 build hours per month, which > would certainly be nice. > > Regards, > Janky Jay, III -- Tomoaki AOKI