Bug#870314: Does not properly clean up /usr/share/meson/mesonbuild/ on purge
Package: meson
Version: 0.41.2-2
Severity: important
Hi,
when purging the meson package, the following files are not removed
properly:
/usr/share/meson/mesonbuild/wrap/__pycache__/wrap.cpython-35.pyc
/usr/share/meson/mesonbuild/wrap/__pycache__/__init__.cpython-35.pyc
/usr/share/meson/mesonbuild/modules/__pycache__/i18n.cpython-35.pyc
/usr/share/meson/mesonbuild/modules/__pycache__/__init__.cpython-35.pyc
/usr/share/meson/mesonbuild/modules/__pycache__/pkgconfig.cpython-35.pyc
/usr/share/meson/mesonbuild/backend/__pycache__/backends.cpython-35.pyc
/usr/share/meson/mesonbuild/backend/__pycache__/ninjabackend.cpython-35.pyc
/usr/share/meson/mesonbuild/backend/__pycache__/__init__.cpython-35.pyc
/usr/share/meson/mesonbuild/scripts/__pycache__/meson_exe.cpython-35.pyc
/usr/share/meson/mesonbuild/scripts/__pycache__/symbolextractor.cpython-35.pyc
/usr/share/meson/mesonbuild/scripts/__pycache__/__init__.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/mparser.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/mesonlib.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/dependencies.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/interpreter.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/coredata.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/optinterpreter.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/mlog.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/build.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/__init__.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/mesonmain.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/environment.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/compilers.cpython-35.pyc
/usr/share/meson/mesonbuild/__pycache__/interpreterbase.cpython-35.pyc
It looks like meson does not use the debian python helpers to properly
register and unregister the py files on installationa/uninstallation.
Regards,
Michael
[1] https://www.debian.org/doc/packaging-manuals/python-policy/
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages meson depends on:
ii ninja-build 1.7.2-3
ii python3 3.5.3-3
meson recommends no packages.
meson suggests no packages.
-- no debconf information
Reply to: