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
>
>

Reply via email to