GNU bug report logs - #64309
Python dlopen()s musl libc

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Athena Martin <secure@HIDDEN>; Keywords: moreinfo; dated Tue, 27 Jun 2023 00:44:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) moreinfo. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 64309 <at> debbugs.gnu.org:


Received: (at 64309) by debbugs.gnu.org; 7 Jul 2023 14:00:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 07 10:00:23 2023
Received: from localhost ([127.0.0.1]:43528 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qHm0V-0005ar-KW
	for submit <at> debbugs.gnu.org; Fri, 07 Jul 2023 10:00:23 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48480)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qHm0T-0005ab-9b
 for 64309 <at> debbugs.gnu.org; Fri, 07 Jul 2023 10:00:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qHm0N-0005PY-Dm; Fri, 07 Jul 2023 10:00:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=6OjfzHjO3HKHyyI4fS/e/eC4upAM8RE2jB0h0s2mUEY=; b=E8OfxppiImujWttOoWpA
 W2zNZQawMg6h939TTa8zSLQHC8R/d3Q7XfmBONpAxpKPsGXU0oR8Hsqqb49XoxLYt9yBMmkOCyPlM
 3rU0VzgEIgUt4WPWOIrI2FnOU+8z+RbyRgKyVazHbesVimXspa6U5LLhe4FjRnagptBkWY7gplaGW
 HHD2Uc238INWaMHU1VQjCsm43n9kTugiZXeEcnpsoTNMUmNp6IG8WnDYVINygiupYsAE79SIS5GsZ
 D0JmtAX/bsHgcF0jt9QJWvjj5XFoT3Z+ENfSeSNur5BHetLBQPuwVgXhaIRiE/BUBu8UWtSUBs0Rq
 SOe04cedte9QnA==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qHm0M-0006jp-Of; Fri, 07 Jul 2023 10:00:14 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Athena Martin <secure@HIDDEN>
Subject: Re: bug#64309: Python dlopen()s musl libc
References: <20230626204230.7b3b773a@HIDDEN>
Date: Fri, 07 Jul 2023 16:00:12 +0200
In-Reply-To: <20230626204230.7b3b773a@HIDDEN> (Athena
 Martin's message of "Mon, 26 Jun 2023 20:42:30 -0400")
Message-ID: <87mt07kej7.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 64309
Cc: 64309 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Athena Martin <secure@HIDDEN> skribis:

> I've had experiences now with multiple Guix packages, including gajim
> (bug 60235) and now python-neovim-remote, which have an issue where
> Python tries to dlopen() libc, but finds the system libc instead of
> Guix's, resulting on Alpine Linux hosts in a crash with this message:
>
> ImportError: libc.musl-x86_64.so.1: cannot open shared object file: No su=
ch file or directory
>
> There are a variety of tracebacks that lead up to this, depending on
> the package in question.

Could you provide a command to reproduce this?

Thanks in advance,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#64309; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Jun 2023 00:43:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 26 20:43:24 2023
Received: from localhost ([127.0.0.1]:47284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qDwnj-0004Us-T8
	for submit <at> debbugs.gnu.org; Mon, 26 Jun 2023 20:43:24 -0400
Received: from lists.gnu.org ([209.51.188.17]:41606)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <secure@HIDDEN>) id 1qDwni-0004Uk-8E
 for submit <at> debbugs.gnu.org; Mon, 26 Jun 2023 20:43:22 -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 <secure@HIDDEN>)
 id 1qDwnh-00005I-Qb
 for bug-guix@HIDDEN; Mon, 26 Jun 2023 20:43:21 -0400
Received: from picard.hosts.alm.website ([68.183.153.197]
 helo=mail.alm.website) by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <secure@HIDDEN>) id 1qDwng-0007cr-BE
 for bug-guix@HIDDEN; Mon, 26 Jun 2023 20:43:21 -0400
Received: from spock.hosts.alm.website (unknown
 [IPv6:2001:470:8:694:2ef0:5dff:fe62:37e])
 by mail.alm.website (Postfix) with ESMTPSA id E2B242013D
 for <bug-guix@HIDDEN>; Tue, 27 Jun 2023 00:42:47 +0000 (UTC)
Date: Mon, 26 Jun 2023 20:42:30 -0400
From: Athena Martin <secure@HIDDEN>
To: bug-guix@HIDDEN
Subject: Python dlopen()s musl libc
Message-ID: <20230626204230.7b3b773a@HIDDEN>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-alpine-linux-musl)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/Ix9WsNzDSwcE_WN=TNo/fSq";
 protocol="application/pgp-signature"; micalg=pgp-sha512
Received-SPF: pass client-ip=68.183.153.197; envelope-from=secure@HIDDEN;
 helo=mail.alm.website
X-Spam_score_int: 14
X-Spam_score: 1.4
X-Spam_bar: +
X-Spam_report: (1.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_PBL=3.335,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--Sig_/Ix9WsNzDSwcE_WN=TNo/fSq
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

I've had experiences now with multiple Guix packages, including gajim
(bug 60235) and now python-neovim-remote, which have an issue where
Python tries to dlopen() libc, but finds the system libc instead of
Guix's, resulting on Alpine Linux hosts in a crash with this message:

ImportError: libc.musl-x86_64.so.1: cannot open shared object file: No such=
 file or directory

There are a variety of tracebacks that lead up to this, depending on
the package in question.

--Sig_/Ix9WsNzDSwcE_WN=TNo/fSq
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEELAGoSzc6nHIdbhP+S8DcQuG8sXMFAmSaMHYACgkQS8DcQuG8
sXNzwwf/QSs5nNKbTPCDx+ucfoiR1bYTS40WHqBfPvccKoXJ01sGgh332OpRlyMb
ggXdFOjtcTrZqnTNzYOpU5JvE6zWLWNj2Za5Uz4SXWWTX/0E+t93jyQdrDqF0NNr
MheYJ+cSHO5SclaezT60lom3FS9KttQHDaS6IUfDFnMdCtNpnUvFE+hUH55XJmSc
My/kFy1Rv8OgeB5jPj+Kf6I1Fn2n0m68dWenzyjn0GMJl4Wu8qvUlvTz1erDEARE
vKAZdFXmkUKaZEGYL9gC9uf3k1Vf2gUJu0nG/hNhfbb9c6CQbGPiMJNk8xy78DwO
TlDn8/GS/yHryjyeHrS7DbtYPQWz+Q==
=Bjwl
-----END PGP SIGNATURE-----

--Sig_/Ix9WsNzDSwcE_WN=TNo/fSq--




Acknowledgement sent to Athena Martin <secure@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#64309; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 7 Jul 2023 14:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.