From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eGNyAm70UmBwPwAA0tVLHw (envelope-from ) for ; Thu, 18 Mar 2021 06:34:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id Np3IOW30UmBAWgAAB5/wlQ (envelope-from ) for ; Thu, 18 Mar 2021 06:34:21 +0000 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 7D60C24920 for ; Thu, 18 Mar 2021 07:34:21 +0100 (CET) Received: from localhost ([::1]:50724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lMmEe-00037d-IC for larch@yhetil.org; Thu, 18 Mar 2021 02:34:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lMmEM-00035E-6R for guix-patches@gnu.org; Thu, 18 Mar 2021 02:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lMmEL-0000tB-Va for guix-patches@gnu.org; Thu, 18 Mar 2021 02:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lMmEL-0005hA-Rb for guix-patches@gnu.org; Thu, 18 Mar 2021 02:34:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47187] [PATCH] gnu: Add c-lightning. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 18 Mar 2021 06:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47187 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ZmnSCPxj Cc: "47187@debbugs.gnu.org" <47187@debbugs.gnu.org> Received: via spool by 47187-submit@debbugs.gnu.org id=B47187.161604919921775 (code B ref 47187); Thu, 18 Mar 2021 06:34:01 +0000 Received: (at 47187) by debbugs.gnu.org; 18 Mar 2021 06:33:19 +0000 Received: from localhost ([127.0.0.1]:44716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMmDf-0005f8-7W for submit@debbugs.gnu.org; Thu, 18 Mar 2021 02:33:19 -0400 Received: from mail.zaclys.net ([178.33.93.72]:56927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lMmDc-0005es-5o for 47187@debbugs.gnu.org; Thu, 18 Mar 2021 02:33:18 -0400 Received: from [192.168.0.27] (82-64-145-38.subs.proxad.net [82.64.145.38]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12I6X9T4049359 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 18 Mar 2021 07:33:09 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12I6X9T4049359 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616049189; bh=hkpHsm3tQSls8l/q01QDG8pURoUb/H62Lz8B3P3V5Nc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=J6ooI5cZYxzgot/O8Fo/FZgHsPxoMcq6wszc6ce8Ub1xW4VSqZD65hJheYcLqjkHM M0+YOAQW2dU0EHPev0x98zygQtODoTvikob+C0FHq/RAz/LamZ4tvhzw64uOWQHxYz xAccLfaKs1W+HN4Sl3JjiHuPGfw5ZdKQ1lang8jM= Message-ID: Date: Thu, 18 Mar 2021 07:33:04 +0100 In-Reply-To: References: <81c654076d3c07c0f7d1657b4e44dce29a01eca2.camel@zaclys.net> <9436292ea880757cf47a5ce59879e6e7098ff195.camel@zaclys.net> <8f7d4c04d96fdf8cf1239c476c4c869f92446ada.camel@zaclys.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-XIvGNd8ZJ5PYKJsBIQ+V" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 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" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616049261; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=hkpHsm3tQSls8l/q01QDG8pURoUb/H62Lz8B3P3V5Nc=; b=UWyho/ZYESEm1AxVr5n9sbmwXtkJPzGLOM+eMOUr+ktM8HqjokPWM/i6S6RzvjW9V+jedv ulknSCd7rgRFuobgpT1VU3/seVmkVB0ZEFdSQ7geKJV9V0fGtGCnYBiWT2nbwzcDLeZcfL 7UEWNxN0iUuKwMD+TywkB0dfakEU1Yf9+gym+peaKOTCx5eBKCNTP/Qgxg2EmLJRSwYNnd L4gKTEdnEWvCDYPRIN6NMpt1XqS2Z20rFv9Sy5HjekS6oKRBUKU6jl4d+mP56qWwr+uEHa Hwu5AehLnFZP1sD5KRhuW8uBi2Wx6BU1kAphQqQAm8qc79tWodvhSV8Vh7G+Xw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616049261; a=rsa-sha256; cv=none; b=b9OC4r+gcE03hA6c+7jMDXYuV6Kce8NUb760SXLF0JA6/7b5wIBTkMd/2hKD0g/ZB6zRcN o1ORu/bpai3IBk/r5tI09ULs/QjM3r+pJF0huRYQEFN70/C4Wat7hQ+N51oBl8cLbR0EeZ ABl5UdDi+bC0gfLBINchS8keXo9bw3YlEvDu9O38vgSClgbgSQKSKkXi87AP4ldk+dXw7u AJIsya0PC7NHgnCOJptYFe3Zjh/cMlil8eSMut2YmgiJtjtLdS2E5v6bRbzD70L17DgR94 dbEmjzVwqmA+Ykdo/0FPIlgmI243u0bzyE/t0ovIx2tmOSG5C3FoW1BsOLsbzw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=J6ooI5cZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -5.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=J6ooI5cZ; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7D60C24920 X-Spam-Score: -5.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: valoHwLPlAup --=-XIvGNd8ZJ5PYKJsBIQ+V Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2021-03-17 at 03:42 +0000, ZmnSCPxj wrote: > I understand. >=20 > This will require a largish amount of work I think. >=20 > Would this technique be acceptable? >=20 > * `add-before 'configure 'unvendor-externals` > * `rm -rf` the vendored externals. > * `ln -s` the needed `.h` and `.la`/`.a`/`.so` files from the > `inputs` to the expected paths within the `external/` directory. >=20 > ? Maybe simply add an option like --with-system-libbacktrace etc. in the build system? And yes remove externals, I think that you should use a snippet in the origin field instead of a phase for that. >=20 > We have a `requirements.txt` file which contains this, I duplicate > below: >=20 > ``` > # Dependencies required to build and test c-lightning > https://github.com/ElementsProject/libwally-core/releases/download/releas= e_0.8.0/wallycore-0.8.0-cp36-cp36m-linux_x86_64.whl; 'linux' in sys_platfor= m and python_version =3D=3D > '3.6' > https://github.com/ElementsProject/libwally-core/releases/download/releas= e_0.8.0/wallycore-0.8.0-cp37-cp37m-linux_x86_64.whl; 'linux' in sys_platfor= m and python_version =3D=3D > '3.7' > https://github.com/ElementsProject/libwally-core/releases/download/releas= e_0.8.0/wallycore-0.8.0-cp37-cp37m-macosx_10_14_x86_64.whl; sys_platform = =3D=3D 'darwin' and python_version =3D=3D > '3.7' > mrkd ~=3D 0.1.6 > Mako ~=3D 1.1.3 >=20 > # Dependencies from pyln-client > Sphinx ~=3D 3.4.0 > flake8=3D=3D3.7.8 > recommonmark>=3D0.7.* > sphinx-rtd-theme=3D=3D0.4.2 > sphinxcontrib-websupport=3D=3D1.1.0 > tqdm=3D=3D4.32.2 >=20 > # Dependencies from pyln-testing > Flask=3D=3D1.1.* > cheroot=3D=3D8.5.* > ephemeral-port-reserve=3D=3D1.1.1 > filelock=3D=3D3.0.* > flaky ~=3D 3.7.0 > psutil=3D=3D5.7.* > psycopg2-binary=3D=3D2.8.* > pytest-rerunfailures=3D=3D9.1.1 > pytest-timeout ~=3D 1.4.2 > pytest-xdist ~=3D 2.2.0 > pytest=3D=3D6.1.* > python-bitcoinlib=3D=3D0.11.* >=20 > # Dependencies from pyln-proto > base58 ~=3D 2.0.1 > bitstring ~=3D 3.1.6 > coincurve ~=3D 13.0.0 > cryptography ~=3D 3.2 > mypy ~=3D 0.790 > pysocks ~=3D 1.7.1 >=20 > # Dependencies from pyln-spec > # None > ``` Thank you, I am going to go through them. > Incidentally, we also install some Python modules. > How do I "properly" export the Python modules within Guix? I will ask someone else here but you might have to mix the python- build-system in. L=C3=A9o --=-XIvGNd8ZJ5PYKJsBIQ+V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBS9CAACgkQRaix6GvN EKY1Lw/8DksDMQmSXp/4ghYlB5LZDaAwIvIEebtMVVve7ULQFgHoJKhRtFpj4Bes 25rKXL6MCXpFGxwsR0++z0ItPR2WCzq0Y8LIUEBufWIv8H1JAr8K/LrqBS6J4TO9 FuvXz0rdqbuUM3JFUBLsHkI9DfNSMlh62Pq5Z891G/SIClPeXR1WTr43CHTSz3hG j5vB88n4CF4Jco5TrM6RBxgJg+djVx79+k4W35xrqNNlb2xY1umscXrsc6C6VVBz 6GkELEsEyCosIUCFQu42KkLG7gLctxOL7LN+VmWYinsyYOtYSGzBp+jX5TZ14ap9 eA1VDbVCW9fIn0YZoUnLg3PXXPfeqJxmNC6d6T7U1eOM+ISQ7DtH1S/6SOoeCgm6 NDE7iQNsqm3AMlnRC59fRIfb0XCWlRTnxB3d8Qj7IOSQr5SYP/bMwiiPl1YwCerI lAF6gRqGa9EeYm8oLbkPZV8qNpu93OytmsUwgkeLBx15xGPr3Fvwk0xtDTBZvDGV NuA48flNy3dGZapGser4RNwfSbXwccGNnVm4HdZJ8fq36QszpxgJv++CxigXo7Jg zOz62S4E5pz4z68FO1P6cfvNolLgXKe4lFSb8f6DK60XMF9C3gQtS8O9Mc9ScEe+ Z3D4vKhXEqq1uVXdIDo7PALwrl5MLnsdbp4jjo38MVnhoAl2xFQ= =SuGc -----END PGP SIGNATURE----- --=-XIvGNd8ZJ5PYKJsBIQ+V--