From nobody Thu Feb 17 08:05:25 2022 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 B256919D2A20 for ; Thu, 17 Feb 2022 08:05:47 +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 4JznSq4Qk4z3lKM; Thu, 17 Feb 2022 08:05:47 +0000 (UTC) (envelope-from dch@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645085147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=G5VS6Kxh3KD3adcC5h2lkj12B6CODWjSQ4K6hYYS+Fc=; b=brr3q2n1RYJYrJrg4NqNfxhxNKHdem9/uhUICT685i6sQxBsxBytqm+Xu8yN5Ngnu0NY1w YVONE1X+WCmgetzaG8nvs5q55F/7WgY0rhem2yY6cqr85U60lULjNNWx08gyPLiGcWq9tL BmAOK3jM8x4lgWW4Qufl546JKXf/UO0mv6y2B/VkT46Vd73Tz2yFuDSk64iAVQiTkZSXu3 /Q/YxGMTwPU/OUdh45fYiujsaJEtjaEuXk9h9ZW2xGexAyrMeYUuYEyli3J2ZFSwQ07FfA VrsRELBhmGwh+BbYD2k8POkmGHlBHHyH2QxZZLXbMTKle20YlSUdRVUB2ZLGDA== Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com [66.111.4.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: dch/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 6F76F21816; Thu, 17 Feb 2022 08:05:47 +0000 (UTC) (envelope-from dch@freebsd.org) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 180DD27C0054; Thu, 17 Feb 2022 03:05:46 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute4.internal (MEProxy); Thu, 17 Feb 2022 03:05:46 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjeejgdduudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdffrghv vgcuvehothhtlhgvhhhusggvrhdfuceouggthhesfhhrvggvsghsugdrohhrgheqnecugg ftrfgrthhtvghrnhepkeektddthfdtheffjefhfefgveehhfeuffelveffheefvdejleeh heelkeffueeunecuffhomhgrihhnpehhvgigughotghsrdhpmhenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegutghhodhmvghsmhhtphgruhht hhhpvghrshhonhgrlhhithihqdeijeekudekudehvddquddvudefuddujeejqdgutghhpe epfhhrvggvsghsugdrohhrghesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id B91CBFA0AA6; Thu, 17 Feb 2022 03:05:45 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4776-gd3673c9443-fm-20220215.001-gd3673c94 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: <9adbe5be-6a30-4632-8ce6-949ed6a85a9b@www.fastmail.com> In-Reply-To: <17f0495fc18.b44357f51118061.4026254962963294780@swiftsmsgateway.com> References: <17f03e9cb88.e62c780b1076565.8170616864757300918@swiftsmsgateway.com> <233b4856-7374-4667-bd64-1452aef49f80@www.fastmail.com> <17f0430a2b9.116cdd6d91094797.8704050208558348377@swiftsmsgateway.com> <17f043e3479.c34b4f091098208.353345808176822764@swiftsmsgateway.com> <17f0495fc18.b44357f51118061.4026254962963294780@swiftsmsgateway.com> Date: Thu, 17 Feb 2022 08:05:25 +0000 From: "Dave Cottlehuber" To: "Mike Jakubik" Cc: erlang Subject: Re: lang/elixir | v1.13.3 Content-Type: text/plain ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645085147; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=G5VS6Kxh3KD3adcC5h2lkj12B6CODWjSQ4K6hYYS+Fc=; b=ApDu+1I+5wlQCb1T3oHlhG3Ks8S09b0d53DDiCe5158KqoQ3mgO7CrlBy5Hq8hmrvm4/ZI rvlgY/53AaCWsMd87ycOqjn42pko/L8wmbuqoN5t6xglzjPX2IG8wgMQZXy+TpnTRNudFK 7ezz8XL48bWqatw7+ClQcNOACMRfittgXi8uDGoBut2C6D59lB38isJOnhin2D/dS2r2r2 f2sRb7qNN/92KZSpDTpDn3rLkLTc5UfEmKphszYmv3ZlPeZAvw3GaFoIdf051SxSP54s95 8O2dc3aN44dV2qZP2v1XZZNbeGFWV3pJM07z37b0Em8rXgKi5hL8OyqIkKDB1A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645085147; a=rsa-sha256; cv=none; b=Zy16z0YgjEZD3kTFDHQ3vV06or4dzJ6Gz7WI/qVF6ZYJyaO/B/7/Vz7kkiAAxxHWnjjRuw nKKSU+OniOjC/tN0E9fnw5y2VmNzHhZ8WxqXqmGNIsIhvaVWO5jaNsF21gmM1ts+Dqr3Sp vYzvWvBz21OH30IRVcm0irErV/aicYGCg91692/fpKGLuTYYs//3tcI0pYsDADgA8rx57N xBv4PfARxE5OyZ3sXdQfTkRGe66d35YoS5dFg0yn/UJ5aQSjRjxxRLncniEB2Wnw9qJtu2 vvq2dunAgxd+904tCn6t77m02FnoMLRfXeyoWHzu7e6LulVJY2/3RF2OR36AnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Wed, 16 Feb 2022, at 22:10, Mike Jakubik wrote: > Hi, > > For us the difference is that the runtime does not come erl or the > erlang compiler. We run a custom developed app written in Elixir but > there are some erlang modules as well, recompiling said app requires > the files found in the "erland24" pot but not in "erlang-runtime24". I > Hope that makes things a bit clearer. Basically the way the non -devel > elixir port works. Hi Mike, You misunderstand me. Your error is a little unclear, but I suspect all you need is `export PATH=/usr/local/lib/erlang24/bin:$PATH` and you should be fine, without modifying the port. TLDR: - lang/erlang-runtime24 is *identical* to lang/erlang. We build them the same way. diff erlang/Makefile erlang-runtime24/Makefile, or run sha256 over the stdlib + beam files - if you have a specific error or bug let's see it with source code rather than try to guess from error messages. PM email is fine if that helps. - elixir 13 needs OTP22+ per https://hexdocs.pm/elixir/compatibility-and-deprecations.html and previously the lang/erlang port was OTP21. What OTP apps are you missing, or what other erlang packages do you depend on? Are you building from ports, or using packages? Which specific packages are you missing? The ports framework provides options, enabled by default: - chunks - corba - dtrace - java (off by default) - kqueue - odbc (off by default) - openssl - sctp - term sharing - wx (off by default) only in lang/erlang are: - dirty schedulers (this will be on permanently soon anyway) - fop (docs generation, off by default) - manpages (docs generation, off by default) - pdf (docs generation, off by default) and all of these options are provided as separate individual ports: - erlang-wx (wx) - erlang-java (java) - erlang-man (docs) - ODBC is the only option you can't get by installing an extra port What I'm saying is that if you're running today on latest ports branch, then AFAICT lang/erlang is identical to lang/erlang-runtime24 in every respect, unless you build with port options yourself. And if you install erlang-wx, erlang-java, and erlang-man, then you can share those extra plugins with lang/erlang-runtime24 as well easily. The point of the elixir-devel port is that people who want the latest shiny things can have them (JIT compiler from OTP24, and when OTP25 comes arm64 JIT as well), while ports that don't get updated upstream often, can sit on lang/erlang-runtime21 or whatever as required. I suspect in your case, all you need is to use the elixir-devel port, and prepend the path. A+ Dave - O for a muse of fire, that would ascend the brightest heaven of invention!