From nobody Thu May 27 11:02:59 2021 X-Original-To: freebsd-erlang@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 21179D7C3DF for ; Thu, 27 May 2021 11:03:23 +0000 (UTC) (envelope-from dch@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FrQ0W0CzRz3CRv; Thu, 27 May 2021 11:03:23 +0000 (UTC) (envelope-from dch@freebsd.org) Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: dch/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DFF5D370E3; Thu, 27 May 2021 11:03:22 +0000 (UTC) (envelope-from dch@freebsd.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id 6077627C0054; Thu, 27 May 2021 07:03:22 -0400 (EDT) Received: from imap6 ([10.202.2.56]) by compute2.internal (MEProxy); Thu, 27 May 2021 07:03:22 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekhedgfeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtgfesthhqre dtreerjeenucfhrhhomhepfdffrghvvgcuvehothhtlhgvhhhusggvrhdfuceouggthhes fhhrvggvsghsugdrohhrgheqnecuggftrfgrthhtvghrnhepueevffdtvedvjeehtdefvd eviedtveeiheethfekjeffjeevtdeitdeltdfhteeunecuffhomhgrihhnpehsrhdrhhht pdhfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepuggthhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidq ieejkedukeduhedvqdduvddufeduudejjedquggthheppehfrhgvvggsshgurdhorhhgse hfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id E8E1A24005F; Thu, 27 May 2021 07:03:21 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-468-gdb53729b73-fm-20210517.001-gdb53729b List-Id: Support of Erlang-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-erlang List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-erlang@freebsd.org Mime-Version: 1.0 Message-Id: Date: Thu, 27 May 2021 11:02:59 +0000 From: "Dave Cottlehuber" To: erlang Subject: =?UTF-8?Q?Elixir_1.12.0,_OTP_24.0,_port_updates_&_older_OTP_version_depr?= =?UTF-8?Q?ecations?= Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N hi folks ``` $ uname -a FreeBSD wintermute 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244= 733-ea31abc261f: Fri Apr 9 04:24:09 UTC 2021 root@releng1.nyi.freeb= sd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 $ iex Erlang/OTP 24 [erts-12.0.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [asy= nc-threads:1] [jit] [dtrace] [sharing-preserving] Interactive Elixir (1.12.0) - press Ctrl+C to exit (type h() ENTER for h= elp) iex(1)> IO.puts("woot") woot ``` You can grab the patches off phab, or from https://git.sr.ht/~dch/ports/= log/beam I would like to make 3 updates & 2 proposals: 1. add a lang/elixir-devel version. Revision URI: https://reviews.freebsd.org/D30490 This would allow users to always have the latest elixir release installe= d. NB many elixir libraries today don't handle all the deprecations in 1.12= /OTP24. This is currently bound to latest lang/erlang version (24) during compil= ation but doesn't have to be. In most cases, dependent ports (like elixir-hex = etc) would not require this as a direct dependency. My perception is that most users install packages via mix, and not via FreeBSD ports, so this shouldn't break anybody's setup if they install the -devel version (which could force pkg to uninstall any lang/elixir dependencies). 2. bump lang/elixir to 1.11.x branch. https://reviews.freebsd.org/D28092 already does this, but... this requires "making rabbitmq work" which Jimmy seems to know what's needed. If this already works with 1.12.0 then we could roll with that, but I expect there would be a reasonable amount of dependent ports that break.= Any of the ~ 75 elixir related ports that don't build with 1.11.x should= be considered deprecated if there's not a newer upstream release. 3. add OTP 24.0 Revision URI: https://reviews.freebsd.org/D30494 JIT!!! nuff said!! 4. proposal to drop most of the elixir-* dependent ports I'm not convinced most of these ports are actually worth having in ports at all, who would install any of these, and not use mix & hex packages directly? This would be in line with e.g. golang dependencies. Unless there is some particularly useful NIF/C dependencies we should consider dropping them. 5. proposal to drop OTP20 & erlang-riak Both are long out of upstream support releases The former has 0 dependent ports, so this shouldn't break the world. The latter doesn't work at all on 12.x + nor with modern LLVM. A+ Dave =E2=80=94 O for a muse of fire, that would ascend the brightest heaven of inventio= n!