From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8LSdOrYzo2PkZQAAbAwnHQ (envelope-from ) for ; Wed, 21 Dec 2022 17:26:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KDuUOrYzo2NVPgEA9RJhRA (envelope-from ) for ; Wed, 21 Dec 2022 17:26:30 +0100 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 B7FB925C3E for ; Wed, 21 Dec 2022 17:26:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p81v2-0000wQ-C4; Wed, 21 Dec 2022 11:26:12 -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 1p7tYD-00031E-Om for bug-guix@gnu.org; Wed, 21 Dec 2022 02:30:08 -0500 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 1p7tYB-0001lC-EF for bug-guix@gnu.org; Wed, 21 Dec 2022 02:30:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p7tYB-0003Fn-06 for bug-guix@gnu.org; Wed, 21 Dec 2022 02:30:03 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60235: gajim: dlopen()s non-Guix libc Resent-From: Alex Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 21 Dec 2022 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60235 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 60235@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167160775812460 (code B ref -1); Wed, 21 Dec 2022 07:30:02 +0000 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 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-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 X-Mailman-Approved-At: Wed, 21 Dec 2022 11:26:10 -0500 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671639990; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=hxvEUSH/ZiNcQNE3+iUQbEZ/3M8lLFq7pmbQL/S92oQ=; b=XYhmaX/JpQ2s6+tyejAU2/ICQW02Vs6IuubCFbBeCZ7rjMNBMjtp2JQcRH8wfSGCjg71pF LGNJKeFl4Vlb7/P4lkRzJqQW0VaeqI7mwYUhC/BzI+JMBvze5UHb3rcGhpSbSozRZosF5A cZiErlUs44XtScOG0j9rgv/OQl8cF1AJBtfnbVKHruZpqI7XvDjcfPXVtYZlmjkjSqATz/ 4jbM430cKxfcitcyOiUa7KG4U2LdqZbdOa7xO5sOQUTg6HXl85gt+F4rJtSDUtdd2GHlEd AJjiyX3S/771NMnQU9nYNIQw4rVMxSI7ntsvNnAaD7JDFNeQVwr+dabjfXGSUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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), No valid DKIM" header.from=alm.website (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671639990; a=rsa-sha256; cv=none; b=FLVUSK3FfKxCMlR9Vy2LvRyHZBTsBGubk7hvjHllVQTySzwiaf6Li16UASMcZN4hCo/cxZ R9pfNX+bSLXILjKW2neUHW37dDD4GmMt4shnigCuVb96bDf+Y/AIDivbtE73+65mHWV6Er j4rxhqOy1sL2f0Oash3ZRwNtNhCiPn0lSJTMweR8lJkRxj8GQDw4Nww7VgFxSVf5S6+vKH Mupdgdc770OQEpyEYPUlqrsua1WQK4y3GKmU0Ioo7X/poF4zX7BUQsQi4vD56MigLRhSnb bHhsbsjlB5/htb9xU/EhDaK5w2F/IJZ6IEj/CWJzHI9tgQ8xjjrCToTEE6ah5w== X-Spam-Score: -0.30 X-Migadu-Queue-Id: B7FB925C3E Authentication-Results: aspmx1.migadu.com; dkim=none; 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), No valid DKIM" header.from=alm.website (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.30 X-TUID: ejzyDlurYgSU --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--