Bug#943816: Please get rid of python2 dependencies

Christoph Berg myon at debian.org
Wed Oct 30 10:29:09 GMT 2019


Package: src:llvm-toolchain-9
Version: 1:9.0.0-2
Severity: normal

I just upgraded my build chroots from llvm 7 to llvm 9 because that's
what the PostgreSQL packages are using, and I was surprised that this
pulled in python2.7:

11:21:17 + apt-get -y install llvm-9-dev clang-9 libllvm7-
11:21:17 Reading package lists...
11:21:17 Building dependency tree...
11:21:17 Reading state information...
11:21:17 The following package was automatically installed and is no longer required:
11:21:17   libobjc-9-dev
11:21:17 Use 'apt autoremove' to remove it.
11:21:17 The following additional packages will be installed:
11:21:17   libclang-common-9-dev libclang-cpp9 libllvm9 libobjc-8-dev libpfm4
11:21:17   libpython-stdlib libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib
11:21:17   libz3-4 llvm-9 llvm-9-runtime llvm-9-tools python python-minimal
11:21:17   python-pygments python-yaml python2 python2-minimal python2.7
11:21:17   python2.7-minimal python3-pygments python3-yaml
11:21:17 Suggested packages:
11:21:17   clang-9-doc llvm-9-doc python-doc python-tk python-pygments-doc
11:21:17   ttf-bitstream-vera python2-doc python2.7-doc
11:21:17 Recommended packages:
11:21:17   libomp-9-dev python-chardet python-pkg-resources
11:21:17 The following packages will be REMOVED:
11:21:17   clang-7 libclang-common-7-dev libclang1-7 libllvm7 llvm-7 llvm-7-dev
11:21:17   llvm-7-runtime
11:21:17 The following NEW packages will be installed:
11:21:17   clang-9 libclang-common-9-dev libclang-cpp9 libllvm9 libobjc-8-dev libpfm4
11:21:17   libpython-stdlib libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib
11:21:17   libz3-4 llvm-9 llvm-9-dev llvm-9-runtime llvm-9-tools python python-minimal
11:21:17   python-pygments python-yaml python2 python2-minimal python2.7
11:21:17   python2.7-minimal python3-pygments python3-yaml
11:21:17 0 upgraded, 25 newly installed, 7 to remove and 0 not upgraded.
11:21:17 Need to get 196 MB of archives.
11:21:17 After this operation, 309 MB of additional disk space will be used.

Is that really needed?

Christoph



More information about the Pkg-llvm-team mailing list