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 QFAGDxvfHl/0bQAA0tVLHw (envelope-from ) for ; Mon, 27 Jul 2020 14:05:15 +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 mN/hChvfHl/SRwAAB5/wlQ (envelope-from ) for ; Mon, 27 Jul 2020 14:05:15 +0000 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 0AB3F9403AE for ; Mon, 27 Jul 2020 14:05:14 +0000 (UTC) Received: from localhost ([::1]:38268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k03ke-0006nQ-4Q for larch@yhetil.org; Mon, 27 Jul 2020 10:05:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k03kV-0006lu-0A for bug-guix@gnu.org; Mon, 27 Jul 2020 10:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k03kU-0005Z8-NI for bug-guix@gnu.org; Mon, 27 Jul 2020 10:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k03kU-00031i-Hq for bug-guix@gnu.org; Mon, 27 Jul 2020 10:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42558: =?UTF-8?Q?=E2=80=98guix?= pack =?UTF-8?Q?-RR=E2=80=99:?= audit library is dynamically linked Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 27 Jul 2020 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42558 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42558@debbugs.gnu.org X-Debbugs-Original-To: Received: via spool by submit@debbugs.gnu.org id=B.159585867011586 (code B ref -1); Mon, 27 Jul 2020 14:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2020 14:04:30 +0000 Received: from localhost ([127.0.0.1]:55472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k03jx-00030o-Rx for submit@debbugs.gnu.org; Mon, 27 Jul 2020 10:04:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:39618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k03jw-00030g-0h for submit@debbugs.gnu.org; Mon, 27 Jul 2020 10:04:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k03jv-0006Ha-SZ for bug-guix@gnu.org; Mon, 27 Jul 2020 10:04:27 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:28714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k03jt-0005Ui-Mm for bug-guix@gnu.org; Mon, 27 Jul 2020 10:04:27 -0400 X-IronPort-AV: E=Sophos;i="5.75,402,1589234400"; d="scan'208";a="461495665" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 16:04:22 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Thermidor an 228 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 27 Jul 2020 16:04:21 +0200 Message-ID: <87tuxtuk9m.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/27 09:47:27 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -0.6 (/) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: B9Y4CZXsmnkt The audit library created by =E2=80=98guix pack -RR=E2=80=99, called =E2=80= =98pack-audit.so=E2=80=99, is dynamically-linked. Thus, it cannot be loaded (unless there are working libgcc.so and libc.so in the search path?), leading to failures like this: --8<---------------cut here---------------start------------->8--- $ GUIX_EXECUTION_ENGINE=3Dperformance ./bin/sinfo --version ERROR: ld.so: object '/=E2=80=A6/lcourtes/tmp/t/gnu/store/0n6nnvzgxyisg0bsz= b5zqxp2gzdwh7h3-pack-audit.so' cannot be loaded as audit interface: cannot = open shared object file; ignored. /=E2=80=A6/lcourtes/tmp/t/gnu/store/3dhy2f3djmm1h5ix5aa84lrskxzrl6d0-slurm-= 19.05.3-2/bin//sinfo: error while loading shared libraries: libslurmfull.so= : cannot open shared object file: No such file or directory --8<---------------cut here---------------end--------------->8--- The root cause is that =E2=80=98pack-audit.so=E2=80=99 NEEDs libgcc_s.so, w= hich on this machine could not be loaded, and thus resolving the other dependencies of the wrapped executable, like =E2=80=98libslurmfull.so=E2=80=99 here, fai= ls. Ludo=E2=80=99.