Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help understanding output of emerge -vpe world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
guitfdlr
n00b
n00b


Joined: 02 Feb 2013
Posts: 2
Location: Southeast

PostPosted: Sat Feb 02, 2013 9:42 pm    Post subject: Need help understanding output of emerge -vpe world Reply with quote

I'm trying to set up my package.use file, and I have some questions about the output.
My question is, the flags in (), and the flags in {}, what is the meaning ? I've searched for the past few days, but still no clear answer.
Also, the atoms, do I need to put version numbers in the package.use file.
_________________
Doug Wood
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Feb 02, 2013 9:51 pm    Post subject: Reply with quote

guitfdlr,

Welcome to gentoo :D

To quickly answer your question

() circumfix forced, masked, or removed
{} circumfix state is bound to FEATURES settings

The explanation is available with man emerge :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32443
Location: 56N 3W

PostPosted: Sat Feb 02, 2013 9:58 pm    Post subject: Reply with quote

guitfdlr,

Welcome to Gentoo.

flags in () are forced on or off by your profile. You cannot affect those with the content of package.use
I've not noticed flags in {} before. However,
Code:
man emerge
says

Code:
       --verbose [ y | n ] (-v short option)
              Tell emerge to run in verbose mode.  Currently this flag  causes
              emerge to print out GNU info errors, if any, and to show the USE
              flags that will be used for each package  when  pretending.  The
              following  symbols are affixed to USE flags in order to indicate
              their status:


              Symbol   Location    Meaning
              --------------------------------------------------------------

              -        prefix      not enabled (either disabled or removed)
              *        suffix      transition to or from the enabled state
              %        suffix      newly added or removed
              ()       circumfix   forced, masked, or removed
              {}       circumfix   state is bound to FEATURES settings

So those settings are related to your FEATURES, either inherited from your profile or set in make.conf

You can use version numbers if you need to. The you must also use a comparision operator too.
It depends how your want your per package use flags applied.

For example,
Code:
sys-fs/lvm2 static
applies the static USE flag to all versions of lvm2.
Code:
>=media-plugins/gst-plugins-meta-0.10-r7:0.10 ffmpeg
applies the ffmpeg USE flags to media-plugins/gst-plugins-meta only if the version is >=0.10-r7
The other comparision operators do what you expect too.

You should have very little use for per package use flags when you are starting out in Gentoo. Choose the correct profile, then fine tune it with the USE statement in make.conf.
This applies the USE flags to all the packages that you install, which is mostly what you want.
For example, if you are doing a desktop install, you will want USE=X, since you will want all the packages you build to have any optional support for Xorg turned on.
The desktop profiles do that, so you need not set USE=X anywhere.

You will find
Code:
emerge --info
useful. It lists all of your USE flags settings except those in package.use and those set on the command line.
Setting USE flags on the command line is a very bad thing because portage won't remember the settings.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
guitfdlr
n00b
n00b


Joined: 02 Feb 2013
Posts: 2
Location: Southeast

PostPosted: Sat Feb 02, 2013 11:11 pm    Post subject: Thanks Reply with quote

I appreciate the quick response.
I must say I have learned quite a lot, while installing Gentoo. I love it.
_________________
Doug Wood
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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