Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Local USE flags? [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
epig
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2005
Posts: 86

PostPosted: Thu Mar 28, 2024 1:22 pm    Post subject: Local USE flags? [SOLVED] Reply with quote

Hi,

Trying to update my system, but I keep running into a dependency problem:

Code:
!!! The ebuild selected to satisfy "dev-perl/DBD-MariaDB" has unmet requirements.
- dev-perl/DBD-MariaDB-1.230.0::gentoo USE="mariadb mysql -minimal -test" ABI_X86="(64)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( mysql mariadb )

(dependency required by "dev-db/mariadb-10.6.17::gentoo[perl]" [ebuild])
(dependency required by "virtual/mysql-5.6-r13::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Now, tried adding the use flags to /etc/portage/package.use/zz-autounmask file (might be where I go wrong), but to no avail.

Adding them to the ever growing number og USE flags in make.conf does not really seem like a good idea either....

Anyone? This is probably an easy fix that I am just missing...?


Last edited by epig on Thu Mar 28, 2024 2:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3628

PostPosted: Thu Mar 28, 2024 1:29 pm    Post subject: Reply with quote

Code:
grep  dev-perl/DBD-MariaDB /etc/portage/package.use/*
?

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1660

PostPosted: Thu Mar 28, 2024 1:32 pm    Post subject: Reply with quote

What are you placing in a package.use file?
For your example, you need:
Code:
dev-perl/DBD-MariaDB -mysql
(or -mariadb)
This does not make anything a "local USE" (I personally hate that term. USE flags are USE flags. Some are described per package and some system-wide).
Back to top
View user's profile Send private message
epig
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2005
Posts: 86

PostPosted: Thu Mar 28, 2024 2:47 pm    Post subject: Reply with quote

grknight wrote:
What are you placing in a package.use file?
For your example, you need:
Code:
dev-perl/DBD-MariaDB -mysql
(or -mariadb)
This does not make anything a "local USE" (I personally hate that term. USE flags are USE flags. Some are described per package and some system-wide).


Simple as that.

Turns out I had set too many flags...

Thank you
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