Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Broken dependency on libllvm4.0 [apt repository Ubuntu Xenial] #31849

Closed Quuxplusone closed 7 years ago

Quuxplusone commented 7 years ago
Bugzilla Link PR32876
Status RESOLVED FIXED
Importance P normal
Reported by Stefano Cerubin (stefano.cherubin@polimi.it)
Reported on 2017-05-02 00:30:21 -0700
Last modified on 2017-05-08 16:21:41 -0700
Version unspecified
Hardware PC Linux
CC danielgb@au1.ibm.com, heinrich5991@gmx.de, llvm-bugs@lists.llvm.org, llvm@sjor.sg, ratzes@gmail.com, sylvestre@debian.org
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also
Trying to install llvm-4.0-dev from ubuntu xenial repository gives dependency
error because of the version number.

sudo apt-get install llvm-4.0-dev

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
 llvm-4.0-dev : Depends: libllvm4.0 (>= 1:4.0-3~) but 1:4.0~svn301550-1~exp1 is to be installed
                Depends: llvm-4.0 (= 1:4.0~svn301550-1~exp1) but it is not going to be installed
Quuxplusone commented 7 years ago
I'm bit by this as well. The reason seems to be that various packages depend on
libllvm4.0 1:4.0.3~ while only 1:4.0~svn301550-1~exp1 is provided.

Package: llvm-4.0-dev
Version: 1:4.0~svn301550-1~exp1
Depends: [...], libllvm4.0 (>= 1:4.0-3~), [...]

Package: libclang1-4.0
Version: 1:4.0~svn301550-1~exp1
Depends: libllvm4.0 (>= 1:4.0-3~)

libllvm4.0:
  Installed: 1:4.0~svn297204-1~exp1
  Candidate: 1:4.0~svn301550-1~exp1
  Version table:
     1:4.0~svn301550-1~exp1 500
        500 http://apt.llvm.org/xenial llvm-toolchain-xenial-4.0/main amd64 Packages
 *** 1:4.0~svn297204-1~exp1 100
        100 /var/lib/dpkg/status
Quuxplusone commented 7 years ago

I got an account here to report same issue, probably obvious it's a global issue, but getting it on two separate boxes of mine

Quuxplusone commented 7 years ago
Fixed with:
https://anonscm.debian.org/viewvc/pkg-llvm/llvm-toolchain/branches/4.0/debian/rules?r1=2587&r2=2593

I recompiled xenial, I just retriggered the other builds
sorry about that
Quuxplusone commented 7 years ago

Thanks for the fix.