Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678860 - app-admin/conky should remove SLOT in dev-lang/lua:0 dependency
Summary: app-admin/conky should remove SLOT in dev-lang/lua:0 dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-26 20:45 UTC by Stefan Huber
Modified: 2019-03-09 11:51 UTC (History)
0 users

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 Stefan Huber 2019-02-26 20:45:04 UTC
The packages app-admin/conky of all versions depend on >=dev-lang/lua-5.1.4-r8:0, i.e., on lua:0, which explicitly excludes lua:5.1, lua:5.2 and lua:5.3.

I would suggest to remove the ":0" from the dependency due to the following rationale:

(1) If a user does not use the hard-masked lua:5.x packages then it makes no difference. So for the standard case it does no harm.
(2) If a user does use lua:5.x packages, e.g., because lua-5.3 is required for some software, then the current lua:0 dependency makes it impossible to merge conky, as lua:0 blocks lua:5.3 and vice versa.

As a workaround I have put the conky ebuilds in a local overlay and simply removed the ":0"; on my system conky builds fine against lua-5.3.

To sum up: Removing ":0" does no harm on a standard system (with lua:0 installed) but enables conky on non-standard systems (e.g., with lua:5.3 installed).
Comment 1 Stefan Huber 2019-02-26 20:47:04 UTC
(In reply to Stefan Huber from comment #0)

As a side note, I have fixed the pkg-config files installed by lua-5.x as described in bug #602476.
Comment 2 Daniel Pielmeier gentoo-dev 2019-03-02 12:57:19 UTC
A quick grep shows there are around 65 other apps in the tree depending on slot 0 for lua. What about them?

As I see it lua is unmaintained in Gentoo for a few years now. So it first needs a proper maintainer who should make the slotted version work or if it does already lift the mask. Then we can think about shifting the depending packages from slot 0 to 5.x.
Comment 3 Stefan Huber 2019-03-04 19:30:31 UTC
(In reply to Daniel Pielmeier from comment #2)
> A quick grep shows there are around 65 other apps in the tree depending on
> slot 0 for lua. What about them?
> 
> As I see it lua is unmaintained in Gentoo for a few years now. So it first
> needs a proper maintainer who should make the slotted version work or if it
> does already lift the mask. Then we can think about shifting the depending
> packages from slot 0 to 5.x.

I see. So there is no point in improving a particular package without addressing the lua maintenance situation. Too bad, but understandable.
Comment 4 Daniel Pielmeier gentoo-dev 2019-03-07 17:18:51 UTC
I investigated more time here and found that the versions of conky currently in the tree do not work with lua-5.2 and 5.3 if the flags lua-cairo, lua-imlib or lua-rsvg are enabled. In this case toluapp is required which only works with lua-5.1 thus the configure script falls back to using lua-5.1. I guess you don't have this flags enabled or you also have lua:5.1 installed?

Newer versions of conky work with lua-5.2 or 5.3 but they also start to bundle toluapp. toluapp seems unmaintained so the developer of conky adapted it to work with newer versions of lua.

This is also the reason for this versions not being in the tree as I am a bit unsure about the bundling.

Long story short I do not think it makes sense to remove the slot. One possible solution would be to pin it to either slot 0 or 5.1. So it could work with normal lua and slotted lua.
Comment 5 Daniel Pielmeier gentoo-dev 2019-03-08 22:01:25 UTC
For conky-1.10.8-r6 I pinned the slot to 0 or 5.1. I think this should work for you as well.
Comment 6 Stefan Huber 2019-03-09 11:51:54 UTC
Fixed, indeed. Thank you.