From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 24 17:50:15 2019 Received: (at submit) by debbugs.gnu.org; 24 Oct 2019 21:50:15 +0000 Received: from localhost ([127.0.0.1]:37065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNkzk-0007FG-I4 for submit@debbugs.gnu.org; Thu, 24 Oct 2019 17:50:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:48404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNjz5-0003aZ-H3 for submit@debbugs.gnu.org; Thu, 24 Oct 2019 16:45:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37780) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNjz4-0004gy-C7 for guix-patches@gnu.org; Thu, 24 Oct 2019 16:45:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_20,HTML_MESSAGE, MIME_HTML_MOSTLY,RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNjz2-00021C-SF for guix-patches@gnu.org; Thu, 24 Oct 2019 16:45:26 -0400 Received: from w4.tutanota.de ([81.3.6.165]:43758) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iNjz2-00020y-Kr for guix-patches@gnu.org; Thu, 24 Oct 2019 16:45:24 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w4.tutanota.de (Postfix) with ESMTP id 7DBE8106019A for ; Thu, 24 Oct 2019 20:45:22 +0000 (UTC) Date: Thu, 24 Oct 2019 22:45:22 +0200 (CEST) From: =?UTF-8?Q?Oskar_K=C3=B6=C3=B6k?= To: Message-ID: Subject: [PATCH] gnu: elixir: Update to 1.9.2. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_35629_460654715.1571949922364" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 81.3.6.165 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 24 Oct 2019 17:50:11 -0400 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: -2.3 (--) ------=_Part_35629_460654715.1571949922364 Content-Type: multipart/alternative; boundary="----=_Part_35630_275881169.1571949922364" ------=_Part_35630_275881169.1571949922364 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ------=_Part_35630_275881169.1571949922364 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

------=_Part_35630_275881169.1571949922364-- ------=_Part_35629_460654715.1571949922364 Content-Type: text/x-patch; charset=us-ascii; name=0001-gnu-elixir-Update-to-1.9.2.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-elixir-Update-to-1.9.2.patch >From bfbd16af6aaf3d2685f01fa8059a220485e830ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20K=C3=B6=C3=B6k?= Date: Thu, 24 Oct 2019 23:37:38 +0300 Subject: [PATCH] gnu: elixir: Update to 1.9.2. * gnu/packages/elixir.scm (elixir): Update to 1.9.2. --- gnu/packages/elixir.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 88ada71aea..d3f30c624e 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -33,7 +33,7 @@ (define-public elixir (package (name "elixir") - (version "1.8.2") + (version "1.9.2") (source (origin (method git-fetch) @@ -42,7 +42,7 @@ (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1n77cpcl2b773gmj3m9s24akvj9gph9byqbmj2pvlsmby4aqwckq")) + (base32 "19yn6nx6r627f5zbyc7ckgr96d6b45sgwx95n2gp2imqwqvpj8wc")) (patches (search-patches "elixir-path-length.patch")))) (build-system gnu-build-system) (arguments -- 2.21.0 ------=_Part_35629_460654715.1571949922364-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 25 08:16:29 2019 Received: (at submit) by debbugs.gnu.org; 25 Oct 2019 12:16:29 +0000 Received: from localhost ([127.0.0.1]:37428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNyW4-0002y1-Ly for submit@debbugs.gnu.org; Fri, 25 Oct 2019 08:16:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:37235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNyVx-0002xg-Pg for submit@debbugs.gnu.org; Fri, 25 Oct 2019 08:16:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49908) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNyVw-0004o5-Mf for guix-patches@gnu.org; Fri, 25 Oct 2019 08:16:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNyVv-0005hI-MB for guix-patches@gnu.org; Fri, 25 Oct 2019 08:16:20 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:35555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNyVt-0005eS-TJ for guix-patches@gnu.org; Fri, 25 Oct 2019 08:16:19 -0400 Received: by mail-wr1-x441.google.com with SMTP id l10so2098761wrb.2 for ; Fri, 25 Oct 2019 05:16:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=3DF2OovpWFMtwOHMKQDuYIeiCa1A0zbvmXvKUc1626U=; b=PQmaoZnoM6TTHopCZgXlW21eVaqHfhArn1DGZWIpjeiRBftVvr3z648gU4Cc6VD4QQ TG+BM5O23dpJRWuV2g7OnFhhhFdx4+0ri3KXs7UFIQNHkn93G/oiKrifMV0YsIfjPMp9 aCKhwOTbpUoJ6TksMAbkCdDQgvaF6srIvN86bIrB2jOMrmPuofz928/RFkmnevrNf4TX Hgwq/y3pc7x1TCg9NhIcj8lueIjkd4zm7fnH6FUNyKUk33JNBsjxDybIY5pK/n0g5EvL SkxpENC6R7WMPobGSYsUhrLkP3jwBE+JLPth1jI3U9ZaI3DALy4Z5cGfCy5c+t7NGXSz 3Hag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=3DF2OovpWFMtwOHMKQDuYIeiCa1A0zbvmXvKUc1626U=; b=jVyxh4dQke6rNrGjy/veu5jrljDnxjtJJAQaFvRu8LvGi0QQPSWoxU7iJDd7B37zOp bh+WG9/D6+i7OcSmQpIYj2kyunHwQwQTq4NcZsYL8XrLXR6ZSsWw/4XBGfQxC1L5QMzh Ohdn3KxqR5MnrphrYOY2RcNKmM8Ga1SIHOwAck/AQAf/BhWPXsp3xDadN+zimfd5yuiH 46pu4GTxUwy58RK7CqcLZluP/spg7Kcp5UAAqcjUkZIed+cA32s17M/RcPbtf8WTwV/x gBkRHhrhMpSaGG5asbhngo1raiFMbcIvGmeDYMIAdQxCyzhIMuY+7b8lwDlGPPNERuAH QdwA== X-Gm-Message-State: APjAAAWaykAdBhMUFSeU9ahg2Scnv6WqgORHph+sUDBNKJ3awdbaUEVP mokR7IfCWtAAyFAV7zOmWs4= X-Google-Smtp-Source: APXvYqx1jixrQCpdLnx5RSmHCI3rSf8+RwCD54aqiELwjRRJMOjMgGl6DniPPv2ZUWo3DNtXiKrkMg== X-Received: by 2002:adf:f4cb:: with SMTP id h11mr3000089wrp.260.1572005775085; Fri, 25 Oct 2019 05:16:15 -0700 (PDT) Received: from meru (lfbn-ann-1-367-71.w86-200.abo.wanadoo.fr. [86.200.83.71]) by smtp.gmail.com with ESMTPSA id u1sm2420886wru.90.2019.10.25.05.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 05:16:14 -0700 (PDT) References: User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: guix-patches@gnu.org Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. In-reply-to: Date: Fri, 25 Oct 2019 14:16:12 +0200 Message-ID: <87sgnhja0j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::441 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: 37912@debbugs.gnu.org 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: -2.3 (--) Hello, When building elixir with this patch, I have the following error: --8<---------------cut here---------------start------------->8--- Finished in 363.7 seconds (2.5s on load, 361.1s on tests) 9 doctests, 625 tests, 6 failures Randomized with seed 237287 make: *** [Makefile:113: test_mix] Error 1 Test suite failed, dumping logs. command "make" "test" "PREFIX=/gnu/store/q95v9n7c0nhrkqmn1xhr785zqi4mp81k-elixir-1.9.2" failed with status 2 builder for `/gnu/store/clqdccpnxbz4wg4c37shsn59d1y4b9wq-elixir-1.9.2.drv' failed with exit code 1 build of /gnu/store/clqdccpnxbz4wg4c37shsn59d1y4b9wq-elixir-1.9.2.drv failed View build log at '/var/log/guix/drvs/cl/qdccpnxbz4wg4c37shsn59d1y4b9wq-elixir-1.9.2.drv.bz2'. guix build: error: build of `/gnu/store/clqdccpnxbz4wg4c37shsn59d1y4b9wq-elixir-1.9.2.drv' failed --8<---------------cut here---------------end--------------->8--- any idea why? Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 10:58:19 2019 Received: (at 37912) by debbugs.gnu.org; 31 Oct 2019 14:58:19 +0000 Received: from localhost ([127.0.0.1]:54034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQBty-0008LU-UX for submit@debbugs.gnu.org; Thu, 31 Oct 2019 10:58:19 -0400 Received: from w4.tutanota.de ([81.3.6.165]:36562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQBYD-0007n9-6x for 37912@debbugs.gnu.org; Thu, 31 Oct 2019 10:35:50 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w4.tutanota.de (Postfix) with ESMTP id 0AF3110602D2 for <37912@debbugs.gnu.org>; Thu, 31 Oct 2019 14:35:43 +0000 (UTC) Date: Thu, 31 Oct 2019 15:35:42 +0100 (CET) From: =?UTF-8?Q?Oskar_K=C3=B6=C3=B6k?= To: <37912@debbugs.gnu.org> Message-ID: Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_38901_1363158418.1572532542758" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37912 X-Mailman-Approved-At: Thu, 31 Oct 2019 10:58:18 -0400 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.0 (-) ------=_Part_38901_1363158418.1572532542758 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sorry, first time using Guix. Some Elixir tests are failing, caused by a new feature. I have locally fixed most of the issues related to this (I can now manually run the Makefile in the generated Guix folder without any tests failing), but I am stuck on a part where the tests spawn binaries and wait for a certain file to be created in a certain location. This does not work during the Guix build. I will examine further over the weekend. If I can not fix these tests, is it acceptable to disable them? I can verify that the behaviour being tested works manually. Oskar ------=_Part_38901_1363158418.1572532542758 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
Sorry, first time using Guix.

Some Elixir tests are failing, caused by a new feature. I have locally fixed most of the issues related to this (I can now manually run the Makefile in the generated Guix folder without any tests failing), but I am stuck on a part where the tests spawn binaries and wait for a certain file to be created in a certain location. This does not work during the Guix build.

I will examine further over the weekend. If I can not fix these tests, is it acceptable to disable them? I can verify that the behaviour being tested works manually.

Oskar

------=_Part_38901_1363158418.1572532542758-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 18:55:02 2019 Received: (at 37912) by debbugs.gnu.org; 31 Oct 2019 22:55:03 +0000 Received: from localhost ([127.0.0.1]:54436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQJLK-0007Qv-Cs for submit@debbugs.gnu.org; Thu, 31 Oct 2019 18:55:02 -0400 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:46339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQJLG-0007QU-Or for 37912@debbugs.gnu.org; Thu, 31 Oct 2019 18:55:00 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 8C103559; Thu, 31 Oct 2019 18:54:52 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 31 Oct 2019 18:54:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=iN9qm9VPGMfi44mdIZFQBuKkN2 /nWnsvvJG1qV2FdeU=; b=a3WTqDsDLITTjyW6xBptiJGtZbr17HxWLjQhnl4RbZ s4ICxhqPePtqLHLZAHGEYIE3nACQ39p+QKJ9t2H0VIwFFffYXYG+xwSdkXj4ee5X cLhziqULB3PQRWgnZVC5lsB6URjlpOnugmvtuSrpFezMbcAo46YiCXXVjjP49F+i jdcVv5IGvN0RkBhsihLRXfebtlF0gBskrP4+wpmGylevrkOZa+v6lbF1ZYqQBNoA 644Vka0dXvoyBgbyzzUcH0DZC0Md4UDj9MSsXAKKkCb/2nabayLBLgNx34yyAZzy OBkQqkWVOQ/RHIV+OMWCmXZwVBoqgfv/0tq6XZnEc4rQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=iN9qm9 VPGMfi44mdIZFQBuKkN2/nWnsvvJG1qV2FdeU=; b=qTB7U3ASqwhPi06SPEv6ND /IVPH8ddpInbh71kBQJbkEaOhRRQrKEq6o2xC6+feeSeRmfk3ZYeWcDAm8P0rCj7 vK/CV2ZsB8UVfhAantPWBRhUd4/LAfonsIL/RITQykcIcwH1+FCWFqtjTA8moBxv nUXZZBSC2ALpzHsSFLqDw1Tb3bg2sijA/4O0MH8frjgYJfpCANPfS6nCDcaIiv6A m5lWRYRqhaFeIW+N0MkYMp67yrXjMJwnci6bYBS89quZn/kMF3N26vPXxs/1cKRY 85MEqF4LE8LfiQiox8qxP9UhEFjx2gHvEtv2HP0WcKFXeyphBQmwb/KnZB7mqy0A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedruddtiedgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtreejnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepie dvrdduiedrudelvddrudehtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id A91E6306005F; Thu, 31 Oct 2019 18:54:51 -0400 (EDT) From: Marius Bakke To: Oskar =?utf-8?B?S8O2w7Zr?= , 37912@debbugs.gnu.org Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. In-Reply-To: References: User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Thu, 31 Oct 2019 23:54:49 +0100 Message-ID: <875zk4plty.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37912 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oskar K=C3=B6=C3=B6k writes: > Sorry, first time using Guix. > > Some Elixir tests are failing, caused by a new feature. I have locally fi= xed most of the issues related to this (I can now manually run the Makefile= in the generated Guix folder without any tests failing), but I am stuck on= a part where the tests spawn binaries and wait for a certain file to be cr= eated in a certain location. This does not work during the Guix build. Perhaps it requires a network connection? Or /bin/sh? Those are the most common sources of things failing in the build container but not on a "regular" system. > I will examine further over the weekend. If I can not fix these tests, is= it acceptable to disable them? I can verify that the behaviour being teste= d works manually. We should find out why they are failing in either case. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl27ZjkACgkQoqBt8qM6 VPr/YAf7BUsvNW24NfP5j9dnXVmqO7BY4UEX48n07onJ4XOz9h4ctuOnmpJCUECY W/L/EevpztVZPh97Dd2GJAe1B8iLi3EVlab7EUjqeBJbe4WFccYlm2TtTXTFqs2h x08pkI5JOyIxWhjw9Wavqct/JBHGmSolwQxSVgOtyGzEKedMlrqlm8+yqFhIPHNX UiHq0WgD0X5Y+vC1IPWUkMje6vIc7Kw+jjEjpvx9kb60mR7Q9l55m5Ng8oDO5cAs mcC3Wt4t02+8x1pXO1cvsuU0CUfqMBdS2cxHMg9V01euCWawwpsoKkrjsGv6ZsCm KxLsXkmAVVeh9ZpuAsd7jznfwOqMNw== =Un6b -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 10:32:47 2019 Received: (at 37912) by debbugs.gnu.org; 1 Nov 2019 14:32:47 +0000 Received: from localhost ([127.0.0.1]:56766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQXyo-0004ck-Iw for submit@debbugs.gnu.org; Fri, 01 Nov 2019 10:32:47 -0400 Received: from w4.tutanota.de ([81.3.6.165]:38322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQXEl-0000tg-AH for 37912@debbugs.gnu.org; Fri, 01 Nov 2019 09:45:12 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w4.tutanota.de (Postfix) with ESMTP id D0D1B106026C; Fri, 1 Nov 2019 13:45:04 +0000 (UTC) Date: Fri, 1 Nov 2019 14:45:04 +0100 (CET) From: =?UTF-8?Q?Oskar_K=C3=B6=C3=B6k?= To: Marius Bakke Message-ID: In-Reply-To: <875zk4plty.fsf@devup.no> References: <875zk4plty.fsf@devup.no> Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2957_727507438.1572615904682" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37912 X-Mailman-Approved-At: Fri, 01 Nov 2019 10:32:43 -0400 Cc: 37912 <37912@debbugs.gnu.org> 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.0 (-) ------=_Part_2957_727507438.1572615904682 Content-Type: multipart/alternative; boundary="----=_Part_2958_1817126105.1572615904682" ------=_Part_2958_1817126105.1572615904682 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you for your response! You were right, /bin/sh was the issue. I did some grepping and found Elixir= was generating files that depend on /bin/sh. I am now able to build Elixir= 1.9.2 on Guix. I am attaching the patch to this e-mail. Please format/fix the code as nece= ssary, I am not too familiar with Guile and other Scheme/Lisp languages. Oskar Nov 1, 2019, 00:54 by mbakke@fastmail.com: > Oskar K=C3=B6=C3=B6k writes: > >> Sorry, first time using Guix. >> >> Some Elixir tests are failing, caused by a new feature. I have locally f= ixed most of the issues related to this (I can now manually run the Makefil= e in the generated Guix folder without any tests failing), but I am stuck o= n a part where the tests spawn binaries and wait for a certain file to be c= reated in a certain location. This does not work during the Guix build. >> > > Perhaps it requires a network connection? Or /bin/sh? Those are the > most common sources of things failing in the build container but not on > a "regular" system. > >> I will examine further over the weekend. If I can not fix these tests, i= s it acceptable to disable them? I can verify that the behaviour being test= ed works manually. >> > > We should find out why they are failing in either case. :-) > ------=_Part_2958_1817126105.1572615904682 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thank you for your response!

You were right, /bin/sh was the issue. I did some greppin= g and found Elixir was generating files that depend on /bin/sh. I am now ab= le to build Elixir 1.9.2 on Guix.

I am attaching = the patch to this e-mail. Please format/fix the code as necessary, I am not= too familiar with Guile and other Scheme/Lisp languages.

Oskar


Nov 1, 2019, 00:54 by mbakke@fastmail.com:
Oska= r K=C3=B6=C3=B6k <oskar@maatriks.ee> writes:
Sorry, first time using Guix.

Some Elixir tests are failing, caused by a new feature. I h= ave locally fixed most of the issues related to this (I can now manually ru= n the Makefile in the generated Guix folder without any tests failing), but= I am stuck on a part where the tests spawn binaries and wait for a certain= file to be created in a certain location. This does not work during the Gu= ix build.
Perhaps it requires a networ= k connection? Or /bin/sh? Those are the
most common sources of things failing in the build containe= r but not on
a "regular" s= ystem.
I will examine further over the weekend. If I c= an not fix these tests, is it acceptable to disable them? I can verify that= the behaviour being tested works manually.

= We should find out why they are failing in either case. :-)

------=_Part_2958_1817126105.1572615904682-- ------=_Part_2957_727507438.1572615904682 Content-Type: text/x-patch; charset=us-ascii; name=0001-gnu-elixir-Update-to-1.9.2.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-elixir-Update-to-1.9.2.patch >From f2eb88f567f93e578e3c2df76046fed4f45645f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20K=C3=B6=C3=B6k?= Date: Thu, 24 Oct 2019 23:37:38 +0300 Subject: [PATCH] gnu: elixir: Update to 1.9.2. * gnu/packages/elixir.scm (elixir): Update to 1.9.2. --- gnu/packages/elixir.scm | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm index 88ada71aea..144a8cc4e7 100644 --- a/gnu/packages/elixir.scm +++ b/gnu/packages/elixir.scm @@ -33,7 +33,7 @@ (define-public elixir (package (name "elixir") - (version "1.8.2") + (version "1.9.2") (source (origin (method git-fetch) @@ -42,7 +42,7 @@ (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1n77cpcl2b773gmj3m9s24akvj9gph9byqbmj2pvlsmby4aqwckq")) + (base32 "19yn6nx6r627f5zbyc7ckgr96d6b45sgwx95n2gp2imqwqvpj8wc")) (patches (search-patches "elixir-path-length.patch")))) (build-system gnu-build-system) (arguments @@ -63,9 +63,21 @@ "lib/mix/lib/mix/scm/git.ex") (("(cmd\\(['\"])git" _ prefix) (string-append prefix (which "git")))) + (substitute* '("lib/mix/lib/mix/release.ex" + "lib/mix/lib/mix/tasks/release.init.ex") + (("#!/bin/sh") + (string-append "#!" (which "sh")))) (substitute* "bin/elixir" - (("ERL_EXEC=\"erl\"") - (string-append "ERL_EXEC=" (which "erl")))) + (("ERTS_BIN=") + (string-append + "ERTS_BIN=" + ;; Elixir Releases will prepend to ERTS_BIN the path of a copy of erl. + ;; We detect if a release is being generated by checking the initial ERTS_BIN + ;; value: if it's empty, we are not in release mode and can point to the actual + ;; erl binary in Guix store. + "\nif [ -z \"$ERTS_BIN\" ]; then ERTS_BIN=" + (string-drop-right (which "erl") 3) + "; fi"))) (substitute* "bin/mix" (("#!/usr/bin/env elixir") (string-append "#!" out "/bin/elixir")))) -- 2.21.0 ------=_Part_2957_727507438.1572615904682-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 10:32:47 2019 Received: (at 37912) by debbugs.gnu.org; 1 Nov 2019 14:32:47 +0000 Received: from localhost ([127.0.0.1]:56768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQXyp-0004cp-GS for submit@debbugs.gnu.org; Fri, 01 Nov 2019 10:32:47 -0400 Received: from w4.tutanota.de ([81.3.6.165]:36330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQXcK-0003wB-0E for 37912@debbugs.gnu.org; Fri, 01 Nov 2019 10:09:32 -0400 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w4.tutanota.de (Postfix) with ESMTP id D81C210602A9 for <37912@debbugs.gnu.org>; Fri, 1 Nov 2019 14:09:25 +0000 (UTC) Date: Fri, 1 Nov 2019 15:09:25 +0100 (CET) From: =?UTF-8?Q?Oskar_K=C3=B6=C3=B6k?= To: 37912 <37912@debbugs.gnu.org> Message-ID: Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3786_624194671.1572617365800" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 37912 X-Mailman-Approved-At: Fri, 01 Nov 2019 10:32:43 -0400 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.0 (-) ------=_Part_3786_624194671.1572617365800 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Although I must note that the end-result ends up ruining the whole point of Elixir Releases. The point of an Elixir release is that you can package an application into a stand-alone item. It will copy elixir & erlang (etc) as well as your application into a single package, so you can run it without having elixir & erlang installed on your system. I guess the single dependency here is /bin/sh: as long as it exists, you can run the application from any system. If you were to generate a release with Guix, you would end up with scripts that depend on the Guix store. So you can not run the stand-alone without Guix. What is the solution to this? I would personally prefer to keep the actual behaviour (if possible) and if needed, disable the tests. Oskar ------=_Part_3786_624194671.1572617365800 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Although I must note that the end-r= esult ends up ruining the whole point of Elixir Releases.

The point of an Elixir release is that you can package an applicatio= n into a stand-alone item. It will copy elixir & erlang (etc) as well a= s your application into a single package, so you can run it without having = elixir & erlang installed on your system.

I gue= ss the single dependency here is /bin/sh: as long as it exists, you can run= the application from any system.

If you were to = generate a release with Guix, you would end up with scripts that depend on = the Guix store. So you can not run the stand-alone without Guix.
<= div style=3D"16px" text-align=3D"left">
What is the solution to this? I would personally prefer to ke= ep the actual behaviour (if possible) and if needed, disable the tests.
=

Oskar
------=_Part_3786_624194671.1572617365800-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 03 11:52:15 2019 Received: (at 37912) by debbugs.gnu.org; 3 Nov 2019 16:52:15 +0000 Received: from localhost ([127.0.0.1]:34996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRJ6t-00023s-El for submit@debbugs.gnu.org; Sun, 03 Nov 2019 11:52:15 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:35003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRJ6s-00023d-6y for 37912@debbugs.gnu.org; Sun, 03 Nov 2019 11:52:14 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0E3F920365; Sun, 3 Nov 2019 11:52:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 03 Nov 2019 11:52:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=Q+qQYGxPg2SljTMnCrzxNHb19c c5g2VkBKxKt2YhnRI=; b=PPuPTNBs0V+Z6dXunJbkgtMWBcJZzIoq5Y1jLQif0v 0UCUG85P6v6+w1BmkwZvSp2LKzEKpYxAiSYnYcsn1oc3XUoSGQfawePwWv6zRoBX w9JxAE3v4IrxN1dRQbbf88uq51KfMK1e1EpfY37vWAYTMmyXrhfaTPZSS/BaB8O8 8/YYKqBiBewK8JstOTDNvv8t6R4DSaQGOSnIqYw+leR1Chksl6edIGYXUTGo8+qv lnC5RmxhHwM85uM+I0rAuKD4k2GJM2Q9zewmlEw/VnnQ0ZOCzjBptaV2wWgvaZLP 7GHYeWuxQGn0nbiSh3JTzO1mq2u/MCjoDRxr+LvPQjow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Q+qQYG xPg2SljTMnCrzxNHb19cc5g2VkBKxKt2YhnRI=; b=NiCH6tVT+jXD0jYtFXRWCa MDRPDmBw/7Q3pvn5MJp/HZKexd1FStc3/510/ILpdacHZAOnjcaTleHCN7mORu8Z DoGsQaR3SZd8TKmmRlcxSrxuoiaU6YrDvTJIQbjmIu0+RvtgDcqsL3VhHdagdKDU hdigDTlqVxc2sQu4z1P/rbPorgkmSiooZFkHuFxYRVLtuTbEkvhvf/wn0Veq7etz a64/eREjuhgg30euVr6VdOmH7W3L4i6QgcOUf/cYknGhC75njDlcsrCX9KiHF2XS 6/Bhc5sjyPFYexO49kmdhQJhx8NLmWNmBPKjptUj45mMtHvlrDkp7tsQuFaOJjLQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudduuddgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtreejnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepie dvrdduiedrudelvddrudehtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 545998005B; Sun, 3 Nov 2019 11:52:08 -0500 (EST) From: Marius Bakke To: Oskar =?utf-8?B?S8O2w7Zr?= , 37912 <37912@debbugs.gnu.org> Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. In-Reply-To: References: User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sun, 03 Nov 2019 17:52:06 +0100 Message-ID: <8736f4q4w9.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37912 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Oskar K=C3=B6=C3=B6k writes: > Although I must note that the end-result ends up ruining the whole point = of Elixir Releases. > > The point of an Elixir release is that you can package an application int= o a stand-alone item. It will copy elixir & erlang (etc) as well as your ap= plication into a single package, so you can run it without having elixir & = erlang installed on your system. > > I guess the single dependency here is /bin/sh: as long as it exists, you = can run the application from any system. > > If you were to generate a release with Guix, you would end up with script= s that depend on the Guix store. So you can not run the stand-alone without= Guix. > > What is the solution to this? I would personally prefer to keep the actua= l behaviour (if possible) and if needed, disable the tests. The typical solution here is to reset the shebang after running the tests. I know there are a couple of packages doing this, but can't recall which at the moment. Can you try that? Thanks for working on it! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl2/BbYACgkQoqBt8qM6 VPq5DggAhJbMRBP3FoR9OHx9yeHs8B2CD69SvsOWx4Txyf8V9pUGEtCNAjbN3Vw6 wJe0HZu+pBZKQ6835iKZXQra4PE4PLNaNOp57Vu3PbVW2Yx/qM6DCCfPK1dhpoXW OdsmkcZE/r8POccH53t5etznwxAoDTg9lzqjJ1t1iJvkp0J7p8llSWDtihvELrhV jS4i54NiEUU/dyn6KCch/LNnmi07li7iaZN0w0doi+JBz3MW46ZARum/BjlTzDUV iahRo1KoqNtjHoZvv7UvhwuyuI6Sa7F8ZtJIHnc/5BMu02j+M/bl+X0zhJEMalMR fyBtBin0u0IiTFTBpjQpVLHTqTnzWg== =W5Ud -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 16 11:35:06 2019 Received: (at 37912-done) by debbugs.gnu.org; 16 Nov 2019 16:35:06 +0000 Received: from localhost ([127.0.0.1]:39638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iW12Q-0007e2-FU for submit@debbugs.gnu.org; Sat, 16 Nov 2019 11:35:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iW12O-0007dV-UD for 37912-done@debbugs.gnu.org; Sat, 16 Nov 2019 11:35:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iW12J-0005cv-Es; Sat, 16 Nov 2019 11:34:59 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47204 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iW12J-0000h8-24; Sat, 16 Nov 2019 11:34:59 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Oskar =?utf-8?B?S8O2w7Zr?= Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. References: <875zk4plty.fsf@devup.no> Date: Sat, 16 Nov 2019 17:34:57 +0100 In-Reply-To: ("Oskar \=\?utf-8\?B\?S8O2w7ZrIidz\?\= message of "Fri, 1 Nov 2019 14:45:04 +0100 (CET)") Message-ID: <87o8xbwzim.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37912-done Cc: Marius Bakke , 37912 <37912-done@debbugs.gnu.org> 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: -3.3 (---) Hi Oskar, Oskar K=C3=B6=C3=B6k skribis: >>>From f2eb88f567f93e578e3c2df76046fed4f45645f8 Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Oskar=3D20K=3DC3=3DB6=3DC3=3DB6k?=3D > Date: Thu, 24 Oct 2019 23:37:38 +0300 > Subject: [PATCH] gnu: elixir: Update to 1.9.2. > > * gnu/packages/elixir.scm (elixir): Update to 1.9.2. Thanks for the updated patch! I believe this addresses the comments that Marius made, and it builds fine for me, so I went ahead and applied it. Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 16 14:01:26 2019 Received: (at 37912) by debbugs.gnu.org; 16 Nov 2019 19:01:26 +0000 Received: from localhost ([127.0.0.1]:39705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iW3K1-0002jA-J2 for submit@debbugs.gnu.org; Sat, 16 Nov 2019 14:01:26 -0500 Received: from w4.tutanota.de ([81.3.6.165]:41460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iW3Jy-0002iv-0o for 37912@debbugs.gnu.org; Sat, 16 Nov 2019 14:01:24 -0500 Received: from w2.tutanota.de (unknown [192.168.1.163]) by w4.tutanota.de (Postfix) with ESMTP id 26AC5106019B; Sat, 16 Nov 2019 19:01:16 +0000 (UTC) Date: Sat, 16 Nov 2019 20:01:16 +0100 (CET) From: =?UTF-8?Q?Oskar_K=C3=B6=C3=B6k?= To: 37912 <37912@debbugs.gnu.org> Message-ID: In-Reply-To: <87o8xbwzim.fsf@gnu.org> References: <875zk4plty.fsf@devup.no> <87o8xbwzim.fsf@gnu.org> Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_27770_1245448669.1573930876151" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37912 Cc: Marius Bakke 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.0 (-) ------=_Part_27770_1245448669.1573930876151 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Thanks. I went ahead and did some further reading on the constraints of Eli= xir Releases and in the end it seems the current behaviour is actually just= fine. The documentation itself notes that there is already effectively a dependen= cy on package managers: > In addition to matching the target triple, it is also important that thet= arget has all of the system packages that your application will need atrunt= ime. A common one is the need for OpenSSL when building an applicationthat = uses :crypto or :ssl, which is dynamically linked to ERTS. The othercommon = source for native dependencies like this comes from dependenciescontaining = NIFs (natively-implemented functions) which may expect todynamically link t= o libraries they use. > These system packages are typically managed using the system package mana= ger,but if necessary, you can also bundle the compiled object files in the = release,as long as they were compiled for the same target. This means that if you're creating an Elixir Release with Elixir built in G= uix, you should also have the needed Guix packages installed on your target= . Optionally the user can create a script that modifies the release to be c= ompatible with the target (e.g. replace /gnu/store/* references with /bin/*= ). Oskar Nov 16, 2019, 18:34 by ludo@gnu.org: > Hi Oskar, > > Oskar K=C3=B6=C3=B6k skribis: > > >>From f2eb88f567f93e578e3c2df76046fed4f45645f8 Mon Sep 17 00:00:00 2001 > >> From: =3D?UTF-8?q?Oskar=3D20K=3DC3=3DB6=3DC3=3DB6k?=3D >> Date: Thu, 24 Oct 2019 23:37:38 +0300 >> Subject: [PATCH] gnu: elixir: Update to 1.9.2. >> >> * gnu/packages/elixir.scm (elixir): Update to 1.9.2. >> > > Thanks for the updated patch! I believe this addresses the comments > that Marius made, and it builds fine for me, so I went ahead and applied > it. > > Thank you! > > Ludo=E2=80=99. > ------=_Part_27770_1245448669.1573930876151 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi

Thanks. I went ahead and did some further reading on the constraints of Elixir=20 Releases and in the end it seems the current behaviour is actually just=20 fine.

The docume= ntation itself notes that there is already effectively a dependency on pack= age managers:
> In addition to matching the= target triple, it is also important that the target has all of the system packages that your application will need at runtime. A common one is the need for OpenSSL when building an application that uses :crypto or :ssl, = which is dynamically linked to ERTS. The other common source for native dependencies like this comes from dependencies containing NIFs (natively-implemented functions) which may expect to dynamically link to libraries they use.
> T= hese system packages are typically managed using the system package manager= , but if necessary, you can also bundle the compiled object files in the rele= ase, as long as they were compiled for the same target.

This means that if you're creating an Elixir Release with Elixir built in=20 Guix, you should also have the needed Guix packages installed on your=20 target. Optionally the user can create a script that modifies the=20 release to be compatible with the target (e.g. replace /gnu/store/*=20 references with /bin/*).

Oskar

=

Nov 16, 2019, 18:34 by ludo@gnu.org:
Hi Oska= r,

Oskar K=C3=B6=C3=B6k <oskar@maatriks.ee> s= kribis:

>>From f2eb88f567f93e578e3c2df76046fe= d4f45645f8 Mon Sep 17 00:00:00 2001
From: =3D?UTF-8?q?Oskar=3D20K=3DC3=3DB6=3DC3=3DB6k?= =3D <oskarkook@maatriks.ee>
Date: Thu, 24 Oct 2019 23:37:38 +0300
Subject: [PATCH] gnu: elixir: Update to 1.9.2.

* gnu/packages/elixir.scm (elixir): Update to 1.9.2.
<= /div>

Thanks for the updated patch! I believe t= his addresses the comments
that Marius made, and it builds fine for me, so I went ahead and applied
it.

Thank you!

Ludo=E2=80=99.

------=_Part_27770_1245448669.1573930876151-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 17 13:29:17 2019 Received: (at 37912-done) by debbugs.gnu.org; 17 Nov 2019 18:29:17 +0000 Received: from localhost ([127.0.0.1]:42588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWPIS-0004ST-UM for submit@debbugs.gnu.org; Sun, 17 Nov 2019 13:29:17 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:46795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iWPIP-0004S3-7N for 37912-done@debbugs.gnu.org; Sun, 17 Nov 2019 13:29:13 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 73F0B655; Sun, 17 Nov 2019 13:29:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 17 Nov 2019 13:29:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=Zy391PmDba4cjQewT6/07RNjpX 8eWu+bp6EmrkESXAY=; b=rIQE/UcipZKzJk5NvwkKbcVN9d4GwezMgQX5WmiKEP 0M4/ej6z6Qr8oYh28plvx0jOjsRZgNRNG5D8YRMFRK7YaAdhmPCxK/xuF1osofTW 158INhZ5PWpSONGaWOsyZ44oMIAGqdFeiulXVc3dDUVwb/DvH9bVg+thOBsaJWf4 jPZugm3zCLvxHVAsUvmdp4IMEswHYpqqHrtNzTKWhgPUsyKI2KDaxSiHuo6YBHMR f+aVrlLCePE91OyTB5wfipngbCxDL3f8T7uFcyW0GVf8agowGmY2OJhBVigr6rX8 iJ47ioLcy7Ugoemsp4PAwlULMF+HnTcHAGT7GHH/mrjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Zy391P mDba4cjQewT6/07RNjpX8eWu+bp6EmrkESXAY=; b=at28kIp2EGhPr8KkMSSlkw eMB/W4s6VZ5asBmBhQ/fg9iH78PzfaYDITa3okeMmpS8kIRMK9YDNqfwA7xPAQjP PQdFSVW9XBbw1VfsBlYTX2Ue3iZ9SsusplLBa9dpjLU4YqYkFFse04YMrvMow+0f yRdO13wkU2X49spi9bIuxuH1sqUo8wo/jhC0moVURsqeenr/uuEehC1C2INAK3K1 0uQRkxiv4CwntE9iM27lpY4I7+5FzbgDKaIIxibflPc41Jj4fR+6mQmOZRkhh8ZM Nq1Ex/502ksQnbCvWFSXi+P5/GPbTGJ0ZCklQYshDta5IjefvtgrCqtXwCOmoLCA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudegfedgvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtreejnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepie dvrdduiedrudelvddrudehtdenucfrrghrrghmpehmrghilhhfrhhomhepmhgsrghkkhgv sehfrghsthhmrghilhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (ti0006q161-0149.bb.online.no [62.16.192.150]) by mail.messagingengine.com (Postfix) with ESMTPA id 833903060062; Sun, 17 Nov 2019 13:29:06 -0500 (EST) From: Marius Bakke To: Ludovic =?utf-8?Q?Court=C3=A8s?= , Oskar =?utf-8?B?S8O2?= =?utf-8?B?w7Zr?= Subject: Re: [bug#37912] [PATCH] gnu: elixir: Update to 1.9.2. In-Reply-To: <87o8xbwzim.fsf@gnu.org> References: <875zk4plty.fsf@devup.no> <87o8xbwzim.fsf@gnu.org> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Sun, 17 Nov 2019 19:29:05 +0100 Message-ID: <877e3yfjbi.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 37912-done Cc: 37912 <37912-done@debbugs.gnu.org> 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi Oskar, > > Oskar K=C3=B6=C3=B6k skribis: > >>>>From f2eb88f567f93e578e3c2df76046fed4f45645f8 Mon Sep 17 00:00:00 2001 >> From: =3D?UTF-8?q?Oskar=3D20K=3DC3=3DB6=3DC3=3DB6k?=3D >> Date: Thu, 24 Oct 2019 23:37:38 +0300 >> Subject: [PATCH] gnu: elixir: Update to 1.9.2. >> >> * gnu/packages/elixir.scm (elixir): Update to 1.9.2. > > Thanks for the updated patch! I believe this addresses the comments > that Marius made, and it builds fine for me, so I went ahead and applied > it. > > Thank you! Whoops, this patch fell through the cracks, thanks for taking care of it. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl3RkXEACgkQoqBt8qM6 VPov+wgAlHIIjQOi/FgSm+U5XS2pCkktpuVLtFOUZNSqpe9YzyDtrFY+k0iweYb0 imTPa7hKAghoEqLnhQkGoDuYCRW4Xzrx9gmDdH0dPzB9k2zhRivrqO8QDlsAPdIs M5MgY/nNP5liIiLSB1/4YV1kTPOI01nEmwYuf+uDzkBkFSgLPQug/JFLYhFZT5xH fvdvIrRrfrXcSXvE+sMzDsIfJomi2nfDcgutP/n/gFN4Drk0Q28lnr3HHyn/8zoU njAVIWxeyXLE7UO36CI4hT4KweMxmvjn2Lmdflm1Hl7rsD04qMVVYvl78idpfZQP +Xxoo4qc/Ca4Ur3uds8OOv1lCLej1w== =DEQh -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 13 11:07:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 16 Dec 2019 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator