[Bug 1829677] [NEW] Package version 1:8-3 contains no actual lld library, just broken symlinks

Launchpad Bug Tracker 1829677 at bugs.launchpad.net
Mon May 20 08:23:01 UTC 2019


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

Inspecting the liblld-8 package contents, version 1:8-3, revealed
something of a surprise. Below is a recursive list of what it places in
/usr/lib/llvm-8

./usr/lib/llvm-8:
total 4.0K
drwxr-xr-x 2 rscholar rscholar 4.0K May 19 15:33 lib/
./usr/lib/llvm-8/lib:
total 11M
-rw-r--r-- 1 rscholar rscholar 1.8M Apr  2 02:57 liblldCOFF.a
-rw-r--r-- 1 rscholar rscholar 457K Apr  2 02:57 liblldCommon.a
-rw-r--r-- 1 rscholar rscholar 177K Apr  2 02:57 liblldCore.a
-rw-r--r-- 1 rscholar rscholar 119K Apr  2 02:57 liblldDriver.a
-rw-r--r-- 1 rscholar rscholar 5.9M Apr  2 02:57 liblldELF.a
-rw-r--r-- 1 rscholar rscholar 1.4M Apr  2 02:57 liblldMachO.a
-rw-r--r-- 1 rscholar rscholar  43K Apr  2 02:57 liblldMinGW.a
-rw-r--r-- 1 rscholar rscholar  40K Apr  2 02:57 liblldReaderWriter.a
lrwxrwxrwx 1 rscholar rscholar   36 Apr  2 02:57 liblld.so.1 -> ../../x86_64-linux-gnu/liblld-8.so.1
-rw-r--r-- 1 rscholar rscholar 716K Apr  2 02:57 liblldWasm.a
-rw-r--r-- 1 rscholar rscholar 188K Apr  2 02:57 liblldYAML.a
./usr/lib/x86_64-linux-gnu:
total 0
lrwxrwxrwx 1 rscholar rscholar 13 Apr  2 02:57 liblld-8.so -> liblld-8.so.1

As you can see, in two places it is symlinking to a file it expects to
exist at /usr/lib/x86_64-linux-gnu/liblld-8.so.1 which, in fact, is not
included in the package. The same is true of the packages from the LLVM
official apt repository in distributions xenial through disco.

I'm running Kubuntu 19.04 "Disco Dingo" on a Lenovo ThinkPad T420s (Core
i7 2nd. Gen).

** Affects: llvm-toolchain-8 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: llvm-toolchain-8 (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: packaging patch
-- 
Package version 1:8-3 contains no actual lld library, just broken symlinks
https://bugs.launchpad.net/bugs/1829677
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list