[Debian-ha-maintainers] Bug#838715: pacemaker: properly remove CTS python files for all versions
Nishanth Aravamudan
nish.aravamudan at canonical.com
Fri Sep 23 21:06:38 UTC 2016
Package: pacemaker
Version: 1.1.15-1
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer,
In Ubuntu, the attached patch was applied to achieve the following:
* d/rules: update CTS python files' path for python3 and possibly
site-packages. If the code is updated to use setuptools, cts should
continue to not be shipped. Fixes FTBFS for arch-only builds
(LP: #1627125).
Thanks for considering the patch.
diff -Nru pacemaker-1.1.15/debian/rules pacemaker-1.1.15/debian/rules
--- pacemaker-1.1.15/debian/rules 2016-06-23 13:47:01.000000000 -0700
+++ pacemaker-1.1.15/debian/rules 2016-09-23 13:51:00.000000000 -0700
@@ -37,8 +37,11 @@
override_dh_auto_test:
override_dh_install:
+ # remove any possible python CTS files, including site-packages.
+ # If the code is updated to use setuptools, CTS should
+ # continue to not be shipped.
rm -r debian/tmp/usr/share/pacemaker/tests \
- debian/tmp/usr/lib/python2.7/dist-packages/cts \
+ debian/tmp/usr/lib/python*/*packages/cts \
debian/tmp/usr/lib/*/lib*.la \
debian/tmp/usr/share/doc/pacemaker/COPYING \
debian/tmp/usr/share/doc/pacemaker/COPYING.LIB
-- System Information:
Debian Release: stretch/sid
APT prefers yakkety
APT policy: (500, 'yakkety'), (400, 'yakkety-proposed')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.8.0-15-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
Nishanth Aravamudan
Ubuntu Server
Canonical Ltd
More information about the Debian-ha-maintainers
mailing list