From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SD8IB+BP616kUgAA0tVLHw (envelope-from ) for ; Thu, 18 Jun 2020 11:28:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IOXAAuBP616PTQAAbx9fmQ (envelope-from ) for ; Thu, 18 Jun 2020 11:28:32 +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 74AC6940703 for ; Thu, 18 Jun 2020 11:28:31 +0000 (UTC) Received: from localhost ([::1]:48900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlsib-00042n-2e for larch@yhetil.org; Thu, 18 Jun 2020 07:28:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlsiS-00040w-1r for help-guix@gnu.org; Thu, 18 Jun 2020 07:28:20 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:50557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlsiQ-0000rG-Ek for help-guix@gnu.org; Thu, 18 Jun 2020 07:28:19 -0400 Received: by mail-wm1-x335.google.com with SMTP id l17so4831294wmj.0 for ; Thu, 18 Jun 2020 04:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=qFtcj8ZYN4NPM/wrH1xyFQiFM8teWjS9LzfIT2C/6tg=; b=ck+IeUgeIME3BtkyrwmcVDTQyAl71miN4FrIim6mKZxjD/6rFoZ6CpVhWgLiPgBRAy Twes0ZAJ22/UnuEO4e8UC2GeF7QAGZd+4SkR9s53OgMDxvPF7LAcC4wiH5ubb/mP0cSZ C8n/Cotp6ypBHeHHx6e8luIODBFwi5RRXDfCUjmj5KdoJH2190zHR9NviF43moyuKMQZ F1tkhYaNIGkPC9z5a0xwSKS97AO+E1T6KAe+d2e38TnVqj9BKHLvVl7vapZOCS7h8+c8 bSrMbU80I8NdygcfkZBjcHwWoj9RnuJhW9Y90ZhzEzfTZThyJaCd8oBQ1gQOgwFGxyEi PfAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=qFtcj8ZYN4NPM/wrH1xyFQiFM8teWjS9LzfIT2C/6tg=; b=Phls0/2yx82cZl+DiyhXdTjQ/usd449E9CzX9QXofYa+xFxtULHdCaWeDgONAdXY+z gSfrOTDyhfQ2x2zXFqXaa1K6CdACyLJOHujZ8Q+I25F7mDyRcUltSnnxzrKhzj6CJOqz mH7LhxSkSS5tm3ZHw7MuZ1xJNphsqh74KQFob4Y+TC/LkQoHEfqnu/kizHcow3/FZ/nH sfOAMi13PxbSS51L9O27vhcP+bBYHJPZ15pdRKlkiYNeJz9KXiLQUDsrnCzGzvm2khoA w0hSYi9ftxR71HdKJa4pVeOb2r/Aagl4jmazCbMfJOEUUGZOxKgV58weY8rRzHFAoWbt ZUGw== X-Gm-Message-State: AOAM532sl9k+SBUR5fAz5X89KcBbB6brxAhKKdKfBkHryoQuqeQrxZw0 K0LR45zra5xNU4Ur8aWFOk2VGgCNeG8= X-Google-Smtp-Source: ABdhPJwnUSlFHKrI//7pvNYs2OLgybmc5JlCRMqoPg1FT6hrRZDIaqW5orJ/dbkyuZMPU78o8Ttywg== X-Received: by 2002:a1c:7f44:: with SMTP id a65mr3733026wmd.53.1592479696553; Thu, 18 Jun 2020 04:28:16 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id z2sm3038348wrs.87.2020.06.18.04.28.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jun 2020 04:28:16 -0700 (PDT) From: zimoun To: help-guix Subject: guix build python2 --with-source fails? Date: Thu, 18 Jun 2020 13:28:14 +0200 Message-ID: <86sgeswr3l.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x335.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=ck+IeUge; 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-Spam-Score: -0.71 X-TUID: J+Z+5ehZbm2b Dear, As an exercise about rebuilding old versions (e.g. used by old scientific paper), I have tried to rebuild say the very old Python 2.5. My naive attempt is to start with: --8<---------------cut here---------------start------------->8--- wget https://www.python.org/ftp/python/2.5.2/Python-2.5.2.tgz tar -xzvf Python-2.5.2.tgz guix build python2 --with-source=/tmp/Python-2.5.2 guix build: warning: transformation 'with-source' had no effect on python2@2.7.17 The following graft will be made: /gnu/store/ck7swzbk6h7mc7splsih93xsixc6z4ni-python2-2.7.17.drv [...] --8<---------------cut here---------------end--------------->8--- Why is it not possible to use '--with-source' with the package python2? I was expecting fail to build, not fail to apply the transformation. I mean, I thought that "guix build foo --with-source" was somehow equivalent to: --8<---------------cut here---------------start------------->8--- cd /tmp/Python-2.5.2 guix environment -C python2 ./configure make --8<---------------cut here---------------end--------------->8--- which works. Is it not? Thank you in advance. All the best, simon