GNU bug report logs - #46132
[bug] build of /gnu/store/~-python2-setuptools-52.0.0.drv failed

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: "K I" <gitlabcanada@HIDDEN>; merged with #46158; dated Wed, 27 Jan 2021 15:48:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 46132 46158. Request was from Leo Famulari <leo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 46132 <at> debbugs.gnu.org:


Received: (at 46132) by debbugs.gnu.org; 28 Jan 2021 01:13:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 27 20:13:07 2021
Received: from localhost ([127.0.0.1]:46581 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4vrv-00078e-Gl
	for submit <at> 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 <zimon.toutoune@HIDDEN>) id 1l4vru-00078B-8d
 for 46132 <at> 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 <at> 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 <zimon.toutoune@HIDDEN>
To: K I <gitlabcanada@HIDDEN>, 46132 <at> debbugs.gnu.org
Subject: Re: bug#46132: [bug] build of
 /gnu/store/~-python2-setuptools-52.0.0.drv failed
In-Reply-To: <E1l4n2Z-0001bf-G0@HIDDEN>
References: <E1l4n2Z-0001bf-G0@HIDDEN>
Date: Thu, 28 Jan 2021 02:09:22 +0100
Message-ID: <86zh0thnp9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 46132
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

On Wed, 27 Jan 2021 at 08:47, "K I" <gitlabcanada@HIDDEN> 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---

<https://setuptools.readthedocs.io/en/latest/history.html>
<https://github.com/pypa/setuptools/issues/2094>


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




Information forwarded to bug-guix@HIDDEN:
bug#46132; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 27 Jan 2021 15:47:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 27 10:47:41 2021
Received: from localhost ([127.0.0.1]:45853 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l4n2j-00081y-Id
	for submit <at> debbugs.gnu.org; Wed, 27 Jan 2021 10:47:41 -0500
Received: from lists.gnu.org ([209.51.188.17]:52282)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gitlabcanada@HIDDEN>) id 1l4n2i-00081r-HJ
 for submit <at> debbugs.gnu.org; Wed, 27 Jan 2021 10:47:40 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:40810)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gitlabcanada@HIDDEN>)
 id 1l4n2h-0004gF-6b
 for bug-guix@HIDDEN; Wed, 27 Jan 2021 10:47:40 -0500
Received: from aibo.runbox.com ([91.220.196.211]:59140)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <gitlabcanada@HIDDEN>)
 id 1l4n2e-0001kE-AO
 for bug-guix@HIDDEN; Wed, 27 Jan 2021 10:47:38 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=selector2; h=Message-Id:Date:Subject:To:From:MIME-Version:
 Content-Transfer-Encoding:Content-Type;
 bh=+eB0/74I6vX+yK0n/re10lZP+X9JZoWx8pA9IFO8I8Q=; b=fiP2ah1W/CurzwjTAlM7hhSwFS
 1xUCxlhWU3NFf/vo9KwwLTIY8IjhjntBlJaIBArcaULAie5NAKKSKdjTje4/Trqzk1jawqngzDsCC
 UxQN5mBM9jvhTQ5WeX2yIn6ubV2sNlsEhspSknFhDRd+p9lbUwhUTc4IpzBKMHTvjsnvOsXkR0jxn
 478iyQoCd/2zH4Bb1Sn9Z5HNN/eZ25+1CGrWDCkzLHpOAI0DxSjHnyRH8K6xqp831EBBDsBcC1txi
 FkN4lKQuI/VkCk9JG4dmdOymngspCwrOk8LlnHAopidyRT6TCnS5Z/wiOyhnkqVYGyZtwpfxs4vG0
 BVlwyzyA==;
Received: from [10.9.9.127] (helo=rmmprod05.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <gitlabcanada@HIDDEN>) id 1l4n2Z-0004U4-H6
 for bug-guix@HIDDEN; Wed, 27 Jan 2021 16:47:31 +0100
Received: from mail by rmmprod05.runbox with local (Exim 4.86_2)
 (envelope-from <gitlabcanada@HIDDEN>) id 1l4n2Z-0001bf-G0
 for bug-guix@HIDDEN; Wed, 27 Jan 2021 16:47:31 +0100
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received: from [Authenticated alias (952555)] by runbox.com with http
 (RMM6); for <bug-guix@HIDDEN>; Wed, 27 Jan 2021 15:47:31 GMT
From: "K I" <gitlabcanada@HIDDEN>
To: "bug-guix" <bug-guix@HIDDEN>
Subject: [bug] build of /gnu/store/~-python2-setuptools-52.0.0.drv failed
Date: Wed, 27 Jan 2021 08:47:31 -0700 (MST)
X-RMM-Aliasid: 952555
X-Mailer: RMM6
Message-Id: <E1l4n2Z-0001bf-G0@HIDDEN>
Received-SPF: pass client-ip=91.220.196.211;
 envelope-from=gitlabcanada@HIDDEN; helo=aibo.runbox.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001, TVD_SPACE_RATIO=0.001,
 UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

starting phase `patch-source-shebangs'
patch-shebang: ./docs/conf.py: warning: no binary for interpreter `python3'=
 found in $PATH
patch-shebang: ./pkg_resources/_vendor/appdirs.py: changing `/usr/bin/env p=
ython' to `/gnu/store/ln0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/p=
ython'
patch-shebang: ./setup.py: changing `/usr/bin/env python' to `/gnu/store/ln=
0jd0k32xbr2jyha1sdaynllkazgmsi-python2-2.7.17/bin/python'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
running "python setup.py" with command "build" and parameters ()
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setuptools/__init__.py", line 16, in <module>
    import setuptools.version
  File "setuptools/version.py", line 1, in <module>
    import pkg_resources
  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=




Acknowledgement sent to "K I" <gitlabcanada@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#46132; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 28 Jan 2021 22:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.