Bug#814142: llvm-3.8-dev needs a tighter dependency on libllvm3.8

Graham Inggs ginggs at debian.org
Mon Feb 8 17:47:30 UTC 2016


Package: llvm-toolchain-3.8
Severity: wishlist
Tags: patch

Hi Maintainer

I uploaded Julia 0.4.3-2 to experimental earlier today, hoping that it
would build with llvm 3.8 rc2.
I included the following build-dependency:

llvm-3.8-dev (>= 1:3.8~+rc1) | llvm-3.7-dev | llvm-3.6-dev,

The build failed, and from the amd64 build log [1], I see some new
versions were installed:

Get:110 http://mirror.bm.debian.org/debian experimental/main amd64
llvm-3.8-runtime amd64 1:3.8~+rc2-1~exp1 [84.0 kB]
Get:111 http://mirror.bm.debian.org/debian experimental/main amd64
llvm-3.8 amd64 1:3.8~+rc2-1~exp1 [1526 kB]
Get:113 http://mirror.bm.debian.org/debian experimental/main amd64
llvm-3.8-dev amd64 1:3.8~+rc2-1~exp1 [16.4 MB]

but an old version of:

Get:89 http://mirror.bm.debian.org/debian unstable/main amd64
libllvm3.8 amd64 1:3.8~svn254193-1 [10.1 MB]

I added an additional build-dependency on libllvm3.8 (>= 1:3.8~+rc1),
and the build was successful [2].  However, I don't think this should
be necessary.

I attach a patch for your consideration which adds libllvm3.8 (=
${binary:Version}) as a dependency of llvm-3.8-dev.  Alternatively,
the dependency could be added to llvm-3.8.

Regards
Graham


[1] https://buildd.debian.org/status/fetch.php?pkg=julia&arch=amd64&ver=0.4.3-2&stamp=1454926394
[2] https://buildd.debian.org/status/fetch.php?pkg=julia&arch=amd64&ver=0.4.3-3&stamp=1454934436
-------------- next part --------------
--- a/control
+++ b/control
@@ -262,7 +262,7 @@
 Package: llvm-3.8-dev
 Architecture: any
 Depends: ${shlibs:Depends}, libffi-dev (>= 3.0.9), ${misc:Depends},
- llvm-3.8 (= ${binary:Version}), libtinfo-dev
+ llvm-3.8 (= ${binary:Version}), libllvm3.8 (= ${binary:Version}), libtinfo-dev
 Replaces: llvm (<< 2.2-3)
 Description: Modular compiler and toolchain technologies, libraries and headers
  LLVM is a collection of libraries and tools that make it easy to build


More information about the Pkg-llvm-team mailing list