From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GKyJB3zSI2FLagEAgWs5BA (envelope-from ) for ; Mon, 23 Aug 2021 18:53:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YBtPA3zSI2GhdgAA1q6Kng (envelope-from ) for ; Mon, 23 Aug 2021 16:53:16 +0000 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 85BEAFA4A for ; Mon, 23 Aug 2021 18:53:15 +0200 (CEST) Received: from localhost ([::1]:57754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIDCE-00056k-J6 for larch@yhetil.org; Mon, 23 Aug 2021 12:53:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mID0g-0007Q6-Bv for help-guix@gnu.org; Mon, 23 Aug 2021 12:41:18 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]:36755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mID0e-0006cd-IU for help-guix@gnu.org; Mon, 23 Aug 2021 12:41:18 -0400 Received: by mail-qk1-x72f.google.com with SMTP id e14so19849221qkg.3 for ; Mon, 23 Aug 2021 09:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ipHMS1CJnzMjyspMQD4uWZqO0eTQQvG8P5wSVuFxIWY=; b=JuWw1SJN/Ylva8AYLPy1n95EJ3tPl+LYUidpqsyuPclIei4q/AQFE1KGl1oRmtLWIM 19wNFjVPmrvd90+zMlRtZuj4T7QN3vdgs9+m5EKeJ73carVWLylWSH0zlCqSPIUq1/L6 RCHWme7XhoGRhyUV/A7iWhfTfVwWGHroz7jk0BhIOynMm76k8csGDfTBB7XqkBIW0DlH 2M1l1jlkUg4iIst2uq1DxZB4aD74bOVp9I7aSPK14S+ELG3ukL/TvcEENXli8GLGARYI i1AKQuKx0w1btJwTUBG2Xe+xphnsJfsnLe0cS7UvXac2YBL1C6UB9mPTktnH9wbJZOqJ 3uRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ipHMS1CJnzMjyspMQD4uWZqO0eTQQvG8P5wSVuFxIWY=; b=Y5c6BEXyfy4mL+nFdwcd1D7ExgmNUFTEo1uOqznIhHzKXPlCXyGevF0J/Zx2VCH/Nq tCQVq21K3DKVZWDKtHC7zxKSk9ltthSfQ23oozRjsgR531aEbGnBXEFL6xe/An2KLkrL 8kINzenL+yhUre9IsBo/pW/ppCnR+OZi92oeTPHihEOsU1fMfQqLc0m5cZKnV437Is5m dATMgqsnutfJaPdQc7P6AAN18ZCtIPWvm2M4b8Xhs0hRJO2wdnIjeZlmZE+LBFo3E+Px ibSVxWFedWKs6IdJ9An+9K8t3hK2qmhk+Kj2vLZXBGIKZJ+ebJtmTijswHQtlwAGULbc DZ2g== X-Gm-Message-State: AOAM531d/y8ohEzwdTUv3e4KZ1dI9REZq6Fb34ScGVYavezkpRJqqcbs IDYUikoBiNmbwhl9j5ruAhTJYH1ez5QUNZxf7x4= X-Google-Smtp-Source: ABdhPJzXIuiVaVnUYC2WN0rfyh0KtVc+W1pXSPllz4tFgJgKrtOq/f5V/SXaVGtNWmpXREDAE9Z5G7VvfVUTLJFUEo0= X-Received: by 2002:a05:620a:15a5:: with SMTP id f5mr22594426qkk.80.1629736875544; Mon, 23 Aug 2021 09:41:15 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: zimoun Date: Mon, 23 Aug 2021 18:41:04 +0200 Message-ID: Subject: Re: Issue about building python on a foreign distro To: Wade Zhang Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x72f.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1629737595; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=ipHMS1CJnzMjyspMQD4uWZqO0eTQQvG8P5wSVuFxIWY=; b=bPt7CPydnGKgrUu7AHM+rXp+LMQVvAWkLUG7C9uZaTJTlZyJ7OveoEeWbWIaJSM7mTX+Vk qrAoUCzov39wXf7NG1pviumaJKu8pPbD0nB3EiadUiEGt24ndn4ZS/BYmYmIjUFXLqheOJ GwY5W2bgJcHUUcg/+nmIOTgQvuRy63t2wAw+GxbPZJ/vXh+1GTYCGVtNlQqfX6unJHTUKu /FvZYT9gwpJkJg82RyckM1pTclh/ebr9USa3jGbDfrA589sUNTAZE3oxGc3ZujaYZzPL5d 8+g4KqBtrT/7w4jjvddAS/BvReeOEo/ESkPmLqvehMCz1nDn0noMezLj0U/ZOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1629737595; a=rsa-sha256; cv=none; b=GiTBODeJQ4n/oG0Nd+TEO+nFBkRUCjRh3uSv59XHdKlULBo2xIGCdQgo///Bck8oEAi47r t31Z6gn1ce3FnkNpnWDhRa+Zua0qiBhTNGM00Hg4WHGrMQiXazmTi6LYG7vTfU84AwKQSU gOxs4dFVfts7D6xpzRRZ0vHRw0QY/Ntyo2QQ1nGL0esvPUk7FN8Mkv6l4TSnA2oGYqAJJ4 j7aNFp2beD+bZkDFdc1XEtEV60+l1AiqLK/j3upzvPjavXBDWb54XXa0KH/rUyWUZ9KlJV RQxwbP47prhSP6lF9l7w3MRpk5Ugz+zXUYdJ9bs5rl8bx18MZjIGzno8fsJ8JQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=JuWw1SJN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=JuWw1SJN; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 85BEAFA4A X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: /TrqtSdpHzr3 Hi, Welcome! :-) On Sun, 22 Aug 2021 at 23:39, Wade Zhang wrote: > Recently I installed Guix on a Debian buster host. I want to install all build > dependencies by Guix. Since I use pyenv to manage Python versions, I have to > install Python outside Guix. Now I get stuck during the Python installation. [...] > It seems all dependencies installed by Guix are not found. Well, do you do source ~/.guix-profile/etc/profile after installing all the dependencies (gcc-toolchain, bzip2, etc.) > Could you please tell me the reason of these errors and how to fix them? I do not use 'pyenv' and I had bad experience when mixing "package manager". To have other Python versions than the default ones, I would create variant by using package transformation guix build python --with-source=python=https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tar.xz but there is no guarantee it works for all the versions. Well, I would start by a package transformation at the command-line and if it fails then compile --without-tests or create a package variant and use --load-path. Hope that helps, simon