Bug#696913: llvm-3.2-dev: consider saving disk space by not shipping two identical copies of libLLVM-3.2.so.1

Timo Juhani Lindfors timo.lindfors at iki.fi
Sat Dec 29 08:23:54 UTC 2012


Package: llvm-3.2-dev
Version: 3.2-2
Severity: wishlist

I noticed that my system has two copies of the same 21 MB shared library:

$ stat /usr/lib/x86_64-linux-gnu/libLLVM-3.2.so.1 /usr/lib/llvm-3.2/lib/libLLVM-3.2.so.1
  File: ‘/usr/lib/x86_64-linux-gnu/libLLVM-3.2.so.1’
  Size: 21325112	Blocks: 41712      IO Block: 4096   regular file
Device: ca30h/51760d	Inode: 786465      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2012-12-29 10:08:51.000000000 +0200
Modify: 2012-12-24 08:56:06.000000000 +0200
Change: 2012-12-29 10:08:57.000000000 +0200
 Birth: -
  File: ‘/usr/lib/llvm-3.2/lib/libLLVM-3.2.so.1’
  Size: 21325112	Blocks: 41712      IO Block: 4096   regular file
Device: ca30h/51760d	Inode: 197452      Links: 1
Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2012-12-29 10:08:51.000000000 +0200
Modify: 2012-12-24 08:56:32.000000000 +0200
Change: 2012-12-29 10:09:01.000000000 +0200
 Birth: -

$ md5sum /usr/lib/x86_64-linux-gnu/libLLVM-3.2.so.1 /usr/lib/llvm-3.2/lib/libLLVM-3.2.so.1
1ffd5aff8dc0f39cc17b604ea25aa796  /usr/lib/x86_64-linux-gnu/libLLVM-3.2.so.1
1ffd5aff8dc0f39cc17b604ea25aa796  /usr/lib/llvm-3.2/lib/libLLVM-3.2.so.1

$ dpkg -S /usr/lib/x86_64-linux-gnu/libLLVM-3.2.so.1 /usr/lib/llvm-3.2/lib/libLLVM-3.2.so.1
libllvm3.2:amd64: /usr/lib/x86_64-linux-gnu/libLLVM-3.2.so.1
llvm-3.2-dev: /usr/lib/llvm-3.2/lib/libLLVM-3.2.so.1

Is this a bug? Would it be possible to save disk space by only
shipping one copy?


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages llvm-3.2-dev depends on:
ii  libc6       2.13-37
ii  libffi-dev  3.0.10-3
ii  libffi5     3.0.10-3
ii  libgcc1     1:4.7.2-4
ii  libstdc++6  4.7.2-4
ii  llvm-3.2    3.2-2

llvm-3.2-dev recommends no packages.

llvm-3.2-dev suggests no packages.

-- no debconf information



More information about the Pkg-llvm-team mailing list