Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem to install media-tv/kodi
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 725

PostPosted: Fri Aug 02, 2024 8:30 pm    Post subject: problem to install media-tv/kodi Reply with quote

how to solve this depency?

Code:
emerge -av kodi

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for media-tv/kodi
... done!
Dependency resolution took 2.18 s (backtrack: 1/20)


!!! The ebuild selected to satisfy "kodi" has unmet requirements.
- media-tv/kodi-19.5-r2::gentoo USE="X alsa bluetooth bluray css dbus lcms optical pulseaudio system-ffmpeg udev udf udisks upower vaapi wayland xslt -airplay -caps -cec -dav1d -eventclients -gbm -gles -libusb -lirc -mariadb -mysql -nfs -power-control (-raspberry-pi) -samba -test -upnp -vdpau -webserver -zeroconf" ABI_X86="(64)" CPU_FLAGS_X86="avx avx2 sse sse2 sse3 sse4_1 sse4_2" PYTHON_SINGLE_TARGET="-python3_10 -python3_11"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 )

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python3_10 python_single_target_python3_11 ) any-of ( gbm wayland X ) at-most-one-of ( mariadb mysql ) bluray? ( udf ) udev? ( !libusb ) udisks? ( dbus ) upower? ( dbus ) power-control? ( dbus ) vdpau? ( X !gles !gbm ) zeroconf? ( dbus )



Last edited by SarahS93 on Fri Aug 02, 2024 8:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3604
Location: Rasi, Finland

PostPosted: Fri Aug 02, 2024 8:44 pm    Post subject: Reply with quote

media-tv/kodi-19.5-r2 can only be built for python 3.10 or 3.11.
I'd suggest that you install the newer version of kodi (which is maked as stable already), which supports building for python 3.12.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 725

PostPosted: Fri Aug 02, 2024 9:33 pm    Post subject: Reply with quote

with emerge --search kodi i see version media-tv/kodi-21.0-r1 but with emerge -av kodi i become only version media-tv/kodi-19.5-r2 , why?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22378

PostPosted: Fri Aug 02, 2024 9:43 pm    Post subject: Reply with quote

What is the output of emerge --pretend --verbose '>=media-tv/kodi-21.0-r1'?
Back to top
View user's profile Send private message
SarahS93
l33t
l33t


Joined: 21 Nov 2013
Posts: 725

PostPosted: Sat Aug 03, 2024 9:43 am    Post subject: Reply with quote

Code:
emerge --pretend --verbose '>=media-tv/kodi-21.0-r1'

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 16.39 s (backtrack: 5/20).

[ebuild  N     ] dev-libs/tinyxml-2.6.2-r5::gentoo  USE="stl -debug -doc -static-libs" 206 KiB
[ebuild  N     ] dev-libs/libfstrcmp-0.7-r1::gentoo  USE="-doc -static-libs -test" 386 KiB
[ebuild  N     ] dev-libs/flatbuffers-24.3.25:0/24.3.25::gentoo  USE="-static-libs -test" 2.244 KiB
[ebuild  N     ] dev-libs/crossguid-0.2.2_p20190529::gentoo  USE="-test" 139 KiB
[ebuild  N     ] sci-libs/kissfft-131.1.0::gentoo  USE="openmp -alloca -test -tools" CPU_FLAGS_X86="sse" 52 KiB
[ebuild  N     ] dev-libs/rapidjson-1.1.0-r4::gentoo  USE="-doc -examples -test" 996 KiB
[ebuild  N     ] dev-cpp/waylandpp-1.0.0-r1:0/1.0::gentoo  USE="-doc" 199 KiB
[ebuild  N     ] media-fonts/roboto-2.138::gentoo  USE="X" 4.224 KiB
[ebuild     U  ] media-video/ffmpeg-6.1.1-r8:0/58.60.60::gentoo [4.4.4-r10:0/56.58.58::gentoo] USE="X alsa bluray bzip2 dav1d encode gnutls gpl iconv lcms%* mp3 network opengl pic postproc pulseaudio sdl svg threads truetype vaapi vdpau vorbis vulkan x264 x265 xvid zlib (-amf) -amr -amrenc (-appkit) -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -jpegxl% -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -libplacebo% -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -nvenc -openal -opencl -openh264 -openssl -opus -oss (-qsv) -rav1e -rubberband -samba -shaderc% -snappy -sndio -soc% -speex -srt -ssh -static-libs -svt-av1 -test -theora -twolame -v4l -verify-sig -vidstab (-vmaf) -vpx -webp -zeromq -zimg -zvbi (-mmal%)" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" 10.214 KiB
[ebuild  N     ] media-tv/kodi-21.0-r1::gentoo  USE="alsa bluetooth bluray css dbus lcms optical pipewire pulseaudio system-ffmpeg udev udf vaapi wayland xslt -X -airplay -caps -cec -doc -eventclients -gbm -gles -libusb -lirc -mariadb -mysql -nfs -samba -soc -test -upnp -vdpau -webserver -zeroconf" CPU_FLAGS_X86="avx avx2 sse sse2 sse3 sse4_1 sse4_2" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 81.625 KiB

Total: 10 packages (1 upgrade, 9 new), Size of downloads: 100.281 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-video/ffmpeg:0

  (media-video/ffmpeg-6.1.1-r8:0/58.60.60::gentoo, ebuild scheduled for merge) USE="X alsa bluray bzip2 dav1d encode gnutls gpl iconv lcms mp3 network opengl pic postproc pulseaudio sdl svg threads truetype vaapi vdpau vorbis vulkan x264 x265 xvid zlib (-amf) -amr -amrenc (-appkit) -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -nvenc -openal -opencl -openh264 -openssl -opus -oss (-qsv) -rav1e -rubberband -samba -shaderc -snappy -sndio -soc -speex -srt -ssh -static-libs -svt-av1 -test -theora -twolame -v4l -verify-sig -vidstab (-vmaf) -vpx -webp -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" pulled in by
    =media-video/ffmpeg-6*:=[encode,soc(-)?,postproc,vaapi?,vdpau?,X?] required by (media-tv/kodi-21.0-r1:0/0::gentoo, ebuild scheduled for merge) USE="alsa bluetooth bluray css dbus lcms optical pipewire pulseaudio system-ffmpeg udev udf vaapi wayland xslt -X -airplay -caps -cec -doc -eventclients -gbm -gles -libusb -lirc -mariadb -mysql -nfs -samba -soc -test -upnp -vdpau -webserver -zeroconf" ABI_X86="(64)" CPU_FLAGS_X86="avx avx2 sse sse2 sse3 sse4_1 sse4_2" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
    ^                   ^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

  (media-video/ffmpeg-4.4.4-r10:0/56.58.58::gentoo, installed) USE="X alsa bluray bzip2 dav1d encode gnutls gpl iconv mp3 network opengl pic postproc pulseaudio sdl svg threads truetype vaapi vdpau vorbis vulkan x264 x265 xvid zlib (-amf) -amr -amrenc (-appkit) -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection (-cuda) -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) (-mmal) -modplug -nvenc -openal -opencl -openh264 -openssl -opus -oss (-qsv) -rav1e -rubberband -samba -snappy -sndio -speex -srt -ssh -static-libs -svt-av1 -test -theora -twolame -v4l -verify-sig -vidstab (-vmaf) -vpx -webp -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" pulled in by
    media-video/ffmpeg:0/56.58.58= required by (net-misc/freerdp-3.6.3:3/3::gentoo, installed) USE="X alsa client cups ffmpeg fuse icu jpeg pulseaudio sdl usb xv -aad -debug -gstreamer -kerberos -openh264 -server -smartcard -systemd -test -valgrind -verify-sig (-wayland) -xinerama" ABI_X86="(64)"
                      ^^^^^^^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
    <media-video/ffmpeg-5 required by (media-video/vlc-3.0.20-r11:0/5-9::gentoo, installed) USE="X a52 alsa bluray dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gui jpeg libnotify libsamplerate mad matroska mp3 mpeg ncurses ogg png pulseaudio ssl svg truetype udev vaapi wayland x264 x265 xml -aom -archive -aribsub -bidi -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -faad -fdk -fluidsynth -fontconfig -gme -gstreamer -ieee1394 -jack -kate -keyring -libass -libcaca -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -modplug -mtp -musepack -nfs -omxil -optimisememory -opus -projectm -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test -theora -tremor -twolame -upnp -v4l -vdpau -vnc -vpx -zeroconf -zvbi" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1"
    ^                   ^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
    (and 6 more with the same problems)

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 632
Location: Ásgarðr

PostPosted: Mon Aug 05, 2024 11:52 am    Post subject: Reply with quote

Code:
    <media-video/ffmpeg-5 required by (media-video/vlc-3.0.20-r11:0/5-9::gentoo, installed) USE="X a52 alsa bluray dbus dts dvbpsi dvd encode ffmpeg flac gcrypt gui jpeg libnotify libsamplerate mad matroska mp3 mpeg ncurses ogg png pulseaudio ssl svg truetype udev vaapi wayland x264 x265 xml -aom -archive -aribsub -bidi -cddb -chromaprint -chromecast -dav1d -dc1394 -debug (-directx) -faad -fdk -fluidsynth -fontconfig -gme -gstreamer -ieee1394 -jack -kate -keyring -libass -libcaca -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications -modplug -mtp -musepack -nfs -omxil -optimisememory -opus -projectm -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test -theora -tremor -twolame -upnp -v4l -vdpau -vnc -vpx -zeroconf -zvbi" ABI_X86="(64)" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1"         


Try to set "-vaapi" for vlc (https://bugs.gentoo.org/864721)
you should then be able to upgrade to ffmpeg 6 (do it first) and be able to install kodi-21.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum