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 sIPvGEsUrWTxSwEASxT56A (envelope-from ) for ; Tue, 11 Jul 2023 10:35:23 +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 QHLuGEsUrWSpkgAA9RJhRA (envelope-from ) for ; Tue, 11 Jul 2023 10:35:23 +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 B741955C36 for ; Tue, 11 Jul 2023 10:35:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=FZ3EJWvx; 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=1689064523; 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=5ubX8ygMTj8dSfzgj7QsTa8lOQey5MprdHRcneltf3o=; b=M/4GfKYD95iWBX+zuaMM4mkSlj8E54hN5tUUHFMjo4OaIDuHrnZSW+2big+GTgWORshPgW r+NJwLNsLejxzo+/WB6JD/2GZuFL7naCFTaoBhDRR1wN2BfE0ktz8bJd+AeM+K2CZjSY50 cd6FoR13tJvVLG0udwjMO3fP8az84Gx2AZr9A3XriTed7dmwvIK5yq+Ln5qWP/l768688p IM+cFoZ8l8ERploi1TCyIdGFDK3whyTr9LWSFavx7CdozQ1k6YJjhG0ioCI8JU4FxAy1Ex K+AiWVShZK3ivDlwzZyFysfMdXUAN0eXW0VAnxoW/4GlLCW+jO4KdHBoCOwQ/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=FZ3EJWvx; 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=1689064523; a=rsa-sha256; cv=none; b=tMyWtJqQsSUaIc6cijNbPDrl+oDSlvz/wz6pK1HNTgsviSFzCIwd5c+tkHl71uk/4fjXIC pHvuou/ZkOPi0gZhAcPfsPEVN3UMBWjOKU+rRBcTbRJMb4TuNm9mCwV1Leh8s/fKH+rkHT wIpBLsJpajmjooGUCVnFMDvXOoNSvyhvi6W6OjhDRFuOi8r74HP5XMHYbfYNsxSQ1V0kyN psrYgllojdBzsS5rOUUsw1yxdhfAi4YxOznRQh1Brpjt8gW7yO/vycDCJvQZi46ppdTgrn PRmnp49daMqVpq/EWYzE0OEwVgs3Yzz37sv2Dm3wuS57p8b6SwK6DWU6lxAmJQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJ8pt-0000sc-6d; Tue, 11 Jul 2023 04:35:05 -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 1qJ8pr-0000sP-NS for bug-guix@gnu.org; Tue, 11 Jul 2023 04:35:03 -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 1qJ8pq-0002S6-Ez for bug-guix@gnu.org; Tue, 11 Jul 2023 04:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJ8pq-00040N-8l for bug-guix@gnu.org; Tue, 11 Jul 2023 04:35:02 -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: Tue, 11 Jul 2023 08:35:02 +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: jgart@dismail.de, Ludovic =?UTF-8?Q?Court=C3=A8s?= , lars@6xq.net, 64309@debbugs.gnu.org Received: via spool by 64309-submit@debbugs.gnu.org id=B64309.168906445515339 (code B ref 64309); Tue, 11 Jul 2023 08:35:02 +0000 Received: (at 64309) by debbugs.gnu.org; 11 Jul 2023 08:34:15 +0000 Received: from localhost ([127.0.0.1]:49684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJ8p5-0003zL-E2 for submit@debbugs.gnu.org; Tue, 11 Jul 2023 04:34:15 -0400 Received: from jpoiret.xyz ([206.189.101.64]:42660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJ8p2-0003z8-0U for 64309@debbugs.gnu.org; Tue, 11 Jul 2023 04:34:13 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id B35E2185328; Tue, 11 Jul 2023 08:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1689064449; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5ubX8ygMTj8dSfzgj7QsTa8lOQey5MprdHRcneltf3o=; b=FZ3EJWvxGHY7wB5vYU4LOkjzCAVRn55DXXueKLr96mf4r72xcDvQBopg/lAC/LB9HYDQ+m 9yMeBcMDX4g6aiFPIISwuYgnkLRU50jqCX5mX2X+fXQN0QVhCZvCsuf9IlPtt/TxlIn3Ny AMm9COnYdun9P2xFSYOvyYw0tQD8JciTFNf/vOHqKRM+LwAcFIWKNjDXdksTAXHBaEiPgb SLrR/5EQkAFSXEgzrKwXUIdzJawxdJZisFArEplqBkKxqa+KZaSRPz5Qtfrni49I1LkIUP 1QAkKirPkieCVlPwnaMLsJcNIuFlgLtwGjgPbVICa7NRLTQqh8R2FgYULXi3MQ== In-Reply-To: <20230710154734.2b71b56b@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> <87pm508cir.fsf@jpoiret.xyz> <20230710154734.2b71b56b@spock.hosts.alm.website> Date: Tue, 11 Jul 2023 10:34:06 +0200 Message-ID: <87jzv6979d.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-Migadu-Spam-Score: -8.39 X-Spam-Score: -8.39 X-Migadu-Queue-Id: B741955C36 X-Migadu-Scanner: mx1.migadu.com X-TUID: aoIk5enRIYok --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Athena, Athena Martin writes: > $ guix shell python-neovim-remote python -- python3 >>>> sys.path > ['', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/pytho= n310.zip', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/p= ython3.10', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/= python3.10/lib-dynload', '/home/alm/.local/lib/python3.10/site-packages', '= /gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile/lib/python3.10/site-pac= kages', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/pyth= on3.10/site-packages'] > > (It's not from the environment:) > > $ guix shell python-neovim-remote python --pure -- python3 >>>> sys.path > ['', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/pytho= n310.zip', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/p= ython3.10', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/= python3.10/lib-dynload', '/home/alm/.local/lib/python3.10/site-packages', '= /gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile/lib/python3.10/site-pac= kages', '/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/pyth= on3.10/site-packages'] >>>> os.environ > environ({'HOME': '/home/alm', 'LOGNAME': 'alm', 'PAGER': 'less', 'DISPLAY= ': ':0', 'USER': 'alm', 'TERM': 'xterm-256color', 'PATH': '/gnu/store/ll75w= x2cvm1dbbxjr095lcs1653q2zz1-profile/bin', 'GUIX_PYTHONPATH': '/gnu/store/ll= 75wx2cvm1dbbxjr095lcs1653q2zz1-profile/lib/python3.10/site-packages', 'GUIX= _ENVIRONMENT': '/gnu/store/ll75wx2cvm1dbbxjr095lcs1653q2zz1-profile'}) So, looks like the default Python behavior is to load the usercustomize after the sitecustomize [1], which leads to exactly the behavior you're experiencing. I don't know what we should do here, maybe pass `-s` to the shebang line of Python to disable loading the usercustomize? That would probably be a world-rebuild though. CC'ing the Python team to see what they think. [1] https://docs.python.org/3/library/site.html Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmStE/4QHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5FhcaiqpjC/0ZagMzkOIdrzOdVkZgbKqHvNaCtfwAvQpC k//XUHp1VwIQG4wmyglL1Grch4DSGGZm6AWA1ERDklxiXt0vYLOEysXgRATr8wRS uUbCXqdcjiIoXdHjRpKbHyDfpjbixUCe/pOwYIxyK98tD7OuduPkr/lkvArPWU7B WJmvi7zXsNYHkTIGv01Cw5kjmX6e8ovBhuki8p0btMEX9S9WcSxmg/48fdBb0a72 471coPotpW3Xo5hYyq6JStA9G6hLxmJ47fbsYxhRQ1oE2sT6UHNd89kugHq1VCIZ P6uObeYQJJ06TXwOlLGmgPcIuZiXu6MAKpv34nBI/htkIYHxkvYNn82Pik4dcnzs ZVUa8R+TMy0pFHhcMd53lespyBIXN2VZjgWnD/TbvxEeQC5+jvGylXyb8V58g+BS xq45OqDe/8R/fQ5/O1ahfQe2a3JOy4B8kgKKA8ozgJdzAsshb6RQSyAKofsIsCHM 0/UjS8HgOKzfY4XRId2gY9URTXUi4kw= =Osvc -----END PGP SIGNATURE----- --=-=-=--