Bug#718637: libc++-dev: improper alternative handling in M-A:same package

Andreas Beckmann anbe at debian.org
Fri Nov 1 13:40:27 UTC 2013


On 2013-08-20 15:26, Sylvestre Ledru wrote:
>> 0m35.7s ERROR: FAIL: After purging files have disappeared:
>>   /etc/alternatives/c++ -> /usr/bin/clang++-libc++       not owned
>>   /usr/bin/c++ -> /etc/alternatives/c++  not owned
> 
> Any idea how this should be managed ?

Are there any other packages providing /usr/bin/cc, /usr/bin/c++
(shipping files, setting up alternatives, diverting stuff, ...) that
could serve as examples?

The easiest solution I see here is to move /usr/bin/clang++-libc++ and
the c++ alternative to a separate package

Package: c++squared
Arch: all
Multi-Arch: foreign (???)
Depends: libc++-dev, clang++

(btw, can we use g++ with libc++?)

I also don't think it is a good idea to have a
  lib(std)?c++(-[-.0-9]+)?-dev
package "manipulate" a compiler.


Andreas



More information about the Pkg-llvm-team mailing list