[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1026624: mpv-mpris: FTBFS: mpris.c:1:10: fatal error: gio/gio.h: No such file or directory



Control: reassign -1 libmpv-dev
Control: affects -1 src:mpv-mpris
Control: retitle -1 libmpv-dev: missing dependency on wayland-protocols

On Tue, 2022-12-20 at 18:16 +0100, Lucas Nussbaum wrote:

> [mpv-mpris] failed to build on amd64.
> 
> Relevant part (hopefully):
...
> > Package wayland-protocols was not found in the pkg-config search path.
> > Perhaps you should add the directory containing `wayland-protocols.pc'
> > to the PKG_CONFIG_PATH environment variable
> > Package 'wayland-protocols', required by 'mpv', not found

This is a bug in libmpv-dev, it should dep on wayland-protocols:

# pkg-config --cflags mpv
Package wayland-protocols was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-protocols.pc'
to the PKG_CONFIG_PATH environment variable
Package 'wayland-protocols', required by 'mpv', not found

# apt install wayland-protocols
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  wayland-protocols
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 71.8 kB of archives.
After this operation, 549 kB of additional disk space will be used.
Get:1 https://deb.debian.org/debian sid/main amd64 wayland-protocols all 1.27-1 [71.8 kB]
Fetched 71.8 kB in 0s (243 kB/s)       
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package wayland-protocols.
(Reading database ... 24263 files and directories currently installed.)
Preparing to unpack .../wayland-protocols_1.27-1_all.deb ...
Unpacking wayland-protocols (1.27-1) ...
Setting up wayland-protocols (1.27-1) ...

# pkg-config --cflags mpv
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fribidi -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/usr/include/lua5.2 -I/usr/include/SDL2 -I/usr/include/uchardet -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -D_REENTRANT -I/usr/include/libdrm -I/usr/include/sixel -I/usr/include/spirv_cross 

# grep wayland-protocols /usr/lib/x86_64-linux-gnu/pkgconfig/mpv.pc
Requires.private: wayland-client >=  1.15.0, libass >=  0.12.2, libavcodec >=  58.12.100, libavfilter >=  7.14.100, libavformat >=  58.9.100, libavutil >=  56.12.100, libswresample >=  3.0.100, libswscale >=  5.0.101, libcdio_paranoia, dvdnav >=  4.2.0, dvdread >=  4.1.0, mujs >=  1.0.0, lcms2 >=  2.6, libarchive >=  3.4.0, libavdevice >=  57.0.0, libbluray >=  0.3.0, lua52 >=  5.2.0, rubberband >=  1.8.0, sdl2, uchardet, zimg >=  2.9, zlib, alsa >=  1.0.18, jack, libpipewire-0.3 >=  0.3.19, libpulse >=  1.0, caca >=  0.99.beta18, libdrm >=  2.4.75, gbm >= 17.1.0, libjpeg, libplacebo >= 4.157.0, libsixel >=  1.5, spirv-cross-c-shared, wayland-cursor >=  1.15.0, wayland-protocols >=  1.15, xkbcommon >=  0.3.0, x11 >=  1.0.0, xscrnsaver >=  1.0.0, xext >=  1.0.0, xinerama >=  1.0.0, xpresent >=  1.0.0, xrandr >=  1.2.0, xv, egl >  1.4.0, wayland-egl >=  9.0.0, vulkan, ffnvcodec >=  8.2.15.7, libva >=  1.1.0, libva-drm >=  1.1.0, libva-wayland >=  1.1.0, libva-x11 >=  1.1.0, vdpau >=  0.2


-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: