From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 0Gi1L/2gA2Q1UQAAbAwnHQ (envelope-from ) for ; Sat, 04 Mar 2023 20:50:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8E/hLv2gA2QqPQAAG6o9tA (envelope-from ) for ; Sat, 04 Mar 2023 20:50:21 +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 8C76858A for ; Sat, 4 Mar 2023 20:50:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pYXtM-0004sI-WA; Sat, 04 Mar 2023 14:50:05 -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 1pYXtK-0004r2-Nu for bug-guix@gnu.org; Sat, 04 Mar 2023 14:50:03 -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 1pYXtK-0005G9-F7 for bug-guix@gnu.org; Sat, 04 Mar 2023 14:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pYXtK-0002dn-47 for bug-guix@gnu.org; Sat, 04 Mar 2023 14:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61967: guix pack error with python packages Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 04 Mar 2023 19:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61967 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 61967@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167795938310115 (code B ref -1); Sat, 04 Mar 2023 19:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Mar 2023 19:49:43 +0000 Received: from localhost ([127.0.0.1]:37786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXt1-0002d5-C4 for submit@debbugs.gnu.org; Sat, 04 Mar 2023 14:49:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:39990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pYXsw-0002cs-Br for submit@debbugs.gnu.org; Sat, 04 Mar 2023 14:49:42 -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 1pYXst-0004kW-SB for bug-guix@gnu.org; Sat, 04 Mar 2023 14:49:36 -0500 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pYXsr-0005Bt-Ow for bug-guix@gnu.org; Sat, 04 Mar 2023 14:49:35 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4PTb5C6cBzz1113 for ; Sat, 4 Mar 2023 19:49:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1677959359; bh=t28gxTPl+hI1+/V/EEFCxVfECMnf3e887rAjLZHd3kI=; h=From:To:Subject:Date:Reply-To:From; b=uUeyRcwBPa0tCOU9q11imuMG6M8ekb81TvxUT+3V5scTm2Vp2Qb/C2BTzBgAzJkUD I1vltRb61WsbE1HpXQsnHCzj/Nc/p1JYy5HgoVrsYwek1nvYdGp1Tn0FVQo0tH9WmJ QNuQhVXWYXmFMaahsa0bd0oND/fv6ZnB4S3sgf90= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4PTb5C4qJdz110v for ; Sat, 4 Mar 2023 19:49:19 +0000 (UTC) User-agent: mu4e 1.8.13; emacs 30.0.50 Date: Sat, 04 Mar 2023 20:35:01 +0100 Message-ID: <87y1occn5t.fsf@inventati.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=93.190.126.19; envelope-from=cayetano.santos@inventati.org; helo=confino.investici.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: 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: , Reply-to: cayetano.santos@inventati.org X-ACL-Warn: , Cayetano Santos From: Cayetano Santos via Bug reports for GNU Guix 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-Seal: i=1; s=key1; d=yhetil.org; t=1677959421; a=rsa-sha256; cv=none; b=XM+O78aNDVi6eN4qShkNK7yOgADgwQJDOzdbki3prU8/oc0zF2p5CZ8Ngu1CnCB2z3+S+r bFujYj9BoxgJpnZrAj8nw27gi4Sx48NkiObP3zf4ubM82Y67DneWH7zWkfp0pdlOcJpQ4K I/6Vv3x7MahdARKh7oKFa4I3dNesmdjDh6ZXsq6xUIBuYsoxE95j+sZbDsHYJy8+p0b11H 4+D8/aper3nt+ynVahW12m3356wWWT7xPBd45hwF+S7rfHKeDgWa+Y8VXPfTO7q0swxOCL 4S+QrlLfusse34XrhTmwzX7SifQPIf1wdNyl6OF7lJgz6RmzvPStQoD1Gj9VWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=uUeyRcwB; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677959421; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=t28gxTPl+hI1+/V/EEFCxVfECMnf3e887rAjLZHd3kI=; b=DXkqD8msDfdWK4kQ3kFLTTMHDODxmB//LtfuPDspkhFq/6J1sgk3rLeC/V5voGGSzA/yo0 L+4UScVFv7zL1JVgIZcP2qQJip9Cy8+k2KAqRpiDXzFzj9CNC0R6u1CLc24+Ag3BBLNYDt VtrPvBspO8mDhhmcTDt/cxUDKypy2iXGY28xHt+1s+rNy99yPE7xpsTP+nbxIUHGarbplH F/4/2n9TJNo19HwN+TKi4x8HL3XaS2Kp0gtex4/67LRibk73efwGf9Nc5rAVqLDBqho2xY hADiCi4vO8+eZe7sqX+YvIt6Vycg3tRBn4Pfh+Sy9T+UTea45uYsaC7WVt3M3A== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -3.90 X-Spam-Score: -3.90 X-Migadu-Queue-Id: 8C76858A Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inventati.org header.s=stigmate header.b=uUeyRcwB; 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=pass (policy=none) header.from=gnu.org X-TUID: rVk/S2qg3K4+ Hello guix, I=E2=80=99m trying to deploy a test set of python packages to a remote se= rver, using the following guix pack command (latest guix, as for now) guix pack -R --compression=3Dxz --save-provenance \ -S /.guix-profile/bin=3Dbin -S /.guix-profile/share=3Dshare \ -S /.guix-profile/etc=3Detc -S /.guix-profile/lib=3Dlib \ -S /.guix-profile/include=3Dinclude The resulting file.tar.xz is sent to the server with scp file.tar.xz server:/dir1/dir2/. Then, when I ssh server cd /dir1/dir2 I do a tar xf file.tar.xz At this point, a =E2=80=99ls /dir1/dir2=E2=80=99 shows, as expected .guix-profile gnu file.tar.xz Now, when I just (PYTHONPATH is empty at this point) /dir1/dir2/.guix-profile/bin/python3 -c \ "import sys; print(sys.path)" I get /dir1/dir2/hj...python... /dir1/dir2/hj...numpy... /dir1/dir2/hj...matplotlib... instead of /dir1/dir2/gnu/store/hj...python... /dir1/dir2/gnu/store/hj...numpy... /dir1/dir2/gnu/store/hj...matplotlib... so that when I /dir1/dir2/.guix-profile/bin/python3 -c "import numpyt" I get an error ModuleNotFoundError: No module named 'numpy' If, however, I export GUIX_PROFILE=3D/dir1/dir2/.guix-profile source $GUIX_PROFILE/etc/profile export PYTHONPATH=3D$GUIX_PYTHONPATH and then /dir1/dir2/.guix-profile/bin/python3 I have Error processing line 1 of /dir1/dir2/.guix-profile/lib/python3.9/site-packages/matplotlib-3.5.2-p= y3.9-nspkg.pth: Trying to =E2=80=99import numpy=E2=80=99 gives Traceback (most recent call last): File "", line 1, in File "/dir1/dir2/.guix-profile/lib/python3.9/site-packages/numpy/__in= it__.py", line 110, in import warnings ModuleNotFoundError: No module named 'warnings' Am I doing something wrong ? Is this a bug ? Thanks, Cayetano Santos