Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
profile update, libffado, python update
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
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 447

PostPosted: Tue Jun 04, 2024 2:58 pm    Post subject: profile update, libffado, python update Reply with quote

I updated my profile which a with a custom profile:

Code:

gentoo:default/linux/amd64/23.0/no-multilib/systemd
gentoo:targets/desktop/gnome


I get to the last step:

Code:

emerge --ask --emptytree @world


Code:

go2 ~ # emerge -a --emptytree @world

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
Dependency resolution took 2.83 s (backtrack: 0/20).


!!! The ebuild selected to satisfy "media-libs/libffado[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements.
- media-libs/libffado-2.4.8::gentoo USE="qt5 -debug -test-programs" 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 )

(dependency required by "media-video/pipewire-1.0.7::gentoo" [ebuild])
(dependency required by "sys-apps/xdg-desktop-portal-1.18.4::gentoo" [ebuild])
(dependency required by "sys-apps/flatpak-1.14.8::gentoo" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Next I add this to package.use:

Code:

>=media-libs/libffado-2.4.8 python_single_target_python3_11


reissue:

Code:

go2 ~ # emerge -a --emptytree @world


and get this:


Code:

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/PyQt5-5.15.10-r1::gentoo[dbus]
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/dbus-python-1.3.2 python_targets_python3_11
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/PyQt5-5.15.10-r1 python_targets_python3_11
# required by media-libs/libffado-2.4.8::gentoo[python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-build/scons-4.7.0 python_targets_python3_11
# required by dev-python/PyQt5-5.15.10-r1::gentoo
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/gpep517-16 python_targets_python3_11
# required by dev-python/PyQt-builder-1.16.2::gentoo
# required by dev-python/PyQt5-5.15.10-r1::gentoo
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/setuptools-70.0.0 python_targets_python3_11
# required by dev-python/PyQt5-5.15.10-r1::gentoo
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/PyQt5-sip-12.13.0-r1 python_targets_python3_11
# required by dev-python/PyQt5-5.15.10-r1::gentoo
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/PyQt-builder-1.16.2 python_targets_python3_11
# required by dev-python/PyQt5-5.15.10-r1::gentoo
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/sip-6.8.3 python_targets_python3_11
# required by dev-python/PyQt-builder-1.16.2::gentoo
# required by dev-python/PyQt5-5.15.10-r1::gentoo
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/packaging-24.0 python_targets_python3_11
# required by dev-python/PyQt-builder-1.16.2::gentoo
# required by dev-python/PyQt5-5.15.10-r1::gentoo
# required by media-libs/libffado-2.4.8::gentoo[qt5,python_single_target_python3_11]
# required by media-video/pipewire-1.0.7::gentoo[ieee1394]
# required by media-video/wireplumber-0.5.3::gentoo
>=dev-python/setuptools-scm-8.1.0 python_targets_python3_11

Would you like to add these changes to your config files? [Yes/No]


Since default python just changed to version 12 I am leary adding these changes to package.use.

How to proceed?

Thanks
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1757

PostPosted: Tue Jun 04, 2024 4:19 pm    Post subject: Re: profile update, libffado, python update Reply with quote

imesg wrote:


How to proceed?

Thanks


File a bug for libffado. If you're lucky, it'll get resolved quickly and you won't need to deal with all those package.use entries.

If you can't wait, deffer the update or enable python 3.11 explicitly.

And of course you can put those package.use entries into a temporary file which you can easily delete later when you don't need it, if your package.use is a direcotry. If it isn't, rename the file, create the directory and put the file back in, along with the temporary one.

Best Regards,
Georgi
Back to top
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 447

PostPosted: Wed Jun 05, 2024 2:21 am    Post subject: Re: profile update, libffado, python update Reply with quote

Update:

https://bugs.gentoo.org/929640


Thanks Georgi. I was hoping for a neater solution.

logrusx wrote:
imesg wrote:


How to proceed?

Thanks


File a bug for libffado. If you're lucky, it'll get resolved quickly and you won't need to deal with all those package.use entries.

If you can't wait, deffer the update or enable python 3.11 explicitly.

And of course you can put those package.use entries into a temporary file which you can easily delete later when you don't need it, if your package.use is a direcotry. If it isn't, rename the file, create the directory and put the file back in, along with the temporary one.

Best Regards,
Georgi
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1757

PostPosted: Wed Jun 05, 2024 5:32 am    Post subject: Reply with quote

Well then I recommend going the package.use route. Setting python targets to include python 3.11 globally will result in more rebuilds when you remove it. Plus it's easier to remove a bunch of package.use entries altogether by deleting the file that contains them :)

I tried to transfer the fix from the linked GitHub issue in the bug but it's too much python for me to chew at once.

Best Regrads,
Georgi
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2028

PostPosted: Thu Jun 06, 2024 6:59 am    Post subject: Reply with quote

I've hit this one too. For now, I'll disable USE=ieee1394, which is what brung libffado into my system.

(ieee1394 is Firewire support, needed for my old Sony camcorder, but as I'm not doing anything with it at the moment I can wait for a fix.)
_________________
Greybeard
Back to top
View user's profile Send private message
toofastforyahuh
Apprentice
Apprentice


Joined: 18 May 2004
Posts: 171

PostPosted: Tue Jun 11, 2024 6:22 pm    Post subject: Reply with quote

In my case, ieee1394 DV capture is one of the primary functions I require, so removing it is not an option.
However, it seems like only alsa-utils depends on libffado. (Why?)
It seems that adding -ieee1394 to alsa-utils in package.use is a simpler alternative in the meantime.

Has anyone contacted the libffado team about this?
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