From nobody Sun Dec 18 12:05:54 2022 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 4NZhPj3ypXzt3wY for ; Sun, 18 Dec 2022 12:06:01 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10olkn2080.outbound.protection.outlook.com [40.92.40.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NZhPh3qY2z3mK6 for ; Sun, 18 Dec 2022 12:06:00 +0000 (UTC) (envelope-from carmel_ny@outlook.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=I3BMImSG; spf=pass (mx1.freebsd.org: domain of carmel_ny@outlook.com designates 40.92.40.80 as permitted sender) smtp.mailfrom=carmel_ny@outlook.com; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector9901:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X7FihCpAstVa9RU5A5B6XX3DN3wnRgNuX1lM96eb84fbwhNJZrak4LQahykBRFrgLPhcmIM6gZPPbq6x2fJ0DVZ4U3IOq024yaamTaRJqIOwTs/tcPnPPJXwzyJ/pOW/oUl6rfIKcSkENYM1815tgmkl6HhX0BFfr8WtVP6PRSqGr6ds/QFoblA5jiuox94UkniRLVKDc37CWboE9HuEOOdzowQcjktxR9BJD7vvCniL5JpV69Pwb2DRjVABNDk9ZHDrWe64tKTZ0TMdUkHWLX+KfZd6w6ykEEVvlXIDdD2hRojGjVlTtTvd3+R6Kj7wht+UMKS/nGzZ39nCCJGEUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OL6TCjFKWu/1ufzB0k3IvWQBR2qgtNPR/4xh6L9nwvE=; b=kO7Y0JqmqoGI01tjoDbBEkEaBYIFO2V8awinkC9wNfNlxp3VKqcp16deZjL0Ji7kFSu3zFPm4TcFeCcXB1FQ8fIgfrQTeCBvadet8OZ9ykKHJAZ9wRm0buxresTC6BDShxkLMuGe0wk6NPIZkyzyopbroJlbPCyy07VkfIxK8K4JP/hCgXkVkuNcjJFg3HgbPX4E267ydGOU640Ct/z0ErHn3G6PsdjiOF6so2n8uDoaLQvUH1M+iHXss1ZUuUvhBCLIw1CChiOHj3w2MYkdeFEA8pa+nlr5BQuMTq01uZ1QBcZa5Qa3D+MMLBErQQmMrPmHoDjO/Yq/w7Z+mHcPsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OL6TCjFKWu/1ufzB0k3IvWQBR2qgtNPR/4xh6L9nwvE=; b=I3BMImSGXDBQ+WmFfB1qmzNlDaT+yJ+jRI1Tsj17HTmSrVkKAna+vIUo04Gqx9PkNTRptgCMo8fYWd5hoqZEmx3GXuNTEGbH73nCpfsJM4ZMJUwD8dbt/+KtQC0MpY/FHlFNO7l6P9j/2ji2seMWQLbAdMsc8Jwfo5AUKdetqZJtUIzVUojXqMd2RmUJ3uJSFA9v1ove2nmFsi50a4jZZ3iBFXDXEBcQ7bWF5H8dszRzlOFgOvRE0CT8kZ8Q8+lmRyVQ93Yt0MbNabjsjbs03ZlcShI5jF2rnck4BsJJl97ZNYFbHE6NCJ8Zl4+6QB/6Rtd9RPWaRmUuR3zNsd+GtA== Received: from PH0PR16MB4245.namprd16.prod.outlook.com (2603:10b6:510:56::15) by BL0PR16MB2290.namprd16.prod.outlook.com (2603:10b6:207:3f::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.15; Sun, 18 Dec 2022 12:05:58 +0000 Received: from PH0PR16MB4245.namprd16.prod.outlook.com ([fe80::d4b4:fe55:d692:1717]) by PH0PR16MB4245.namprd16.prod.outlook.com ([fe80::d4b4:fe55:d692:1717%5]) with mapi id 15.20.5924.016; Sun, 18 Dec 2022 12:05:58 +0000 Date: Sun, 18 Dec 2022 07:05:54 -0500 From: "Gerard E. Seibert" To: ports@freebsd.org Subject: Re: lang/rust is super slow to build Message-ID: In-Reply-To: References: Reply-To: ports@freebsd.org Organization: seibercom NET X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 1.0.0 at mystic.seibercom.net X-Virus-Status: Clean X-TMN: [29Qkvz8As44VRcKmlk/I20BEauL/QVpC] X-ClientProxiedBy: MN2PR12CA0001.namprd12.prod.outlook.com (2603:10b6:208:a8::14) To PH0PR16MB4245.namprd16.prod.outlook.com (2603:10b6:510:56::15) X-Microsoft-Original-Message-ID: <20221218070554.000032d2@outlook.com> 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 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR16MB4245:EE_|BL0PR16MB2290:EE_ X-MS-Office365-Filtering-Correlation-Id: 0fd9f630-1ecc-42d8-5a46-08dae0f03934 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ss/yFvwhgKDJ+ZD7BIznaKFTN1eIKJBp4Pg7wToawWqErzrFlBINLAHKO0qI9T0/V10+Z8BYwv7vtFTyQ6+pIYHpLRysoA8YhRMz5+SE6Rg/7zWBgZ4S0e9exRdAOcrNyj+utchCfxiiToTbpGcp+PApDQP+thkzF4UAuOsNhHvrG3rkjkLe4J4RlfsR23Yr/owmftKsurv/HlUMOpadJnEB1sXlh7rM6GnHV4HtDsDJg+kEMS0my4RvpI8tjVA8HFTs23U63wl9I0ieT4H2SfduVZzE2Mqh76cRmLaS+cANR6kJnsc6iNXJGcT+LCeBlT1z9IVtUgnHWikjEgEh++fG715Xp2Ld30wpZD9Yvss+VdA+KYjc2xoll0lliwT+6NUiysgHWu9CjN6kXdWhve9IUlZ3J38reFzu76uw+hqNRIXA8C3/Gr4ovlaYcfUp49Z9tUNKl8HFd5gSJHzMDCY76iRy7EZcoDmqOQ17cMUhKbj8kKNnKPuGuEn0AlDVsFN1luVspSuHmknhaGwzRYS//csBe85bZthWVtqjCv9nlBccje3E12kzKeeQ62kvpBSRAj2fmRqaDzNv5nFT5iDN2yINB8LztnJowVfVBC/0DFmlrc8uuakskwrVVrUnuwrfdu4xYRDIOp5n9ukIwQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?m65Jlu7JxWmdTkNWWwl5vcqb1QH4jMmgXyOcAkk484mQ7MzrLzKYqpJFZjfB?= =?us-ascii?Q?E5lfa5B9fZygzkr2NGAhuT/svtFufNugRLgMAHKWLzCiyMnwYxOa4mh3h9Sg?= =?us-ascii?Q?5mYw5nJEm3fZCD4KgxPHnFD1BuAV4o4IKC//D4xoRhcBYIH8Xh6lVP3VXHCw?= =?us-ascii?Q?uL9uShXc05XLoPYosAOgSDsiwB14kvi98n+20Aw5V0mgGwhg2HflUAtVKu2A?= =?us-ascii?Q?EHrSOvUveVa42KsIgmjUdaxOc90Xgt99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xkGTL9nS5ey526PtnL1y2wCgzqqjdShjBttVPsNP0Lip0uNRA+ZRgfD?= =?us-ascii?Q?jhrVBE93tIg2VlrQv7a2vM9xPLzSmjFJxU+X7FpPi3YbB5GNxjNYgi+gFjnU?= =?us-ascii?Q?FzBU6HI/9071WzDRySVZdh84bYb0sKl+sxSAoVuadw=3D=3D?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fd9f630-1ecc-42d8-5a46-08dae0f03934 X-MS-Exchange-CrossTenant-AuthSource: PH0PR16MB4245.namprd16.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Dec 2022 12:05:58.7550 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR16MB2290 X-Spamd-Result: default: False [0.00 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector9901:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[outlook.com:dkim]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVFROM(0.00)[outlook.com]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; HAS_REPLYTO(0.00)[ports@freebsd.org]; MIME_TRACE(0.00)[0:+]; HAS_ORG_HEADER(0.00)[]; TO_DN_NONE(0.00)[]; FREEMAIL_FROM(0.00)[outlook.com]; RCVD_IN_DNSWL_NONE(0.00)[40.92.40.80:from]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[outlook.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org] X-Rspamd-Queue-Id: 4NZhPh3qY2z3mK6 X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On Sat, 17 Dec 2022 15:26:59 +0000, void stated: >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 ? I had not heard of them before. I do have a few questions thought. I have found conflicting instructions on how to install a working configuration with poudriere. This is the one that seems the most accurate. https://www.freshports.org/ports-mgmt/sccache-overlay/ Question 1: Do I have to modify the existing /usr/local/etc/poudriere.d/make.conf file? Question 2: I am presently using "ccache". Do I have to modify the existing "CCACHE_DIR=" parameter in the /usr/local/etc/poudriere.conf file? Is there anything else I should be doing? This is on a FreeBSD 13.1-RELEASE-p5 amd64 system with poudriere-devel-3.3.99.20220831 installed. -- Gerard