Ticket #767 (new defect)
new bcfg2 dep python-profiler is non-free
| Reported by: | dclark | Owned by: | desai |
|---|---|---|---|
| Priority: | minor | Milestone: | Bcfg2 1.1.0 Release |
| Component: | bcfg2-server | Version: | 1.0 |
| Keywords: | Cc: | solj, desai, somekool@… |
Description
r5389 added a .deb packaging dep on python-profiler based on a dep in bcfg2-server code.
python-profiler is not free software:
Ubuntu
As shown at http://packages.ubuntu.com/search?keywords=python-profiler python-profiler is in multiverse, which is not enabled in default ubuntu installs, and is described like this:
"multiverse" component
The "multiverse" component contains software that is "not free", which means the licensing requirements of this software do not meet the Ubuntu "main" Component Licence Policy.
The onus is on you to verify your rights to use this software and comply with the licensing terms of the copyright holder.
This software is not supported and usually cannot be fixed or updated. Use it at your own risk.
Debian
As shown at http://packages.debian.org/search?keywords=python-profiler python-profiler is in non-free
The free packages go into main; the non-free ones into non-free, and the free ones which depend on non-free ones into contrib.
Discussion
I'm not going to comment on legal / ethical / moral issues at the moment, but from a sys admin annoyance POV this means that users running Debian and Ubuntu are unable to install bcfg2-server in a default configuration, and users of distributions like Trisquel and gNewSense that do not distribute any nonfree software will be completely unable to install it.
Relevant external discssion looks like:
- profile.py has non-free license http://lists.debian.org/debian-legal/2005/02/msg00103.html
- profile.py has non-free license - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293932
The best overall writeup of the problem seems to be at http://bugs.gnewsense.org/Bugs/00345
It looks like there is a project to replace with a freedom-respecting version at: http://savannah.nongnu.org/projects/pyprof
It's marked as beta, last updated 22 Aug 2006. In a 2008 thread the author recommends against using it.
There is a more recent project at: http://sourceforge.net/projects/pyprof/develop (code) that includes threading support, but is marked as being alpha.
The most recent useful answer looks like in http://www.mail-archive.com/debian-python@lists.debian.org/msg04552.html
> the python-profile is in non-free, so what free tool do you use for > profiling your python programs? There is cProfile in python2.5, which > seems to be free, but for showing > the result I need pstat, which is again non-free. Is there a DFSG free > way to profile python programs? I use lsprofcalltree, which fires up KCacheGrind to visualize the results of profiling from cProfile (aka lsprof).
It looks like there are some details on how to do this at http://wiki.sugarlabs.org/go/Development_Team/Performance