From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QHGpJ1tkSWBrSQAA0tVLHw (envelope-from ) for ; Thu, 11 Mar 2021 00:29:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mHNdI1tkSWB7LgAAB5/wlQ (envelope-from ) for ; Thu, 11 Mar 2021 00:29:15 +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 D7592D6C7 for ; Thu, 11 Mar 2021 01:29:14 +0100 (CET) Received: from localhost ([::1]:48540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK9CS-0006cX-P9 for larch@yhetil.org; Wed, 10 Mar 2021 19:29:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK9CI-0006YG-NK for bug-guix@gnu.org; Wed, 10 Mar 2021 19:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40717) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK9CI-00046V-Aj for bug-guix@gnu.org; Wed, 10 Mar 2021 19:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lK9CI-0006v6-7M for bug-guix@gnu.org; Wed, 10 Mar 2021 19:29:02 -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, 11 Mar 2021 00:29:02 +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 Received: via spool by 46132-submit@debbugs.gnu.org id=B46132.161542251026548 (code B ref 46132); Thu, 11 Mar 2021 00:29:02 +0000 Received: (at 46132) by debbugs.gnu.org; 11 Mar 2021 00:28:30 +0000 Received: from localhost ([127.0.0.1]:52259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK9Bm-0006u6-B9 for submit@debbugs.gnu.org; Wed, 10 Mar 2021 19:28:30 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:36484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lK9Bk-0006tk-4H for 46132@debbugs.gnu.org; Wed, 10 Mar 2021 19:28:29 -0500 Received: by mail-wm1-f48.google.com with SMTP id r15-20020a05600c35cfb029010e639ca09eso12160489wmq.1 for <46132@debbugs.gnu.org>; Wed, 10 Mar 2021 16:28:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=1fIB9NgUYlCefx/y2uPfbVxm9D7MIEvAp9R4DLx7PNY=; b=HkjmAm96ON8EwdtTMFaAKpTV9+d6/mss0MnXcUF9fsOoFrH26KhSW7gxBPvR9PXrgE MmSDZE2l0/HrKy+M0OqyU8/+sNBqeDvqiirebnVo4f0J/mo0KQZE/1ZONESD/bd8GLf1 Xep5JDiGDXeFQUFQDwvgN8he75ykxPt1n4bGSCdnqcRw7WH2fgtKymwXnj5iY9OnoNlB qrfz/qWv1mFpllcehWXQSLPvO6+91pG4z9jHhn4OYDQM43i/thRKdLT2pP+K5tRyIkv2 UQ8OnjjYaqwh/6Wn2UQkJsa9FO/zP89Vs/kJg6RgFyxjonSHmGoDJiwMQd40Y9x8qTmi mgIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=1fIB9NgUYlCefx/y2uPfbVxm9D7MIEvAp9R4DLx7PNY=; b=nzBtKLvUjn+JwcsC5vsAiOuFE1fcvbw6zCqBCm3Gpjsy9yPPOarymoGXp9ym70OPXE bC0aCm2qAcgDphftx1vxaNtVlM7ZFeQtkwC836zeqDhQ4KGGEVpL73hu2DhespQUzvcx jGGJxfZHvIxGsEFBodfplewxgdDfDUQDdDTNO43tVL8Q+Gw0MHJ/0f9Dzx6HWujaxGMI Ljx5FwJxxOkDUQQig/Sf1inKb1g+6z2TRFufng9hd2xov0NIvgjRceMsNIxUU/af/Uhw iblDSgy9Tq+tLZzRzbGqcgKpNe67V3uQOLMJQqhcwVdJJFZvJrIh3kRtyCHVRrKvviGZ 9GVg== X-Gm-Message-State: AOAM531sSxRI/wL8oX6lL1FLJjq6KcKUQ+4o0zoiFAyujamyvdXpkHnZ eRURtkTLpbl5c7T5u8rh7pYoC7eRQ60= X-Google-Smtp-Source: ABdhPJx9r2FmaxQzextnZ2dk8CZ9IkzR9WLufYxB9eLI0cINxmDaqVh0lkT5wOEru4sHG290eEx49w== X-Received: by 2002:a1c:3b02:: with SMTP id i2mr5604998wma.18.1615422500553; Wed, 10 Mar 2021 16:28:20 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id e8sm1015944wme.14.2021.03.10.16.28.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 16:28:20 -0800 (PST) From: zimoun References: <86zh0thnp9.fsf@gmail.com> Date: Thu, 11 Mar 2021 01:22:22 +0100 In-Reply-To: <86zh0thnp9.fsf@gmail.com> (zimoun's message of "Thu, 28 Jan 2021 02:09:22 +0100") Message-ID: <8635x2bku9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) 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: , Cc: 46132@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615422555; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1fIB9NgUYlCefx/y2uPfbVxm9D7MIEvAp9R4DLx7PNY=; b=pPvccXB6SfNSzQFYikLfnIpuXdArsCOYimILJMWX3HGKZBC1UmW2fvfCX4pZcODgLgDH9X 9knyWOU/col7H8V6gmWZyOw/Ef1Fxqw7DGA+rN0Z+AMo539/DSL0iIQN6nX/00+pjZCz/Z DvNvIJ8/X/PlxIH7ZxlFjw2i3OjTdO8TKpMOH3VK/P26UOYWv05YxDVQQ0NEiGIgdZjnY2 ip0L+XWUAtFFKFtvwD6iMkTSw/7iULcXU7RvvULl/iQuRQBP3V/B6U04T+bdnuA3vEouNa 6GdAc4CNd85Hsbm0ltyaNYUHVp6hr0jGojgvVE4Fn8Cgw4KP0Bnoge6+dB+n+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615422555; a=rsa-sha256; cv=none; b=j0ysVLLLXjxy9YXT6cTrcExuicsYSnrpduvpoogC+9ehtOYelVuY2c6DJvrAWJ60S3TS5B vgVm83K88W8btELUn0/sBulFRgHz1udEVtIjdp1psARWaPXTAmZdCl4QKf6VAx8ICYfOj3 HZUIxTa8npIVg3zMSFvPi6NU7lL/kb5L61mKBh9GCWRICR/QzkZkNNMkPSBmqZhhykpmrb kQl+5QGnqx/qbsDoMUO52ffd76lqkj4a7o2YTHGrDRe6ZkZPTVlzIJClcjvlAUxuNZdV+b WjJVMjl8DA09IkuC96HQUJg8nRV0HuI53z29u1K4PghHenb2PyyrsoHUszXwBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=HkjmAm96; 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-Spam-Score: -1.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=HkjmAm96; 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: D7592D6C7 X-Spam-Score: -1.29 X-Migadu-Scanner: scn1.migadu.com X-TUID: dW5ld7TJrccQ Hi, On Thu, 28 Jan 2021 at 02:09, zimoun wrote: > 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" faile= d with status 1 > > It is expected because Setuptools removed the compatibility with Python 2, > see the ChangeLog: > > v47.0.0 > > 28 May 2020 > Breaking Changes > > #2094: Setuptools now actively crashes under Python 2. Python 3.5 or = later is required. Users of Python 2 should use setuptools<45. > > > > > > > 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? > > (define-public python2-setuptools > (package-with-python2 python-setuptools)) > > 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. Currently, python-setuptools is at version 52.0 and python2-setuptools at version 41.0.1. Both build fine. The comment says: --8<---------------cut here---------------start------------->8--- ;; Newer versions of setuptools no longer support Python 2. (define-public python2-setuptools (package (name "python2-setuptools") (version "41.0.1") --8<---------------cut here---------------end--------------->8--- therefore, this part of the bug is done. Let check the other part. Cheers, simon