From unknown Sun Jun 15 08:51:28 2025 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-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) 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] From unknown Sun Jun 15 08:51:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67877] [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Dec 2023 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: contact@phfrohring.com, 67877@debbugs.gnu.org X-Debbugs-Original-To: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17029109793969 (code B ref -1); Mon, 18 Dec 2023 14:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2023 14:49:39 +0000 Received: from localhost ([127.0.0.1]:59695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFEw6-00011s-7x for submit@debbugs.gnu.org; Mon, 18 Dec 2023 09:49:38 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFEw4-00011T-D4 for submit@debbugs.gnu.org; Mon, 18 Dec 2023 09:49:37 -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 1rFEvx-0004o4-48 for guix-patches@gnu.org; Mon, 18 Dec 2023 09:49:29 -0500 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFEvv-0004YG-Ev for guix-patches@gnu.org; Mon, 18 Dec 2023 09:49:28 -0500 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2cc4029dc6eso37513091fa.1 for ; Mon, 18 Dec 2023 06:49:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702910964; x=1703515764; darn=gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=+7Wm3DyTfUmR7hnj2kyFGT5eKVhrxx8nLQl6RNDvtjw=; b=kyhSfsCN3ETOMcrZoy3FOaONiZ7MYl2mdM+3nrNQRiYxXxgOyoZmQewiG1rcule7Yz ZXFEGDX0fbgSf4fFau9+VDQCAdw0xyDnEq//MzzEn1BCZLyvKUgvkz8rEHq8t2VF5L0+ YP5rWIhkJygSklKIfHMR3VpOfSBOnSR9TXA03KTUrAtzwlivJcB8QHmF0/lzNDnTPZbS uoyRd8U4T2LhhX4pUQasQ/trgIdRJFQuR88M9yvhmgLiF1G2KYttPQc/VeBIvsSN1TxH KJFdpn/oE2pUo89YJsPMfeR626M78ukLKcN2zvrk4Qx8ECmRx2W1l974DGTAWeLim/yP +YOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702910964; x=1703515764; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+7Wm3DyTfUmR7hnj2kyFGT5eKVhrxx8nLQl6RNDvtjw=; b=GlStf/NBNXgKRYg94wOv/gEIqnI5rajSIMk1rIluPVeKSae4d7U6vVU9tyTBVbkYGu L8VpKQqmLnPlagClyqO3tmSzTSaK4Am/nz9NwjOH6PoVGjUmRVOOjG0vD2JEYmGSvChH 74JdPCmWdOOk8rX6IQFQmwkCXa1rxiCTX8Zi8HYs0hZWGNj9GVrKoByzNaynZ8tZQIXu fj8tVK6xNYlHHKNWSkpbqEZiQWrY7VrdTF0vNV+BKWRUKVfnHZZ/Q4c3RfN1m+H0XsML 2E4gkHkI5didXx7V3GwAfQn+q8sRF+RCO1OIkInARMpDlqDA8H4GiPWSxNuPz9q8s8iQ RKIA== X-Gm-Message-State: AOJu0Yx7erZkvXwlRrRTew8CX2j+AF8vDAdj6WUw/2xCKbfnRpyzcEwj 6iesf15DqqyePUKPKRyLUj+bDdAZPvA= X-Google-Smtp-Source: AGHT+IGjd0fpMH7z3q5ZtiVlHngqkJGMgwoS+O8ZbnPvObTdIYKjMhL9RXpPJvx5OOk7Ftro42dYWg== X-Received: by 2002:a2e:9ec4:0:b0:2c8:39fc:acf5 with SMTP id h4-20020a2e9ec4000000b002c839fcacf5mr6881630ljk.2.1702910964144; Mon, 18 Dec 2023 06:49:24 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id o12-20020a50c90c000000b0054da352618asm10442086edh.94.2023.12.18.06.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 06:49:23 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Mon, 18 Dec 2023 15:49:22 +0100 In-Reply-To: <871qbjlkw1.fsf@phfrohring.com> References: <871qbjlkw1.fsf@phfrohring.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=liliana.prikler@gmail.com; helo=mail-lj1-x22e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Am Montag, dem 18.12.2023 um 14:02 +0100 schrieb Pierre-Henry Fr=C3=B6hring= : > Hello lylip, >=20 > It's great to see progress! >=20 > I suggest the next objective is to enable Elixir packages that depend > on Erlang packages to build. For instance, the Elixir package > [telemetry_metrics] depends on the Erlang telemetry package and is a > dependency of the Elixir Phoenix package. >=20 > While reviewing the code of the Rebar build system, we noticed the > use of the [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=C2=A0=C2=A0 -d, --deps_only=C2=A0 Only compile dependencies, no= project apps will > be > =E2=94=82=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 built. > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 >=20 > So, to build Elixir packages that depend on Erlang, the necessary > steps inlcude: > 1) Updating the Rebar build system to align with the current usages > of Rebar. > 2) Allowing Elixir to access Erlang compiled libraries as discussed > in [issue 66801]. >=20 > If the following plan is agreed upon, then we will have an Elixir > package that depends on an Erlang package to build, specifically > `telemetry_metrics'. Patches in the series will have these > objectives: >=20 > 1. =E2=98=90 Update the Rebar build system to align with the current usag= es > 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 > libraries installed under `lib/erlang/X.Y'. > 4. =E2=98=90 Update the Erlang package to wrap its binaires so that they = have > access to > =C2=A0=C2=A0 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 > packages represented by `GUIX_ERL_LIBS'. > 7. =E2=98=90 Add the Elixir package `telemetry_metrics'. >=20 > If the corresponding patch series is merged, additional packages > (whether Erlang, Elixir, or other types) will be incorporated until > Phoenix package builds. >=20 > What do you think of this plan? Since we typically disable phoning home (including telemetry), I don't think having a telemetry package in Guix would be good optics :) Perhaps you can think of another example package but still follow the steps laid out above? Cheers From unknown Sun Jun 15 08:51:28 2025 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: Wed, 20 Dec 2023 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Liliana Marie Prikler Cc: 67877@debbugs.gnu.org Received: via spool by 67877-submit@debbugs.gnu.org id=B67877.170307003211846 (code B ref 67877); Wed, 20 Dec 2023 11:01:02 +0000 Received: (at 67877) by debbugs.gnu.org; 20 Dec 2023 11:00:32 +0000 Received: from localhost ([127.0.0.1]:38726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFuJU-00034V-94 for submit@debbugs.gnu.org; Wed, 20 Dec 2023 06:00:32 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:35331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFuJQ-0002hU-FH for 67877@debbugs.gnu.org; Wed, 20 Dec 2023 06:00:29 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 81ABFC000E; Wed, 20 Dec 2023 11:00:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1703070018; 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=za9kEf8cHQHUxFDkMbs90rOfwTRCdCHVQhqE0H6FcFo=; b=HmRmng/S0bZHKtKZuq4/jhWcI5+IGdN/aiFcFA2LB0c1qr5CFcpoF0Rv7ZJwN7Odf8KGQn iyOjrJiDfA08Tn8JvwwJo5aTsiYXaunwwu+C6/0fx5qbtBjWCFMshmAM5K2+4RJqblFcom gRkt5KlPOcTSraBYSa4Du7K+bFhq/7Y5KG8HfkO99lX3Xv4bxrXmZ2EKlSF0ACaw9NFDAF fgHQpBOQxSH6yPsd99ryu87wx1puEVoIFwLg4w5UvZzAMkehS4yqPvrTsHxGo4PDVQovF2 DgpkOOkUUojY5GL4tIX0RQmE8XN3IguYMii2dJbR9WY6eTD7xEGHTMsi8SwmRQ== References: <871qbjlkw1.fsf@phfrohring.com> User-agent: mu4e 1.10.8; emacs 29.1 From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Date: Wed, 20 Dec 2023 11:57:57 +0100 In-reply-to: Message-ID: <875y0tjfzx.fsf@phfrohring.com> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: contact@phfrohring.com X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Dear lylip, > Perhaps you can think of another example package but still follow the > steps laid out above? The [yaml_elixir] package should fit the bill as it calls [yamerl]. I have got everything working here. I am in the process of crafting the various patches. I have written a literate programming implementation of the rebar build system to document the reasoning for future references. The code in the post actually runs. Could you please review the reasoning? I will add your remarks to the post. Here is the post: Thank you. -- Regards, -- phf [yaml_elixir] [yamerl] From unknown Sun Jun 15 08:51:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67877] [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build References: <871qbjlkw1.fsf@phfrohring.com> In-Reply-To: <871qbjlkw1.fsf@phfrohring.com> Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Jul 2024 11:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67877@debbugs.gnu.org Received: via spool by 67877-submit@debbugs.gnu.org id=B67877.172087116025392 (code B ref 67877); Sat, 13 Jul 2024 11:46:01 +0000 Received: (at 67877) by debbugs.gnu.org; 13 Jul 2024 11:46:00 +0000 Received: from localhost ([127.0.0.1]:55238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSbCS-0006bT-3l for submit@debbugs.gnu.org; Sat, 13 Jul 2024 07:46:00 -0400 Received: from mail01.noris.net ([62.128.1.221]:38059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSbCO-0006bJ-PC for 67877@debbugs.gnu.org; Sat, 13 Jul 2024 07:45:58 -0400 Received: from p5b394846.dip0.t-ipconnect.de ([91.57.72.70] helo=[192.168.110.2]) by mail01.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1sSbCM-0001uF-Oe for 67877@debbugs.gnu.org; Sat, 13 Jul 2024 13:45:54 +0200 Content-Type: multipart/alternative; boundary="------------hLigm4EKSAANThC2blceJRrw" Message-ID: <85e5c959-b16a-4b4f-be12-76e5923c5b37@crazy-compilers.com> Date: Sat, 13 Jul 2024 13:45:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Hartmut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csq4eEcVuQcNpbUZv12cQIEXxpPSSN9+AQ0Rrkrpt/IAYZnnOKQG4r0Rl0hDQqAs/nm F2djs+KBdrNKy9jFUHrb4HSRFjGPIztQBfnn5B4PumQ+EGZGjN41hnNDG71zJ4Pzd7Vh/t12 cGSQtdXJPMoi60aHZHYGRyaRsEpO/bsAEQEAAcLBewQYAQoAJgIbDBYhBNSti5wWe3V8Twjo d3t1KBG/dztlBQJl0zYCBQkXBiA2AAoJEHt1KBG/dztl8SAP9jhSVpxB/3zV+uWhtH7dsihN Imylcs6/v/pn/topMASFAxwwODSTCBfqm/+H9KBL89gwRfBhwVKt2+e2nREMWyyzqWe1H8Ye tng4kEdmcAzT/eeL279Tu0GolFHQSkBZMeAp6qJu+JmFTsDAFhx+X+14mpU2CP352xDF9tDf Gw51b9jIhuKgkB1uukYSDghUTH3rW5+rxuwvNgQ7YDgznyykESfaCUeqVAabA8xKbErKM8G6 PLS93Zu1FJKCr2R2Br2HsI7Yi6g9VTM5Rws1COE0ApJr/GEnebpUh0QcOUiRxtx2LCR4nQI9 Vb6Dky+6aaWz4NsawdLJCym9MxKsGBwV70+xoqOVyA3NNWAZAnPYyEntPWMKTYlwJZDNURqT NSE3TlS3RUpHJ/y7FeSUQ0kVMmpFZjRY671qAvt6Q4uEsnDcz1g06zLnJKQLs9tEg4kCP32w kgMrrtAFQwbWzGTxf3xnjVooEJHHI7vOCzj83BQM4sq2Mp6kyuKjrAM+kLZChg8gd+Koj7fj eUIfwDjLCf3Ax7+g1QEqSqVsYxEB60oLONGMy0V31mofwefbWyFEhf7Mkb3lq01JtJ8TYNIL piWwGAMdoMZO8fXmTslMrRAStK3PpuUV1R3iAiqBHfyGYPQD5snxA4sHmWDSqI4OfUbVVkA6 OY6DWb43/DE= Organization: crazy-compilers.com X-Noris-IP: 91.57.72.70 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------hLigm4EKSAANThC2blceJRrw Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Another Elixir package depending on Erlang package is artificery. Here is a scratch of a package definition. Please let me know how I can help implementing the required things. * gnu/packages/elixir-xyz.scm (elixir-artificery): New variable. --- gnu/packages/elixir-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm index f08e07bb57..618c5afe8e 100644 --- a/gnu/packages/elixir-xyz.scm +++ b/gnu/packages/elixir-xyz.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2020, 2021 Hartmut Goebel ;;; Copyright © 2023 Pierre-Henry Fröhring ;;; Copyright © 2024 Igor Goryachev ;;; @@ -36,6 +37,24 @@ (define-module (gnu packages elixir-xyz)   #:use-module (srfi srfi-1)   #:use-module (srfi srfi-26)) +(define-public elixir-artificery +  (package +    (name "elixir-artificery") +    (version "0.4.3") +    (source (origin +              (method url-fetch) +              (uri (hexpm-uri "artificery" version)) +              (sha256 +               (base32 +                "0105zjghn01zncvwza1bkih0apkz7vxbxgbsjd78h80flcrm7s8j")))) +    (build-system elixir-build-system) +    (inputs (list erlang-hex-core)) +    (home-page "https://github.com/bitwalker/artificery") +    (synopsis "Toolkit for terminal user interfaces in Elixir") +    (description "This package provides a toolkit for terminal user interfaces +in Elixir.") +    (license license:asl2.0))) + (define-public elixir-nimble-parsec   (package     (name "elixir-nimble-parsec") -- 2.41.1 -- Regards Hartmut Goebel | Hartmut Goebel |h.goebel@crazy-compilers.com | |www.crazy-compilers.com | compilers which you thought are impossible | --------------hLigm4EKSAANThC2blceJRrw Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Another Elixir package depending on Erlang package is artificery. Here is a scratch of a package definition. Please let me know how I can help implementing the required things.


* gnu/packages/elixir-xyz.scm (elixir-artificery): New variable.
---
gnu/packages/elixir-xyz.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

diff --git a/gnu/packages/elixir-xyz.scm b/gnu/packages/elixir-xyz.scm
index f08e07bb57..618c5afe8e 100644
--- a/gnu/packages/elixir-xyz.scm
+++ b/gnu/packages/elixir-xyz.scm
@@ -1,4 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2023 Pierre-Henry Fröhring <phfrohring@deeplinks.com>
;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
;;;
@@ -36,6 +37,24 @@ (define-module (gnu packages elixir-xyz)
  #:use-module (srfi srfi-1)
  #:use-module (srfi srfi-26))
 
+(define-public elixir-artificery
+  (package
+    (name "elixir-artificery")
+    (version "0.4.3")
+    (source (origin
+              (method url-fetch)
+              (uri (hexpm-uri "artificery" version))
+              (sha256
+               (base32
+                "0105zjghn01zncvwza1bkih0apkz7vxbxgbsjd78h80flcrm7s8j"))))
+    (build-system elixir-build-system)
+    (inputs (list erlang-hex-core))
+    (home-page "https://github.com/bitwalker/artificery")
+    (synopsis "Toolkit for terminal user interfaces in Elixir")
+    (description "This package provides a toolkit for terminal user interfaces
+in Elixir.")
+    (license license:asl2.0)))
+
(define-public elixir-nimble-parsec
  (package
    (name "elixir-nimble-parsec")
--  
2.41.1





-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |
--------------hLigm4EKSAANThC2blceJRrw-- From unknown Sun Jun 15 08:51:28 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67877] [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build References: <871qbjlkw1.fsf@phfrohring.com> In-Reply-To: <871qbjlkw1.fsf@phfrohring.com> Resent-From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Jul 2024 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hartmut Goebel Cc: 67877@debbugs.gnu.org Received: via spool by 67877-submit@debbugs.gnu.org id=B67877.172095410031478 (code B ref 67877); Sun, 14 Jul 2024 10:49:02 +0000 Received: (at 67877) by debbugs.gnu.org; 14 Jul 2024 10:48:20 +0000 Received: from localhost ([127.0.0.1]:57209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSwmC-0008Be-Cz for submit@debbugs.gnu.org; Sun, 14 Jul 2024 06:48:20 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:56941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sSwm9-0008BO-6I for 67877@debbugs.gnu.org; Sun, 14 Jul 2024 06:48:18 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id A7ABA40002; Sun, 14 Jul 2024 10:47:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phfrohring.com; s=gm1; t=1720954069; 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=aGNZeWxhrIEaE+GXgZfcTzBdl30m1LHp+mMkSqANY7c=; b=fiqHb/TYgTv+6H4dyvG3ERDK1gx2GmJkLTvVIeMhyif9ayMWP1bUusynOiUW0U6gxeHx0F H1q1Uyyeq38GAk1Fu8iUhXXaN1UOvzu+aTwm4D4GqzmHtSuYS3s1W43NYVvuCVUVYl0L95 R557h7h7/rMPfMNdz5c/+K0/pjf4iXcgFxvlggoslImb7SORvncyeBHUhNBLrEYK8dZZpj LpuJhZSQ4TNGDUrta5Iiph1n7d1ZnxLMF7GctEP5xfDHo7I1ukz3pAXEAI6QPI/Q9unmgr v3ZnKLIeVFXe5G9+6MyhwzagafW1awIXeGOh22/+U7Jsaei/3aK4q2Twj5PUWg== From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Date: Sun, 14 Jul 2024 12:47:47 +0200 Message-ID: <87plrgfdws.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 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello Hartmut, I have built a test case, which you can find here: If `guix build -f test-package.scm` succeeds, there is a good chance that t= he issue is resolved. Cheers, -- Pierre-Henry FR=C3=96HRING - Tel: +33 7 88 17 15 73 - Email: contact@phfrohring.com - Web: