Bug#996823: libunwind-13: Missing symlink libunwind.so to libunwind.so.1 causes -lc++ to fail since it links to -lunwind

2021-10-19 Thread Sylvestre Ledru

Le 19/10/2021 à 18:19, darkdragon a écrit :

On Tue, Oct 19, 2021 at 2:47 PM Simon McVittie  wrote:

Are you sure you found this bug in that version?


Yes, I manually downloaded libunwind from the Debian archive and
installed it in Ubuntu to verify it still exists in the latest
version.

Please don't do that.
it isn't designed to work and it is very hard for us to debug.

Instead, please use https://apt.llvm.org/
(this is the same packages)


S



Bug#996823: libunwind-13: Missing symlink libunwind.so to libunwind.so.1 causes -lc++ to fail since it links to -lunwind

2021-10-19 Thread darkdragon
On Tue, Oct 19, 2021 at 2:47 PM Simon McVittie  wrote:
> Are you sure you found this bug in that version?

Yes, I manually downloaded libunwind from the Debian archive and
installed it in Ubuntu to verify it still exists in the latest
version.

> It is correct that files and symlinks that are not required at runtime,
> only for development, are only shipped in -dev packages.

I wasn't aware that symlinks to the binaries are shipped in the -dev
packages. Thanks for pointing this out.

Can be closed as a duplicate of the above mentioned issue.



Bug#996823: libunwind-13: Missing symlink libunwind.so to libunwind.so.1 causes -lc++ to fail since it links to -lunwind

2021-10-19 Thread Simon McVittie
Control: tags -1 + moreinfo

On Tue, 19 Oct 2021 at 13:05:49 +0200, root wrote:
> Version: 1:13.0.0-6

Are you sure you found this bug in that version?

I think this might be a duplicate of #995810, which was fixed in 1:13.0.0-3.
This means 1:13.0.0-2 in Ubuntu impish will still have this bug, but in
version 1:13.0.0-6 in Debian, it should be fixed.

> -- System Information:
> Debian Release: 11.0
>   APT prefers impish-updates
>   APT policy: (500, 'impish-updates'), (500, 'impish-security'), (500, 
> 'impish')

This is the Debian bug tracker, not the Ubuntu bug tracker. If there is
a problem with packages in Ubuntu, please report it to Launchpad.

> libc++ installs /usr/lib/llvm-13/lib/libc++.so with the content 
> INPUT(libc++.so.1 -lunwind -lc++abi)
> linking to libunwind.

/usr/lib/llvm-13/lib/libc++.so seems to be in libc++-13-dev...

> The libunwind package does only include 
> /usr/lib/x86_64-linux-gnu/libunwind.so.1
> symlink but not /usr/lib/x86_64-linux-gnu/libunwind.so which should be
> included

... which Depends on libunwind-13-dev, and libunwind-13-dev includes
/usr/lib/llvm-13/lib/libunwind.so.

It is correct that files and symlinks that are not required at runtime,
only for development, are only shipped in -dev packages.

smcv



Bug#996823: libunwind-13: Missing symlink libunwind.so to libunwind.so.1 causes -lc++ to fail since it links to -lunwind

2021-10-19 Thread root
Package: libunwind-13
Version: 1:13.0.0-6
Severity: important
X-Debbugs-Cc: darkdragon-...@web.de

libc++ installs /usr/lib/llvm-13/lib/libc++.so with the content 
INPUT(libc++.so.1 -lunwind -lc++abi)
linking to libunwind. The libunwind package does only include 
/usr/lib/x86_64-linux-gnu/libunwind.so.1
symlink but not /usr/lib/x86_64-linux-gnu/libunwind.so which should be
included. Upstream includes this by default.


-- System Information:
Debian Release: 11.0
  APT prefers impish-updates
  APT policy: (500, 'impish-updates'), (500, 'impish-security'), (500, 'impish')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.11-200.fc34.x86_64 (SMP w/8 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages libunwind-13 depends on:
ii  libc6  2.34-0ubuntu3
ii  libgcc-s1  11.2.0-7ubuntu2

libunwind-13 recommends no packages.

libunwind-13 suggests no packages.

-- no debconf information