Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10630

Bug#900983: python-minimal: pyversions: /usr/bin/python does not match the python default version. It must be reset to point to python2.7

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#900983: python-minimal: pyversions: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
Date Thu, 07 Jun 2018 18:50:02 +0200
Message-ID <vY6gN-1v9-15@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Jun 7 16:45:15 2018
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.2
Reply-To Sandro Tosi <morph@debian.org>, 900983@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc morph@debian.org, debian-python@lists.debian.org, Matthias Klose <doko@debian.org>
X-Debian-Pr-Message report 900983
X-Debian-Pr-Package python-minimal
X-Debian-Pr-Source python-defaults
X-Spam-Bayes score:0.0000 Tokens: new, 16; hammy, 150; neutral, 112; spammy, 0. spammytokens: hammytokens:0.000-+--HX-Debbugs-Cc:sk:debian-, 0.000-+--python27, 0.000-+--python2.7, 0.000-+--dpkgsource, 0.000-+--dpkg-source
Content-Type text/plain; charset="us-ascii"
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailer reportbug 7.1.10
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1465485
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 66
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 07 Jun 2018 12:41:56 -0400
X-Original-Message-ID <152838971677.7258.14815564018476828020.reportbug@zion.matrix.int>
Xref csiph.com linux.debian.bugs.dist:901747 linux.debian.maint.python:10630

Cross-posted to 2 groups.

Show key headers only | View raw


Package: python-minimal
Version: 2.7.14-4
Severity: critical

Hello,
this happened after the recently introduced python2-* packages:

dpkg-source: info: using options from python-networkx-2.1/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/
 fakeroot debian/rules clean
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --with sphinxdoc,python2,python3
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/python-networkx-2.1'
pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
pyversions: missing debian/pyversions file, fall back to supported versions
py3versions: no X-Python3-Version in control file, using supported versions
dh_auto_clean
dh_auto_clean: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_clean: This feature will be removed in compat 12.
dh_auto_clean: pyversions -d failed [1]
make[1]: *** [debian/rules:13: override_dh_auto_clean] Error 1
make[1]: Leaving directory '/build/python-networkx-2.1'
make: *** [debian/rules:10: clean] Error 2


root@zion:/build/python-networkx-2.1# pyversions -d
pyversions: /usr/bin/python does not match the python default version. It must be reset to point to python2.7
root@zion:/build/python-networkx-2.1# ls -l /usr/bin/python
lrwxrwxrwx 1 root root 7 Jun  6 21:25 /usr/bin/python -> python2
root@zion:/build/python-networkx-2.1# dpkg -S /usr/bin/python
python-minimal: /usr/bin/python
root@zion:/build/python-networkx-2.1# dpkg -l python-minimal | grep ^ii
ii  python-minimal                                                 2.7.15-2                             amd64                                minimal subset of the Python2 language
root@zion:/build/python-networkx-2.1# dpkg -S `which pyversions`
python2-minimal: /usr/bin/pyversions
root@zion:/build/python-networkx-2.1#


this prevents python modules packages to be built, and it's a regression.


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python-minimal depends on:
ii  dpkg               1.19.0.4
ii  python2.7-minimal  2.7.14-4

Versions of packages python-minimal recommends:
ii  python  2.7.14-4

python-minimal suggests no packages.

-- no debconf information

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Bug#900983: python-minimal: pyversions: /usr/bin/python does not match the python default version. It must be reset to point to python2.7 Sandro Tosi <morph@debian.org> - 2018-06-07 18:50 +0200

csiph-web