Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 768117 - app-admin/lsyncd-2.2.3 won't compile (x86 or amd64)
Summary: app-admin/lsyncd-2.2.3 won't compile (x86 or amd64)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-31 22:32 UTC by fcrvincent
Modified: 2021-02-01 13:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fcrvincent 2021-01-31 22:32:52 UTC
emerge lsyncd results in:

Calculating dependencies \

!!! Problem resolving dependencies for app-admin/lsyncd                       ... done!

!!! The ebuild selected to satisfy "app-admin/lsyncd" has unmet requirements.
- app-admin/lsyncd-2.2.3::gentoo USE="" LUA_SINGLE_TARGET="-lua5-2 -lua5-3"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( lua_single_target_lua5-2 lua_single_target_lua5-3 )
Comment 1 fcrvincent 2021-01-31 22:36:16 UTC
On my system I have: 

eselect lua list
  [1]   lua5.1
  [2]   lua5.3 *
Comment 2 Ionen Wolkens gentoo-dev 2021-01-31 22:39:33 UTC
exactly-one-of ( lua_single_target_lua5-2 lua_single_target_lua5-3 )

It's asking you to set one of the two for it in package.use given it's incompatible with the default LUA_SINGLE_TARGET="lua5-1"

So if you already have 5-3 installed, you likely want
"app-admin/lsyncd LUA_SINGLE_TARGET: -lua5-1 lua5-3"
in package.use
Comment 3 fcrvincent 2021-01-31 23:03:30 UTC
Thanks a lot for your prompt reply. 

It's compiling fine (and working fine) now with the package.use addition of "app-admin/lsyncd LUA_SINGLE_TARGET: -lua5-1 lua5-3"

My bad, I was not familiar with this sort of "exactly-one-of" dependency situation.
Comment 4 Ionen Wolkens gentoo-dev 2021-01-31 23:19:57 UTC
No problem, glad it's working :)

Making 5-3 (or 5-2) the global default may also be of interest "if" everything you use supports 5-3.

5-1 was picked just to avoid causing too much trouble as it's what everything used before, but it's also quite old. But there are some things that only work with 5-1 as well.
Comment 5 fcrvincent 2021-02-01 13:23:57 UTC
Thanks a lot.