From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SLYHMYudFGQ1aAEASxT56A (envelope-from ) for ; Fri, 17 Mar 2023 18:04:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sG8JMYudFGQ8OAEAauVa8A (envelope-from ) for ; Fri, 17 Mar 2023 18:04:11 +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 492B82CF6D for ; Fri, 17 Mar 2023 18:04:11 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b="uQ1lm/E6"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679072651; 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: content-transfer-encoding:content-transfer-encoding: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=cWpIqrAGHaHYH/7ETdJyOgVMljzyG3sgkNwCjPT1be8=; b=bvBpvDcyxtyiL3Rpq62GNzMzBo6dNASxgeIDIS7bPYGgr1LcG0qWgX2uH9d5LOLr/fxfmX Xz+KIt+dZ/4lzoA3uRI5pMaev1cMM6R8F4CFdKlvmHLNIVrB60sNBCxQhisves1SsP0ICo E/t17RBCisWn+kGyN8oDQMmK/ZcWcANijvZaFpuwl7oQ1ou2BHomsGqLy9QXtEKZn7uUI1 kveSHueM0gZQKjOjerV3Vhut7V7bruaONK+RgLeWHzSrpt0MOgQvP547R1kzZoN9ywrXEc MBXyqwiIgkG2WJOt+gxs5tLklp1jSRHuEKvyGk62Kg41kfEJViHVnNBokU31Pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b="uQ1lm/E6"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679072651; a=rsa-sha256; cv=none; b=OINfw092KZETUyMYpPRZgUmSCLoYQdSNEhlP9EJPDKSJ04F2KHpUGjDKUT7eb6P47ozpBx 8sP6TkwdZEMdu+0GUrsooSF6EiZB7H3eLMcUaqXCH49Ymnn/vQ0O5OGdoGSan5vT+2W8DR cHRaq0yt28wp2eNdR/jg059F5NZ3YDvrW10bqaw89AiLp5P2XaaYXCs4d4bPuIHGVlCc5G DNv405XzugwW6Yq0oLvUvoXdFM17dDYSglP0H/xZNTRxPUd07v7banQqSYJMT/oOoQkxqa M5/tnWVluTFFdO9qdmRwEb1uln8fSHYWKuEMkZmKC4IPJ8l0q+shCF0eHx1EpA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdDUp-00019u-Up; Fri, 17 Mar 2023 13:04:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdDUo-00019m-Dg for bug-guix@gnu.org; Fri, 17 Mar 2023 13:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdDUo-0004SE-5B for bug-guix@gnu.org; Fri, 17 Mar 2023 13:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdDUn-0000JZ-W5 for bug-guix@gnu.org; Fri, 17 Mar 2023 13:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43491: Fakechroot execution engine can fail to find libraries Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Mar 2023 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43491 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43491@debbugs.gnu.org Received: via spool by 43491-submit@debbugs.gnu.org id=B43491.16790726221174 (code B ref 43491); Fri, 17 Mar 2023 17:04:01 +0000 Received: (at 43491) by debbugs.gnu.org; 17 Mar 2023 17:03:42 +0000 Received: from localhost ([127.0.0.1]:45513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdDUT-0000Ir-EY for submit@debbugs.gnu.org; Fri, 17 Mar 2023 13:03:41 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:9284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdDUP-0000IR-LA for 43491@debbugs.gnu.org; Fri, 17 Mar 2023 13:03:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:references:date:in-reply-to:message-id: mime-version:content-transfer-encoding; bh=cWpIqrAGHaHYH/7ETdJyOgVMljzyG3sgkNwCjPT1be8=; b=uQ1lm/E6Lxc74eUaVWE9Jijzp+Snfcf9dF7z4QsBcC0pzdIoJFshUosw mte+2D3fhQeEvncmdWG8kuQC1TR5o85wPybnmy2jGiufw6FBe+6YZg38E OGLOwkLn1YJbb2wo9jYxBy1UPPKoVlk/VIF3caTwCJSJ2FM04Ik1FAQN2 Q=; X-IronPort-AV: E=Sophos;i="5.98,268,1673910000"; d="scan'208";a="97818969" Received: from unknown (HELO ribbon) ([193.50.110.213]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2023 18:03:30 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87mu16tdx5.fsf@gnu.org> <87mu1nw6x9.fsf@inria.fr> Date: Fri, 17 Mar 2023 18:03:31 +0100 In-Reply-To: (GNU bug Tracking System's message of "Thu, 01 Oct 2020 10:55:02 +0000") Message-ID: <87lejvwbrw.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: X-Migadu-Queue-Id: 492B82CF6D X-Spam-Score: -2.65 X-Migadu-Spam-Score: -2.65 X-Migadu-Scanner: scn0.migadu.com List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: PVufVK8alMrh Reopening this old bug from this commit: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 250 Mar 12 2023 23:58:03 (current) guix 1ed227d repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 1ed227d7952af48efe50a2f6c9537e17c356daa1 --8<---------------cut here---------------end--------------->8--- > I pushed this as a workaround as commit > 58abd5873985e0cd9a2926867bf697c5e7bc01f9. > > The ld.so issue is still open but there seems to be consensus that it=E2= =80=99s > a bug: . Commit 58abd5873985e0cd9a2926867bf697c5e7bc01f9 appears to be incomplete. Let=E2=80=99s suppose this: (mkdir /tmp/fakechroot-test && cd ~/tmp/fakechroot-test/ && \ tar xf $(guix pack --save-provenance -RR openmpi intel-mpi-benchmarks ba= sh-minimal -S /bin=3Dbin)) The motivating example at the beginning of this thread works fine: --8<---------------cut here---------------start------------->8--- $ unshare -m -U -r -f sh -c 'mount -t tmpfs none /gnu; GUIX_EXECUTION_ENGIN= E=3Dfakechroot /tmp/fakechroot-test/bin/orterun --version' orterun (OpenRTE) 4.1.4 Report bugs to http://www.open-mpi.org/community/help/ --8<---------------cut here---------------end--------------->8--- =E2=80=A6 but this doesn=E2=80=99t: --8<---------------cut here---------------start------------->8--- $ unshare -m -U -r -f sh -c 'mount -t tmpfs none /gnu; GUIX_EXECUTION_ENGIN= E=3Dfakechroot /tmp/fakechroot-test/bin/IMB-MPI1' /tmp/fakechroot-test/gnu/store/i9ypns78lmy8xr0x4zvdwc4b80m0yl72-intel-mpi-b= enchmarks-2019.6/bin//IMB-MPI1: error while loading shared libraries: libev= ent_core-2.1.so.7: cannot open shared object file: No such file or directory --8<---------------cut here---------------end--------------->8--- Reason appears to be that =E2=80=98LOADER_AUDIT_RUNPATH=E2=80=99 only conta= ins what=E2=80=99s in the RUNPATH of =E2=80=98IMB-MPI1=E2=80=99 and not its indirect dependencies= =E2=80=94libevent is one of them. Ludo=E2=80=99.