Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644540 - net-misc/wicd-1.7.4-r3: (a) wrong RDEPEND, (b) what is sve_start? (patch)
Summary: net-misc/wicd-1.7.4-r3: (a) wrong RDEPEND, (b) what is sve_start? (patch)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-01-14 13:49 UTC by Another Mortal
Modified: 2020-05-05 07:25 UTC (History)
1 user (show)

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


Attachments
Patch: fixes RDEPEND (rdepend.patch,738 bytes, patch)
2018-01-14 13:49 UTC, Another Mortal
Details | Diff
Patch: fixes RDEPEND (correct syntax) (rdepend.patch,741 bytes, patch)
2018-01-14 14:00 UTC, Another Mortal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Another Mortal 2018-01-14 13:49:48 UTC
Created attachment 514778 [details, diff]
Patch: fixes RDEPEND

(a) RDEPEND

Contrary to the logic of the RDEPEND definition, the USE=gtk does NOT imply pygobject being present, and therefore it should be added unconditionally as a run-time dependency.  Consequently, the very same dependency can be removed from the ncurses? guarded list.  Patch attached.


(b) /usr/portage/net-misc/wicd/files/wicd-init-sve-start.patch

This patch in FILESDIR replaces 'start' in the initscript by 'sve_start',
but 'sve_start' is nowhere to be found on my system, even after running
'emerge wicd'...  What is this 'sve_start'?  Where should it come from?
Comment 1 Another Mortal 2018-01-14 14:00:25 UTC
Created attachment 514780 [details, diff]
Patch: fixes RDEPEND (correct syntax)

Oops... Messed up the syntax.  Sorry!
Comment 2 Another Mortal 2018-01-14 22:33:04 UTC
On a closer look, it seems there's more than just pygobject missing from RDEPEND...  Trying to run wicd-gtk chokes on 'import gtk', which tells me that pygtk should probably also be included as a run-time dependency...
Comment 3 Another Mortal 2018-01-14 22:34:42 UTC
Can I not edit my own comments?   How annoying...  (-;

In any case, the above should probably only apply with USE=gtk
Comment 4 Another Mortal 2018-01-14 22:37:47 UTC
AND, by "the above" I meant ONLY the single comment before, not *all* the previous comments.  To be clear: the wicd daemon needs pygobject no matter what. Additionally, the gtk client (wicd-gtk) needs pygtk as well, but that depends on the USE flag.
Comment 5 Another Mortal 2018-01-14 22:43:55 UTC
The ebuild seems to already include pygtk, but only when USE=X is active.

Assumptions violated: I'm building my system with USE="-X gtk"...

BTW, I don't see any other effect of USE=X in the entire ebuild, *except* for selecting run-time dependencies between gtk and kde. This isn't exactly obvious or -for that matter- sane use of that flag...
Comment 6 Another Mortal 2018-01-14 23:34:10 UTC
Alright..  so, it seems that building with USE="X gtk" pulls in everything that's needed, and also partly explains the thinking behind the !gtk? guard on pygobject.  I suppose the correct title for this bug would be something along the lines of confusing (mis)use of USE=X ...