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 <li...@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

Reply via email to