From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 21 17:42:19 2021 Received: (at 47187) by debbugs.gnu.org; 21 Mar 2021 21:42:19 +0000 Received: from localhost ([127.0.0.1]:55582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO5pz-0002VC-Gq for submit@debbugs.gnu.org; Sun, 21 Mar 2021 17:42:19 -0400 Received: from mail.zaclys.net ([178.33.93.72]:46255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO5pv-0002Ux-EY for 47187@debbugs.gnu.org; Sun, 21 Mar 2021 17:42:18 -0400 Received: from guix-xps.local (lsl43-1_migr-78-195-19-20.fbx.proxad.net [78.195.19.20] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12LLg8QW027468 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 21 Mar 2021 22:42:09 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12LLg8QW027468 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net 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=1616362929; bh=g94fGTiBcEYzExaLil1jWlMLh3PlLms1NtlI3gWFMrM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=oI11nuWGs190+xFn9Wi1Ry1cZ/3yeX5CObV9R1JG6MSlph4dDjB3Hdl5Hw7ZsBwUb sXrsb8ygip5YQ91DkWwOAevW9XbwxTR9Awjnag7geuskXTj8INOXuNRBzjg6N10Rmi wlWUuA5WNDsYFm63y3Dk9xwZTSNIfCqEu5z6QVFc= Message-ID: <2e63a42572d05d3b3b0ecadfb3bf214c719ab560.camel@zaclys.net> Subject: Re: [bug#47187] [PATCH] gnu: Add c-lightning. From: =?ISO-8859-1?Q?L=E9o?= Le Bouter To: ZmnSCPxj Date: Sun, 21 Mar 2021 22:42:08 +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="=-9De5vtWPhjgFp+sQksVd" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 47187 Cc: "47187@debbugs.gnu.org" <47187@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 (-) --=-9De5vtWPhjgFp+sQksVd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! > Okay. >=20 > It is somewhat unclear to me however how to discover where the > library is located. > As far as I understand how autotools does it, it looks at some > standard locations on `/`, but I am uncertain if that is how it > actually works. >=20 > For example if `libwally-core` is separately packaged, obviously it > would install into a `/gnu/store/*` via a `--prefix` override. > And if the dependent package were using autotools, it is somehow able > to magically find where the `lib*.a` file is. > However, C-Lightning does not actually use autotools (its build > system predated my participation, I offered to port to autotools but > this was declined), so I somehow need to emulate what autotools does > in `--use-system-libraries` mode. >=20 > I probably have to go hack some autotools package that trivially > depends on `libwally-core` and see what the exact shell script is > generated. pkg-config if your deps provide .pc files! Otherwise I am actually not sure of the lookup strategies. > Note that AFAIK the Python bindings do not actually invoke any of the > C-Lightning binaries, they just open the UNIX socket to the c- > lightning daemon, so I think there is no need for `c-lightning` > itself as an input. Alright! > Regards, > ZmnSCPxj L=C3=A9o --=-9De5vtWPhjgFp+sQksVd 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+xax3g6RRaix6GvNEKYFAmBXvbAACgkQRaix6GvN EKZCgA/+LT7lH7odRu8Z9FW0RAqA7d3g+X/JHz5XKEQ3OaR8JR5GYZtZNDQ+jycf 6CiFRMQtrO+74+1Z9K1PVgHDt5leQP5BHofjMAOBt8HswtL8Y4CqgxijrupgOZYu BYO9tKU4kq/HJUT3e25cnIlknmssS3cbQ6+bydZ9iZ5I3Oe6VH0Fm7kxqLrGuYQX EJ4Xs0hcMGSSDUf+7QEpaY+BYQP9NJKK4pL+nSchr7OYXPEK4AinteL5jsaZIgSd Q1udpHzj5F4GjZbhvJbQUtBbiF/gZWCXPdARBh3U/SMj1TFgIxhV9NHEl9JPxZU1 hIuBPZ9z2V+Pt+8anXsYKqerDPSkAB1swsiQ41DZIux0A4bLw9HAfyxXLVh1MJuh UZfO5yNToBX+wEs2/hH10xH2URWZA5zoL0bFaLb08ys5U9np5Yz8/Aj+nQjnOr1H NUUxRfZ2DCT9HX5R76aVRfKHn0cVYI8F2Ah/s8rLk+NzO0lBEEMDC+mY+rA6HN4Y 8At+mT5MUhpqj31NoVezJcTcxZ/QpCcYDMUuLiJZSPFSHRalAEJuHt5DB2v+/zYA tm4PFYJ1U/IbsKpLmZjQFEVDK4o2VFWlAoAPARbI1RVChpVVBxwK/lMFMSwmxXWV t/5Tx/O5GEBjoJRskVFS3F8W6VkZ9fikgCTU2W05h3PUHji7oHQ= =dO1S -----END PGP SIGNATURE----- --=-9De5vtWPhjgFp+sQksVd--