public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Yet another USE flag problem
@ 2021-01-04  5:05 Bertram Scharpf
  2021-01-04  6:09 ` Arve Barsnes
  0 siblings, 1 reply; 10+ messages in thread
From: Bertram Scharpf @ 2021-01-04  5:05 UTC (permalink / raw
  To: gentoo-user

Hi,

after experimenting a while I find myself receiving this
error message:

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

  Calculating dependencies... done!

  emerge: there are no ebuilds built with USE flags to satisfy "dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
  !!! One of the following packages is required to complete your request:
  - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
  (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
  (dependency required by "@selected" [set])
  (dependency required by "@world" [argument])


As far as I see, I defined _exactly_ _one_ _of_ them:

  # equery u neovim
  [ Legend : U - final flag setting for installation]
  [        : I - package is installed with flag     ]
  [ Colors : set, unset                             ]
  * Found these USE flags for app-editors/neovim-0.4.4-r100:
  U I
  + - lto                      : Build with Link Time Optimization (LTO)
  + + lua_single_target_lua5-1 : Build for Lua 5.1 only
  - - lua_single_target_lua5-2 : Build for Lua 5.2 only
  - - lua_single_target_luajit : Build for LuaJIT only
  + - nvimpager                : Install nvimpager symlink to less.sh macro
  + - tui                      : Build the neovim unix tui


What do I miss?

Thanks in advance.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04  5:05 [gentoo-user] Yet another USE flag problem Bertram Scharpf
@ 2021-01-04  6:09 ` Arve Barsnes
  2021-01-04 12:15   ` Bertram Scharpf
  0 siblings, 1 reply; 10+ messages in thread
From: Arve Barsnes @ 2021-01-04  6:09 UTC (permalink / raw
  To: Gentoo

On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> As far as I see, I defined _exactly_ _one_ _of_ them:

Please show what USE flags you've defined for either this package or
LUA. Hard to give advice without knowing your config.

Regards,
Arve


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04  6:09 ` Arve Barsnes
@ 2021-01-04 12:15   ` Bertram Scharpf
  2021-01-04 12:39     ` Arve Barsnes
  2021-01-04 15:12     ` Daniel Frey
  0 siblings, 2 replies; 10+ messages in thread
From: Bertram Scharpf @ 2021-01-04 12:15 UTC (permalink / raw
  To: gentoo-user

On Monday, 04. Jan 2021, 07:09:06 +0100, Arve Barsnes wrote:
> On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> > As far as I see, I defined _exactly_ _one_ _of_ them:
> 
> Please show what USE flags you've defined for either this package or
> LUA. Hard to give advice without knowing your config.

  # emerge --info | grep -i lua
  LUA_SINGLE_TARGET="lua5-1"
  LUA_TARGETS="lua5-1"
  USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
  USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."

  # grep -rnHi lua /etc/portage
  /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
  /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
  /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
  /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
  /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64

Here's another time how emerge complains:

  - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')

As far as I understand this, emerge tells me to remove the
use flag "lua_single_target_lua5-1" because the use flag
"lua_single_target_lua5-1" is required.

What could I try next?


Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04 12:15   ` Bertram Scharpf
@ 2021-01-04 12:39     ` Arve Barsnes
  2021-01-04 13:46       ` Bertram Scharpf
  2021-01-04 15:12     ` Daniel Frey
  1 sibling, 1 reply; 10+ messages in thread
From: Arve Barsnes @ 2021-01-04 12:39 UTC (permalink / raw
  To: Gentoo

On Mon, 4 Jan 2021 at 13:15, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
>   # grep -rnHi lua /etc/portage
>   /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
>   /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
>   /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
>   /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
>   /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64
>
> Here's another time how emerge complains:
>
>   - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
>
> As far as I understand this, emerge tells me to remove the
> use flag "lua_single_target_lua5-1" because the use flag
> "lua_single_target_lua5-1" is required.

As far as I understand it, this is saying that your emerge command is
about to remove that USE flag from neovim, which breaks the
constraint. So basically some other package is stopping your update.

Your original mail mentioned that this was because of dev-lua/luv. You
have in your /etc/portage/package.use/zz-autouse set the luajit flag
on this package. Might this be the problem?

I'm not that familiar with lua, but as far as I understand the output,
app-editors/neovim and dev-lua/luv needs the same LUA_SINGLE_TARGET,
and setting that USE flag on dev-lua/luv might trip up this. Reading
the latest ebuild, this flag has been removed in the ~amd64 package,
so might as well remove it now and see if that fixes your problem.

Regards,
Arve


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04 12:39     ` Arve Barsnes
@ 2021-01-04 13:46       ` Bertram Scharpf
  2021-01-04 14:12         ` Arve Barsnes
  0 siblings, 1 reply; 10+ messages in thread
From: Bertram Scharpf @ 2021-01-04 13:46 UTC (permalink / raw
  To: gentoo-user

On Monday, 04. Jan 2021, 13:39:47 +0100, Arve Barsnes wrote:
> On Mon, 4 Jan 2021 at 13:15, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> >   # grep -rnHi lua /etc/portage
> >   /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
> >   /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
> >   /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
> >   /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
> >   /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64
> >
> > Here's another time how emerge complains:
> >
> >   - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
> >
> > As far as I understand this, emerge tells me to remove the
> > use flag "lua_single_target_lua5-1" because the use flag
> > "lua_single_target_lua5-1" is required.
> 
> As far as I understand it, this is saying that your emerge command is
> about to remove that USE flag from neovim, which breaks the
> constraint. So basically some other package is stopping your update.

If this is what happens, then I miss that emerge tells me
the reason why it tries to remove the use flag.

> Your original mail mentioned that this was because of dev-lua/luv. You
> have in your /etc/portage/package.use/zz-autouse set the luajit flag
> on this package. Might this be the problem?

> I'm not that familiar with lua, but as far as I understand the output,
> app-editors/neovim and dev-lua/luv needs the same LUA_SINGLE_TARGET,
> and setting that USE flag on dev-lua/luv might trip up this. Reading
> the latest ebuild, this flag has been removed in the ~amd64 package,
> so might as well remove it now and see if that fixes your problem.

As the name of the file tells, the "zz-autouse" use flags
were set a long time ago by - of course - emerge. I tried to
remove them, but that didn't change anything.

  emerge: there are no ebuilds built with USE flags to satisfy "dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
  !!! One of the following packages is required to complete your request:
  - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
  (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
  (dependency required by "@selected" [set])
  (dependency required by "@world" [argument])

  # grep -rnHi '^[^#]*lua' /etc/portage
  /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64


I tried to set the single target to "luajit", but that
didn't help either:

  emerge: there are no ebuilds built with USE flags to satisfy "dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
  !!! One of the following packages is required to complete your request:
  - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_luajit, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
  (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
  (dependency required by "@selected" [set])
  (dependency required by "@world" [argument])

  # grep -rnHi '^[^#]*lua' /etc/portage
  /etc/portage/make.conf:40:LUA_SINGLE_TARGET="luajit" #  lua5-1
  /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
  /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
  /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
  /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64
  # emerge --info | grep -i lua
  LUA_SINGLE_TARGET="luajit"
  LUA_TARGETS="lua5-1"
  USE="..." ... LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1" ...
  USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."

What else could I try?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04 13:46       ` Bertram Scharpf
@ 2021-01-04 14:12         ` Arve Barsnes
  2021-01-04 15:17           ` Bertram Scharpf
  0 siblings, 1 reply; 10+ messages in thread
From: Arve Barsnes @ 2021-01-04 14:12 UTC (permalink / raw
  To: Gentoo

On Mon, 4 Jan 2021 at 14:46, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
>   # grep -rnHi '^[^#]*lua' /etc/portage
>   /etc/portage/make.conf:40:LUA_SINGLE_TARGET="luajit" #  lua5-1
>   /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
>   /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
>   /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
>   /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64
>   # emerge --info | grep -i lua
>   LUA_SINGLE_TARGET="luajit"
>   LUA_TARGETS="lua5-1"
>   USE="..." ... LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1" ...
>   USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
>
> What else could I try?

I would try removing both the make.conf entry and the dev-lua/luv USE entry.

Maybe either of the other two packages with luajit are also involved,
but give the emerge command you're trying to run and any error
messages after doing that.

Regards,
Arve


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04 12:15   ` Bertram Scharpf
  2021-01-04 12:39     ` Arve Barsnes
@ 2021-01-04 15:12     ` Daniel Frey
  2021-01-04 15:32       ` Bertram Scharpf
  1 sibling, 1 reply; 10+ messages in thread
From: Daniel Frey @ 2021-01-04 15:12 UTC (permalink / raw
  To: gentoo-user

On 1/4/21 4:15 AM, Bertram Scharpf wrote:
> On Monday, 04. Jan 2021, 07:09:06 +0100, Arve Barsnes wrote:
>> On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
>>> As far as I see, I defined _exactly_ _one_ _of_ them:
>>
>> Please show what USE flags you've defined for either this package or
>> LUA. Hard to give advice without knowing your config.
> 
>    # emerge --info | grep -i lua
>    LUA_SINGLE_TARGET="lua5-1"
>    LUA_TARGETS="lua5-1"
>    USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
>    USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
> 
>    # grep -rnHi lua /etc/portage
>    /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
>    /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
>    /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
>    /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
>    /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64
> 
> Here's another time how emerge complains:
> 
>    - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
> 
> As far as I understand this, emerge tells me to remove the
> use flag "lua_single_target_lua5-1" because the use flag
> "lua_single_target_lua5-1" is required.
> 
> What could I try next?
> 
> 
> Bertram
> 
> 

It looks like you have multiple lua USE-flags selected, and the package 
  requires only one to be selected.

Whats the output of `emerge -pv neovim`?

Dan


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04 14:12         ` Arve Barsnes
@ 2021-01-04 15:17           ` Bertram Scharpf
  0 siblings, 0 replies; 10+ messages in thread
From: Bertram Scharpf @ 2021-01-04 15:17 UTC (permalink / raw
  To: gentoo-user

Hi,

On Monday, 04. Jan 2021, 15:12:24 +0100, Arve Barsnes wrote:
> On Mon, 4 Jan 2021 at 14:46, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> >   # grep -rnHi '^[^#]*lua' /etc/portage
> >   /etc/portage/make.conf:40:LUA_SINGLE_TARGET="luajit" #  lua5-1
> >   /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
> >   /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
> >   /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
> >   /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64
> >   # emerge --info | grep -i lua
> >   LUA_SINGLE_TARGET="luajit"
> >   LUA_TARGETS="lua5-1"
> >   USE="..." ... LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-1" ...
> >   USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
> >
> > What else could I try?
> 
> I would try removing both the make.conf entry and the dev-lua/luv USE entry.
> 
> Maybe either of the other two packages with luajit are also involved,
> but give the emerge command you're trying to run and any error
> messages after doing that.

This is the point where the whole problem arose from. I
unmasked the newest NeoVim "app-editors/neovim-0.4.4-r100".
Then:

  !!! The following update has been skipped due to unsatisfied dependencies:

  app-editors/neovim:0

    selected: (app-editors/neovim-0.4.4:0/0::gentoo, installed)
    skipped: (app-editors/neovim-0.4.4-r100:0/0::gentoo, ebuild scheduled for merge) (see unsatisfied dependency below)

  !!! All ebuilds that could satisfy "dev-lang/lua:5.1" have been masked.
  !!! One of the following masked packages is required to complete your request:
  - dev-lang/lua-5.1.5-r106::gentoo (masked by: ~amd64 keyword)

  (dependency required by "app-editors/neovim-0.4.4-r100::gentoo[lua_single_target_lua5-1]" [ebuild])
  For more information, see the MASKED PACKAGES section in the emerge
  man page or refer to the Gentoo Handbook.

Unmasking the mentioned Lua version generates the error
messages I posted above.

Sorry that I cannot post the whole output of my command
"emerge -avuND @world". In the meantime yet the next
adversity shows up and I don't want to mix these two
problems into one thread.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04 15:12     ` Daniel Frey
@ 2021-01-04 15:32       ` Bertram Scharpf
  2021-01-05  2:42         ` Daniel Frey
  0 siblings, 1 reply; 10+ messages in thread
From: Bertram Scharpf @ 2021-01-04 15:32 UTC (permalink / raw
  To: gentoo-user

On Monday, 04. Jan 2021, 07:12:18 -0800, Daniel Frey wrote:
> On 1/4/21 4:15 AM, Bertram Scharpf wrote:
> > On Monday, 04. Jan 2021, 07:09:06 +0100, Arve Barsnes wrote:
> > > On Mon, 4 Jan 2021 at 06:05, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> > > > As far as I see, I defined _exactly_ _one_ _of_ them:
> > > 
> > > Please show what USE flags you've defined for either this package or
> > > LUA. Hard to give advice without knowing your config.
> > 
> >    # emerge --info | grep -i lua
> >    LUA_SINGLE_TARGET="lua5-1"
> >    LUA_TARGETS="lua5-1"
> >    USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
> >    USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
> > 
> >    # grep -rnHi lua /etc/portage
> >    /etc/portage/make.conf:40:LUA_SINGLE_TARGET="lua5-1" #  luajit
> >    /etc/portage/package.use/zz-autouse:3:>=dev-lua/lpeg-1.0.1 luajit
> >    /etc/portage/package.use/zz-autouse:6:>=dev-lua/mpack-1.0.4 luajit
> >    /etc/portage/package.use/zz-autouse:10:>=dev-lua/luv-1.30.1.1 luajit
> >    /etc/portage/package.accept_keywords/local:26:<dev-lang/lua-5.2              ~amd64
> > 
> > Here's another time how emerge complains:
> > 
> >    - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
> > 
> > As far as I understand this, emerge tells me to remove the
> > use flag "lua_single_target_lua5-1" because the use flag
> > "lua_single_target_lua5-1" is required.
> > 
> > What could I try next?
> > 
> > 
> > Bertram
> > 
> > 
> 
> It looks like you have multiple lua USE-flags selected, and the package
> requires only one to be selected.
> 
> Whats the output of `emerge -pv neovim`?

    # emerge -pv neovim                                                                                                                                                                   1

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

    Calculating dependencies... done!

    emerge: there are no ebuilds built with USE flags to satisfy "dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
    !!! One of the following packages is required to complete your request:
    - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
    (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
    (dependency required by "neovim" [argument])

    # emerge --info | grep -i lua                                                                                                                                                         1
    LUA_SINGLE_TARGET="lua5-1"
    LUA_TARGETS="lua5-1"
    USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
    USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."

As far as I can see, only one is selected.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


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

* Re: [gentoo-user] Yet another USE flag problem
  2021-01-04 15:32       ` Bertram Scharpf
@ 2021-01-05  2:42         ` Daniel Frey
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel Frey @ 2021-01-05  2:42 UTC (permalink / raw
  To: gentoo-user

On 1/4/21 7:32 AM, Bertram Scharpf wrote:
> 
>      These are the packages that would be merged, in order:
> 
>      Calculating dependencies... done!
> 
>      emerge: there are no ebuilds built with USE flags to satisfy "dev-lua/luv[lua_single_target_luajit(-)?,lua_single_target_lua5-1(-)?,lua_single_target_lua5-2(-)?]".
>      !!! One of the following packages is required to complete your request:
>      - app-editors/neovim-0.4.4-r100::gentoo (Change USE: -lua_single_target_lua5-1, this change violates use flag constraints defined by app-editors/neovim-0.4.4-r100: 'exactly-one-of ( lua_single_target_luajit lua_single_target_lua5-1 lua_single_target_lua5-2 )')
>      (dependency required by "app-editors/neovim-0.4.4-r100::gentoo" [ebuild])
>      (dependency required by "neovim" [argument])
> 
>      # emerge --info | grep -i lua                                                                                                                                                         1
>      LUA_SINGLE_TARGET="lua5-1"
>      LUA_TARGETS="lua5-1"
>      USE="..." ... LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" ...
>      USE_EXPAND="... LUA_SINGLE_TARGET LUA_TARGETS ..."
> 
> As far as I can see, only one is selected.
> 
> Bertram
> 
> 

Well, that's annoying, it doesn't show the package.

How about `equery uses app-editors/neovim-0.4.4-r100` ? Note: You need 
app-portage/gentoolkit for equery.

That should give you output like this:

final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
  * Found these USE flags for app-editors/neovim-0.4.4-r100:
  U I
  + - lto                      : Build with Link Time Optimization (LTO)
  + + lua_single_target_lua5-1 : Build for Lua 5.1 only
  - - lua_single_target_lua5-2 : Build for Lua 5.2 only
  - - lua_single_target_luajit : Build for LuaJIT only
  + - nvimpager                : Install nvimpager symlink to less.sh macro
  + - tui                      : Build the neovim unix tui

The "U" column indicates what USE flags are selected, and if it's 
already installed, the "I" column indicates what the installed package 
USE flags are.

Dan


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

end of thread, other threads:[~2021-01-05  2:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-04  5:05 [gentoo-user] Yet another USE flag problem Bertram Scharpf
2021-01-04  6:09 ` Arve Barsnes
2021-01-04 12:15   ` Bertram Scharpf
2021-01-04 12:39     ` Arve Barsnes
2021-01-04 13:46       ` Bertram Scharpf
2021-01-04 14:12         ` Arve Barsnes
2021-01-04 15:17           ` Bertram Scharpf
2021-01-04 15:12     ` Daniel Frey
2021-01-04 15:32       ` Bertram Scharpf
2021-01-05  2:42         ` Daniel Frey

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