Hi,
Currently I am testing the latest version of pysvn[1] which is built
with pycxx.
Piuparts fails with the Python 3 pysvn version when it tries to
purge dh-python.
One of the warnings that I can see is:
dpkg: warning: while removing dh-python, directory
'/usr/share/dh-python/dhpython/build' not empty so not removed
And the error message is the following:
ERROR: FAIL: Package purging left files on system:
/usr/share/dh-python/dhpython/__pycache__/ not owned
/usr/share/dh-python/dhpython/build/__pycache__/ not owned
I have seen many piuparts package reports with this error, but I couldn't find
a solution.
Anyone knows if is this a known dh-python issue or my package has some issue?
I have checked the .deb contents and it does not install something out of place.
Anyone knows how to fix this?
I have attached the piuparts trace
Thanks!
[1]: https://anonscm.debian.org/viewvc/python-modules/packages/pysvn/trunk/
---
Josue Ortega
«Happy Hacking»
http://josueortega.org0m0.0s INFO:
--
0m0.0s INFO: To quickly glance what went wrong, scroll down to the bottom of
this logfile.
0m0.0s INFO: FAQ available at https://wiki.debian.org/piuparts/FAQ
0m0.0s INFO: The FAQ also explains how to contact us in case you think piuparts
is wrong.
0m0.0s INFO:
--
0m0.0s INFO: piuparts version 0.63 starting up.
0m0.0s INFO: Command line arguments: /usr/sbin/piuparts -p
./python3-svn_1.7.10-1_amd64.deb
0m0.0s INFO: Running on: Linux Trillian 4.0.0-1-amd64 #1 SMP Debian 4.0.2-1
(2015-05-11) x86_64
0m0.0s DEBUG: Starting command: ['dpkg', '--info',
'./python3-svn_1.7.10-1_amd64.deb']
0m0.0s DUMP:
new debian package, version 2.0.
size 368400 bytes: control archive=1467 bytes.
702 bytes,16 lines control
1121 bytes,13 lines md5sums
168 bytes, 9 lines * postinst #!/bin/sh
395 bytes,12 lines * prerm#!/bin/sh
Package: python3-svn
Source: pysvn
Version: 1.7.10-1
Architecture: amd64
Maintainer: Debian Python Modules Team
python-modules-t...@lists.alioth.debian.org
Installed-Size: 2386
Depends: python3 ( 3.5), python3 (= 3.4~), libapr1 (= 1.2.7), libc6 (=
2.2.5), libgcc1 (= 1:4.1.1), libstdc++6 (= 4.6), libsvn1 (= 1.8.10)
Suggests: python-svn-dbg
Provides: python3-pysvn
Section: python
Priority: optional
Homepage: http://pysvn.tigris.org/
Description: A(nother) Python 3 interface to Subversion
The pysvn module is a Python 3 interface to the Subversion version
control system. This API exposes client interfaces for managing a
working copy, querying a repository, and synchronizing the two.
0m0.0s DEBUG: Command ok: ['dpkg', '--info', './python3-svn_1.7.10-1_amd64.deb']
0m0.0s DEBUG: Created temporary directory /tmp/tmp7U112s
0m0.0s DEBUG: Unpacking /var/cache/pbuilder/base.tgz into /tmp/tmp7U112s
0m0.0s DEBUG: Starting command: ['tar', '-C', '/tmp/tmp7U112s', '-zxf',
'/var/cache/pbuilder/base.tgz']
0m2.5s DEBUG: Command ok: ['tar', '-C', '/tmp/tmp7U112s', '-zxf',
'/var/cache/pbuilder/base.tgz']
0m2.5s DEBUG: Starting command: ['chroot', '/tmp/tmp7U112s', 'mount', '-t',
'proc', 'proc', '/proc']
0m2.5s DEBUG: Command ok: ['chroot', '/tmp/tmp7U112s', 'mount', '-t', 'proc',
'proc', '/proc']
0m2.5s DEBUG: Starting command: ['chroot', '/tmp/tmp7U112s', 'mount', '-t',
'devpts', 'devpts', '/dev/pts']
0m2.5s DEBUG: Command ok: ['chroot', '/tmp/tmp7U112s', 'mount', '-t', 'devpts',
'devpts', '/dev/pts']
0m2.5s DEBUG: sources.list:
deb http://ftp.us.debian.org/debian/ sid main
0m2.5s DEBUG: Created policy-rc.d and chmodded it.
0m2.5s DEBUG: Created resolv.conf.
0m2.5s DEBUG: Starting command: ['chroot', '/tmp/tmp7U112s', 'apt-get',
'update']
1m4.6s DUMP:
Get:1 http://ftp.us.debian.org sid InRelease [204 kB]
Get:2 http://ftp.us.debian.org sid/main amd64 Packages [7271 kB]
Get:3 http://ftp.us.debian.org sid/main Translation-en [4920 kB]
Fetched 12.4 MB in 60s (204 kB/s)
Reading package lists...
1m4.6s DEBUG: Command ok: ['chroot', '/tmp/tmp7U112s', 'apt-get', 'update']
1m4.6s DEBUG: Starting command: ['chroot', '/tmp/tmp7U112s', 'apt-get', '-yf',
'dist-upgrade']
1m4.9s DUMP:
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1m4.9s DEBUG: Command ok: ['chroot', '/tmp/tmp7U112s', 'apt-get', '-yf',
'dist-upgrade']
1m4.9s DEBUG: Starting command: ['chroot', '/tmp/tmp7U112s', 'apt-get', 'clean']
1m4.9s DEBUG: Command ok: ['chroot', '/tmp/tmp7U112s', 'apt-get', 'clean']
1m5.7s DEBUG: Starting command: ['chroot', '/tmp/tmp7U112s', 'dpkg',
'--get-selections', '*']
1m5.7s DUMP:
acl install
adduser install