From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oFlSEwDJR2Ow1gAAbAwnHQ (envelope-from ) for ; Thu, 13 Oct 2022 10:14:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qIZtEwDJR2MOfwAAauVa8A (envelope-from ) for ; Thu, 13 Oct 2022 10:14:56 +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 F2B80E57F for ; Thu, 13 Oct 2022 10:14:55 +0200 (CEST) Received: from localhost ([::1]:38616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oitMl-0004Pb-49 for larch@yhetil.org; Thu, 13 Oct 2022 04:14:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oisTH-00044I-HS for help-guix@gnu.org; Thu, 13 Oct 2022 03:17:37 -0400 Received: from koszko.org ([93.95.227.159]:46556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oisTF-0002DY-LH for help-guix@gnu.org; Thu, 13 Oct 2022 03:17:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; s=mail; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YTIs2zEY0EgXlv/wTyPaGuLMCeUeByBj7bwvVpQQrzM=; b=CmTduuPDDzhxFip+sDXQV129IF 76gSZPV4wxLh6fwyTlg8VSwxRK8ot+B6Ism7agYR+Gjnm5tYV8kuB/Lj3iXTatYN5M1FC5QMPwdha IlNPZ0cTYMB21noLDNR0rdyJ90ADtKn7nPd5SjTdIlSJL+UWWeRitpUnKSchO9RdJeWjDaOCUBzgf zKi9yTjh/fJgvkQRTe8l/vjFszTZiBjktMfNaqfagN1aY7hUkXqgDyoXLh5AmY3Y0nw2jm1hfa8ZF 18CJKr9fBbMQQSQGVlwXVtJwugefXaYgYKgJqQSGZwfuhbuiDCr14OwlybuMktcDw+f45LmyQpxz+ 2jMgoFS+E0ZaygiNgBkdJGDvx18vXejaXYQHMxYRBwU8R9VZMomNTrtvl3SsplhRl+Vw6ehbWGI9O 2v24UUQ8FKhr+1P4XTnl8cIPZNGVjwD8T7nppwMl3nX6jX1QLbF0GgRJTu+W61g5hJu+AhjDgm9nQ wBy0M2q9ESCx48W8LPrF3C2IjyYg1eDf/Hzn/TWFZ/KWdNaQWgS2qchfuJSCAbBIFLuADcA02DUVh qyIKmyqhX7Nn2u1BZKNmNH0vP2cQzJ+z9Ykfovg4KwqJ8uAWZZMPmJg4WNduHHdWrJRmWik/9iuY9 19K0InN8Xj3+4LyiYcNxO2oaEdj++3bQ7rqQxq//o=; Received: from [77.252.47.255] (helo=koszkonutek-tmp.pl.eu.org) by koszko.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oisT6-0007ax-Ue for help-guix@gnu.org; Thu, 13 Oct 2022 09:17:25 +0200 Date: Thu, 13 Oct 2022 09:17:22 +0200 To: Subject: program prepared with `guix pack` unusable by end users Message-ID: <20221013091722.59d9ecc0@koszkonutek-tmp.pl.eu.org> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/78/_HFU2oZTeDRMWuUO0cZA"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=93.95.227.159; envelope-from=koszko@koszko.org; helo=koszko.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Wojtek Kosior From: Wojtek Kosior via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665648896; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YTIs2zEY0EgXlv/wTyPaGuLMCeUeByBj7bwvVpQQrzM=; b=DQHoRT5AtuhC9Yuo0+MPsE+0UjhjJb97/XUKhia3kxpwToUsublsVSL+8HHI8CWD2cjK8h yk9OW0nFsFhntRszBRrxu64kjD/BWo8ToJ49XK1sPtVNywVGz9Qbr0aabpoqH6xLuSaoPj ma4V3kJl9lCHOG/uDT55TpVapQknLq2eo0tUF00zsNljRjXbE5N1ubIsKPkeLe+rIv/TIm xWPoz8COGk5U+Oy476i0gmyr7X2IhuFteNeu5k75xnW0JrG83XvF4GBmu1eF2iiRoCwbYZ EXqeCcKsvLM37GC1trOSQhlr1IrCoDglA4uaspvuTsE3y478WU7Zb5LazWetcw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665648896; a=rsa-sha256; cv=none; b=Y9FZsv7+nSYT1YQvj0wA+Bagk6wlA0dGZbYGIskSeBxCXpDlPX3h5iOlnl9IminCSr7XvO mHTc5Fe/NbD5QqzUr8s8CnDpCtYZRef4Aeme+f/+K6OC5XdZpHOKo/1RWP3piiU/SNQIJs QLyu80906gW1j1MEV/Y6ue5Ajv6BmFIyBWA7cgLslrJ5MYadukIiQsWjdbsqHjB0EKhaO6 aj4FYmt9ybDWppiXCBEHoawUGjHpPOf9MnwLN0UZcTawi7pnkJ+VJT7V7ckaM6NHmMlkAH 4OmNXlsfmrvV4t0jLC4wlfNeVkzn2oy2Mkcul4PLGS00VGflDkl/zEaiSjDL2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=CmTduuPD; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=koszko.org header.s=mail header.b=CmTduuPD; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F2B80E57F X-Spam-Score: -4.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: tmvStZB00E5p --Sig_/78/_HFU2oZTeDRMWuUO0cZA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I'm developing a program, named Haketilo, in Python. I wanted to make it available to users by the means of a tarball made with `guix pack` (which seems like a marvelous feature, btw!). It worked well on my PC but a user reported an error when running it[1]. The console_scripts entry point of the program cannot be found by importlib. User's entire report is behind the link[1] - I'll just quote the relevant traceback of `./haketilo --version` > Traceback (most recent call last): > File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.h= aketilo-real", line 33, in > sys.exit(load_entry_point('hydrilla=3D=3D3.0b1', 'console_scripts', '= haketilo')()) > File "/gnu/store/ziiryffcgph9jjcldz4rv2x5v6y0kxqh-hydrilla-3.0b1/bin/.h= aketilo-real", line 25, in importlib_load_entry_point > return next(matches).load() > StopIteration For an unknown reason, the user reports it works with sudo. Does anyone have an idea what could be the cause? I made the pack by running > guix environment -L . -e '(@ (hydrilla) hydrilla)' -- python3 -m build -s > guix pack -L . -RR \ > -S /hydrilla=3Dbin/hydrilla \ > -S /hydrilla-builder=3Dbin/hydrilla-builder \ > -S /hydrilla-server=3Dbin/hydrilla-server \ > -S /haketilo=3Dbin/haketilo \ > -e '(@ (hydrilla) hydrilla-dist-tarball)' in the git repo of my project[2] checked out to tag `v3.0-beta1`. The Guix version used is 1.3.0-26.fd00ac7. Any advice is appreciated :) Best, Wojtek [1] https://hydrillabugs.koszko.org/issues/130 [2] https://git.koszko.org/pydrilla -- (sig_start) website: https://koszko.org/koszko.html PGP: https://koszko.org/key.gpg fingerprint: E972 7060 E3C5 637C 8A4F 4B42 4BC5 221C 5A79 FD1A Meet Krak=C3=B3w saints! #48: saint Szymon z Lipnicy Poznaj =C5=9Bwi=C4=99tych krakowskich! #48: =C5=9Bwi=C4=99ty Szymon z Lipn= icy https://pl.wikipedia.org/wiki/Szymon_z_Lipnicy -- (sig_end) --Sig_/78/_HFU2oZTeDRMWuUO0cZA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCY0e7ggAKCRBLxSIcWnn9 GltVAQDBDS452FgIEgddnVda3Avn9D90cdpDyfUcVFJWptXcAQD+PogAqy6cSamL ypLqRgQUCcYWknHAVTp6n7t8MXPghgg= =6uQ2 -----END PGP SIGNATURE----- --Sig_/78/_HFU2oZTeDRMWuUO0cZA--