Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IUSE?

0 views
Skip to first unread message

AZ Nomad

unread,
Jun 4, 2009, 10:33:36 AM6/4/09
to
What are IUSE flags?

I get this error now from 'emerge -Dpn world'

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
"sys-auth/consolekit[policykit]".
!!! One of the following packages is required to complete your request:
- sys-auth/consolekit-0.2.10 (Missing IUSE: policykit)
- sys-auth/consolekit-0.2.3 (Missing IUSE: policykit)
(dependency required by "sys-apps/hal-0.5.12_rc1-r6" [ebuild])
(dependency required by "world" [argument])

J.O. Aho

unread,
Jun 4, 2009, 12:01:03 PM6/4/09
to

You could say IUSE = USE.
In your case you need to recompile consolekit with the USE=policykit, I do
recommend you add the USE key to /etc/make.conf or specifict for consolekit in
/etc/portage/package.use

--

//Aho

AZ Nomad

unread,
Jun 4, 2009, 6:28:26 PM6/4/09
to
On Thu, 04 Jun 2009 18:01:03 +0200, J.O. Aho <us...@example.net> wrote:
>AZ Nomad wrote:
>> What are IUSE flags?
>>
>> I get this error now from 'emerge -Dpn world'
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies... done!
>>
>> emerge: there are no ebuilds built with USE flags to satisfy
>> "sys-auth/consolekit[policykit]".
>> !!! One of the following packages is required to complete your request:
>> - sys-auth/consolekit-0.2.10 (Missing IUSE: policykit)
this is bizzare; I already have consolekit-0.2.10 installed


>> - sys-auth/consolekit-0.2.3 (Missing IUSE: policykit)
>> (dependency required by "sys-apps/hal-0.5.12_rc1-r6" [ebuild])
>> (dependency required by "world" [argument])

>You could say IUSE = USE.
>In your case you need to recompile consolekit with the USE=policykit, I do
>recommend you add the USE key to /etc/make.conf or specifict for consolekit in
>/etc/portage/package.use

Adding policykit to USE, adding it to an IUSE variable in make.conf,
doing emerge with --newuse, and reemerging consolekit (0.2.10) didn't
help.

consolekit doesn't even use policykit as a useflag:
$ emerge -pv consolekit

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-auth/consolekit-0.2.10 USE="pam -debug" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

J.O. Aho

unread,
Jun 5, 2009, 2:18:47 AM6/5/09
to
AZ Nomad wrote:
> On Thu, 04 Jun 2009 18:01:03 +0200, J.O. Aho <us...@example.net> wrote:
>> AZ Nomad wrote:
>>> What are IUSE flags?
>>>
>>> I get this error now from 'emerge -Dpn world'
>>>
>>> These are the packages that would be merged, in order:
>>>
>>> Calculating dependencies... done!
>>>
>>> emerge: there are no ebuilds built with USE flags to satisfy
>>> "sys-auth/consolekit[policykit]".
>>> !!! One of the following packages is required to complete your request:
>>> - sys-auth/consolekit-0.2.10 (Missing IUSE: policykit)
> this is bizzare; I already have consolekit-0.2.10 installed

It don't say you don't have it installed, it says that you don't have it
compiled with an USE flag that is required by a package depending on it.

>
>>> - sys-auth/consolekit-0.2.3 (Missing IUSE: policykit)
>>> (dependency required by "sys-apps/hal-0.5.12_rc1-r6" [ebuild])
>>> (dependency required by "world" [argument])
>
>> You could say IUSE = USE.
>> In your case you need to recompile consolekit with the USE=policykit, I do
>> recommend you add the USE key to /etc/make.conf or specifict for consolekit in
>> /etc/portage/package.use
>
> Adding policykit to USE, adding it to an IUSE variable in make.conf,
> doing emerge with --newuse, and reemerging consolekit (0.2.10) didn't
> help.

There is no IUSE variable to use in mkae.conf, IUSE is used in the ebuild
files, telling which options are available for the ebuild in question.

> consolekit doesn't even use policykit as a useflag:
> $ emerge -pv consolekit
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] sys-auth/consolekit-0.2.10 USE="pam -debug" 0 kB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 kB

consolekit 0.2 don't have support for policykit, so you have two options,
disable the policykit for hal or build consolekit 0.3 with policykit.


--

//Aho

AZ Nomad

unread,
Jun 5, 2009, 9:37:50 AM6/5/09
to
On Fri, 05 Jun 2009 08:18:47 +0200, J.O. Aho <us...@example.net> wrote:
>consolekit 0.2 don't have support for policykit, so you have two options,
>disable the policykit for hal or build consolekit 0.3 with policykit.

Thanks. Looks like the problem was that I had 'sys-apps/hal ~amd64' in my my
package.keywords and it wanted the unstable version of consolekit. My --pretend
emerge ran without errors with 'sys-auth/consolekit ~amd64'.

0 new messages