public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Use Flags
@ 2012-07-25 16:55 Silvio Siefke
  2012-07-25 17:07 ` Yohan Pereira
  2012-07-26  6:42 ` [gentoo-user] Use Flags Alan McKinnon
  0 siblings, 2 replies; 11+ messages in thread
From: Silvio Siefke @ 2012-07-25 16:55 UTC (permalink / raw
  To: gentoo-user

Hello,

after longer time want update my Gentoo PC. But ever come error msg with 
the USE Flags. I not know what say me Gentoo with the message.

gentoo-desk ~ # emerge -uDN world
Calculating dependencies... done!

!!! The ebuild selected to satisfy "media-libs/sdl-mixer[mikmod]" has unmet requirements.
- media-libs/sdl-mixer-1.2.12-r1::gentoo USE="mikmod wav -flac -fluidsynth -mad -midi -mod -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis"

  The following REQUIRED_USE flag constraints are unsatisfied:
    mikmod? ( mod )

  The above constraints are a subset of the following complete expression:
    midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 ) mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod ) modplug? ( mod )

(dependency required by "games-kids/tuxmath-1.7.2" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis

I understand not what want me say the system?


Thanks for help.

Regards
Silvio


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

* Re: [gentoo-user] Use Flags
  2012-07-25 16:55 [gentoo-user] Use Flags Silvio Siefke
@ 2012-07-25 17:07 ` Yohan Pereira
  2012-07-26  7:43   ` [gentoo-user] Gentoo package database ivan ivanov
  2012-07-26  6:42 ` [gentoo-user] Use Flags Alan McKinnon
  1 sibling, 1 reply; 11+ messages in thread
From: Yohan Pereira @ 2012-07-25 17:07 UTC (permalink / raw
  To: gentoo-user

On 07/25/12 at 06:55pm, Silvio Siefke wrote:
>
>   The following REQUIRED_USE flag constraints are unsatisfied:
>     mikmod? ( mod )

Hi,
  The above messages is telling you that, if the 'mikmod' useflag is set
the 'mod' use flag neeeds to be set too.

> gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
> media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis

You need to add the 'mod' useflag like this.
                                
media-libs/sdl-mixer mikmod wav mod -flac -fluidsynth -mad -midi -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis

-- 

- Yohan Pereira


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

* Re: [gentoo-user] Use Flags
  2012-07-25 16:55 [gentoo-user] Use Flags Silvio Siefke
  2012-07-25 17:07 ` Yohan Pereira
@ 2012-07-26  6:42 ` Alan McKinnon
  2012-07-26 13:22   ` Allan Gottlieb
  1 sibling, 1 reply; 11+ messages in thread
From: Alan McKinnon @ 2012-07-26  6:42 UTC (permalink / raw
  To: gentoo-user; +Cc: siefke_listen

On Wed, 25 Jul 2012 18:55:58 +0200
Silvio Siefke <siefke_listen@web.de> wrote:

> Hello,
> 
> after longer time want update my Gentoo PC. But ever come error msg
> with the USE Flags. I not know what say me Gentoo with the message.
> 
> gentoo-desk ~ # emerge -uDN world
> Calculating dependencies... done!
> 
> !!! The ebuild selected to satisfy "media-libs/sdl-mixer[mikmod]" has
> unmet requirements.
> - media-libs/sdl-mixer-1.2.12-r1::gentoo USE="mikmod wav -flac
> -fluidsynth -mad -midi -mod -modplug -mp3 -playtools -smpeg
> -static-libs -timidity -vorbis"
> 
>   The following REQUIRED_USE flag constraints are unsatisfied:
>     mikmod? ( mod )
> 
>   The above constraints are a subset of the following complete
> expression: midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi
> ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 )
> mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod )
> modplug? ( mod )
> 
> (dependency required by "games-kids/tuxmath-1.7.2" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> 
> 
> gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
> media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod
> -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis
> 
> I understand not what want me say the system?
> 
> 
> Thanks for help.
> 
> Regards
> Silvio
> 

Your USE for media-libs/sdl-mixer has this: "mikmod -mod"

The system wants "mod" if "mikmod" is set, or both to be off.

Add this to /etc/portage/package.mask:


media-libs/sdl-mixer mod


-- 
Alan McKinnon
alan.mckinnon@gmail.com



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

* [gentoo-user] Gentoo package database
  2012-07-25 17:07 ` Yohan Pereira
@ 2012-07-26  7:43   ` ivan ivanov
  2012-07-26  7:57     ` Alan McKinnon
  0 siblings, 1 reply; 11+ messages in thread
From: ivan ivanov @ 2012-07-26  7:43 UTC (permalink / raw
  To: gentoo-user

Hello, list. I am interesting how to find the package that contains the 
file that i want to have in my system.
Let's suppose that latex tells me: File upgreek.sty  not found. To solve 
this i need to install dev-texlive/texlive-latexextra. But, if i do not 
know this, i have to search the appropriate package. On debian i can 
easily do this by visiting official database 
http://www.debian.org/distrib/packages . On archlinux i can use "pkgfile 
upgreek.sty" that searches through NOT INSTALLED packages.
I found site http://www.portagefilelist.de/ that does this job for 
gentoo. But, as i suppose, it is third party project.

I cannot believe that such great project as gentoo does not have 
OFFICIAL database, that allows to search package by the file name.

So, the question is: how to find the name of NOT installed package that 
provides  needed file?


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

* Re: [gentoo-user] Gentoo package database
  2012-07-26  7:43   ` [gentoo-user] Gentoo package database ivan ivanov
@ 2012-07-26  7:57     ` Alan McKinnon
  2012-07-26  8:13       ` Marc Joliet
  2012-07-26  8:15       ` ivan ivanov
  0 siblings, 2 replies; 11+ messages in thread
From: Alan McKinnon @ 2012-07-26  7:57 UTC (permalink / raw
  To: gentoo-user

On Thu, 26 Jul 2012 11:43:53 +0400
ivan ivanov <grobokopatel@list.ru> wrote:

> Hello, list. I am interesting how to find the package that contains
> the file that i want to have in my system.
> Let's suppose that latex tells me: File upgreek.sty  not found. To
> solve this i need to install dev-texlive/texlive-latexextra. But, if
> i do not know this, i have to search the appropriate package. On
> debian i can easily do this by visiting official database 
> http://www.debian.org/distrib/packages . On archlinux i can use
> "pkgfile upgreek.sty" that searches through NOT INSTALLED packages.
> I found site http://www.portagefilelist.de/ that does this job for 
> gentoo. But, as i suppose, it is third party project.
> 
> I cannot believe that such great project as gentoo does not have 
> OFFICIAL database, that allows to search package by the file name.
> 
> So, the question is: how to find the name of NOT installed package
> that provides  needed file?
> 

First of all:

DO NOT HIJACK THREADS.

You replied to an existing thread, changed the subject line, deleted
the content and type your question. This is a big nono and is
considered exceptionally rude (it makes everyone else's mail client do
strange things with displaying threads). To start a new thread, compose
an entirely new mail and address it to gentoo-user@lists.gentoo.org

To answer your question, what you want cannot be reliably done. This is
because of how Gentoo works.

In Debian for example, someone else builds the packages, they know
exactly what files will be installed ahead of time, and can put them in
a database for you to query.

Gentoo does not work like that. You build the packages, you specify the
USE flags and different flags can easily cause very different lists of
files to be installed. So the only person that can know exactly what
files you will install is you, there cannot ever be a 100% correct
database of this. Trust me, this has considered many times, you are not
the first.

http://www.portagefilelist.de/ is your best bet, it doesn't get better
than that.


 
-- 
Alan McKinnon
alan.mckinnon@gmail.com



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

* Re: [gentoo-user] Gentoo package database
  2012-07-26  7:57     ` Alan McKinnon
@ 2012-07-26  8:13       ` Marc Joliet
  2012-07-26 18:55         ` Alan McKinnon
  2012-07-26  8:15       ` ivan ivanov
  1 sibling, 1 reply; 11+ messages in thread
From: Marc Joliet @ 2012-07-26  8:13 UTC (permalink / raw
  To: gentoo-user

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

Am Thu, 26 Jul 2012 09:57:54 +0200
schrieb Alan McKinnon <alan.mckinnon@gmail.com>:

> On Thu, 26 Jul 2012 11:43:53 +0400
> ivan ivanov <grobokopatel@list.ru> wrote:
> 
> > Hello, list. I am interesting how to find the package that contains
> > the file that i want to have in my system.
> > Let's suppose that latex tells me: File upgreek.sty  not found. To
> > solve this i need to install dev-texlive/texlive-latexextra. But, if
> > i do not know this, i have to search the appropriate package. On
> > debian i can easily do this by visiting official database 
> > http://www.debian.org/distrib/packages . On archlinux i can use
> > "pkgfile upgreek.sty" that searches through NOT INSTALLED packages.
> > I found site http://www.portagefilelist.de/ that does this job for 
> > gentoo. But, as i suppose, it is third party project.
> > 
> > I cannot believe that such great project as gentoo does not have 
> > OFFICIAL database, that allows to search package by the file name.
> > 
> > So, the question is: how to find the name of NOT installed package
> > that provides  needed file?
> > 
> 
> First of all:
> 
> DO NOT HIJACK THREADS.

Yes, that is very annoying.

[...]
> To answer your question, what you want cannot be reliably done. This is
> because of how Gentoo works.
> 
> In Debian for example, someone else builds the packages, they know
> exactly what files will be installed ahead of time, and can put them in
> a database for you to query.
> 
> Gentoo does not work like that. You build the packages, you specify the
> USE flags and different flags can easily cause very different lists of
> files to be installed. So the only person that can know exactly what
> files you will install is you, there cannot ever be a 100% correct
> database of this. Trust me, this has considered many times, you are not
> the first.
> 
> http://www.portagefilelist.de/ is your best bet, it doesn't get better
> than that.

Actually, for the special case of latex packages, his best bet is
dev-tex/texmfind.

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] Gentoo package database
  2012-07-26  7:57     ` Alan McKinnon
  2012-07-26  8:13       ` Marc Joliet
@ 2012-07-26  8:15       ` ivan ivanov
  2012-07-27 18:59         ` Mick
  1 sibling, 1 reply; 11+ messages in thread
From: ivan ivanov @ 2012-07-26  8:15 UTC (permalink / raw
  To: gentoo-user


> DO NOT HIJACK THREADS.
>
> You replied to an existing thread, changed the subject line, deleted
> the content and type your question. This is a big nono and is
> considered exceptionally rude (it makes everyone else's mail client do
> strange things with displaying threads).
  Sorry, i did not know this. I never encountered such behavior on other 
mailing lists.


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

* Re: [gentoo-user] Use Flags
  2012-07-26  6:42 ` [gentoo-user] Use Flags Alan McKinnon
@ 2012-07-26 13:22   ` Allan Gottlieb
  2012-07-26 18:53     ` Alan McKinnon
  0 siblings, 1 reply; 11+ messages in thread
From: Allan Gottlieb @ 2012-07-26 13:22 UTC (permalink / raw
  To: gentoo-user

On Thu, Jul 26 2012, Alan McKinnon wrote:

> On Wed, 25 Jul 2012 18:55:58 +0200
> Silvio Siefke <siefke_listen@web.de> wrote:
>
>> Hello,
>> 
>> after longer time want update my Gentoo PC. But ever come error msg
>> with the USE Flags. I not know what say me Gentoo with the message.
>> 
>> gentoo-desk ~ # emerge -uDN world
>> Calculating dependencies... done!
>> 
>> !!! The ebuild selected to satisfy "media-libs/sdl-mixer[mikmod]" has
>> unmet requirements.
>> - media-libs/sdl-mixer-1.2.12-r1::gentoo USE="mikmod wav -flac
>> -fluidsynth -mad -midi -mod -modplug -mp3 -playtools -smpeg
>> -static-libs -timidity -vorbis"
>> 
>>   The following REQUIRED_USE flag constraints are unsatisfied:
>>     mikmod? ( mod )
>> 
>>   The above constraints are a subset of the following complete
>> expression: midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi
>> ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 )
>> mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod )
>> modplug? ( mod )
>> 
>> (dependency required by "games-kids/tuxmath-1.7.2" [installed])
>> (dependency required by "@selected" [set])
>> (dependency required by "@world" [argument])
>> 
>> 
>> gentoo-desk ~ # cat /etc/portage/package.use | grep sdl-mixer
>> media-libs/sdl-mixer mikmod wav -flac -fluidsynth -mad -midi -mod
>> -modplug -mp3 -playtools -smpeg -static-libs -timidity -vorbis
>> 
>> I understand not what want me say the system?
>> 
>> 
>> Thanks for help.
>> 
>> Regards
>> Silvio
>> 
>
> Your USE for media-libs/sdl-mixer has this: "mikmod -mod"
>
> The system wants "mod" if "mikmod" is set, or both to be off.
>
> Add this to /etc/portage/package.mask:
>
>
> media-libs/sdl-mixer mod

Don't you mean /etc/portage/package.use   not .mask ?

allan



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

* Re: [gentoo-user] Use Flags
  2012-07-26 13:22   ` Allan Gottlieb
@ 2012-07-26 18:53     ` Alan McKinnon
  0 siblings, 0 replies; 11+ messages in thread
From: Alan McKinnon @ 2012-07-26 18:53 UTC (permalink / raw
  To: gentoo-user; +Cc: gottlieb

On Thu, 26 Jul 2012 09:22:25 -0400
Allan Gottlieb <gottlieb@nyu.edu> wrote:


>
> > Your USE for media-libs/sdl-mixer has this: "mikmod -mod"
> >
> > The system wants "mod" if "mikmod" is set, or both to be off.
> >
> > Add this to /etc/portage/package.mask:
> >
> >
> > media-libs/sdl-mixer mod
> 
> Don't you mean /etc/portage/package.use   not .mask ?


Yes indeed, that's what I meant. Good catch :-)


-- 
Alan McKinnon
alan.mckinnon@gmail.com



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

* Re: [gentoo-user] Gentoo package database
  2012-07-26  8:13       ` Marc Joliet
@ 2012-07-26 18:55         ` Alan McKinnon
  0 siblings, 0 replies; 11+ messages in thread
From: Alan McKinnon @ 2012-07-26 18:55 UTC (permalink / raw
  To: gentoo-user

On Thu, 26 Jul 2012 10:13:32 +0200
Marc Joliet <marcec@gmx.de> wrote:

> > http://www.portagefilelist.de/ is your best bet, it doesn't get
> > better than that.  
> 
> Actually, for the special case of latex packages, his best bet is
> dev-tex/texmfind.

Interesting, I didn't know about that one. 

I'll have to make a note for future use

-- 
Alan McKinnon
alan.mckinnon@gmail.com



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

* Re: [gentoo-user] Gentoo package database
  2012-07-26  8:15       ` ivan ivanov
@ 2012-07-27 18:59         ` Mick
  0 siblings, 0 replies; 11+ messages in thread
From: Mick @ 2012-07-27 18:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 809 bytes --]

On Thursday 26 Jul 2012 09:15:42 ivan ivanov wrote:
> > DO NOT HIJACK THREADS.
> > 
> > You replied to an existing thread, changed the subject line, deleted
> > the content and type your question. This is a big nono and is
> > considered exceptionally rude (it makes everyone else's mail client do
> > strange things with displaying threads).
> 
>   Sorry, i did not know this. I never encountered such behavior on other
> mailing lists.

No probs.  Most of us use plain text, threaded display in our mail/news 
clients and hijacking a thread breaks the thread up.  Not nice when one tries 
to search through past threads for answers and comes across unrelated content.

At least you don't use HTML and you don't Top Post.  So you got 2 out of 3 
deadly sins right.  ;-)
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2012-07-27 19:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-25 16:55 [gentoo-user] Use Flags Silvio Siefke
2012-07-25 17:07 ` Yohan Pereira
2012-07-26  7:43   ` [gentoo-user] Gentoo package database ivan ivanov
2012-07-26  7:57     ` Alan McKinnon
2012-07-26  8:13       ` Marc Joliet
2012-07-26 18:55         ` Alan McKinnon
2012-07-26  8:15       ` ivan ivanov
2012-07-27 18:59         ` Mick
2012-07-26  6:42 ` [gentoo-user] Use Flags Alan McKinnon
2012-07-26 13:22   ` Allan Gottlieb
2012-07-26 18:53     ` Alan McKinnon

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