Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282399 - media-video/whaawmp-0.2.12.1 after python-updater requires >=dev-python/pygtk-2.12
Summary: media-video/whaawmp-0.2.12.1 after python-updater requires >=dev-python/pygtk...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 06:45 UTC by Nathan Zachary (RETIRED)
Modified: 2009-10-21 22:27 UTC (History)
2 users (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 Nathan Zachary (RETIRED) gentoo-dev 2009-08-23 06:45:52 UTC
After using python-updater to go from 2.5x to 2.6x, it seems that pygtk is not automatically included.  I had whaawmp installed and it worked fine before running python-updater.  However, after python-updater, it terminated at runtime throwing the error:

Cannot continue, pygtk is not installed (version 2.12 required)

When checking, I actually did not have pygtk installed anymore.  As pygtk is included by default (as a RDEPEND of dev-python/gst-python), I was surprised to see it no longer installed.  After reinstalling pygtk manually, whaawmp ran as expected.

Reproducible: Always

Steps to Reproduce:
1. Install whaawmp (which will pull in pygtk as part of gst-python).
2. Run python-updater to go from 2.5* (previous stable) to 2.6* (current stable). 
3. Try to run whaawmp.

Actual Results:  
whaawmp terminates with error:

Cannot continue, pygtk is not installed (version 2.12 required)

Expected Results:  
whaawmp should run without problem, as pygtk should remain installed.
Comment 1 nm (RETIRED) gentoo-dev 2009-08-26 07:48:59 UTC
Can't reproduce. Whaawmp worked flawlessly for the 2.5 -> 2.6 change for me, as well as through the 2.5.x changes. Makes me think that you borked your system by somehow unmerging pygtk, either manually or by running an unattended emerge --depclean or failing to let python-updater/revdep-rebuild finish its task.

yngwin, if you want to add in a specific RDEP on pygtk for whaawmp, that's fine with me. Sure, the gst-python dep is in theory simpler, as it already has an RDEP on pygtk, but maybe we can work around user errors or python-updater/portage tool failures by including pygtk in the whaawmp ebuilds.
Comment 2 nm (RETIRED) gentoo-dev 2009-08-26 07:50:08 UTC
Oops, didn't mean to close with this resolution.

Let's see what yngwin's response is, as he's the one who will actually make the commit for me.
Comment 3 Nathan Zachary (RETIRED) gentoo-dev 2009-08-26 15:23:59 UTC
I do think that pygtk was removed by --depclean, but I'm wondering why it was if it is listed as an RDEP for dev-python/gst-python.  
Comment 4 nm (RETIRED) gentoo-dev 2009-08-26 16:43:37 UTC
(In reply to comment #3)
> I do think that pygtk was removed by --depclean, but I'm wondering why it was
> if it is listed as an RDEP for dev-python/gst-python.  

--depclean is known to break in certain cases, hence why running revdep-rebuild after every --depclean is required.

In this case, though, it may be functioning as designed -- I notice that both the latest gst-python versions (.15 and .16) now have a dependency on *either* pygobject or pygtk. So if pygobject is explicitly required by some other package and nothing else on your system deps on pygtk, probably --depclean kept pygobject but pruned pygtk.

yngwin:

at this point I recommend we stick an RDEP on dev-python/pygtk into the whaawmp ebuilds, since we can no longer assume that gst-python will pull in the correct dependencies.

Comment 5 Nathan Zachary (RETIRED) gentoo-dev 2009-08-27 01:47:03 UTC
Ahhhhhhhh, thanks for the clarification Josh!  I have never had problems with --depclean getting rid of something that was really an RDEP.  Thanks again.
Comment 6 nm (RETIRED) gentoo-dev 2009-09-01 23:49:51 UTC
Ben:

Please add an unconditional RDEP on dev-python/pygtk to the latest whaawmp ebuild, and please remove the old whaawmp 0.2.10 ebuild.

Thanks!
Comment 7 Ben de Groot (RETIRED) gentoo-dev 2009-10-21 22:27:51 UTC
Done. Sorry for the delay.