From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aE/iFULQdmJ0xwAAbAwnHQ (envelope-from ) for ; Sat, 07 May 2022 22:02:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8ATIFULQdmJ5vgAA9RJhRA (envelope-from ) for ; Sat, 07 May 2022 22:02:10 +0200 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 E834988F7 for ; Sat, 7 May 2022 22:02:09 +0200 (CEST) Received: from localhost ([::1]:57862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnQcy-00052J-QF for larch@yhetil.org; Sat, 07 May 2022 16:02:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnQcs-000527-Qd for guix-patches@gnu.org; Sat, 07 May 2022 16:02:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnQcs-0000hl-Hu for guix-patches@gnu.org; Sat, 07 May 2022 16:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnQcs-0001rH-CE for guix-patches@gnu.org; Sat, 07 May 2022 16:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55248] [PATCH 1/7] gnu: racket: Update to 8.5. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 May 2022 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55248 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath , Liliana Marie Prikler , 55248@debbugs.gnu.org Received: via spool by 55248-submit@debbugs.gnu.org id=B55248.16519536877098 (code B ref 55248); Sat, 07 May 2022 20:02:02 +0000 Received: (at 55248) by debbugs.gnu.org; 7 May 2022 20:01:27 +0000 Received: from localhost ([127.0.0.1]:52984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnQcJ-0001qQ-AQ for submit@debbugs.gnu.org; Sat, 07 May 2022 16:01:27 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:48834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnQcH-0001qE-HS for 55248@debbugs.gnu.org; Sat, 07 May 2022 16:01:26 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id Tw1P270014UW6Th01w1PXN; Sat, 07 May 2022 22:01:23 +0200 Message-ID: <63e0a11d577741fc1a57e0d1ea9e0cc4d793ddb0.camel@telenet.be> From: Maxime Devos Date: Sat, 07 May 2022 22:01:15 +0200 In-Reply-To: References: <2290ebb81a8acaa959eff9f60694330e495e3a19.1651594312.git.philip@philipmcgrath.com> <7b3da393016daa21c35dd27fc086b03339435e9d.camel@ist.tugraz.at> <9d2423b2-aacb-4869-b3a7-e4ac885cc36c@philipmcgrath.com> <03612de279ff26c801eb02a2d0aaa03fecfe59f9.camel@ist.tugraz.at> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-pv88gEOK7jN9bWMdyioU" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1651953683; bh=Qkp3v2QLI8wl+BRorlvAlEZNVv9E1KLKN9xA/1h0Z0s=; h=Subject:From:To:Date:In-Reply-To:References; b=MKpB7fD/RY4jhZ/JDn3kVQwVuzjVi4bfXLR6WDfdVz7aaBKudJlds3pEfk6EHZfol KG/iJPIjFSLwwYrlpQm+JNylD5ofFR2nJ8xy+gMwd1ZjiiSwA19H+ix0WAbcnJzgwA CjfnBmCIKTGxxFEMRsh0OM2F79Xzuic9qlgtiyP9Wr3ybB/3Lom2mY+pXdi56lnO2B hERIx8SI9sHKT1L5PXG/toEfzZnDghjrgVJpYp7zyDa+yUa7hrkQr+ArBCgXynyNBF YPrz5jcIwwJWyPfOKKku+qAuNQN2sPK7icm5BEO2ot9ThN0P1BeqSK1I7BIb3scISu kjDHlCv8ocaIQ== 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651953730; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Qkp3v2QLI8wl+BRorlvAlEZNVv9E1KLKN9xA/1h0Z0s=; b=Gh2i9DUwUK26ss11K4WdN0dVSaQptzEQtuvj6O2+CUb62/MCabZma+rCWHfuWfOnaWZTJE 4tn8bx1ovum2pSZZuwaZIxW0LHlTfsjJfVmTvYFCBxagRyC5o5BloEyNswfY0wsmWD68qb 5UPLKtZIBDT9dIbwwR5rJORRBy+YbEJaAYdRjmxGMmmhPRtOv2SlujfHBkA7b/IFrjzrMt DvFT+W3PjVPpbu0FNi2b3al6nzsUKGmY31LoGLQfILTwxPBa0pcBS2QDfZgKH6wWAOx5MT 45cN6Y4XZ42dLbQLKpJsGaHoDUj7J7MP7TxPeYT06WI7eZ0I3kIhXxETXoyu0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651953730; a=rsa-sha256; cv=none; b=A/sIAr+dDtTEICswoq+ih4HrAEOcUZHU7IAgOmya6PWlKK6sx8Lr4nWYhAD9lmUBg6QBsE Ii4ls9JxD5zlGYiweDp8lcRbaTGFxsGTRCXjeZKg0+h4h2afr43xXqSjXIZ5Kp+lreBDb7 rC9DnOv+UEMKmMNHEWAIxVVt39092sPHvGlGsYY6C+PAUye3z79W4PwA75qlMaRjOn1m1r 382TrSdmGm6IiTs8UlGTbhD0TdJr0qaujtAXZb3iO6NOljnSSc8K0SettbEFe59MwPXDEq Ywy40DIZ8bB69rJAMbJvskd/ybG68qFFku6Pcs48PzWrHoVJ+5JNCjgVrXfuvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="MKpB7fD/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.60 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="MKpB7fD/"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E834988F7 X-Spam-Score: 4.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: yITF+YkO8QRm --=-pv88gEOK7jN9bWMdyioU Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Philip McGrath schreef op za 07-05-2022 om 14:39 [-0400]: > With the caveat that all analogies are imprecise, why does Guix prefer= =20 > to avoid relying on LD_LIBRARY_PATH for C libraries? Because when using LD_LIBRARY_PATH, you not only need to install the binary in a profile, but also it library dependencies. Now, suppose that Guix didn't use RUNPATH or RPATH and instead relied on LD_LIBRARY_PATH. Now suppose you have a binary 'vlc' in /usr/bin (on a foreign distro) and 'openssl.so' in ~/.guix-profile/lib/... . Note that 'vlc' has 'openssl' as a dependency (for streaming over the Internet). Then suppose you run 'vlc'. The dynamic linker will see =E2=80=98we have a $LD_LIBRARY_PATH, let's use the openssl.so from ~/.guix-profile/lib instead of /usr/lib!=E2=80=99. However, it (could) turn out that the opens= sls from the two different locations have an incompatible ABI, causing a crash or such. Also, if you depend of LD_LIBRARY_PATH (without wrap-program), then you can't run things directly from /gnu/store. In the same manner, GUILE_LOAD_COMPILED_PATH (=3D Guile's mix of LD_LIBRARY_PATH (for 'guile') and LIBRARY_PATH (for Guile's compiler, e.g. the cross-module inlining) is a bit suboptimal, Guile binaries need to be wrapped (wrap-program / wrap-script). Would be nice to have a RUNPATH/RPATH equivalent ... Greetings, Maxime. --=-pv88gEOK7jN9bWMdyioU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYnbQCxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7r3YAQDo2gUdpZDmM6rLKCP/R2GHM73q HHHzywJNQIDnFLvOwgD+LEI1/Bul2wZ8x2OjlF28FpZBhcfLeAY5b9UEfp5YYwc= =k2jT -----END PGP SIGNATURE----- --=-pv88gEOK7jN9bWMdyioU--