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

Packages: severity:, version:, python3-reportbug, 7.8.0+devuan1, grave; Maintainer for severity: is (unknown); Maintainer for version: is (unknown); Maintainer for python3-reportbug is Mark Hindley <mark@hindley.org.uk>; Source for python3-reportbug is src:reportbug. Maintainer for 7.8.0+devuan1 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: [devuan-dev] bug#528: python3-reportbug: fails to install due to syntax error
Reply-To: wirelessduck@gmail.com, 528@bugs.devuan.org
Resent-From: wirelessduck@gmail.com
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Mark Hindley <mark@hindley.org.uk>, devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sat, 05 Dec 2020 21:03:01 +0000
Resent-Message-ID: <handler.528.B528.160720140316309@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: invalid moreinfo
References: <X8u4UcDlR4/j48Lp@hindley.org.uk> <AM5PR04MB3185CDCB518BFB41FDA24421BCF10@AM5PR04MB3185.eurprd04.prod.outlook.com>
Received: via spool by 528-submit@bugs.devuan.org id=B528.160720140316309
          (code B ref 528); Sat, 05 Dec 2020 21:03:01 +0000
Received: (at 528) by bugs.devuan.org; 5 Dec 2020 20: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 20:50:03 +0000 (UTC)
Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174])
	(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 EDFAFF60AD5
	for <528@bugs.devuan.org>; Sat,  5 Dec 2020 21:40:03 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="RTr3XScS";
	dkim-atps=neutral
Received: by mail-pf1-f174.google.com with SMTP id 131so6248694pfb.9
        for <528@bugs.devuan.org>; Sat, 05 Dec 2020 12:40:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=content-transfer-encoding:mime-version:subject:from:in-reply-to:cc
         :date:message-id:references:to;
        bh=SyzudeLQ7lJzlW5u2MjcnIEW7iNOTv72NcOkmIhWUR0=;
        b=RTr3XScSXrjTzLpDZob9/qFVZ9fr5qXkM5NF517XxoRnMTb9rBxfY5SNqnJDvbAsoD
         oTAe6nesAvNpXtHTzOzFPC9agEM0SDsYvkTiFgGhqr5yDttzAwkMMY41cqItwfsAMDfn
         F1+Dydqdwb4KLHCjpsHrY7xyjzD63LAsugCRsV5d6SSQvxfoFXnyABkLvI7hCpi/QxCX
         TYW80ZlFs29WYhc4Ypfpof4awukjL5ikLg+CboDQGmBg/2cTKZ4FxA3yM4cuQ0Fgb7Ki
         TSo1ZbuFzjibQj3bk3bK4dGYLQNeHUGVDxrcN5gE57HpjbkuwuzcS1KTX0N/8NLmEsX7
         +e/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:content-transfer-encoding:mime-version:subject
         :from:in-reply-to:cc:date:message-id:references:to;
        bh=SyzudeLQ7lJzlW5u2MjcnIEW7iNOTv72NcOkmIhWUR0=;
        b=HLa3JmY1vzXOSIcsbELmdq19fe8A1tqin1wHFyyeZbVmh1jNx4l2GLp4jdJX8uJmaq
         GA45bHmIuHMUsu95gWuyF06sFqpYgCeVIuweoGuZvAdSIc7pz8yaydomxYLFSP7TM28m
         HQS4DnDrLebblYmBztn5soAoOZF3ezKXjrBvFg1qUXyTVBOvStvi+xT3JSTydUgXELad
         hv0y/SGaRUQz3QKunIKum5H/+45wVQUjMvjW+y9Q1cHFGfbMDIOUYwzmc3pcQdLujhai
         /WTw7joyo9rX6BtpHnfCm6uWc8AT/1fph7YgT7oE2KMdAOGQLvFBGm6bNQgQ0z9BqCc7
         iQUQ==
X-Gm-Message-State: AOAM530OLnzzILr95qDS4j9vQg/S8u8mZTl5b2alms5OMa9Y2jU/Uf3/
	pbwiGAZs2EXYTNOA4studcpKqkL7/kfn2g==
X-Google-Smtp-Source: ABdhPJwqbPnaHG0q6p/ttsF57dmFBjTUSJMM3Fs9HgQY4rF+xfusQOpxvzw9Rhaj8uaGqhARNwJ5TA==
X-Received: by 2002:a65:594b:: with SMTP id g11mr12577133pgu.424.1607200801190;
        Sat, 05 Dec 2020 12:40:01 -0800 (PST)
Received: from [10.0.0.117] (119-18-0-212.771200.syd.nbn.aussiebb.net. [119.18.0.212])
        by smtp.gmail.com with ESMTPSA id 21sm966674pfx.84.2020.12.05.12.40.00
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Sat, 05 Dec 2020 12:40:00 -0800 (PST)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
From: wirelessduck@gmail.com
In-Reply-To: <X8u4UcDlR4/j48Lp@hindley.org.uk>
Cc: "Gerard H. Pille" <ghpille@hotmail.com>, 528@bugs.devuan.org
Date: Sun, 6 Dec 2020 07:39:57 +1100
Message-Id: <4C2746D2-667E-4890-BA00-DACBBE2CC61B@gmail.com>
To: Mark Hindley <mark@hindley.org.uk>
X-Mailer: iPhone Mail (18B92)
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

> On 6 Dec 2020, at 04:02, Mark Hindley <mark@hindley.org.uk> wrote:
> 
> 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

Mark,

Another possibility is that f-strings weren’t introduced to python until version 3.6 while ascii only has version 3.5. Maybe python3-reportbug is trying to run a script somewhere before the system has upgraded the python3 interpreter?

I also noticed that the python3-reportbug package in chimaera doesn’t have a version restriction for >python3.6 so it’s possible to upgrade that package without upgrading the main python3 package which could lead to this problem.

Tom

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: Mon Nov 25 04:31:32 2024;