Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55444 - porthole 0.3.1 fails with all unmasked pygtks
Summary: porthole 0.3.1 fails with all unmasked pygtks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ian Leitch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-28 10:18 UTC by Dan Check
Modified: 2004-06-28 13:16 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 Dan Check 2004-06-28 10:18:20 UTC
All available builds of pygtk seem to SLOT pygtk to 1.2 or 2 -- see below -- which means that the porthole 0.3.1 ebuild won't emerge properly, because it looks for a pygtk that's slotted to 0.  If you grep for a slot of 2 in the ebuild file, it compiles and runs.  I'm not uploading a patch because SLOTing is still a bit of mystery to me and I don't want to upload something that might break someone's system.  Plus it's changing one letter.

BUILD ERROR:
remora pkg # emerge -v porthole
Calculating dependencies ...done!
>>> emerge (1 of 1) app-portage/porthole-0.3.1 to /
>>> md5 src_uri ;-) porthole-0.3.1.tar.bz2

 * pygtk was not merged with the gnome
 * USE flag. Porthole requires pygtk be
 * built with this flag for libglade support.

!!! ERROR: app-portage/porthole-0.3.1 failed.
!!! Function pkg_setup, Line 35, Exitcode 0
!!! pygtk missing gnome support



remora pkg # grep SLOT /usr/portage/dev-python/pygtk/*.ebuild
/usr/portage/dev-python/pygtk/pygtk-0.6.11-r1.ebuild:SLOT="1.2"
/usr/portage/dev-python/pygtk/pygtk-0.6.11.ebuild:SLOT="1.2"
/usr/portage/dev-python/pygtk/pygtk-1.99.13-r1.ebuild:SLOT="2"
/usr/portage/dev-python/pygtk/pygtk-2.0.0-r1.ebuild:SLOT="2"
/usr/portage/dev-python/pygtk/pygtk-2.0.0.ebuild:SLOT="2"
/usr/portage/dev-python/pygtk/pygtk-2.2.0.ebuild:SLOT="2"

FROM:
/usr/portage/app-portage/porthole/porthole-0.3.1.ebuild
THIS: if grep 0 ${pygtk_install}/SLOT > /dev/null; then
SHOULD BE THIS: if grep 2 ${pygtk_install}/SLOT > /dev/null; then

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ian Leitch (RETIRED) gentoo-dev 2004-06-28 13:05:14 UTC
oops :) Not sure how I missed that, my tests worked somehow.

Fixed in CVS, Thanks.