From unknown Wed Jun 18 23:15:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#60235 <60235@debbugs.gnu.org> To: bug#60235 <60235@debbugs.gnu.org> Subject: Status: gajim: dlopen()s non-Guix libc Reply-To: bug#60235 <60235@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:15:48 +0000 retitle 60235 gajim: dlopen()s non-Guix libc reassign 60235 guix submitter 60235 Alex Martin severity 60235 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 02:29:18 2022 Received: (at submit) by debbugs.gnu.org; 21 Dec 2022 07:29:18 +0000 Received: from localhost ([127.0.0.1]:50032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7tXR-0003Et-Lk for submit@debbugs.gnu.org; Wed, 21 Dec 2022 02:29:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:49738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p7nbt-0007Ay-QD for submit@debbugs.gnu.org; Tue, 20 Dec 2022 20:09:30 -0500 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 1p7nbr-0006yJ-NN for bug-guix@gnu.org; Tue, 20 Dec 2022 20:09:29 -0500 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 ) id 1p7nbq-0004Zt-52 for bug-guix@gnu.org; Tue, 20 Dec 2022 20:09:27 -0500 Received: from spock.hosts.alm.website (unknown [IPv6:2001:470:8:694:2ef0:5dff:fe62:37e]) by mail.alm.website (Postfix) with ESMTPSA id 01B4420179 for ; Wed, 21 Dec 2022 01:09:20 +0000 (UTC) Date: Tue, 20 Dec 2022 20:09:17 -0500 From: Alex Martin To: bug-guix@gnu.org Subject: gajim: dlopen()s non-Guix libc Message-ID: <20221220200917.122378e0@spock.hosts.alm.website> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/w5QRKdj/_ehiuZ=a7uzr2NN"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: pass client-ip=68.183.153.197; envelope-from=secure@alm.website; 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 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 21 Dec 2022 02:29:16 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --Sig_/w5QRKdj/_ehiuZ=a7uzr2NN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I run Guix on an Alpine Linux host system. Alpine uses the musl C library. This seems to be what exposes an issue in the gajim Guix package for me. I believe what is happening is the following: Gajim dlopen()s libc via Python's ctypes library, and ends up finding the system libc, not the Guix-provided libc it is supposed to be linked against. The result is the following crash: Traceback (most recent call last): File "/gnu/store/n2f3pi9cciaxgbvc4nhqzswslv4wycj2-gajim-1.4.6/bin/.gajim-= real", line 33, in sys.exit(load_entry_point('gajim=3D=3D1.4.6', 'gui_scripts', 'gajim')()) File "/gnu/store/n2f3pi9cciaxgbvc4nhqzswslv4wycj2-gajim-1.4.6/lib/python3= .9/site-packages/gajim/gajim.py", line 159, in main _set_proc_title() File "/gnu/store/n2f3pi9cciaxgbvc4nhqzswslv4wycj2-gajim-1.4.6/lib/python3= .9/site-packages/gajim/gajim.py", line 138, in _set_proc_title libc =3D CDLL(find_library('c')) File "/gnu/store/lvip6h5pamjwmvnkwg60sjb63ph8698k-python-3.9.9/lib/python= 3.9/ctypes/__init__.py", line 374, in __init__ self._handle =3D _dlopen(self._name, mode) OSError: libc.musl-x86_64.so.1: cannot open shared object file: No such fil= e or directory --Sig_/w5QRKdj/_ehiuZ=a7uzr2NN Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEELAGoSzc6nHIdbhP+S8DcQuG8sXMFAmOiXL0ACgkQS8DcQuG8 sXOKmggArK50IhHcXxxhatBP30vcOfjCSKpy7ajl+lZUiZxtqvufrd06TdaYr2m6 tWmQb7mgm3brrN5VXqKDoRiGL1oaVxJWellIrOBJJVh4yIvaLkYKQdpOLtIA+lRK cZLl30F6OG+WwI7wL7xvSolVeosXJa7iqe8hH7Bc6u0CkjjifUoTkO8m+hEs6jGT nEO1tX2z/UteQAQMibl4xXEM2l+FR2gMi1KVO+SWJ61/BjSTBJvPkIyhXPXtTZZd crRXjC4bsHPlJI+P0mkytSz0cHusReyl+rjZH6EXkSnTnTM7r4X/2HaxZO1iF27j V1ZiiDk3oXohCePFaq3AdUX8cE3LIA== =TvPI -----END PGP SIGNATURE----- --Sig_/w5QRKdj/_ehiuZ=a7uzr2NN--