From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id XE1XFOMPEmBKGwAA0tVLHw (envelope-from ) for ; Thu, 28 Jan 2021 01:14:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sQ99D+MPEmDHcwAA1q6Kng (envelope-from ) for ; Thu, 28 Jan 2021 01:14:11 +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 6D3689401C0 for ; Thu, 28 Jan 2021 01:14:10 +0000 (UTC) Received: from localhost ([::1]:39388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4vsu-0004UQ-V4 for larch@yhetil.org; Wed, 27 Jan 2021 20:14:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4vsn-0004UF-V4 for bug-guix@gnu.org; Wed, 27 Jan 2021 20:14:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4vsn-0001av-NI for bug-guix@gnu.org; Wed, 27 Jan 2021 20:14:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4vsn-00079w-J8 for bug-guix@gnu.org; Wed, 27 Jan 2021 20:14:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#46132: [bug] build of /gnu/store/~-python2-setuptools-52.0.0.drv failed Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 28 Jan 2021 01:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46132 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: K I , 46132@debbugs.gnu.org Received: via spool by 46132-submit@debbugs.gnu.org id=B46132.161179638727449 (code B ref 46132); Thu, 28 Jan 2021 01:14:01 +0000 Received: (at 46132) by debbugs.gnu.org; 28 Jan 2021 01:13:07 +0000 Received: from localhost ([127.0.0.1]:46581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4vrv-00078e-Gl for submit@debbugs.gnu.org; Wed, 27 Jan 2021 20:13:07 -0500 Received: from mail-wm1-f49.google.com ([209.85.128.49]:36515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4vru-00078B-8d for 46132@debbugs.gnu.org; Wed, 27 Jan 2021 20:13:06 -0500 Received: by mail-wm1-f49.google.com with SMTP id i9so3239063wmq.1 for <46132@debbugs.gnu.org>; Wed, 27 Jan 2021 17:13:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=2oaOfeAB7zpAr4t7MCHqt9NsewMBJ9EECGkt5FNPwnM=; b=pKaH7drolNAVQxmo6vp6A5HWTryNovHFzTRau92zHmd4R5Ydkk0K3QowH0ccBzE41+ i1RfYes1ZB5sSX8KqyGV5tFQ9n87CiplmT9pA1t4sCKquiyobdcsyWexMVmmmRMWhED4 zSf6c5omcOGU6Ax9OqR9MWchmX21bCgeLmcbo9STjHqZY9sC7X+AJRq7MSgjdXDFqiZs 3oDf0H7vBTLe9XRI1bGf5Bqb0xY4eRewLw/xHL66NOxGcUyiJ5+qJ0fOLbjtOBxwofK3 EauCtazEtMJA84ST6FLuldHCQyLws6QU5bBdWCO+a0jInlNrj28nR08nTME+cY9MmvHq JmKg== 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:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=2oaOfeAB7zpAr4t7MCHqt9NsewMBJ9EECGkt5FNPwnM=; b=pw4ViF/VRHnx2939Zr/XDwHd8BAg0CYPBJADZNCHBqkzqnY+I8kiIkj1EHNn3QxNTM tFPYsFabvpROQ8369LcYMoqtRljTnsVJCgbzhSnwHq8CF/Pb6cn+a427B+NgiK9PHl44 3j74TZwE9xay2V0SJ7l3rQS4er92O4MPplrP0pfm0IEbwKQHSr9gdwuGnhUdRaYANK1H +2y+2RvLtPNrXGQ3vMk+A9IBsOKgWqVA8RRljnmm4IbueSNm8stkaCBd7qUZr8gkINlP fbAoxrsK5QroU3zMRQFlvISlPd04/MTGtZ8nsB0MD6UklQvUiAXf2KqNGeU4xJvxv9DD JN2Q== X-Gm-Message-State: AOAM530JXXy5vra1c7BhWAyeQ2qMrc9zzpX6EFwF1dz5+/dD5EIAUeX3 4gI6i3uMB2CexD1bl8jLtxF2WqobWJE= X-Google-Smtp-Source: ABdhPJyH2HFOMXe4syVhSV543VRq0cWSOCU80Ifr76cgNK8zuOguq9mPSFc6ssNoCL9hrwhLCOQEQw== X-Received: by 2002:a1c:3286:: with SMTP id y128mr6310014wmy.104.1611796380480; Wed, 27 Jan 2021 17:13:00 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m184sm4470273wmf.12.2021.01.27.17.12.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 17:12:59 -0800 (PST) From: zimoun In-Reply-To: References: Date: Thu, 28 Jan 2021 02:09:22 +0100 Message-ID: <86zh0thnp9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=pKaH7dro; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6D3689401C0 X-Spam-Score: -1.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9PFvqd6Qb0fc Hi, On Wed, 27 Jan 2021 at 08:47, "K I" wrote: > File "pkg_resources/__init__.py", line 1367 > raise SyntaxError(e) from e > ^ > SyntaxError: invalid syntax > command "python" "-c" "import setuptools, tokenize;__file__=3D'setup.py';= f=3Dgetattr(tokenize, 'open', open)(__file__);code=3Df.read().replace('\\r\= \n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed= with status 1 It is expected because Setuptools removed the compatibility with Python 2, see the ChangeLog: --8<---------------cut here---------------start------------->8--- v47.0.0 28 May 2020 Breaking Changes #2094: Setuptools now actively crashes under Python 2. Python 3.5 or la= ter is required. Users of Python 2 should use setuptools<45. --8<---------------cut here---------------end--------------->8--- The question is: do we remove =E2=80=99python2-setuptools=E2=80=99 since it= is defined by the usual =E2=80=99package-with-python2=E2=80=99? --8<---------------cut here---------------start------------->8--- (define-public python2-setuptools (package-with-python2 python-setuptools)) --8<---------------cut here---------------end--------------->8--- Or do we define python2-setuptools with the version v46.4.0? Which, IMHO does not make sense since Python 2 is end of life since one year. All the best, simon