From nobody Sat Dec 17 15:26:59 2022 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 4NZ8w872HLz1G7yb for ; Sat, 17 Dec 2022 15:27:04 +0000 (UTC) (envelope-from void@f-m.fm) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 4NZ8w74wkxz3jjW for ; Sat, 17 Dec 2022 15:27:03 +0000 (UTC) (envelope-from void@f-m.fm) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=f-m.fm header.s=fm2 header.b="Q bE2KNr"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=XJQgkZO4; spf=pass (mx1.freebsd.org: domain of void@f-m.fm designates 66.111.4.29 as permitted sender) smtp.mailfrom=void@f-m.fm; dmarc=pass (policy=none) header.from=f-m.fm Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 600545C00C1 for ; Sat, 17 Dec 2022 10:27:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 17 Dec 2022 10:27:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=f-m.fm; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1671290822; x= 1671377222; bh=lzACPLMM00iU9UbhhVQtsUcFNRn3Mg4HKH1kmYVBlSM=; b=Q bE2KNrqaxHTDRgXDQ/zWzKtBpAb7o0QRiW/XruDCVnz93oOjdh9z2SuNl6hfL1Zh qCsOQQk77F1OejQn22LAFE9hAdk+V23CK55xUbbMdtZOfhOLUiOKKSkCAEVtaOYk 3ntl6rjWZWM1j+9PxMzT8KCWE9UT0lrXU6TAgfzsGGLoRZ8e2oowgRMYw+UbN/34 NnNaMGwMk9+nfMz7mRFJzG2iW1jhcOuPRpD5SrH9+Kc06Tv6HaejVZfr64dNhGGs YOxbtsh8gfMSxtUYwPqtVBu7whEFcGsfNHyU6MP/HfSm6jZj8aLAUHWizHJVE/Cr PE2HLrFookxJ9F2irm0Vw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1671290822; x=1671377222; bh=l zACPLMM00iU9UbhhVQtsUcFNRn3Mg4HKH1kmYVBlSM=; b=XJQgkZO4csbTwNz3d /AjQP64D4dx/9sRX3sbIf9RHK4R8mE6sC+UmS1uNIgmo+vSo2qrjPCi660gT3Nh1 brAjy8x27OcObyU2iq2aac4njDu1iHYQ8GNNTL5auHhrEV0EQIjaAmR/crZdc/qM 7l63fXwwzVIL9SVh9ZSPtaz0qPekiu5wJQpdhFBRE65lwehYUdOz5xKJj/OYKCWP EGU1b1D57sIIIEK/4IQMxpMPsDRJMTfld8/tUw93KWcpLttnyBwyRRcIuhwqtZWB k2ZDW1NPnlim//jP73kQxy5COpJNLN9l/7RLE6LK4m3w1Nl7Av0A6wgbJ8IQyYQH o1snA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeelgdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesthhqre dttddtvdenucfhrhhomhepvhhoihguuceovhhoihgusehfqdhmrdhfmheqnecuggftrfgr thhtvghrnhepkeefvefggedukedvffffleffteejleduvdeffeekfeefhfeugefghfdvle egheegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep vhhoihgusehfqdhmrdhfmh X-ME-Proxy: Feedback-ID: i2541463c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 17 Dec 2022 10:27:01 -0500 (EST) Date: Sat, 17 Dec 2022 15:26:59 +0000 From: void To: freebsd-ports@freebsd.org Subject: Re: lang/rust is super slow to build Message-ID: Mail-Followup-To: freebsd-ports@freebsd.org References: 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 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Spamd-Result: default: False [-5.10 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[f-m.fm,none]; R_DKIM_ALLOW(-0.20)[f-m.fm:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.29:from]; DKIM_TRACE(0.00)[f-m.fm:+,messagingengine.com:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[f-m.fm]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[f-m.fm]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4NZ8w74wkxz3jjW X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N On Mon, Dec 12, 2022 at 11:27:45AM -0800, Pat Maddox wrote: >Using poudriere, lang/rust is at 2 hours and counting on my 10-core i9 >w/ 128 gigs of RAM. > >Does that sound right? It seems extremely slow to me, but this is my >first time building it. > >How long does it take others to build? What options are you using, or >any other suggestions for shortening the time? Have you tried devel/sccache and ports-mgmt/sccache-overlay which does for rust what ccache does for C ? --=20