From nobody Mon Apr 15 16:27:32 2024 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 4VJCJL1hbKz5GvKS for ; Mon, 15 Apr 2024 16:27:46 +0000 (UTC) (envelope-from portmaster@bsdforge.com) Received: from udns.ultimatedns.net (udns.ultimatedns.net [24.113.41.81]) (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 "ultimatedns.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJCJK3v0nz3wfL for ; Mon, 15 Apr 2024 16:27:45 +0000 (UTC) (envelope-from portmaster@bsdforge.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ultimatedns.net header.s=mx99 header.b=mq2pPBPh; spf=none (mx1.freebsd.org: domain of portmaster@bsdforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=portmaster@bsdforge.com Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.16.1/8.16.1) with ESMTP id 43FGRXbf060435 for ; Mon, 15 Apr 2024 09:27:39 -0700 (PDT) (envelope-from portmaster@bsdforge.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ultimatedns.net; s=mx99; t=1713198459; x=1713199059; r=y; bh=ANrzCu1lYhbRutJmqLE+mcSKpv4crDP0U0tIeRAJU1Q=; h=Date:From:To:Subject:In-Reply-To:References; b=mq2pPBPhzWHYY8TFb7rWPGMn3iLarB+G8UL7cg/wbnZTNm3YZioil5U2jp3QtPOjs VUvg9XYtb/EWRY8aFewGI4J5+AUyzZic3I6/aQO2yoUDxKI5G6/uFNQv3s6BS8UCwR KFp/nmDQEPVVY4I/vaShiBEKAWBXIRk/PRHy5fIn9ZXwbGUsfbOcjgUgrF2/ee01cW SNlPTzz7sj8ZxCHr/zWcFQwdYkjFmgam5f+ves8QEiqgncHwfQ/ISn5FTC4hOGSqeo 430ijdY1yxDExtz7zEY1O6NI1aFhhYSLIQT1Wv5ZVzg2xy/se7uc9Y58qyxywpeQJe xsh/WY8VEAFyg== 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 Date: Mon, 15 Apr 2024 09:27:32 -0700 From: Chris To: freebsd-ports@freebsd.org Subject: Re: holding rust at a particular version In-Reply-To: References: User-Agent: UDNSMS/17.0 Message-ID: <20f77d23043622d68d6421bfdc9a1cc7@bsdforge.com> X-Sender: portmaster@bsdforge.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: / X-Rspamd-Pre-Result: action=no action; module=multimap; Matched map: local_wl_ip X-Spamd-Result: default: False [-0.20 / 15.00]; R_DKIM_ALLOW(-0.20)[ultimatedns.net:s=mx99]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; local_wl_ip(0.00)[24.113.41.81]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[ultimatedns.net:+] X-Rspamd-Queue-Id: 4VJCJK3v0nz3wfL On 2024-04-15 06:33, void wrote: > Is it possible, either within poudriere or using traditional ports, > to not have ports building fetching latest rust? > > rust 1.76 is already installed. 1.77 is in the ports tree. > 1.76 is the latest for -current on arm64 on the pkg builders. > > if I go into the ports tree and build something needing rust, > it'll build 1.77 rust locally instead of using the already-installed 1.76. > which would tie the machine up for hours if not days if allowed to proceed. > > Can this be avoided? make.conf(5) is your friend. You should be able to add DEFAULT_VERSIONS+=rust1.76 to accomplish your task. NOTE you may want to comment this line later should it cause problems with other ports that aren't your current target. IOW your choices here should be chosen carefully and watched closely. It's easy to set it and forget it. :) To get the right permutation. Have a look in Mk/bsd.default-versions.mk -- --Chris Hutchinson