Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to enable '~amd64' for a metapackage?
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
4761
n00b
n00b


Joined: 08 Mar 2023
Posts: 54

PostPosted: Sun Mar 24, 2024 7:19 pm    Post subject: How to enable '~amd64' for a metapackage? Reply with quote

Hey folks,
so this is a question I've been having which probably applies to all metapackages, but I noticed it in particular, when I wanted to test Plasma 6 on Gentoo.

I had assumed that making a file in /etc/portage/package.use/plasma-meta
Code:
kde-plasma/plasma-meta ~amd64

would do the trick, but to my surprise it didn't!

I then read a thread saying that you'd have to set ~amd64 for all packages of a metapackage.
Is that really the best way to go about it?
Especially when a desktop environment adds a new application for example, do you really have to keep yourself informed so you can manage the metapackages manually?

I just feel like there should be an easier way, that I might be missing! 8)

Thanks in advance!

~4761
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Sun Mar 24, 2024 7:30 pm    Post subject: Reply with quote

4761 wrote:
that making a file in /etc/portage/package.use/plasma-meta
Code:
kde-plasma/plasma-meta ~amd64

would do the trick, but to my surprise it didn't!

Wrong path. This should be /etc/portage/package.accept_keywords/ not package.use
Back to top
View user's profile Send private message
4761
n00b
n00b


Joined: 08 Mar 2023
Posts: 54

PostPosted: Sun Mar 24, 2024 7:52 pm    Post subject: Reply with quote

grknight wrote:

Wrong path. This should be /etc/portage/package.accept_keywords/ not package.use


you are absolutely right, of course!
However, when I put it in that directory it still tells me that some of the dependencies are masked by ~amd64,
which brings me back to the same problem.

Thanks for your help! 8)

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


Joined: 22 Feb 2018
Posts: 1538

PostPosted: Sun Mar 24, 2024 8:48 pm    Post subject: Reply with quote

4761 wrote:

However, when I put it in that directory it still tells me that some of the dependencies are masked by ~amd64,
which brings me back to the same problem.

Thanks for your help! 8)

~4761


Well you mark them with ~amd64 as well. You can't implicitly do it for the dependencies, it should be explicit for every single one.

Best regards,
Georgi
Back to top
View user's profile Send private message
4761
n00b
n00b


Joined: 08 Mar 2023
Posts: 54

PostPosted: Mon Mar 25, 2024 5:54 pm    Post subject: Reply with quote

logrusx wrote:


Well you mark them with ~amd64 as well. You can't implicitly do it for the dependencies, it should be explicit for every single one.

Best regards,
Georgi


Gotcha, thanks! I had hoped that there'd be a more convenient way to implicitely solve it.
That clears things up :)

~4761
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