public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Annulation of modified USE flag settings
@ 2006-09-09 14:03 Meino Christian Cramer
  2006-09-09 14:17 ` Boris Fersing
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Meino Christian Cramer @ 2006-09-09 14:03 UTC (permalink / raw
  To: gentoo-user

Hi,

 I want to say to emerge/ebuild:"Please use the original USE flags
 from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
 commandline some time ago."

 How can I achieve this ?

 Thanks a lot for any hjelp in advance!

 keep hacking!
 mcc

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Annulation of modified USE flag settings
  2006-09-09 14:03 [gentoo-user] Annulation of modified USE flag settings Meino Christian Cramer
@ 2006-09-09 14:17 ` Boris Fersing
  2006-09-09 14:43   ` Meino Christian Cramer
  2006-09-09 14:41 ` darren kirby
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 15+ messages in thread
From: Boris Fersing @ 2006-09-09 14:17 UTC (permalink / raw
  To: gentoo-user

2006/9/9, Meino Christian Cramer <Meino.Cramer@gmx.de>:
> Hi,
>
>  I want to say to emerge/ebuild:"Please use the original USE flags
>  from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
>  commandline some time ago."
>
>  How can I achieve this ?
>
>  Thanks a lot for any hjelp in advance!
Hi,

I don't understand very well, could you give us an example please ?

Boris.
>
>  keep hacking!
>  mcc
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Annulation of modified USE flag settings
  2006-09-09 14:03 [gentoo-user] Annulation of modified USE flag settings Meino Christian Cramer
  2006-09-09 14:17 ` Boris Fersing
@ 2006-09-09 14:41 ` darren kirby
  2006-09-09 14:48   ` Meino Christian Cramer
  2006-09-09 15:05 ` [gentoo-user] " Stefan Wimmer
  2006-09-09 15:56 ` [gentoo-user] " Uwe Thiem
  3 siblings, 1 reply; 15+ messages in thread
From: darren kirby @ 2006-09-09 14:41 UTC (permalink / raw
  To: gentoo-user

quoth the Meino Christian Cramer:
> Hi,
>
>  I want to say to emerge/ebuild:"Please use the original USE flags
>  from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
>  commandline some time ago."
>
>  How can I achieve this ?

If I understand you correctly, you don't have to worry, just re-emerge 
whatever. When you pass USE flags on the commandline they take affect for 
that particular build only. That is, they are not recorded anywhere, and are 
not permanent.

>  Thanks a lot for any hjelp in advance!
>
>  keep hacking!
>  mcc

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Annulation of modified USE flag settings
  2006-09-09 14:17 ` Boris Fersing
@ 2006-09-09 14:43   ` Meino Christian Cramer
  2006-09-09 15:57     ` Bo Ørsted Andresen
  0 siblings, 1 reply; 15+ messages in thread
From: Meino Christian Cramer @ 2006-09-09 14:43 UTC (permalink / raw
  To: gentoo-user, kernelsensei

From: "Boris Fersing" <kernelsensei@gentoo.org>
Subject: Re: [gentoo-user] Annulation of modified USE flag settings
Date: Sat, 9 Sep 2006 16:17:18 +0200

> 2006/9/9, Meino Christian Cramer <Meino.Cramer@gmx.de>:
> > Hi,
> >
> >  I want to say to emerge/ebuild:"Please use the original USE flags
> >  from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
> >  commandline some time ago."
> >
> >  How can I achieve this ?
> >
> >  Thanks a lot for any hjelp in advance!
> Hi,
> 
> I don't understand very well, could you give us an example please ?
> 
> Boris.
> >
> >  keep hacking!
> >  mcc
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> 
> -- 
> Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

Hi,

 yes, of course ! :O)

 recently I had to "emerge e world" (I had CHOST wrongly set, but this
 is another story).

 After cairo was emerged there was another package, which wants cairo
 to be reinstalled with USE="X" set.

 OK, I did an

	 export USE="X"; emerg cairo

 ...and forgot to 

	unset USE

 afterwards.

 A couple of packages now have "X*" in their description when doing

   emerge -pv <package>

 Unfortunately I dont now, whether the original settings of those
 packages were

   USE="......... -X"........"

 or

   USE="................."   (no X mentioned at all).
 
 I now want to re-emerge those packages with those settings, which
 were originally choosen by the gentoo team for those packages,
 regardless what I set on the commandline accidently.

 (sorry for my german English...)

 Keep hacking and thank you very much for your help in advance!
 mcc

 PS: Or is it better to hack a (what?) system file and remove the "X*"
 settings there and re-emerge those packages with no extra settings on
 the command line?

 

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Annulation of modified USE flag settings
  2006-09-09 14:41 ` darren kirby
@ 2006-09-09 14:48   ` Meino Christian Cramer
  0 siblings, 0 replies; 15+ messages in thread
From: Meino Christian Cramer @ 2006-09-09 14:48 UTC (permalink / raw
  To: gentoo-user, bulliver

From: darren kirby <bulliver@badcomputer.org>
Subject: Re: [gentoo-user] Annulation of modified USE flag settings
Date: Sat, 9 Sep 2006 07:41:06 -0700

> quoth the Meino Christian Cramer:
> > Hi,
> >
> >  I want to say to emerge/ebuild:"Please use the original USE flags
> >  from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
> >  commandline some time ago."
> >
> >  How can I achieve this ?
> 
> If I understand you correctly, you don't have to worry, just re-emerge 
> whatever. When you pass USE flags on the commandline they take affect for 
> that particular build only. That is, they are not recorded anywhere, and are 
> not permanent.
> 
> >  Thanks a lot for any hjelp in advance!
> >
> >  keep hacking!
> >  mcc
> 
> -d
> -- 
> darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
> "...the number of UNIX installations has grown to 10, with more expected..."
> - Dennis Ritchie and Ken Thompson, June 1972
> -- 
> gentoo-user@gentoo.org mailing list
> 

I dont thnk so, because

  emerge -pv <package>

reports the flags set via commandline with an aterisk attached, for
example  


		 USE="png X* jpg"

where "X" was set via commandline.

mcc
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: Annulation of modified USE flag settings
  2006-09-09 14:03 [gentoo-user] Annulation of modified USE flag settings Meino Christian Cramer
  2006-09-09 14:17 ` Boris Fersing
  2006-09-09 14:41 ` darren kirby
@ 2006-09-09 15:05 ` Stefan Wimmer
  2006-09-09 15:35   ` Meino Christian Cramer
  2006-09-09 15:56 ` [gentoo-user] " Uwe Thiem
  3 siblings, 1 reply; 15+ messages in thread
From: Stefan Wimmer @ 2006-09-09 15:05 UTC (permalink / raw
  To: gentoo-user

* Meino Christian Cramer <Meino.Cramer@gmx.de> [2006-09-09 14:03] :
>  Hi,
> 
>   I want to say to emerge/ebuild:"Please use the original USE flags
>   from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
>   commandline some time ago."
> 
>   How can I achieve this ?
> 
>   Thanks a lot for any hjelp in advance!
> 
>   keep hacking!
>   mcc

Hi, 

you can resolve it globally by putting "-X" in /etc/make.conf or per 
package by 'echo "<category>/<package> -X" >> /etc/portage/package.use'. 
In both cases you will run "emerge -Nvp world" afterwards, check if it's 
ok and then "emerge -Nv world" ...

HTH
swimmer

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Re: Annulation of modified USE flag settings
  2006-09-09 15:05 ` [gentoo-user] " Stefan Wimmer
@ 2006-09-09 15:35   ` Meino Christian Cramer
  2006-09-09 15:45     ` Stefan Wimmer
  0 siblings, 1 reply; 15+ messages in thread
From: Meino Christian Cramer @ 2006-09-09 15:35 UTC (permalink / raw
  To: gentoo-user, swimmer

From: Stefan Wimmer <swimmer@xs4all.nl>
Subject: [gentoo-user] Re: Annulation of modified USE flag settings
Date: Sat, 9 Sep 2006 15:05:15 +0000 (UTC)

> * Meino Christian Cramer <Meino.Cramer@gmx.de> [2006-09-09 14:03] :
> >  Hi,
> > 
> >   I want to say to emerge/ebuild:"Please use the original USE flags
> >   from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
> >   commandline some time ago."
> > 
> >   How can I achieve this ?
> > 
> >   Thanks a lot for any hjelp in advance!
> > 
> >   keep hacking!
> >   mcc
> 
> Hi, 
> 
> you can resolve it globally by putting "-X" in /etc/make.conf or per 
> package by 'echo "<category>/<package> -X" >> /etc/portage/package.use'. 
> In both cases you will run "emerge -Nvp world" afterwards, check if it's 
> ok and then "emerge -Nv world" ...
> 
> HTH
> swimmer
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

...then there something really bad on my system...

For example:

emerge -Nvp world 

gives beside other things:

[ebuild   R   ] media-libs/imlib2-1.2.1.009  USE="nls zlib -X* -bzip2* \
-doc* -gif* -jpeg* -mmx -mp3 -png* -tiff*" 0 kB

Takeing a look into the file imlib2-1.2.1.009.ebuild I found:
IUSE="X bzip2 gif jpeg mmx mp3 png tiff zlib"

In the manpage of emerge there is mentioned that
"-<flag>" means, that the flag is off.

So...how can imlib2 be installed with all that image formats be
disabled ? I will take responsibility for wrong "*X*" settings but the
rest...



[ebuild R ] systools/meino-0.08 USE="confused* -understanding_at_all" 
mcc

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* [gentoo-user]  Re: Annulation of modified USE flag settings
  2006-09-09 15:35   ` Meino Christian Cramer
@ 2006-09-09 15:45     ` Stefan Wimmer
  2006-09-09 15:58       ` Meino Christian Cramer
  0 siblings, 1 reply; 15+ messages in thread
From: Stefan Wimmer @ 2006-09-09 15:45 UTC (permalink / raw
  To: gentoo-user

* Meino Christian Cramer <Meino.Cramer@gmx.de> [2006-09-09 15:35] :
> [...]
>  [ebuild R ] systools/meino-0.08 USE="confused* -understanding_at_all" 
>  mcc

Time to take a cup of coffee/tea and read this

  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2
  http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3

Take time to understand ...

Greetz
Stefan ;-)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Annulation of modified USE flag settings
  2006-09-09 14:03 [gentoo-user] Annulation of modified USE flag settings Meino Christian Cramer
                   ` (2 preceding siblings ...)
  2006-09-09 15:05 ` [gentoo-user] " Stefan Wimmer
@ 2006-09-09 15:56 ` Uwe Thiem
  3 siblings, 0 replies; 15+ messages in thread
From: Uwe Thiem @ 2006-09-09 15:56 UTC (permalink / raw
  To: gentoo-user

On 09 September 2006 16:03, Meino Christian Cramer wrote:
> Hi,
>
>  I want to say to emerge/ebuild:"Please use the original USE flags
>  from make.conf and the ebuild-stuff. Ignore whatever I gave you on the
>  commandline some time ago."
>
>  How can I achieve this ?

emerge whatever

;-)

Well, if you exported your USEFLAGS on the command line you better log out and 
in again before emerging stuff.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Annulation of modified USE flag settings
  2006-09-09 14:43   ` Meino Christian Cramer
@ 2006-09-09 15:57     ` Bo Ørsted Andresen
  0 siblings, 0 replies; 15+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-09 15:57 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

On Saturday 09 September 2006 16:43, Meino Christian Cramer wrote:
>  OK, I did an
>
>          export USE="X"; emerg cairo
>
>  ...and forgot to
>
>         unset USE
>
>  afterwards.

# unset USE
# emerge -vNDp world

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Re: Annulation of modified USE flag settings
  2006-09-09 15:45     ` Stefan Wimmer
@ 2006-09-09 15:58       ` Meino Christian Cramer
  2006-09-09 16:03         ` Bo Ørsted Andresen
  2006-09-09 16:12         ` Boris Fersing
  0 siblings, 2 replies; 15+ messages in thread
From: Meino Christian Cramer @ 2006-09-09 15:58 UTC (permalink / raw
  To: gentoo-user, swimmer

From: Stefan Wimmer <swimmer@xs4all.nl>
Subject: [gentoo-user] Re: Annulation of modified USE flag settings
Date: Sat, 9 Sep 2006 15:45:19 +0000 (UTC)

> * Meino Christian Cramer <Meino.Cramer@gmx.de> [2006-09-09 15:35] :
> > [...]
> >  [ebuild R ] systools/meino-0.08 USE="confused* -understanding_at_all" 
> >  mcc
> 
> Time to take a cup of coffee/tea and read this
> 
>   http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2
>   http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
> 
> Take time to understand ...
> 
> Greetz
> Stefan ;-)
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 

In the doc, which link you mentioned firs there is in Listing 5
mentioned:

USE="-java" emerge mozilla

...a previous mail mentioned, that is a bad thing to do.

?

Still slightly confused,
mcc

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Re: Annulation of modified USE flag settings
  2006-09-09 15:58       ` Meino Christian Cramer
@ 2006-09-09 16:03         ` Bo Ørsted Andresen
  2006-09-09 16:21           ` Meino Christian Cramer
  2006-09-09 16:12         ` Boris Fersing
  1 sibling, 1 reply; 15+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-09 16:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

On Saturday 09 September 2006 17:58, Meino Christian Cramer wrote:
> In the doc, which link you mentioned firs there is in Listing 5
> mentioned:
>
> USE="-java" emerge mozilla
>
> ...a previous mail mentioned, that is a bad thing to do.
>
> ?
>
> Still slightly confused,

Instead do:

# echo www-client/mozilla -java >> /etc/portage/package.use

# emerge -va mozilla

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Re: Annulation of modified USE flag settings
  2006-09-09 15:58       ` Meino Christian Cramer
  2006-09-09 16:03         ` Bo Ørsted Andresen
@ 2006-09-09 16:12         ` Boris Fersing
  1 sibling, 0 replies; 15+ messages in thread
From: Boris Fersing @ 2006-09-09 16:12 UTC (permalink / raw
  To: gentoo-user

2006/9/9, Meino Christian Cramer <Meino.Cramer@gmx.de>:
> From: Stefan Wimmer <swimmer@xs4all.nl>
> Subject: [gentoo-user] Re: Annulation of modified USE flag settings
> Date: Sat, 9 Sep 2006 15:45:19 +0000 (UTC)
>
> > * Meino Christian Cramer <Meino.Cramer@gmx.de> [2006-09-09 15:35] :
> > > [...]
> > >  [ebuild R ] systools/meino-0.08 USE="confused* -understanding_at_all"
> > >  mcc
> >
> > Time to take a cup of coffee/tea and read this
> >
> >   http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2
> >   http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
> >
> > Take time to understand ...
> >
> > Greetz
> > Stefan ;-)
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
>
> In the doc, which link you mentioned firs there is in Listing 5
> mentioned:
>
> USE="-java" emerge mozilla
>
> ...a previous mail mentioned, that is a bad thing to do.
>
> ?

That's only for temporary changes; when you want to permanently
enable/disable a flag for a package, use the /etc/portage/package.use
file !

When you do : USE="blah" emerge <something>  the changes will be lost
the next time you emerge <something>

Boris.
>
> Still slightly confused,
> mcc
>
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Quiconque me parle de Dieu en veut à ma bourse ou à ma liberté.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Re: Annulation of modified USE flag settings
  2006-09-09 16:03         ` Bo Ørsted Andresen
@ 2006-09-09 16:21           ` Meino Christian Cramer
  2006-09-09 16:33             ` Bo Ørsted Andresen
  0 siblings, 1 reply; 15+ messages in thread
From: Meino Christian Cramer @ 2006-09-09 16:21 UTC (permalink / raw
  To: gentoo-user, bo.andresen

From: Bo Ørsted Andresen <bo.andresen@zlin.dk>
Subject: Re: [gentoo-user] Re: Annulation of modified USE flag settings
Date: Sat, 9 Sep 2006 18:03:48 +0200

> On Saturday 09 September 2006 17:58, Meino Christian Cramer wrote:
> > In the doc, which link you mentioned firs there is in Listing 5
> > mentioned:
> >
> > USE="-java" emerge mozilla
> >
> > ...a previous mail mentioned, that is a bad thing to do.
> >
> > ?
> >
> > Still slightly confused,
> 
> Instead do:
> 
> # echo www-client/mozilla -java >> /etc/portage/package.use
> 
> # emerge -va mozilla
> 
> -- 
> Bo Andresen

Hi Bo,

 no, I am not on the way to emerge mozilla...

 I thought that on one hand the docs say:

 use USE on the commandline

 while the mailing list says

 DONT use USE on the commandline -- its a very bad thing.

 that only one of that above can be correct and the fact that both
 there are may confuse users of gentoo more than absolutely needed.

 Only my two cent...

 Keep hacking!
 mcc

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [gentoo-user] Re: Annulation of modified USE flag settings
  2006-09-09 16:21           ` Meino Christian Cramer
@ 2006-09-09 16:33             ` Bo Ørsted Andresen
  0 siblings, 0 replies; 15+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-09 16:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

On Saturday 09 September 2006 18:21, Meino Christian Cramer wrote:
> > On Saturday 09 September 2006 17:58, Meino Christian Cramer wrote:
> > > In the doc, which link you mentioned firs there is in Listing 5
> > > mentioned:
> > >
> > > USE="-java" emerge mozilla
[SNIP]
> >
> > Instead do:
> >
> > # echo www-client/mozilla -java >> /etc/portage/package.use
> >
> > # emerge -va mozilla
[SNIP]
>  no, I am not on the way to emerge mozilla...
>
>  I thought that on one hand the docs say:
>
>  use USE on the commandline
>
>  while the mailing list says
>
>  DONT use USE on the commandline -- its a very bad thing.
>
>  that only one of that above can be correct and the fact that both
>  there are may confuse users of gentoo more than absolutely needed.

Oh, it's been a while since I read those docs. Please read the text above Code 
Listing 5. There are occasions where even I use USE= on the command line 
because I really want the change to be very temporary. When we on the mailing 
list tell users to never do that it's because users mostly don't want it to 
be that temporary. Especially if they find this difference confusing... ;)

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-09-09 17:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-09 14:03 [gentoo-user] Annulation of modified USE flag settings Meino Christian Cramer
2006-09-09 14:17 ` Boris Fersing
2006-09-09 14:43   ` Meino Christian Cramer
2006-09-09 15:57     ` Bo Ørsted Andresen
2006-09-09 14:41 ` darren kirby
2006-09-09 14:48   ` Meino Christian Cramer
2006-09-09 15:05 ` [gentoo-user] " Stefan Wimmer
2006-09-09 15:35   ` Meino Christian Cramer
2006-09-09 15:45     ` Stefan Wimmer
2006-09-09 15:58       ` Meino Christian Cramer
2006-09-09 16:03         ` Bo Ørsted Andresen
2006-09-09 16:21           ` Meino Christian Cramer
2006-09-09 16:33             ` Bo Ørsted Andresen
2006-09-09 16:12         ` Boris Fersing
2006-09-09 15:56 ` [gentoo-user] " Uwe Thiem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox