From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CGYsBkGss2QABgEASxT56A (envelope-from ) for ; Sun, 16 Jul 2023 10:37:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MK0mBkGss2SMEgAA9RJhRA (envelope-from ) for ; Sun, 16 Jul 2023 10:37:21 +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 AD7674C26B for ; Sun, 16 Jul 2023 10:37:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b="Emrc/oCH"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689496641; a=rsa-sha256; cv=none; b=mtqgTixABYEEyjNEhnM8+To1tJYdN91OL3aTl9p9l8e/BxumG0ump+l1KQev5CuwA+v7sa l+l6EISR3NowxMylNh7KYqOJza+Ns3eftmcch9S9ZZ+pRHcb+l35vqOUiX4H9aE363GIOn L8txvoGMvb9M7HULx0xPalju4Jh1vDap9dJuI4KxG8D3JREtDJVNlClGcMRGMOKbIHCwvY ZvCqKQCLm36OThb80Z7kjyZj6P8rRoi11MA67BHBPeIa6x89ULXWncUYx67vLlPkhZMK15 RlTXi8m9fuKD3djJwrGjQJR5gmENzbpU7+1jnqS7nfXR2DyP2fBk731mo92nTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b="Emrc/oCH"; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689496640; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=5DUbQU5PRILN5twpnV4kE3CeyjVGvZQoK4g9GoNxjxw=; b=IJU+Oi+RRtNV4mUQLio0Qkv6OTaHzXe6SJVs09Fd9miS5P2pfdBYVJmMfC00R8/ZB7K7hH X0+SJJPYswlWnS82LE6iBEGHfmWlb7sye5QKygF9b8g67Q2SGVJSulaoniex8Lbu4RXE6E EtXyvzOFVkX6r76rkOeV8WqaB3GxrpkERnw31JH2QskpiYikaMFIKp5fEAaZSnA9HlSkVE DnaqlO8Q04VqkujmRChvgiuRpC+RFpDDQ9SaKxLi6mwYXolgTxrUou/JNjX3gUMdDeXYf4 FSBnjzeB8g4IyJyv0jSzF7uBa+QxfyQGtjtonZd433BpN08UEIipQm4teKzR8w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKxFY-00089m-U0; Sun, 16 Jul 2023 04:37:04 -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 1qKxFX-00089c-98 for bug-guix@gnu.org; Sun, 16 Jul 2023 04:37:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKxFX-0005yV-1U for bug-guix@gnu.org; Sun, 16 Jul 2023 04:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKxFW-0000SL-Fz for bug-guix@gnu.org; Sun, 16 Jul 2023 04:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64309: Python dlopen()s musl libc Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 16 Jul 2023 08:37: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: Josselin Poiret Cc: jgart@dismail.de, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Athena Martin , 64309@debbugs.gnu.org Received: via spool by 64309-submit@debbugs.gnu.org id=B64309.16894965671681 (code B ref 64309); Sun, 16 Jul 2023 08:37:02 +0000 Received: (at 64309) by debbugs.gnu.org; 16 Jul 2023 08:36:07 +0000 Received: from localhost ([127.0.0.1]:46749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKxEc-0000R1-HD for submit@debbugs.gnu.org; Sun, 16 Jul 2023 04:36:07 -0400 Received: from mout-p-201.mailbox.org ([80.241.56.171]:40956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKxEW-0000QT-Bn for 64309@debbugs.gnu.org; Sun, 16 Jul 2023 04:36:04 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4R3dpK2F1nz9sTm; Sun, 16 Jul 2023 10:35:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1689496553; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5DUbQU5PRILN5twpnV4kE3CeyjVGvZQoK4g9GoNxjxw=; b=Emrc/oCHuW9i14svNRxg7b7Y8xICp5uzIsHGn6h80w6v97krR35e2zdXfRr7mElTgnLX73 iAn8mQ0O2948G8ft4w1E8yHr9Wera6wUguB42YmklGwGxUIQI2l7w84iuaFCGt9hd0QI7f RGgrje9hVSBDWYODeRYgXKWEhgPpuNCOr8tW9nfFGLBNjFA01qir3rB0rkdQqxNHDls+US 2cGuKlFOUyRmP/xsCbNB7WwapW+ietHkvK+3jK8AnoDRwGTWnScVLVRN3DzGDnlp31wwis Lz3yfvRQlN6NITMYDvJlcUlwcVfQj+YFq+41gSlGd8+Kx8XmblLFsJ+AEp+dBA== Date: Sun, 16 Jul 2023 10:35:48 +0200 From: Lars-Dominik Braun Message-ID: 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> <87jzv6979d.fsf@jpoiret.xyz> <87h6q98qe7.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h6q98qe7.fsf@jpoiret.xyz> 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -5.10 X-Spam-Score: -5.10 X-Migadu-Queue-Id: AD7674C26B X-TUID: +3NwXOaMsM/1 Hi Josselin, > Woah, looks like a neat solution. Do you think it would scale for all > our Python packages without manual intervention? If so, this would > definitely be the way forward. I hope so, but haven’t tried it yet. > I mostly agree with you, but for this rather common case of having also > a usercustomize it would be nice to circumvent it. In general, I don't > think we ever want a Guix-produced Python script to load the > usercustomize, hence my suggestion. The other case of PYTHONPATH is > also annoying but can be tamed by modifying the env variable > temporarily. True, PYTHONPATH can be unset more easily than moving the user site dir. I’ll have a look at #64573, which should work around this issue. Cheers, Lars