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 aLLZM2YHz2IB6QAAbAwnHQ (envelope-from ) for ; Wed, 13 Jul 2022 19:56:54 +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 SDXMM2YHz2KLCwAA9RJhRA (envelope-from ) for ; Wed, 13 Jul 2022 19:56:54 +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 8167325AEF for ; Wed, 13 Jul 2022 19:56:54 +0200 (CEST) Received: from localhost ([::1]:43502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBgbV-00089j-EZ for larch@yhetil.org; Wed, 13 Jul 2022 13:56:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgbD-000895-Kh for help-guix@gnu.org; Wed, 13 Jul 2022 13:56:36 -0400 Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:50465) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBgbB-0006vA-MX for help-guix@gnu.org; Wed, 13 Jul 2022 13:56:35 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 70F6E122602; Wed, 13 Jul 2022 17:56:30 +0000 (UTC) Received: from pdx1-sub0-mail-a228.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A71E712287A; Wed, 13 Jul 2022 17:56:29 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1657734989; a=rsa-sha256; cv=none; b=uXgipuPGyvF8gL1BTVoA71V1RLAPnaWoamLvf8k/Q+ec7tQPWns67mVQzSGfKPlpUR7984 xLCQUp6aaPJM3xGWfxoYrw9u8jdHRdFo6/IdBaQ0Uvlkqn+USdpY30qhny4mUBuGpkFXNX DeZBrrCvaK4x0vC7c2lB04PH/xmNdkd+DZWhncivoNkuNSB1yD+SSFXQ3ErU19L7pXdmHB GnpxAi0JJJVOhk5wc2iMiXZ6JLaFX2kOeO/2rXkg+uiOWXhbb7trQkuuznXj5uXCCaSfcW 8UyL8+GmvyfrceSykQm83H+J66VvILuwhuD5B78SS0wkSOX+WeY9RXW9AA+kjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1657734989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=LXLLvSAAqBw226O3MamYk80vndkw8l1kGfKZq3XqMxI=; b=TPx5DMipgBJ7fez20wSNHrbi8p8hhQpDSkzVW8qj3ha3rE9UYs88nJFAlApdCF0s51YlRv ENeonCyXPIq9LuIf2gpnruVnTk4egviOOfHGT7E8cAcM9UXGEOynI6zHmt8PohQx/DMy6s EgGrtGbQg3E5mbdfT5LqN4OO89/oQeVe7KDVamIMyoi5FQzs7QKf9x2amTAiJJ6xE5JQq1 j/wcWTmsf6xSyusuviXvnfNlW2OZ/VVpEv2ryOGdGIyBpTxQvCuD7boFuDgGqI5MVPyQrO 4OfYsD5rhhgNvuA4wQuGcnCQOXU94bgf6ouNeFz+Mlf2WOYoANW81VvnNTj2pg== ARC-Authentication-Results: i=1; rspamd-674ffb986c-7ltls; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Turn-Hook: 4330ae5b2bda19e0_1657734990129_4276509138 X-MC-Loop-Signature: 1657734990129:3926094307 X-MC-Ingress-Time: 1657734990129 Received: from pdx1-sub0-mail-a228.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.124.238.78 (trex/6.7.1); Wed, 13 Jul 2022 17:56:30 +0000 Received: from knave (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a228.dreamhost.com (Postfix) with ESMTPSA id 4Ljlg10fjGz7v; Wed, 13 Jul 2022 10:56:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1657734989; bh=LXLLvSAAqBw226O3MamYk80vndkw8l1kGfKZq3XqMxI=; h=From:To:Cc:Subject:Date:Content-Type; b=mICamHFiF6eQ8SHtKbkaeOvELp4EiaL2QpDoR9KD0VOjsjEyQSP7Z9IAb65MDo5AN spq3FBHeD4pJcQLZt4Xk5aoHvybMzsOVjYdnPzxP5XI20kPHMVKUAvdAsdmT8YJhKS D7BsWrf8/D4Y3iAj7MQbGMQp2VjV+K1HJzLQwNgEArY7J90uPpD9keWEM4dbPfPu/h KDjvMhMRw5TthNrRAV3NrU8TWKuc2fXXGiYfOWQS+4U+YcJhXVeTho4CzvzvElG9V7 lo1By5ApaK3WdFEOAJ5xpVvkvgs0+qUF0+ZHZPLLOAAjp7QgtC8pArtLfNx3K/mOFz kW521yCfI0Y/A== References: <8EA69D34-498D-4172-B0E4-C90E59009F68@polidoro.io> <24DD9713-A088-4C6A-8D8B-5DCF60E623AF@lepiller.eu> User-agent: mu4e 1.6.11; emacs 28.1 From: Peter Polidoro To: Julien Lepiller Cc: help-guix@gnu.org Subject: Re: Finding Dependencies at Run Time Date: Wed, 13 Jul 2022 13:47:45 -0400 In-reply-to: <24DD9713-A088-4C6A-8D8B-5DCF60E623AF@lepiller.eu> Message-ID: <86bktshp6m.fsf@polidoro.io> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=23.83.209.62; envelope-from=peter@polidoro.io; helo=fossa.birch.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657735014; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LXLLvSAAqBw226O3MamYk80vndkw8l1kGfKZq3XqMxI=; b=fSF0hD/I9hvBIS4XGKbfHaNXb9YPcYXBRlNm8FE6rt0jtpQbbrTIYUbX0WlbD7HNoV7jvn waYT4Le7ydQfvzm/CAe4imgpfAMY1vHlYC/BKChGdGGlbSK288N1uMxwAw94mqq1LoSCOc oirya7yAGZFNsxA5xAjVTb1Fkf1WR2GWcnityIiRRtdtV2SmvyBbUGQVUchjzfbqP8VZV3 aS0liI+DesJTGERye74o+sZUw2MrzHtjBE/zNFj0REoktSoz+3Aq+K+zFal4R+tL12VCfE eg1IqJ+KNFIH0L1i8jHSi2BSTn3OsL8QT+Ipdu7ThdtJUiAgnqoBKFbUjllxrg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1657735014; a=rsa-sha256; cv=pass; b=IcofqXk8bcdl0CBHLjPakbTOdyTtQn25raskLqBNlMR4nO8s7Iw1Yk6WD3N3LrGhWKh4C3 SyYzPsuJclI0RQrzNHC8kJvFnrVQ/WCpXLfZgs94a2fpmJHwHHxh/zgHD802/3hSzOnMpO 44jzEhFzGv1ykvGGdqXPm80XFcGdl0gQ+FfjQc3iUEd0fZdjBZ5mP/IYnJRTsRB8gMr5AZ DKTA7orOViqH1JEuep7P3St4AXIlmRuthMMyK5lrIeB0n4fTTjj3eunrhcpNKZI9AL0YPR TL6R42vb5Sa7mqSs0/4HdfuWncX6Y4jHneG3NBuuMUzY0HfAht1dbh+s1qOL/Q== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=mICamHFi; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.94 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=polidoro.io header.s=dreamhost header.b=mICamHFi; arc=pass ("mailchannels.net:s=arc-2022:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8167325AEF X-Spam-Score: -7.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: gMWtUoRGbH+a > The mecanism depends a bit on the build system but for C > programs, it's embeded at build-time in its RPATH. For > applications, there are > wrappers > (https://guix.gnu.org/manual/devel/en/html_node/Build-Utilities.html#Wrappers). So in general, packages use environment variables to find the absolute paths of their dependencies in the store? In a package definition, are those dependency paths always set using wrap-program? Are search-paths, native-search-paths, and setenv also used to set those environment variables or are those used for something else? > Otherwise, we have to propagate run-time dependencies. So how else can packages propagate run-time dependencies besides environment variables?