Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233948 - net-voip/telepathy-butterfly builds useless .pyc/.pyo code
Summary: net-voip/telepathy-butterfly builds useless .pyc/.pyo code
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-05 07:18 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-09-29 10:33 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-08-05 07:18:02 UTC
The build system of the package is building the .pyc/.pyo files...

>>> Compiling source in /var/tmp/portage/net-voip/telepathy-butterfly-0.3.1/work/telepathy-butterfly-0.3.1 ...
Checking for program python             : ok /usr/bin/python 
Checking for Python version             : 2.5.2 
Configuration finished successfully; project is now ready to build. 
[ 1/29] * copy : data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service.in -> _build_/default/data/org.freedesktop.Telepathy.ConnectionManager.butterfly.service
[ 2/29] * pyc : butterfly/__init__.py -> _build_/default/butterfly/__init__.pyc
[ 3/29] * pyo : butterfly/__init__.py -> _build_/default/butterfly/__init__.pyo
[ 4/29] * pyc : butterfly/aliasing.py -> _build_/default/butterfly/aliasing.pyc
[ 5/29] * pyo : butterfly/aliasing.py -> _build_/default/butterfly/aliasing.pyo
[ 6/29] * pyc : butterfly/avatars.py -> _build_/default/butterfly/avatars.pyc
[ 7/29] * pyo : butterfly/avatars.py -> _build_/default/butterfly/avatars.pyo
[ 8/29] * pyc : butterfly/channel_manager.py -> _build_/default/butterfly/channel_manager.pyc
[ 9/29] * pyo : butterfly/channel_manager.py -> _build_/default/butterfly/channel_manager.pyo
[10/29] * pyc : butterfly/connection.py -> _build_/default/butterfly/connection.pyc
[11/29] * pyo : butterfly/connection.py -> _build_/default/butterfly/connection.pyo
[12/29] * pyc : butterfly/connection_manager.py -> _build_/default/butterfly/connection_manager.pyc
[13/29] * pyo : butterfly/connection_manager.py -> _build_/default/butterfly/connection_manager.pyo
[14/29] * pyc : butterfly/handle.py -> _build_/default/butterfly/handle.pyc
[15/29] * pyo : butterfly/handle.py -> _build_/default/butterfly/handle.pyo
[16/29] * pyc : butterfly/presence.py -> _build_/default/butterfly/presence.pyc
[17/29] * pyo : butterfly/presence.py -> _build_/default/butterfly/presence.pyo
[18/29] * pyc : butterfly/util/__init__.py -> _build_/default/butterfly/util/__init__.pyc
[19/29] * pyo : butterfly/util/__init__.py -> _build_/default/butterfly/util/__init__.pyo
[20/29] * pyc : butterfly/util/decorator.py -> _build_/default/butterfly/util/decorator.pyc
[21/29] * pyo : butterfly/util/decorator.py -> _build_/default/butterfly/util/decorator.pyo
[22/29] * pyc : butterfly/channel/__init__.py -> _build_/default/butterfly/channel/__init__.pyc
[23/29] * pyo : butterfly/channel/__init__.py -> _build_/default/butterfly/channel/__init__.pyo
[24/29] * pyc : butterfly/channel/contact_list.py -> _build_/default/butterfly/channel/contact_list.pyc
[25/29] * pyo : butterfly/channel/contact_list.py -> _build_/default/butterfly/channel/contact_list.pyo
[26/29] * pyc : butterfly/channel/group.py -> _build_/default/butterfly/channel/group.pyc
[27/29] * pyo : butterfly/channel/group.py -> _build_/default/butterfly/channel/group.pyo
[28/29] * pyc : butterfly/channel/text.py -> _build_/default/butterfly/channel/text.pyc
[29/29] * pyo : butterfly/channel/text.py -> _build_/default/butterfly/channel/text.pyo
Compilation finished successfully 
>>> Source compiled.

But obviously they are not installed:

--- /usr/lib/
--- /usr/lib/python2.5/
--- /usr/lib/python2.5/site-packages/
>>> /usr/lib/python2.5/site-packages/butterfly/
>>> /usr/lib/python2.5/site-packages/butterfly/__init__.py
>>> /usr/lib/python2.5/site-packages/butterfly/aliasing.py
>>> /usr/lib/python2.5/site-packages/butterfly/avatars.py
>>> /usr/lib/python2.5/site-packages/butterfly/channel_manager.py
>>> /usr/lib/python2.5/site-packages/butterfly/connection.py
>>> /usr/lib/python2.5/site-packages/butterfly/connection_manager.py
>>> /usr/lib/python2.5/site-packages/butterfly/handle.py
>>> /usr/lib/python2.5/site-packages/butterfly/presence.py
>>> /usr/lib/python2.5/site-packages/butterfly/util/
>>> /usr/lib/python2.5/site-packages/butterfly/util/__init__.py
>>> /usr/lib/python2.5/site-packages/butterfly/util/decorator.py
>>> /usr/lib/python2.5/site-packages/butterfly/channel/
>>> /usr/lib/python2.5/site-packages/butterfly/channel/__init__.py
>>> /usr/lib/python2.5/site-packages/butterfly/channel/contact_list.py
>>> /usr/lib/python2.5/site-packages/butterfly/channel/group.py
>>> /usr/lib/python2.5/site-packages/butterfly/channel/text.py


It would be nice if they weren't built at all...

Thanks,
Diego
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2009-08-08 03:43:17 UTC
Sorry, waf is shit :-( .. Hopefully upstream will move to something more appropriate like distutils soon.
Comment 2 Mehmet Giritli 2010-04-11 10:59:04 UTC
(In reply to comment #1)
> Sorry, waf is shit :-( .. Hopefully upstream will move to something more
> appropriate like distutils soon.
> 

and so they finally did. I think a version bump is in order. As of writing this message, the latest release version of butterfly is 0.5.8 while the portage is still at 0.5.1
Comment 3 Pacho Ramos gentoo-dev 2010-09-29 10:33:14 UTC
+*telepathy-butterfly-0.5.14 (29 Sep 2010)
+
+  29 Sep 2010; Pacho Ramos <pacho@gentoo.org>
+  -telepathy-butterfly-0.5.1.ebuild, +telepathy-butterfly-0.5.14.ebuild:
+  Version bump with bugfixes, handle libproxy optional RDEPEND now that 0.4
+  is in the tree, disable pyc/pyo compiling (bug #233948 by Flameeyes), use
+  'emake' instead of plain 'make'. Remove old.
+