Your message dated Sun, 19 Jan 2020 14:53:10 +0000
with message-id <e1itbws-000eji...@fasolo.debian.org>
and subject line Bug#948770: fixed in subversion 1.13.0-2
has caused the Debian Bug report #948770,
regarding subversion: Fix for test failures with python2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
948770: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948770
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: subversion
Version: 1.13.0-1
Severity: serious
Tags: patch
Justification: FTBFS
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch
Hi James,
With the impending removal of /usr/bin/python and the python package in
favor of /usr/bin/python2 (shipped by 'python2'), subversion will start to
fail to build due to trying to invoke /usr/bin/env python in the testsuite.
The attached patch fixes the build failure in Ubuntu, where python-all-dev
has already transitioned to depend on python2 instead of on python.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru subversion-1.13.0/debian/patches/python2-in-tests.patch
subversion-1.13.0/debian/patches/python2-in-tests.patch
--- subversion-1.13.0/debian/patches/python2-in-tests.patch 1969-12-31
16:00:00.000000000 -0800
+++ subversion-1.13.0/debian/patches/python2-in-tests.patch 2020-01-12
23:25:01.000000000 -0800
@@ -0,0 +1,16 @@
+Description: use python2 as the interpreter now for tests, not python
+ /usr/bin/python is no longer guaranteed to exist, per PEP 394. Use python2
+ instead for compatibility.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Updated: 2020-01-12
+
+Index: subversion-1.13.0/subversion/tests/cmdline/svneditor.py
+===================================================================
+--- subversion-1.13.0.orig/subversion/tests/cmdline/svneditor.py
++++ subversion-1.13.0/subversion/tests/cmdline/svneditor.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ #
+ # svneditor.py: a mock $SVN_EDITOR for the Subversion test suite
+ #
diff -Nru subversion-1.13.0/debian/patches/series
subversion-1.13.0/debian/patches/series
--- subversion-1.13.0/debian/patches/series 2019-11-28 19:11:05.000000000
-0800
+++ subversion-1.13.0/debian/patches/series 2020-01-12 23:21:41.000000000
-0800
@@ -10,3 +10,4 @@
python-builds
examples-compile-instructions
workaround_EINVAL_on_kfreebsd
+python2-in-tests.patch
--- End Message ---
--- Begin Message ---
Source: subversion
Source-Version: 1.13.0-2
We believe that the bug you reported is fixed in the latest version of
subversion, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 948...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James McCoy <james...@debian.org> (supplier of updated subversion package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 19 Jan 2020 08:59:14 -0500
Source: subversion
Architecture: source
Version: 1.13.0-2
Distribution: unstable
Urgency: medium
Maintainer: James McCoy <james...@debian.org>
Changed-By: James McCoy <james...@debian.org>
Closes: 948770
Changes:
subversion (1.13.0-2) unstable; urgency=medium
.
[ James McCoy ]
* gbp.conf: Do not number patches
.
[ Steve Langasek ]
* use python2 as the interpreter now for tests, not python (Closes: #948770)
Checksums-Sha1:
4e283c0f60e07bb30cbaa82577b5a655d0cb86b1 3642 subversion_1.13.0-2.dsc
3a4d403903042cec64bdd480012f3e97c7ef00a1 420740
subversion_1.13.0-2.debian.tar.xz
Checksums-Sha256:
456d79d9e611853b3078189a0570a90b8fdc17a531f202bb210dfc45fb070267 3642
subversion_1.13.0-2.dsc
56f1555b9adfa8dc10a4ff6773022a35befa45cd47b7b43024507a686d0f78bb 420740
subversion_1.13.0-2.debian.tar.xz
Files:
33e6d7f69ab3163bb82e72223671c9b5 3642 vcs optional subversion_1.13.0-2.dsc
9d562f17d38477055c4bd9d27f58303b 420740 vcs optional
subversion_1.13.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAl4kZApfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9vbbQ//bRozn/3Grfwe3esVzECmM5fFAIOj
g3jlAkdxZdECXuUFZzW5DO1V7nzYbpRZHnKbOi3BN9trodNYJxxDTnOghdrLfsbr
4C85iH+E8m7ouQnISJOmdBmUlubDBj+YQam6f9TmAUGx4i4sj18FQxedE1Ma78g0
oA+U641oeTKGte6PTifiwTlCEn5edQQrUkVapxaElx2skOzWZyxmjuzH55mYKcLy
tGGp3N8qu7vXvwL0zNTd7AI6kx0vahj6jsvYrP3zyOnwToe8TqITTBpOgeyG2byd
BFkWc2jvrIq5FoqV6qfkTPKTWDYtDOK7UFUAIJNQ7ub9ImZnRadKKH5S3FfOU6rt
j0feSmB8HS9WcDNF5UETakicJFy0N+hdhF5W6T7iBwDqukBGa7WtGj5BdN6YLbsH
MyGcjSWCzEk94DPjHSV1U0df1E4n/YW4jEYFm+aQn1VIWKIgSVU3W+8ISzGpQQXT
Pwp1oPwSFjQmx5I9XPFb1TWPmsHOjOdNAVgm0HKrsCjwGzGoLzLDPRqzdvCJmCl0
PmR7M+5EyCRZeot5LFKkmHAMKsl30Z/tigssV4kl/sRGX2JEN+EPp29g+2evJOi+
8bPdeDo8AL8xKyey1PS+2LGzHMqUBUGfvM3JsfpXlqSlmrIqZqDZglZaSONjqnv3
mAuNs0JTPJeKWbo=
=2F6t
-----END PGP SIGNATURE-----
--- End Message ---