Devuan bug report logs - #528
python3-reportbug: fails to install due to syntax error

Packages: 7.8.0+devuan1, severity:, python3-reportbug, version:, grave; Maintainer for 7.8.0+devuan1 is (unknown); Maintainer for severity: is (unknown); Maintainer for python3-reportbug is Mark Hindley <mark@hindley.org.uk>; Source for python3-reportbug is src:reportbug. Maintainer for version: is (unknown); Maintainer for grave is (unknown);

Reported by: "Gerard H. Pille" <ghpille@hotmail.com>

Date: Fri, 4 Dec 2020 23:18:02 UTC

Severity: normal

Tags: invalid, moreinfo

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#528: python3-reportbug: fails to install due to syntax error
Reply-To: Mark Hindley <mark@hindley.org.uk>, 528@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sat, 05 Dec 2020 17:03:01 +0000
Resent-Message-ID: <handler.528.B528.160718700329835@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 528
X-Devuan-PR-Package: python3-reportbug version: 7.8.0+devuan1 severity: grave
X-Devuan-PR-Keywords: moreinfo
References: <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com> <X8tguFoiYIJcJzad@hindley.org.uk> <AM5PR04MB318534446BB5CFC205546420BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com> <X8uLoz1p8Ix7tK0Q@hindley.org.uk> <AM5PR04MB31850FC0B2AF156AE0C338B8BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com> <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
Received: via spool by 528-submit@bugs.devuan.org id=B528.160718700329835
          (code B ref 528); Sat, 05 Dec 2020 17:03:01 +0000
Received: (at 528) by bugs.devuan.org; 5 Dec 2020 16:50:03 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Sat, 05 Dec 2020 16:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-5.cfwn.uk [193.36.131.5])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id CBF84F60917
	for <528@bugs.devuan.org>; Sat,  5 Dec 2020 17:41:59 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <mark@hindley.org.uk>)
	id 1kladA-0000wR-Tj; Sat, 05 Dec 2020 16:41:57 +0000
Received: (nullmailer pid 23152 invoked by uid 1000);
	Sat, 05 Dec 2020 16:41:53 -0000
Date: Sat, 5 Dec 2020 16:41:53 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: "Gerard H. Pille" <ghpille@hotmail.com>
Cc: 528@bugs.devuan.org
Message-ID: <X8u4UcDlR4/j48Lp@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AM5PR04MB31850FC0B2AF156AE0C338B8BCF00@AM5PR04MB3185.eurprd04.prod.outlook.com>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Gerard,

On Sat, Dec 05, 2020 at 02:34:21PM +0100, Gerard H. Pille wrote:
> Mark Hindley wrote:
> > 
> > Does /usr/bin/python exist? Which package does it belong to? Is it a symlink,
> > and if so, what to?
> 
> ghp-amdphIIx4a:/root
> # ls -al /usr/bin/python
> lrwxrwxrwx 1 root root 9 24 jan  2017 /usr/bin/python -> python2.7
> 
> According to the date, this is not my doing.  System was installed a year
> ago on a disk that hadn't seen Linux before.

Does it belong to any installed package? 'dpkg -S /usr/bin/python' should tell
you.

Even with a /usr/bin/python -> python2 symlink I am unable to get the postinst
to fail as it does in your case. Somehow you appear to have a python2 interpreter
which is trying to compile python3 code. I can't see how that could happen.

Can you check your python3 versions? I get:

 $ python3 -V
 Python 3.9.1rc1

Any extraneous symlinks in /usr/local/bin or elsewhere in the $PATH?

Thanks.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue Apr 23 15:29:42 2024;