---------- Forwarded message --------- From: Ilyas Gasanov <[email protected]> Date: пт, 10 окт. 2025 г. в 11:56 Subject: Re: Bug#1030380: libgstreamer1.0-dev: Can't be used via pkg-config without libunwind-dev To: Marc Leeman <[email protected]>
In this case, it looks like we're having to deal with the fact that libunwind-dev as an actual package name is being "squatted" on by a maintainer who is other than the LLVM packaging team. Ideally the LLVM packaging team should have been keeping libunwind-dev at the same version as libc++-dev and such. In any case, I suppose what we still can do is write the dependency as libunwind-dev | libunwind-x.y-dev, which *should* give us both the automatic version picking (when it is indeed an option) as well as a fail-safe option to pick a version manually (which *is* important, since those versions happen to have mutually conflicting dependencies themselves). On Fri, 10 Oct 2025 at 11:43, Marc Leeman <[email protected]> wrote: > > It does not select one automatically: > > $ sudo apt install libunwind-21 libunwind-x.y-dev > Package libunwind-x.y-dev is a virtual package provided by: > libunwind-16-dev 1:16.0.6-15~deb12u1 > libunwind-15-dev 1:15.0.6-4+b1 > libunwind-13-dev 1:13.0.1-11+b2 > libunwind-22-dev 1:22~++20250731080150+be449d6b6587-1~exp1+b1 > libunwind-20-dev 1:20.1.8-1~exp1 > libunwind-21-dev 1:21.1.2-4 > libunwind-19-dev 1:19.1.7-7 > libunwind-18-dev 1:18.1.8-18+b2 > libunwind-17-dev 1:17.0.6-22+b3 > libunwind-14-dev 1:14.0.6-20 > You should explicitly select one to install. > > Error: Package 'libunwind-x.y-dev' has no installation candidate > > On Fri, 10 Oct 2025 at 09:30, Ilyas Gasanov <[email protected]> wrote: > > > > Actually I just ran into this one on my Debian testing ("forky") > > installation. > > > > As far as I've looked into it, the problem seems to stem from the fact > > that libunwind-dev happens to be matching both the actual package > > (corresponding to the specific version 1.8.1), and the virtual > > package, which is provided by multiple versions--only that the latter > > is now in process of being phased out in favor of the more generically > > named libunwind-x.y-dev. > > > > I suppose switching the dependency from libunwind-dev onto > > libunwind-x.y-dev should be the correct approach here. > > > > On Fri, 03 Feb 2023 17:55:17 +0100 Vadim Zeitlin <[email protected]> > > wrote: > > > Package: libgstreamer1.0-dev > > > Version: 1.22.0-2 > > > Severity: important > > > X-Debbugs-Cc: [email protected] > > > > > > Dear Maintainer, > > > > > > libgstreamer1.0-dev package has a dependency on libunwind-dev which can be > > > satisfied by libunwind-14-dev, but this doesn't seem to actually work > > > because it's libunwind itself which is listed as a dependency in e.g. > > > /usr/lib/x86_64-linux-gnu/pkgconfig/gstreamer-1.0.pc resulting in the > > > following when trying to use the package: > > > > > > $ pkg-config --exists --print-errors gstreamer-1.0 > > > Package libunwind was not found in the pkg-config search path. > > > Perhaps you should add the directory containing `libunwind.pc' > > > to the PKG_CONFIG_PATH environment variable > > > Package 'libunwind', required by 'gstreamer-1.0', not found > > > > > > Maybe there is a bug in libunwind-14-dev which doesn't provide > > > libunwind.pc > > > but the net effect is that it's impossible to use libgstreamer-dev and > > > libc++-dev together because the latter requires libunwind-14-dev and > > > installing libunwind-dev would uninstall it, so it is a fatal problem for > > > me. > > > > > > Thanks in advance for your help! > > > > > > -- System Information: > > > Debian Release: bookworm/sid > > > APT prefers testing-debug > > > APT policy: (500, 'testing-debug'), (500, 'testing') > > > Architecture: amd64 (x86_64) > > > > > > Kernel: Linux 6.0.0-4-amd64 (SMP w/16 CPU threads; PREEMPT) > > > Kernel taint flags: TAINT_CPU_OUT_OF_SPEC > > > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set > > > to C), LANGUAGE=en_US:en > > > Shell: /bin/sh linked to /usr/bin/dash > > > Init: systemd (via /run/systemd/system) > > > LSM: AppArmor: enabled > > > > > > Versions of packages libgstreamer1.0-dev depends on: > > > ii gir1.2-gstreamer-1.0 1.22.0-2 > > > ii libc6 2.36-8 > > > ii libc6-dev [libc-dev] 2.36-8 > > > ii libdw-dev 0.188-2.1 > > > ii libglib2.0-0 2.74.5-1 > > > ii libglib2.0-dev 2.74.5-1 > > > ii libgstreamer1.0-0 1.22.0-2 > > > ii libunwind-14-dev [libunwind-dev] 1:14.0.6-10+b1 > > > ii pkg-config 1.8.1-1 > > > ii pkgconf [pkg-config] 1.8.1-1 > > > > > > libgstreamer1.0-dev recommends no packages. > > > > > > Versions of packages libgstreamer1.0-dev suggests: > > > pn gstreamer1.0-doc <none> > > > > > > -- no debconf information > > > > > > > > > > -- > g. Marc > > GPG: 827C FD74 BA46 8152 A041 F3A0 7A6A 4F17 5995 A65B

