Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 265784

Summary: net-p2p/bittorrent-5.2.2 incompatible with dev-lang/python:2.6
Product: Gentoo Linux Reporter: Santiago Gala <sgala>
Component: New packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: normal CC: atoth, esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 230205, 336166    
Attachments: Simple patch to the current stable ebuild for this problem

Description Santiago Gala 2009-04-11 16:46:57 UTC
when reemerging bittorrent under python 2.6, it choked at "as" used as variable at:

$ equery files bittorrent | grep py | xargs grep "self.as "
/usr/lib64/python2.6/site-packages/khashmir/test_krpc.py:        self.as = self.r.create_udpsocket(addr[1], addr[0], True)

It is trivial to patch and, further, it is inside a test, so the basic functionality of the package is not affected

Reproducible: Always

Steps to Reproduce:
1. Install net-p2p/bittorrent having python2.6
2. Look at the error when trying to compile the .py files

Actual Results:  
the .pyc and .pyo files are missing
Comment 1 Attila Tóth 2009-08-31 08:11:12 UTC
Created attachment 202772 [details, diff]
Simple patch to the current stable ebuild for this problem
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2011-03-16 02:40:36 UTC
We're dropping 5.x.  This shouldn't be a problem with 4.4.0.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2011-03-16 04:54:56 UTC
Sorry, turns out it is.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-03-18 00:32:39 UTC
Fixed in 4.4.0-r2.