From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MJl2FQp37GEWAgEAgWs5BA (envelope-from ) for ; Sat, 22 Jan 2022 22:28:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8CUZEgp37GH9KwEAauVa8A (envelope-from ) for ; Sat, 22 Jan 2022 22:28:42 +0100 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 D76083E805 for ; Sat, 22 Jan 2022 22:28:41 +0100 (CET) Received: from localhost ([::1]:57152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBNw9-0001Oo-3t for larch@yhetil.org; Sat, 22 Jan 2022 16:28:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBNvW-0001Mj-F0 for bug-guix@gnu.org; Sat, 22 Jan 2022 16:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBNvW-0001j8-2G for bug-guix@gnu.org; Sat, 22 Jan 2022 16:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBNvV-0007ID-Vp for bug-guix@gnu.org; Sat, 22 Jan 2022 16:28:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#22138: Search paths of dependencies are not honored References: <87bn9yk5mf.fsf@gnu.org> In-Reply-To: <87bn9yk5mf.fsf@gnu.org> Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 22 Jan 2022 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22138 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 22138@debbugs.gnu.org Received: via spool by 22138-submit@debbugs.gnu.org id=B22138.164288684027980 (code B ref 22138); Sat, 22 Jan 2022 21:28:01 +0000 Received: (at 22138) by debbugs.gnu.org; 22 Jan 2022 21:27:20 +0000 Received: from localhost ([127.0.0.1]:38079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBNup-0007HE-Lp for submit@debbugs.gnu.org; Sat, 22 Jan 2022 16:27:20 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:56682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBNun-0007H5-K2 for 22138@debbugs.gnu.org; Sat, 22 Jan 2022 16:27:18 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id lxTF2600c4UW6Th06xTF0H; Sat, 22 Jan 2022 22:27:15 +0100 Message-ID: From: Maxime Devos Date: Sat, 22 Jan 2022 22:27:15 +0100 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-5OiposbPEsGrY0s7KLlJ" 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=1642886835; bh=h1lwN0CUx1aZwg4pVJNTEEawgTrNT8tl5UL/tzYthWE=; h=Subject:From:To:Date; b=GETuXrNmEi1JpeHNPTrI+Frp8VHw1JIQbvVgBDNHZZTSgbvhdlzPpieT4n6GhvPY2 yE5L2SOb9H0j5R003DC/bJuaopQFhOMwDayP6fAsLgcsc2A6rDGGDCsIi1vYM8E5+5 GIZrCPc12iS3f6ok2bVHmY7QMHchq0kU48wxM5xeQoow63RNK58jh9BosgRqjcz3z8 SniofspcR0hy2tHh1tyY5NEOxaHh8OPMbcUOWefs/B7TYxj/Eds3c8nhdf6l4Xm9v8 6/tLrmDjrtUtnestKO8s3FBEr8bx6Y0fsHIpOg6qujMgZpJF5HMMyaPRioOeOc6mRn QN9IO4ax18j6w== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642886921; 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=h1lwN0CUx1aZwg4pVJNTEEawgTrNT8tl5UL/tzYthWE=; b=mQfT/A0E1rd/MpRPWxKl/bYouRS4AG/SsVHoQIBA8kkRtu1d30hWcyUqs/9im/FlfBgSmq vSa2/N/fg9dPJSdIS14wtTYhnAwfyv1VMItDCS+xfTeFQj3AQb1SqUsfNUzvtk7osaALUV 42rThsb159GnMrc4xlFhwng0KWZojuU7KTRVXYdcyi+FUwyBL/3lOuDI1owWlYzVjHqCTX eCWvpR8zb6r46bH+3uqlUSZ3pB0p7TP5eIP1Er7ztww4DtR6zD4WnEEBH4cuB1vpkbolwq F+VvVgTQgUVTlySx6kKN3MFM6Pk5ikCwyKge7IZV3nEW05j++NBu1D6joWs9Sw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642886921; a=rsa-sha256; cv=none; b=o1KpYE67ddzGbPo+u5Ns1ubFXhHLzzEaRqM1IwF8YEfSNrJs511cNVmA4GnqGINAKDeERs DCtKx8VOjHzmmbTKzubgfYi5sygCQxda2rBo0jtmsv68EYAX077d/q3nxSEesudm3DYste H35JJ0v098IyUB2HO6V8iQEN4gUEh9jxjlaQtWIueUilGHw/feGm3GZl1/nuHkxHaZVWmh UhI5yVJUI8GZ5KAgHHN4J+65ALpehtop2x+WA38UjZO7ojhClyYGIyOHtN8y58G25kYZmb Tgy5jvWKwue8eHZtYEJ/7sooY+XDtr45UMO7bBJ15F5OW/uXMxGG3ZHfUW5nhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=GETuXrNm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=GETuXrNm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D76083E805 X-Spam-Score: -4.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: DRSIbR1QvTm8 --=-5OiposbPEsGrY0s7KLlJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On second thought, honouring search paths of dependencies (filtered by looking at the references?) would solve much more problems than it could create -- a theoretical =E2=80=98problem=E2=80=99 is that mor= e environment variables than strictly needed might be defined (see e.g. the wrap-program example) but it doesn't seem that it would create problems in practice. There's a limitation to keep in mind though: static libraries. Suppose we have a static library variant curl/static tht links against openssl:static. Then due to the static linking, curl won't keep a reference to openssl:static (*), so there won't be a SSL_CERT_DIR/FILE search path. (*) Actually, that might wrong, libcrypto.a keeps a reference to=C2=A0 /gnu/store/plr00nij45964cyy7sfcg5rcsi8hks0h-openssl-1.1.1l. For some examples in the wild where this kind of propagation(*) of search paths is useful: all packages using ncurses (TERMINFO_DIRS), openssl (SSL_CERT_DIR/SSL_CERT_FILE), all packages using glibc (GUIX_LOCPATH) -- basically all software(!). (*) it's not propagated-inputs but the concept doesn't seem completely unlike. As such, I agree with the concept (notwithstanding the previous mail I sent), with the caveat that I haven't investigated the implementation or tested it. Greetings, Maxime --=-5OiposbPEsGrY0s7KLlJ 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+4iGRcl7gUCYex2sxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vGxAQC+DWY5lylg2qhcDQwEfnrPWy/H zm+gka4paIYI5GdDKwD/V5i9oSk0gbqHi4H0E1v85tnEndjK0VADdXNL32Q8PgM= =HAEM -----END PGP SIGNATURE----- --=-5OiposbPEsGrY0s7KLlJ--