From nobody Sat Jun 07 15:18:36 2025 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 4bF1zs6mWCz5y7S2 for ; Sat, 07 Jun 2025 15:18:49 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 4bF1zs37fVz3b7s; Sat, 07 Jun 2025 15:18:49 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1749309490; 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=wMyn+ez+XN6XuCW3c+UqTIA25fmZlTCKdyxg/UcY9sE=; b=Flqk5/EkesoZy4o+vrtJm56p9eol7+MAOzAC9Qdl/wW+duEr6cu8IwSNauMQ/Acdv6OjYf X9BbJLdWm+eA1oy9oStpOd3KdsqJE2ceefnJ8DXELBBYTRb1qf7nLBFlhuhUxXi8/VvSXH fvRiRfY4M1e3w5Xp64OKOmBrSvXviBw= Received: from [192.168.1.45] (47-154-20-141.fdr01.snmn.ca.ip.frontiernet.net [47.154.20.141]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id e01423cd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 7 Jun 2025 15:18:09 +0000 (UTC) Message-ID: Date: Sat, 7 Jun 2025 08:18:36 -0700 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 User-Agent: Mozilla Thunderbird Subject: Re: Any interest in lang/rust-bin? To: Mathieu Arnold , freebsd-ports@freebsd.org References: Content-Language: en-US From: Pete Wright In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4bF1zs37fVz3b7s 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:29802, ipnet:66.165.240.0/22, country:US] On 6/7/25 7:46 AM, Mathieu Arnold wrote: > On Sat, Jun 07, 2025 at 04:36:34PM +0300, Gleb Popov wrote: >> On Sat, Jun 7, 2025 at 4:19 PM Mathieu Arnold wrote: >>> >>> Hi, >>> >>> I am sorry but I do not understand, you are basically re-inventing `pkg >>> install rust`, but from within a port, it makes little sense. >> >> It makes sense for Poudriere users that often have to recompile >> lang/rust, but would like to avoid that. > > Well, I'm not sure this needs to be spelled out, but, well, people who > decide to build their own ports have to, well, build their own ports. > > If they don't want to build their own ports, they should be using the > packages we provide, or at least use the poudriere option that will > fetch the packages instead of building them. > > But adding binary packages to the ports tree makes absolutely no sense. > IMHO there should be a middle ground here, our rust port contains over 40k html files and documentation. this seems wild that we just force people to deal with that rather than trying to improve things for a wider set of users. maybe the answer is a no-doc version of the package? $ pkg list rust | grep html | wc -l 44447 $ for low power vm's or systems its super wasteful to force installation of so many small files. rust/cargo is slow enough, but having to wait ages for rust itself just makes things needlessly more painful. -pete -- Pete Wright pete@nomadlogic.org