From nobody Tue Oct 10 00:43:56 2023 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 4S4HGd3KYGz4wpHw; Tue, 10 Oct 2023 00:44:25 +0000 (UTC) (envelope-from dewaynegeraghty@gmail.com) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4HGd0r8wz4FwM; Tue, 10 Oct 2023 00:44:25 +0000 (UTC) (envelope-from dewaynegeraghty@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5333fb34be3so8661946a12.1; Mon, 09 Oct 2023 17:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696898662; x=1697503462; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=mLejnZe5Wh1P+bzyWbMd2AIJfddhDx7aXCWl3PuBuD4=; b=PNdZ24YuJBFcl6bGV2I2UWBIlfwVPvntXDai1m6bz4vNbwvrZf8waAFGdjq7XjduSX id8jb/XLq88PO4gHEm6/WitCkRHEuloAl1T6VELM88yclU97ubvgn5zk/Repd632CKxr YwuwzM/PJzNSK+JyX/6cyKZtiG4RXkpj/ojkhS/DGdpT5Xg/q6jQc1OxbFvwd1wpHJa5 Ja+YP3rI23Gjvz/rZjEo8G00zehVacB0P3KNGCUiJiY+KsuEV50nbvuN4skg/k/av+7t u+Gobtb7Vz45T0uYO0Q95VMU50MyI/l3gDSe3EyIeWaGJno6HOy9OCcN/cIx0qPNw4da hWFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696898662; x=1697503462; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mLejnZe5Wh1P+bzyWbMd2AIJfddhDx7aXCWl3PuBuD4=; b=uMjNmgw5MUYpRncRttU4E/7alhkfjBIPjFi/Qxwo94+4f62dIc1y83x2XkQupPHF1z T/5ON6tPDaxApKYXi+ZZu4fTYWEVD40QfPRI8Codi96x7FyH89xrTJX4u0mbF/fas0e9 FJh52i3qHzEBeKj+7/oxzfU26cmUiUEJYQrRnrvK9WGQnf7rgazWthOvn/wZ/A2soOSo DFbFlExomu5ftzkcovZkhSihS6Xmt7GpUziHuH8a5vLhnyl6YSmeQ/f27iv3ssEUZKAd IqFUq6GJjSt/9ZXgY+xsq7V2TZz34+b/X2f1uhyZrPL//RUPmhcHR1GMqlSg1BbUvQtb hltA== X-Gm-Message-State: AOJu0YyzvTulioO3b8h7+DaLn/uRIS5tHdeXM5u0xkRbntHO0TD+qpOf UhXdttfl3kppObQS7BtJW1b/Lkqdo/gak9oAKNQ= X-Google-Smtp-Source: AGHT+IH0dkylTq3NDBz+otQcbo92ALCj2sUcQ44KXHJJaMj5fVGu7tzHFvkkdgWB/Tf/8OUXL3xEn9BDj+yb17uQe8c= X-Received: by 2002:aa7:da55:0:b0:533:277c:acc3 with SMTP id w21-20020aa7da55000000b00533277cacc3mr14996092eds.13.1696898662211; Mon, 09 Oct 2023 17:44:22 -0700 (PDT) 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 References: <3DDDE8A9-0DB8-4C6E-81B5-60A1E13CECCD.ref@yahoo.com> <3DDDE8A9-0DB8-4C6E-81B5-60A1E13CECCD@yahoo.com> In-Reply-To: <3DDDE8A9-0DB8-4C6E-81B5-60A1E13CECCD@yahoo.com> From: Dewayne Geraghty Date: Tue, 10 Oct 2023 11:43:56 +1100 Message-ID: Subject: Re: lang/rust: resurrect PORT_LLVM as a non-default OPTION To: Mark Millard Cc: "vishwin@freebsd.org" , FreeBSD Toolchain , FreeBSD Mailing List Content-Type: multipart/alternative; boundary="000000000000fb21c606075201f2" 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:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4S4HGd0r8wz4FwM --000000000000fb21c606075201f2 Content-Type: text/plain; charset="UTF-8" Hi Mark, yes it seems that some maintainers are letting dependencies bloat. A few weeks ago I had to rebuild samba4.13 (on FBSD 12.4) and it required rust to build(!). This was due to a documentation requirement to use py-poetry . Fortunately the py-poetry maintainer (I think) realised and adjusted things within a week (Thanks). More recently while building security/py-cryptography I had to remove from the Makefile ${PYTHON_PKGNAMEPREFIX}setuptools-rust>=0.11.4:devel/py-setuptools-rust@${PY_FLAVOR} [#1] and comment out lines starting with CARGO (for obvious relationship reasons) I don't use anything that requires rust but for some reason developers don't provide a choice... so I've branched /usr/ports to track this practice and retain reasonable build times. Point? Its not just docs that you'll need to accommodate. :/ A better solution would be for maintainers to provide a choice to include such monsters. Cheers. [#1] Refer https://cgit.freebsd.org/ports/commit/?id=82c675ccaa87127ca291de1d224aa18cb782149f --000000000000fb21c606075201f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Mark, yes it seems that some main= tainers are letting dependencies bloat.=C2=A0 A few weeks ago I had to rebu= ild samba4.13 (on FBSD 12.4) and it required rust to build(!).=C2=A0 This w= as due to a documentation requirement to use py-poetry .=C2=A0 Fortunately = the py-poetry maintainer (I think) realised and adjusted things within a we= ek (Thanks).=C2=A0 More recently while building security/py-cryptography I = had to remove from the Makefile
${PYTHON_PKGNAMEPREFIX}setuptools= -rust>=3D0.11.4:devel/py-setuptools-rust@${PY_FLAVOR} [#1]
and comment out lines starting with CARGO (for obvious relationship reason= s)

I don't use anything that requires rust but= for some reason developers don't provide a choice... so I've branc= hed /usr/ports to track this practice and retain reasonable build times.=C2= =A0 Point?=C2=A0 Its not just docs that you'll need to accommodate. :/<= /div>

A better solution would be for maintainers to prov= ide a choice to include such monsters.
Cheers.
[#1] Refer https://cgit.freebsd.o= rg/ports/commit/?id=3D82c675ccaa87127ca291de1d224aa18cb782149f
--000000000000fb21c606075201f2--