Bug#841309: library package depends on -dev packages

Michael Biebl biebl at debian.org
Wed Oct 19 14:20:52 UTC 2016


Package: libclang1-3.9
Version: 1:3.9-2
Severity: normal

Hi,

libclang1-3.9, a library package, depends on libobjc-6-dev and
libstdc++-6-dev. Those in turn pull in quite a number of
dependencies themselves.
As a consequence, installing doxygen, which links against libclang1-3.9,
results in:

# apt install doxygen
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libasan3 libatomic1 libc-dev-bin libc6-dev libcilkrts5 libclang1-3.9 libedit2 libgcc-6-dev libgomp1 libitm1 libllvm3.9 liblsan0 libmpx2 libobjc-6-dev libobjc4 libquadmath0
  libstdc++-6-dev libtsan0 libubsan0 linux-libc-dev manpages manpages-dev
Suggested packages:
  doxygen-latex doxygen-doc doxygen-gui graphviz glibc-doc libstdc++-6-doc man-browser
The following NEW packages will be installed:
  doxygen libasan3 libatomic1 libc-dev-bin libc6-dev libcilkrts5 libclang1-3.9 libedit2 libgcc-6-dev libgomp1 libitm1 libllvm3.9 liblsan0 libmpx2 libobjc-6-dev libobjc4
  libquadmath0 libstdc++-6-dev libtsan0 libubsan0 linux-libc-dev manpages manpages-dev
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 33.3 MB of archives.
After this operation, 145 MB of additional disk space will be used.

That's quite a lot and unexpected if you only want doxygen.

I looked at the llvm-toolchain changelog, but didn't find a
justification why the library package needs to depend on those -dev
packages. Could those dependencies be dropped or moved to another
package? It seems odd to have a library package pull in dev packages.

Regards,
Michael


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libclang1-3.9 depends on:
ii  libc6            2.24-5
ii  libgcc-6-dev     6.2.0-7
ii  libgcc1          1:6.2.0-7
ii  libllvm3.9       1:3.9-2
ii  libobjc-6-dev    6.2.0-7
ii  libstdc++-6-dev  6.2.0-7
ii  libstdc++6       6.2.0-7

libclang1-3.9 recommends no packages.

libclang1-3.9 suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list