On 02/05/2014 11:26, Adam Strzelecki wrote:>> It should be fixed. Can you confirm? > > Nope. Sorry. Still doesn't work here: > > Get:3 http://llvm.org/apt/trusty/ llvm-toolchain-trusty/main libllvm3.5 amd64 1:3.5~svn207822-1~exp1 [7,300 kB] > Get:4 http://llvm.org/apt/trusty/ llvm-toolchain-trusty/main llvm-3.5-runtime amd64 1:3.5~svn207822-1~exp1 [52.0 kB] > Get:5 http://llvm.org/apt/trusty/ llvm-toolchain-trusty/main llvm-3.5 amd64 1:3.5~svn207822-1~exp1 [1,075 kB] > Get:6 http://llvm.org/apt/trusty/ llvm-toolchain-trusty/main llvm-3.5-dev amd64 1:3.5~svn207822-1~exp1 [11.1 MB] > Get:7 http://llvm.org/apt/trusty/ llvm-toolchain-trusty/main llvm-3.5-tools amd64 1:3.5~svn207822-1~exp1 [145 kB] > Fetched 19.8 MB in 8s (2,256 kB/s) > Selecting previously unselected package libllvm3.5:amd64. > (Reading database ... 202833 files and directories currently installed.) > Preparing to unpack .../libllvm3.5_1%3a3.5~svn207822-1~exp1_amd64.deb ... > Unpacking libllvm3.5:amd64 (1:3.5~svn207822-1~exp1) ... > Selecting previously unselected package libtinfo-dev:amd64. > Preparing to unpack .../libtinfo-dev_5.9+20140118-1ubuntu1_amd64.deb ... > Unpacking libtinfo-dev:amd64 (5.9+20140118-1ubuntu1) ... > Selecting previously unselected package llvm-3.5-runtime. > Preparing to unpack .../llvm-3.5-runtime_1%3a3.5~svn207822-1~exp1_amd64.deb ... > Unpacking llvm-3.5-runtime (1:3.5~svn207822-1~exp1) ... > Selecting previously unselected package llvm-3.5. > Preparing to unpack .../llvm-3.5_1%3a3.5~svn207822-1~exp1_amd64.deb ... > Unpacking llvm-3.5 (1:3.5~svn207822-1~exp1) ... > Selecting previously unselected package libffi-dev:amd64. > Preparing to unpack .../libffi-dev_3.1~rc1+r3.0.13-12_amd64.deb ... > Unpacking libffi-dev:amd64 (3.1~rc1+r3.0.13-12) ... > Preparing to unpack .../llvm-3.5-dev_1%3a3.5~svn207822-1~exp1_amd64.deb ... > Unpacking llvm-3.5-dev (1:3.5~svn207822-1~exp1) ... > dpkg: error processing archive /var/cache/apt/archives/llvm-3.5-dev_1%3a3.5~svn207822-1~exp1_amd64.deb (--unpack): > trying to overwrite '/usr/lib/llvm-3.5/lib/libLLVM-3.5.so', which is also in package libllvm3.5:amd64 1:3.5~svn207822-1~exp1I fixed it later. It should be ok now Sylvestre
I am sorry, now there is an error with libclang vs libclang-dev: dpkg: error processing archive /var/cache/apt/archives/libclang-3.5-dev_1%3a3.5~svn207969-1~exp1_amd64.deb (--unpack): trying to overwrite '/usr/lib/llvm-3.5/lib/libclang.so.1', which is also in package libclang1-3.5:amd64 1:3.5~svn207930-1~exp1 Regards, -- Adam
Hi Sylvestre, It seems that latest libllvm3.5 packages are built with too recent libstdc++ version which makes impossible to install any of llvm Ubuntu builds on <13.10 The following packages have unmet dependencies: libllvm3.5 : Depends: libstdc++6 (>= 4.8) but 4.7.2-2ubuntu1 is to be installed Can you please have a look? We still have guys have that haven't upgrade to latest LTS. Cheers, -- Adam
Clang requires GCC and libstdc++ 4.7+ now that we've switched to C++11: http://llvm.org/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library We have instructions there for building a modern version of gcc. It's really easy to build it these days. Install into something local like $HOME/gcc/install and then pass appropriate -L and -Wl,-rpath flags to the LLVM build. I do this on 12.04 and it works fine. On Thu, May 15, 2014 at 3:54 AM, Adam Strzelecki <ono at java.pl> wrote:> Hi Sylvestre, > > It seems that latest libllvm3.5 packages are built with too recent > libstdc++ version which makes impossible to install any of llvm Ubuntu > builds on <13.10 > > The following packages have unmet dependencies: > libllvm3.5 : Depends: libstdc++6 (>= 4.8) but 4.7.2-2ubuntu1 is to be > installed > > Can you please have a look? We still have guys have that haven't upgrade > to latest LTS. > > Cheers, > -- > Adam > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140515/024f8b61/attachment.html>
On 15/05/2014 12:54, Adam Strzelecki wrote:> Hi Sylvestre, > > It seems that latest libllvm3.5 packages are built with too recent libstdc++ version which makes impossible to install any of llvm Ubuntu builds on <13.10 > > The following packages have unmet dependencies: > libllvm3.5 : Depends: libstdc++6 (>= 4.8) but 4.7.2-2ubuntu1 is to be installed > > Can you please have a look? We still have guys have that haven't upgrade to latest LTS.Do you confirm that you have also the backport installed? deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu precise main or deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu quantal main Cheers, Sylvestre