From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4BLVAOKvq2StmAAASxT56A (envelope-from ) for ; Mon, 10 Jul 2023 09:14:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mOnIAOKvq2TIfwAA9RJhRA (envelope-from ) for ; Mon, 10 Jul 2023 09:14:42 +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 855174F100 for ; Mon, 10 Jul 2023 09:14:41 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=MHgcZTzm; dmarc=pass (policy=none) header.from=gnu.org; 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=1688973281; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=znhX6bpASnnWmEGewwrCT84ZzL+ekJQmgL+VYDBiDRA=; b=ZWerqOXZJTm/Pe6oH+Cy2/q46nA1bvK6q7tI6aOxL6tHZgjc43mAlkTUAgcjqOLbbURitb UyKdpwv8LNG0WO1XPuCrAgzMM6050qy7crcpwUJeaWL5X5VIHL5LEq4Uppr/OEPj4Qi7Vr nLxFkFUQQ25i/8K39rdvq6MFT86z1FfcOSHMbR9rA1Pd5XA7Q86xoOeeboYC3cY1/xNh2o pE9l0hY7ZXzix0yHIbT/mIbmXeYl5TyH35kQXSlgPF/ikaPscO14gY9L1PeN3VaiOpn6vr NxDFFOTwQ13C5vWQi2wZIX1lcr3g7pPMC5BWkd0bR2hhlWmJjYC3RFE6Znx8VQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=MHgcZTzm; dmarc=pass (policy=none) header.from=gnu.org; 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=1688973281; a=rsa-sha256; cv=none; b=f0bL+dkE4/oLIZI5c1Uh1l4k2BEJcpVnohZgTUHNHWXhmGmnOu4DsDYPB1nybOYtgn98ou zG95jN1CIPUOo2UhDXc6wxsJtdRGcXgR6LVJbhoJX7/Mt8p770yrlVxGWh/qovNrg2myaa eJ/nYuzMQUxBdXMCtbqSgZ33/Hf90JKoWLPEvZgyJpOcVfsg/4YFA+GhLadTtP8EAlIkFa YQRzD0mNIYivyqguW4asTjCiSOPlolu79nCk3CnY2foQBkr7n4w5r3y7gTD/ZRqo2fZBur wKKoc5xcr//Rs/0ea5dvj/9tXir8oEFxG+rEWqPN6feYrMBL/1xxUZZ0/c0fjA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qIl60-0000D6-Tk; Mon, 10 Jul 2023 03:14:08 -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 1qIl5u-0000BD-KA for bug-guix@gnu.org; Mon, 10 Jul 2023 03:14:06 -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 1qIl5u-0007Yf-BJ for bug-guix@gnu.org; Mon, 10 Jul 2023 03:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qIl5t-0003vP-PA for bug-guix@gnu.org; Mon, 10 Jul 2023 03:14:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64309: Python dlopen()s musl libc Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 10 Jul 2023 07:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64309 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Athena Martin Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 64309@debbugs.gnu.org Received: via spool by 64309-submit@debbugs.gnu.org id=B64309.168897321915046 (code B ref 64309); Mon, 10 Jul 2023 07:14:01 +0000 Received: (at 64309) by debbugs.gnu.org; 10 Jul 2023 07:13:39 +0000 Received: from localhost ([127.0.0.1]:47633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIl5X-0003uc-7T for submit@debbugs.gnu.org; Mon, 10 Jul 2023 03:13:39 -0400 Received: from jpoiret.xyz ([206.189.101.64]:47416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIl5U-0003uS-BP for 64309@debbugs.gnu.org; Mon, 10 Jul 2023 03:13:38 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id F17791851DD; Mon, 10 Jul 2023 07:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1688973215; 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; bh=znhX6bpASnnWmEGewwrCT84ZzL+ekJQmgL+VYDBiDRA=; b=MHgcZTzm3U8iKU5tbBHsG+Gez6Ec90jJF97QzxA+TyKgfr7lwrZpgikmbsrB8jRTQJWvXv qgy+GySGJ45fQZ7k5Lgby9Dz82dnBtzruKfW0qaikx/w7lvKOyuzfr9F6im664/lAUO3f4 nGsWumHdMEfWXCqOMyVBxWSdLAFa8nZqoDYuXOH4CCw/5b+738pWwh+vsm0r6965jVexT0 3KzPymCW0szO9iutt4jx882L8qFMQ27GOaaKayI+gfrFd3ZcxgdgIixqwo/qDYdLjbowqL 0JoNk7gJKaGf0CMLmBsynxZ5C6OrCx0V4tIkB/VFady6PW0RoPRjl5/rEC5R2w== In-Reply-To: <20230709162221.39fb0e66@spock.hosts.alm.website> References: <20230626204230.7b3b773a@spock.hosts.alm.website> <87mt07kej7.fsf@gnu.org> <20230708161658.25be509c@spock.hosts.alm.website> <87v8et8oug.fsf@jpoiret.xyz> <20230709162221.39fb0e66@spock.hosts.alm.website> Date: Mon, 10 Jul 2023 09:13:32 +0200 Message-ID: <87pm508cir.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spamd-Bar: / 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: , Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix 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-Spam-Score: -6.89 X-Migadu-Queue-Id: 855174F100 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -6.89 X-TUID: 5G+Z4nXKaXol --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Athena, So it's not the LD_DEBUG output that hold a clue, but rather the Python traceback. Athena Martin writes: > File "/gnu/store/dsgxdqs620pp284bfm1drbsjqpb36i4n-python-neovim-remote-= 2.5.1/bin/.nvr-real", line 4, in > import nvr.nvr as mod > File "/home/alm/.local/lib/python3.10/site-packages/nvr/__init__.py", l= ine 1, in > from .nvr import main > File "/home/alm/.local/lib/python3.10/site-packages/nvr/nvr.py", line 3= 4, in > import psutil > File "/home/alm/.local/lib/python3.10/site-packages/psutil/__init__.py"= , line 102, in > from . import _pslinux as _psplatform > File "/home/alm/.local/lib/python3.10/site-packages/psutil/_pslinux.py"= , line 26, in > from . import _psutil_linux as cext > ImportError: libc.musl-x86_64.so.1: cannot open shared object file: No su= ch file or directory The nvr package in ~/.local seems to be used instead of a Guix package. That locally installed nvr package expects to use the host's libc, but since the python interpreter being used has a fixed RPATH and system search path it won't find it. .nvr-real should definitely be using the Python code inside the store, I wonder why that isn't being done. Maybe our sitecustomize.py is misbehaving? Can you do `guix shell python-neovim-remote python -- python3` then type `import sys.path; sys.path`? Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmSrr5wQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaikcrDACPmPYBHbN4XnoSqHqBFEWKhDjnZEQMugsQ OFhVJnAJAEhyGzg8Kj2/sEHayNC7L7nbMZZaw+ZiodUUaDhcvV151jZKJBQo64gp 75gZEu/xO1JHVobVi/at/0HuYxntnGhz5a02wtC3RwwPGCUDpx2XgfDVZwc116Eh Tm9ClA9LGeLWbJJxXfi4O2v4uVlWoDBCWDAHXrN6P7uKTDJgZXDrEpuINuCjK1ra hE/LFUYEPk6p7aS+EuttaXbBR3wHZgmX1d543idMlrkEwaarkGftKh4NxltlHYNa BXU629CiMzP35BcXgvv9gU+28EO9qozA6XDXbrd9ShxwyvedCE8poV/5zkKxGYs/ gEF33wpMCsE7UTFRHIvfmEDxeCe/flgB8nxC/AKY30rFwYyYLTSVBoBvkCtEmxvH kKORJ1Njvf1U61jUQUlaH5a9OyEy9BxoU92/ruYEPQHqMsuLjK83Abup2AfRna/H 7v8o3GzF4QfMzdCtNknEFwaiC6OWiXk= =+jR5 -----END PGP SIGNATURE----- --=-=-=--