Received: (at 67877) by debbugs.gnu.org; 20 Dec 2023 11:00:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 20 06:00:32 2023 Received: from localhost ([127.0.0.1]:38726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rFuJU-00034V-94 for submit <at> 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 <contact@HIDDEN>) id 1rFuJQ-0002hU-FH for 67877 <at> 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@HIDDEN> <eb5dea6a62339dd8045af414a715dfe80894c2c0.camel@HIDDEN> User-agent: mu4e 1.10.8; emacs 29.1 From: Pierre-Henry =?utf-8?Q?Fr=C3=B6hring?= <contact@HIDDEN> To: Liliana Marie Prikler <liliana.prikler@HIDDEN> Subject: Re: [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build Date: Wed, 20 Dec 2023 11:57:57 +0100 In-reply-to: <eb5dea6a62339dd8045af414a715dfe80894c2c0.camel@HIDDEN> Message-ID: <875y0tjfzx.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: contact@HIDDEN X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 67877 Cc: 67877 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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: <https://phfrohring.com/867329cb-afbd-49d7-9c5c-f36ac07cd62c.html> Thank you. -- Regards, -- phf [yaml_elixir] <https://hex.pm/packages/yaml_elixir> [yamerl] <https://hex.pm/packages/yamerl>
guix-patches@HIDDEN
:bug#67877
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Dec 2023 14:49:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 18 09:49:38 2023 Received: from localhost ([127.0.0.1]:59695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rFEw6-00011s-7x for submit <at> 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 <liliana.prikler@HIDDEN>) id 1rFEw4-00011T-D4 for submit <at> 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 <liliana.prikler@HIDDEN>) id 1rFEvx-0004o4-48 for guix-patches@HIDDEN; 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 <liliana.prikler@HIDDEN>) id 1rFEvv-0004YG-Ev for guix-patches@HIDDEN; Mon, 18 Dec 2023 09:49:28 -0500 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2cc4029dc6eso37513091fa.1 for <guix-patches@HIDDEN>; 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: <eb5dea6a62339dd8045af414a715dfe80894c2c0.camel@HIDDEN> Subject: Re: [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build From: Liliana Marie Prikler <liliana.prikler@HIDDEN> To: Pierre-Henry =?ISO-8859-1?Q?Fr=F6hring?= <contact@HIDDEN>, guix-patches@HIDDEN Date: Mon, 18 Dec 2023 15:49:22 +0100 In-Reply-To: <871qbjlkw1.fsf@HIDDEN> References: <871qbjlkw1.fsf@HIDDEN> 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@HIDDEN; 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-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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
guix-patches@HIDDEN
:bug#67877
; Package guix-patches
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Dec 2023 13:07:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 18 08:07:30 2023 Received: from localhost ([127.0.0.1]:59651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rFDLG-0003ox-Ew for submit <at> 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 <contact@HIDDEN>) id 1rFDLE-0003od-Jh for submit <at> 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 <contact@HIDDEN>) id 1rFDL7-00086x-4J for guix-patches@HIDDEN; 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 <contact@HIDDEN>) id 1rFDL4-0000FN-2C for guix-patches@HIDDEN; 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?= <contact@HIDDEN> To: guix-patches@HIDDEN Subject: [PATCH 0/7] Enable Elixir packages that depend on Erlang packages to build Date: Mon, 18 Dec 2023 14:02:04 +0100 Message-ID: <871qbjlkw1.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: contact@HIDDEN Received-SPF: pass client-ip=2001:4b98:dc4:8::225; envelope-from=contact@HIDDEN; 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-Debbugs-Envelope-To: submit Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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] <https://hex.pm/packages/telemetry_metrics> [skip_deps] <https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build-sys= tem/rebar.scm?id=3Df410d49eb24db4eecae054dfe136464bc92ba8a3#n103> [issue 66801] <https://issues.guix.gnu.org/66801#75>
Pierre-Henry Fröhring <contact@HIDDEN>
:guix-patches@HIDDEN
.
Full text available.guix-patches@HIDDEN
:bug#67877
; Package guix-patches
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.