From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id ACLWDEs8r15yXwAA0tVLHw (envelope-from ) for ; Sun, 03 May 2020 21:48:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cI5+AFU8r15VPgAAB5/wlQ (envelope-from ) for ; Sun, 03 May 2020 21:49:09 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 2407F9445AF for ; Sun, 3 May 2020 21:49:08 +0000 (UTC) Received: from localhost ([::1]:39812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jVMU0-0006P4-Gi for larch@yhetil.org; Sun, 03 May 2020 17:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jVMTt-0006Oh-Vi for bug-guix@gnu.org; Sun, 03 May 2020 17:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jVMTt-0007Hz-Ln for bug-guix@gnu.org; Sun, 03 May 2020 17:49:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jVMTt-0002tP-Kz for bug-guix@gnu.org; Sun, 03 May 2020 17:49:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41037: documentation for application developers? Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 03 May 2020 21:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41037 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Bruno Haible Received: via spool by 41037-submit@debbugs.gnu.org id=B41037.158854252111089 (code B ref 41037); Sun, 03 May 2020 21:49:01 +0000 Received: (at 41037) by debbugs.gnu.org; 3 May 2020 21:48:41 +0000 Received: from localhost ([127.0.0.1]:58252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVMTZ-0002sm-7g for submit@debbugs.gnu.org; Sun, 03 May 2020 17:48:41 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:59964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jVMTX-0002se-8x for 41037@debbugs.gnu.org; Sun, 03 May 2020 17:48:39 -0400 Received: from localhost (80-110-127-207.cgn.dynamic.surfer.at [80.110.127.207]) by dd26836.kasserver.com (Postfix) with ESMTPSA id AB4753365224; Sun, 3 May 2020 23:48:37 +0200 (CEST) Date: Sun, 3 May 2020 23:48:33 +0200 From: Danny Milosavljevic Message-ID: <20200503234833.3f078d0e@scratchpost.org> In-Reply-To: <10121112.yT0VcRYgiK@omega> References: <1614037.PG1mooiXeX@omega> <87pnbkvio0.fsf@gnu.org> <10121112.yT0VcRYgiK@omega> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/FH7Ml0.lSVIKAenPE6NfJ32"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41037@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: 4.69 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [4.69 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49391559955723]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.14), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[80.110.127.207:received]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; FROM_NEQ_ENVFROM(0.00)[dannym@scratchpost.org,bug-guix-bounces@gnu.org]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RSPAMD_URIBL(4.50)[clisp.org:email]; TAGGED_FROM(0.00)[larch=yhetil.org]; SUBJECT_ENDS_QUESTION(1.00)[]; FROM_HAS_DN(0.00)[]; URIBL_BLOCKED(0.00)[clisp.org:email,gnu.org:url]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[scratchpost.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[2001:470:142::17:from]; BAD_REP_POLICIES(0.10)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: MtTzCMe2H1Vg --Sig_/FH7Ml0.lSVIKAenPE6NfJ32 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Bruno, On Sun, 03 May 2020 23:13:46 +0200 Bruno Haible wrote: > So, the consequence is that a Guix user cannot send an executable > to another Guix user and expect it to be runnable on the other machine. Do you mean only one file, the executable? That doesn't work well with any other distribution either. What guix can do is pack everything a package needs into a tarball (including dependencies too) and then put that on another machine. The command is "guix pack" (it can also create Docker containers and Singularity images--but regular tarballs work just fine). That does work reliably, and automatically does deduplication. > I wanted to have background information regarding ldconfig and shared > library caches, in order to investigate bug#41038 > . ldconfig is not used in Guix. Guix uses rpath in order to embed the entire path to each of the shared libraries that are used into the executable. ldconfig's name resolution is disabled. --Sig_/FH7Ml0.lSVIKAenPE6NfJ32 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl6vPDEACgkQ5xo1VCww uqUingf9H73NdiAHH67aM1bnjqlrq00hrA0KrC0PZPtxafO/FMDgWiTqDT2JXS8S Ywg7fL6fwOeeKnPAQ5Bpg4g7QgJJfnbaHTTxqCPL5pACr062qOGNLpALuG1ivv/+ asKdXHrphY1cZUj8zcw+Q0WR0dY2E5nkHb2rhlTm7kpwE+KoQ5tyPvnr6dfO8JrS eFdPsh96Dc/NEUKDPoDHEaPW/IBrHUMYDgEO87XLOOHiJ2S8KJslGzSVk3oZ2372 QwSRslDj8kxV3Uzl60ko5hKBZN22RZPGGgDNZrgdnHd/6N00KPkahtDQgjG2ZIVZ xUX/LNoRtOQHly3CSPKWvOt+7Nr2Rg== =je1C -----END PGP SIGNATURE----- --Sig_/FH7Ml0.lSVIKAenPE6NfJ32--