From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gMLFGkZEgGUCPgEAkFu2QA (envelope-from ) for ; Mon, 18 Dec 2023 14:08:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qD/nEkZEgGW6bAEA62LTzQ (envelope-from ) for ; Mon, 18 Dec 2023 14:08:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=phfrohring.com header.s=gm1 header.b=amVsIctO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702904902; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OnXbhDDc8UbCSwufZ13hN36RQs/2Lx86HTLgjqyoYM0=; b=p+1KuLk71Gj8R9Mt0wEeeAaAiy1fg22DA/roPQqMBf2qgX5txVPjRqYKwYOH85fQk0ovOk RiKEbZRETULk+A3pUGl0Z7ljM53SddxTCx0EkA2gbW7Xe0dol7HFsKTWqIGh/MvSvMlOzb Nl/D9qZy8ggHriwfUbdeOxdOOwQD3VaxuBo1waIaacEO0hfnrdZZmafxVV1VihwlAE+tWl mw7i2TTcLmr2IW5zhopQkoHW0sQrtMGhkUX0VRV+V+xICt8m2GqBY+YJ9sFfEf8PHCdxPn GHBgjUo6eb70Gq0JjXCyV7Aiozbjxu6VOdh1Z96Jru2XPwvDpv8jysQlOQcBeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=phfrohring.com header.s=gm1 header.b=amVsIctO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702904902; a=rsa-sha256; cv=none; b=LDA/MYp3NJHp/RmUCvq7hh1r2j66yQ2oFmNXyeM56LTuQYyeE7QA53As/V7w93hmrGSEJN Y2zgU4d6cAQJQt7BPLjLmuepM8/1K/tHX9oZ5K1FM3xWB4uMcngUTktIY204mHH/hih4Kh todV6MXd7Rfp9U7POxGipHpQ31+FfwMk/RDNaVlpTGjgocrcrv8TQt/Rnce7qba0A8gXkG vA9jICvqd4OX7as1RTN3+4GzCDDKYwuAjrTwgnasKEtCtLI4427cFGKtKuqyp9tydlN4Fw 1uXycgmMlkFpCDyrpLByVBKjIeQ9/l5OnT7ETZppTwjpxtAwX23NbRxeWQPcyg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DB5B8177B1 for ; Mon, 18 Dec 2023 14:08:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFDLm-0008HY-1L; Mon, 18 Dec 2023 08:08:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFDLk-0008HH-Oo for guix-patches@gnu.org; Mon, 18 Dec 2023 08:08:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFDLk-0000Kd-GU for guix-patches@gnu.org; Mon, 18 Dec 2023 08:08:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFDLm-0003qA-52 for guix-patches@gnu.org; Mon, 18 Dec 2023 08:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67877] [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build Resent-From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Dec 2023 13:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67877@debbugs.gnu.org Cc: Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170290485114696 (code B ref -1); Mon, 18 Dec 2023 13:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2023 13:07:31 +0000 Received: from localhost ([127.0.0.1]:59651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFDLG-0003ox-Ew for submit@debbugs.gnu.org; Mon, 18 Dec 2023 08:07:30 -0500 Received: from lists.gnu.org ([2001:470:142::17]:34342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFDLE-0003od-Jh for submit@debbugs.gnu.org; Mon, 18 Dec 2023 08:07:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFDL7-00086x-4J for guix-patches@gnu.org; Mon, 18 Dec 2023 08:07:21 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFDL4-0000FN-2C for guix-patches@gnu.org; Mon, 18 Dec 2023 08:07:20 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 8E2F51C0009; Mon, 18 Dec 2023 13:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1702904832; 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: content-transfer-encoding:content-transfer-encoding; bh=OnXbhDDc8UbCSwufZ13hN36RQs/2Lx86HTLgjqyoYM0=; b=amVsIctOa6vUSWOgqXt6pn858kKdl1hk7TiR2JUDrc9zKNb/w0YZrtLnT9VdX1/btlERvW MhjlKgZtEMvtGSpNagCHAPMP5IQPzw31VCJR9iZsxq5nEj7ONEoFMd6Nypsh4qFOl+Vygg r2wsFBezWvsu1hgOkyhNZgWeQ6XXK8PW7n5BVoYmRgXyGJc0Ew83KT0xjegnIhxgIdZgsG 77gyIW95KjA6W3Ahens03yeeTVSHwJKNwIR/7vyCgc0WhuvcupJm2LrWVBBXjeLNDwkzNn CUj+fYlwjuqL0VIbWoWsS9QAnloYWRVSip9H8XpXZYPWLD2ET+lVg7VK+gZtig== User-agent: mu4e 1.10.8; emacs 29.1 From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Date: Mon, 18 Dec 2023 14:02:04 +0100 Message-ID: <871qbjlkw1.fsf@phfrohring.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: contact@phfrohring.com Received-SPF: pass client-ip=2001:4b98:dc4:8::225; envelope-from=contact@phfrohring.com; helo=relay5-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.78 X-Spam-Score: -3.78 X-Migadu-Queue-Id: DB5B8177B1 X-TUID: n/gBu5OWUqZW Hello lylip, It's great to see progress! I suggest the next objective is to enable Elixir packages that depend on Er= lang packages to build. For instance, the Elixir package [telemetry_metrics] dep= ends on the Erlang telemetry package and is a dependency of the Elixir Phoenix package. While reviewing the code of the Rebar build system, we noticed the use of t= he [skip_deps] Rebar flag, which is ignored by Rebar: =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82 $ guix shell rebar3 -- rebar3 help compile =E2=94=82 [=E2=80=A6] =E2=94=82 -d, --deps_only Only compile dependencies, no project apps wil= l be =E2=94=82 built. =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 So, to build Elixir packages that depend on Erlang, the necessary steps inl= cude: 1) Updating the Rebar build system to align with the current usages of Reba= r. 2) Allowing Elixir to access Erlang compiled libraries as discussed in [iss= ue 66801]. If the following plan is agreed upon, then we will have an Elixir package t= hat depends on an Erlang package to build, specifically `telemetry_metrics'. Pa= tches in the series will have these objectives: 1. =E2=98=90 Update the Rebar build system to align with the current usages= of Rebar. 2. =E2=98=90 Update the Erlang build system to install libraries under `lib= /erlang/X.Y' as discussed in issue 66801. 3. =E2=98=90 Update the Erlang package so that `GUIX_ERL_LIBS' gather all l= ibraries installed under `lib/erlang/X.Y'. 4. =E2=98=90 Update the Erlang package to wrap its binaires so that they ha= ve access to compiled libraries represented by `GUIX_ERL_LIBS'. 5. =E2=98=90 Add the Erlang Telemetry package. 6. =E2=98=90 Update the Elixir package so that it has access to Erlang pack= ages represented by `GUIX_ERL_LIBS'. 7. =E2=98=90 Add the Elixir package `telemetry_metrics'. If the corresponding patch series is merged, additional packages (whether E= rlang, Elixir, or other types) will be incorporated until Phoenix package builds. What do you think of this plan? =E2=80=93 Regards, phf [telemetry_metrics] [skip_deps] [issue 66801]