Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: User

How to check what cause a use flag

 

 

Gentoo user RSS feed   Index | Next | Previous | View Threaded


aleiphoenix at gmail

Apr 29, 2012, 9:19 AM

Post #1 of 5 (172 views)
Permalink
How to check what cause a use flag

Hi, all
Recently when I'm trying sync and upgrade the whole system with

emerge -DNnav --with-bdeps=y @system @world

I've got erlang with wxwidgets use flag. On my another gentoo box, uprading
erlang didn't build with this flag.

emerge --info shows my final use flag DOES have wxwidgets (while another
box doesn't have). So how can I find out what cause this?

Or should I provide more info ?
Thanks.


--
Silence is gold.

twitter: @areverie
wikipedia: AleiPhoenix
blog: weblog.areverie.org
wiki: wiki.areverie.org


markknecht at gmail

Apr 29, 2012, 9:47 AM

Post #2 of 5 (163 views)
Permalink
Re: How to check what cause a use flag [In reply to]

On Sun, Apr 29, 2012 at 9:19 AM, AleiPhoenix (A.K.A Areverie)
<aleiphoenix [at] gmail> wrote:
> Hi, all
> Recently when I'm trying sync and upgrade the whole system with
>
> emerge -DNnav --with-bdeps=y @system @world
>
> I've got erlang with wxwidgets use flag. On my another gentoo box, uprading
> erlang didn't build with this flag.
>
> emerge --info shows my final use flag DOES have wxwidgets (while another box
> doesn't have). So how can I find out what cause this?
>
> Or should I provide more info ?
> Thanks.
>

Generally speaking, for flags look in

/etc/make.conf
/etc/portage/package.use

To look at what packages have a certain flag give equery a try:

equery hasuse wxwidgets

and then

eix package

to loo at the use flag settings

HTH,
Mark


wonko at wonkology

Apr 29, 2012, 9:58 AM

Post #3 of 5 (169 views)
Permalink
Re: How to check what cause a use flag [In reply to]

AleiPhoenix (A.K.A Areverie) writes:

> Hi, all
> Recently when I'm trying sync and upgrade the whole system with
>
> emerge -DNnav --with-bdeps=y @system @world
>
> I've got erlang with wxwidgets use flag. On my another gentoo box,
> uprading erlang didn't build with this flag.
>
> emerge --info shows my final use flag DOES have wxwidgets (while another
> box doesn't have). So how can I find out what cause this?

I assume grep wxwidgets /etc/make.conf does not give anything on both
machines. But does eselect profile list show different profiles?

/usr/portage/profiles/ChangeLog has this entry:

16 Apr 2012; Pacho Ramos <pacho [at] gentoo>
targets/desktop/make.defaults: Enable wxwidgets by default as discussed in
http://archives.gentoo.org/gentoo-dev/msg_fdc392cc98c7eea216175521d87b9955.xml

Wonko


markknecht at gmail

Apr 29, 2012, 4:18 PM

Post #4 of 5 (157 views)
Permalink
Re: How to check what cause a use flag [In reply to]

On Sun, Apr 29, 2012 at 9:58 AM, Alex Schuster <wonko [at] wonkology> wrote:
> AleiPhoenix (A.K.A Areverie) writes:
>
>> Hi, all
>> Recently when I'm trying sync and upgrade the whole system with
>>
>> emerge -DNnav --with-bdeps=y @system @world
>>
>> I've got erlang with wxwidgets use flag. On my another gentoo box,
>> uprading erlang didn't build with this flag.
>>
>> emerge --info shows my final use flag DOES have wxwidgets (while another
>> box doesn't have). So how can I find out what cause this?
>
> I assume grep wxwidgets /etc/make.conf does not give anything on both
> machines. But does eselect profile list show different profiles?
>
> /usr/portage/profiles/ChangeLog has this entry:
>
> 16 Apr 2012; Pacho Ramos <pacho [at] gentoo>
> targets/desktop/make.defaults: Enable wxwidgets by default as discussed in
> http://archives.gentoo.org/gentoo-dev/msg_fdc392cc98c7eea216175521d87b9955.xml
>
>        Wonko
>

Excellent point about the profile. I hadn't considered that as I
hardly think about them.

profile first, then make.conf, then package.use I guess.

- Mark


aleiphoenix at gmail

Apr 30, 2012, 1:16 AM

Post #5 of 5 (157 views)
Permalink
Re: How to check what cause a use flag [In reply to]

You got me. It's the profile make this happen.

This virtual machine box profile is set to desktop (can't remember when)
and my another box is set to server.

Anyway, thanks guys, problem solved. :)

On Mon, Apr 30, 2012 at 7:18 AM, Mark Knecht <markknecht [at] gmail> wrote:

> On Sun, Apr 29, 2012 at 9:58 AM, Alex Schuster <wonko [at] wonkology>
> wrote:
> > AleiPhoenix (A.K.A Areverie) writes:
> >
> >> Hi, all
> >> Recently when I'm trying sync and upgrade the whole system with
> >>
> >> emerge -DNnav --with-bdeps=y @system @world
> >>
> >> I've got erlang with wxwidgets use flag. On my another gentoo box,
> >> uprading erlang didn't build with this flag.
> >>
> >> emerge --info shows my final use flag DOES have wxwidgets (while another
> >> box doesn't have). So how can I find out what cause this?
> >
> > I assume grep wxwidgets /etc/make.conf does not give anything on both
> > machines. But does eselect profile list show different profiles?
> >
> > /usr/portage/profiles/ChangeLog has this entry:
> >
> > 16 Apr 2012; Pacho Ramos <pacho [at] gentoo>
> > targets/desktop/make.defaults: Enable wxwidgets by default as discussed
> in
> >
> http://archives.gentoo.org/gentoo-dev/msg_fdc392cc98c7eea216175521d87b9955.xml
> >
> > Wonko
> >
>
> Excellent point about the profile. I hadn't considered that as I
> hardly think about them.
>
> profile first, then make.conf, then package.use I guess.
>
> - Mark
>
>


--
Silence is gold.

twitter: @areverie
wikipedia: AleiPhoenix
blog: weblog.areverie.org
wiki: wiki.areverie.org

Gentoo user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.