Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage fails to consider package masks, then fails [SOLVED]
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
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 820
Location: Queensland

PostPosted: Sun Jun 28, 2020 9:59 am    Post subject: Portage fails to consider package masks, then fails [SOLVED] Reply with quote

Code:
pingala ~ # emerge @world

!!! All ebuilds that could satisfy ">=x11-drivers/nvidia-drivers-435.21[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,
abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,
abi_s390_32(-)?,abi_s390_64(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- x11-drivers/nvidia-drivers-450.51-r1::gentoo (masked by: package.mask, NVIDIA-r2 license(s))
A copy of the 'NVIDIA-r2' license is located at '/usr/portage/licenses/NVIDIA-r2'.

- x11-drivers/nvidia-drivers-440.100-r1::gentoo (masked by: package.mask, NVIDIA-r2 license(s))
- x11-drivers/nvidia-drivers-435.21-r5::gentoo (masked by: package.mask, NVIDIA-r2 license(s))

(dependency required by "media-libs/nv-codec-headers-9.1.23.1::gentoo" [ebuild])
(dependency required by "media-video/ffmpeg-4.3::gentoo[video_cards_nvidia]" [ebuild])
(dependency required by "media-video/vlc-3.0.11::gentoo[ffmpeg]" [ebuild])
(dependency required by "media-libs/phonon-vlc-0.11.1::gentoo" [ebuild])
(dependency required by "media-libs/phonon-4.11.1-r1::gentoo[vlc]" [ebuild])
(dependency required by "kde-frameworks/knotifications-5.71.0::gentoo[phonon]" [ebuild])
(dependency required by "kde-frameworks/kdelibs4support-5.71.0::gentoo" [ebuild])
(dependency required by "dev-vcs/subversion-1.14.0::gentoo[kwallet]" [ebuild])
(dependency required by "@minibase" [set])
(dependency required by "@base" [set])
(dependency required by "@kde5-desktop" [set])
(dependency required by "@kde5-metal" [set])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
So it wants to update nvidia-drivers. It can't because I've masked them:
Code:
pingala ~ # grep nvidia /etc/portage/package.mask/*
/etc/portage/package.mask/nvidia-drivers.mask:>=x11-drivers/nvidia-drivers-391
because the hardware is this:
Code:
pingala ~ # lspci|grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GF108GLM [Quadro 1000M] (rev a1)
and if I try to install anything beyond the 390 series, the build says that the hardware isn't supported by that version. So I'm stuck on 390. But according to the emerge output above, that constraint isn't taken into account when calculating the set of packages to install. Why not?

[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
_________________
Michael Mounteney


Last edited by mounty1 on Mon Jun 29, 2020 9:29 am; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24369
Location: here

PostPosted: Sun Jun 28, 2020 10:34 am    Post subject: Reply with quote

Remove video_cards_nvidia use flag to ffmpeg
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 820
Location: Queensland

PostPosted: Sun Jun 28, 2020 11:22 am    Post subject: Reply with quote

fedeliallalinea wrote:
Remove video_cards_nvidia use flag to ffmpeg
Isn't that kind of hard because my make.conf has
Code:
VIDEO_CARDS="intel i965 modesetting nvidia"
so it seems to me that doing as you propose is going to lead to fundamental breakage.

(BTW: intel and nvidia because the machine has the Optimus dual-card arrangement)
_________________
Michael Mounteney
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24369
Location: here

PostPosted: Sun Jun 28, 2020 11:33 am    Post subject: Reply with quote

You can disable use flag only for specific package with /etc/portage/package.use, and disable that in ffmpeg break nothing
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1169
Location: Italy

PostPosted: Sun Jun 28, 2020 12:23 pm    Post subject: Reply with quote

media-libs/nv-codec-headers-9.1.23.1 depends on x11-drivers/nvidia-drivers-435.21 or greater, but media-libs/nv-codec-headers-9.0.18.1 (the previous version) depends on x11-drivers/nvidia-drivers-390.25 or greater (which you probably can install). So I guess you can mask media-libs/nv-codec-headers-9.1.23.1, but I haven't tested that personally (since I don't have an NVIDIA GPU).
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 820
Location: Queensland

PostPosted: Mon Jun 29, 2020 9:29 am    Post subject: That worked Reply with quote

Thank you.
_________________
Michael Mounteney
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