View previous topic :: View next topic |
Author |
Message |
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Sat Jun 29, 2024 8:43 am Post subject: [Solved] Cannot update to media-libs/phonon-4.12.0-r2 |
|
|
media-libs/phonon-4.12.0-r2 was stabilized yesterday. I cannot update from 4.11.1-r2:
Code: | # emerge -uND @world
[ebuild U ] media-libs/phonon-4.12.0-r2 [4.11.1-r2] USE="pulseaudio qt5%* -debug -designer -qt6% -vlc (-gstreamer%)"
[blocks B ] media-libs/phonon-gstreamer ("media-libs/phonon-gstreamer" is soft blocking media-libs/phonon-4.12.0-r2)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(media-libs/phonon-gstreamer-4.10.0-r1:0/0::gentoo, installed) pulled in by
media-libs/phonon-gstreamer required by @selected
(media-libs/phonon-4.12.0-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=media-libs/phonon-4.11.0[qt5(+)] required by (kde-apps/dolphin-23.08.5:5/5::gentoo, installed) USE="semantic-desktop -activities -debug -handbook -telemetry -test" ABI_X86="(64)"
>=media-libs/phonon-4.10.60 required by (media-libs/phonon-gstreamer-4.10.0-r1:0/0::gentoo, installed) USE="alsa network -debug" ABI_X86="(64)" |
Not sure how to deal with this. It seems that Phonon Gstreamer is deprecated anyway, but I guess I would have to use VLC backend instead and I don't want to have VLC installed on my system.
Last edited by eeckwrk99 on Sat Jun 29, 2024 3:19 pm; edited 1 time in total |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1686 Location: South America
|
Posted: Sat Jun 29, 2024 11:17 am Post subject: |
|
|
Gentoo's media-libs/phonon-4.12.0-r2 does indeed block media-libs/phonon-gstreamer, which you have in the @selected set:
phonon-4.12.0-r2.ebuild
Code: | RDEPEND="${DEPEND}
!media-libs/phonon-gstreamer
|| (
kde-frameworks/breeze-icons:*
kde-frameworks/oxygen-icons:*
)
" |
Your only choice if you want to keep media-libs/phonon-gstreamer is staying on Phonon 4.11 while Gentoo has an ebuild for it, and mask >=media-libs/phonon-4.12. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Sat Jun 29, 2024 11:52 am Post subject: |
|
|
GDH-gentoo wrote: | Gentoo's media-libs/phonon-4.12.0-r2 does indeed block media-libs/phonon-gstreamer, which you have in the @selected set:
phonon-4.12.0-r2.ebuild
Code: | RDEPEND="${DEPEND}
!media-libs/phonon-gstreamer
|| (
kde-frameworks/breeze-icons:*
kde-frameworks/oxygen-icons:*
)
" |
Your only choice if you want to keep media-libs/phonon-gstreamer is staying on Phonon 4.11 while Gentoo has an ebuild for it, and mask >=media-libs/phonon-4.12. |
Indeed, masking >=4.12 seems to be the only solution for now.
I knew I could just do this but considering that 4.12.0-r2 ebuild explicitely blocks media-libs/phonon-gstreamer and that the project is allegedly deprecated, I thought maybe this could be an issue in the long run (i.e. no updated media-libs/phonon-gstreamer ebuild that play wells with >=media-libs/phonon-4.12.0-r2). |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22613
|
Posted: Sat Jun 29, 2024 2:11 pm Post subject: |
|
|
Yes, eventually Gentoo will have a good reason to remove the older ebuild, at which point keeping it will become progressively harder. From your original output, it's not clear to me that you're even using the gstreamer backend. What happens if you emerge --deselect media-libs/phonon-gstreamer ; emerge --ask --update --deep --changed-use @world? I think phonon-gstreamer ought not be in @world, regardless. If you use it at all, it should be pulled in by a dependency from something else. |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Sat Jun 29, 2024 2:51 pm Post subject: |
|
|
Hu wrote: | What happens if you emerge --deselect media-libs/phonon-gstreamer ; emerge --ask --update --deep --changed-use @world? I think phonon-gstreamer ought not be in @world, regardless. If you use it at all, it should be pulled in by a dependency from something else. |
Code: | # emerge --deselect media-libs/phonon-gstreamer ; emerge --ask --update --deep --changed-use @world
>>> Removing media-libs/phonon-gstreamer from "world" favorites file...
Would you like to remove these packages from your world favorites? [Yes/No] y
[ebuild U ] media-libs/phonon-4.12.0-r2 [4.11.1-r2] USE="pulseaudio qt5%* -debug -designer -qt6% -vlc (-gstreamer%)"
[uninstall ] media-libs/phonon-gstreamer-4.10.0-r1 USE="alsa network -debug"
[blocks b ] media-libs/phonon-gstreamer ("media-libs/phonon-gstreamer" is soft blocking media-libs/phonon-4.12.0-r2)
Would you like to merge these packages? [Yes/No] |
Then, a --depclean triggers the following packages removal:
Code: | # emerge --depclean
media-libs/phonon-gstreamer: 4.10.0-r1 none none
media-plugins/gst-plugins-soup: 1.22.11 none none
media-plugins/gst-plugins-meta: 1.20.6 none none
net-libs/libsoup: 2.74.3 none 3.4.4
media-plugins/gst-plugins-x264: 1.22.11 none none
media-plugins/gst-plugins-wavpack: 1.22.11 none none
media-plugins/gst-plugins-resindvd: 1.22.11 none none
media-plugins/gst-plugins-pulse: 1.22.11 none none
media-plugins/gst-plugins-opus: 1.22.11 none none
media-plugins/gst-plugins-mpg123: 1.22.11 none none
media-plugins/gst-plugins-mpeg2dec: 1.22.11 none none
media-plugins/gst-plugins-flac: 1.22.11 none none
media-plugins/gst-plugins-faad: 1.22.11 none none
media-plugins/gst-plugins-dvdread: 1.22.11 none none
media-plugins/gst-plugins-dts: 1.22.11 none none
media-plugins/gst-plugins-cdparanoia: 1.22.11 none none
media-plugins/gst-plugins-a52dec: 1.22.11 none none
media-sound/wavpack: 5.7.0 none none
media-sound/cdparanoia: 3.10.2-r8 none none
media-libs/libmpeg2: 0.5.1-r3 none none
media-libs/libdca: 0.0.7 none none
media-libs/faad2: 2.11.1 none none
media-libs/a52dec: 0.7.4-r8 none none |
The only drawback I could find of having neither media-libs/phonon-gstreamer installed nor vlc USE flag enabled for media-libs/phonon is that I would no longer have audio/video previews with Dolphin. I could live with that if media-libs/phonon-gstreamer were to be removed from the Portage tree at some point (or if masking >=media-libs/phonon-4.12 becomes an issue).
Would that break something else? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22613
|
Posted: Sat Jun 29, 2024 3:06 pm Post subject: |
|
|
I expect that any other functionality loss not routed through phonon would have shown up in the outputs you provided. Therefore, I would guess that anything else using phonon (other than Dolphin) might likewise lose those previews, but that would be the extent of the impact. However, I do not use this package, so I cannot be sure there is nothing else lost. |
|
Back to top |
|
|
eeckwrk99 Apprentice
Joined: 14 Mar 2021 Posts: 232 Location: Gentoo forums
|
Posted: Sat Jun 29, 2024 3:28 pm Post subject: |
|
|
Hu wrote: | I expect that any other functionality loss not routed through phonon would have shown up in the outputs you provided. Therefore, I would guess that anything else using phonon (other than Dolphin) might likewise lose those previews, but that would be the extent of the impact. However, I do not use this package, so I cannot be sure there is nothing else lost. |
I don't think anything else other than Dolphin was using Phonon on my system. I'll quickly notice if anything else is broken, so far so good!
@GDH-gentoo @Hu Thanks to both of you. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9262
|
Posted: Sat Jun 29, 2024 3:41 pm Post subject: |
|
|
There is one single use of Phonon in dolphin: video player preview in information panel. Not a big loss. |
|
Back to top |
|
|
Havin_it Veteran
Joined: 17 Jul 2005 Posts: 1265 Location: Edinburgh, UK
|
Posted: Sun Jun 30, 2024 3:48 pm Post subject: |
|
|
asturm wrote: | There is one single use of Phonon in dolphin: video player preview in information panel. Not a big loss. |
Sound like in that case the dolphin ebuild should move to make it an optional dep behind a USE-flag, like
Code: | video-preview? ( media-libs/phonon[vlc] ) |
Or is it unfeasible to detach the dep from the build?
Are there other ebuilds where phonon is only used for features enabled by having a video-backend? I see Gwenview in my list, I'd bet that is the same story as with Dolphin. Possibly Okular too? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9262
|
Posted: Sun Jun 30, 2024 8:32 pm Post subject: |
|
|
No, it is not optional. |
|
Back to top |
|
|
|