** Description changed:

- I tried to start distcc-pump inclusion server and got the following:
+ [Impact]
  
+ Users can not use distcc-pump due to problems with python version
+ hardcoding.  Subsequent “fixes” to bump the version only fail later.
+ 
+ Instead of constantly hardcoding newer python versions, distcc/3.1-4.2
+ includes a fix where the default version is detected in debian/rules and
+ passed along to the build configure as “/usr/bin/pythonN.M”.  This is
+ intimately tied to the fix for bug #767066, which is also required for
+ distcc-pump mode to continue working.
+ 
+ [Test Case]
+ 
+ * Install distcc and distcc-pump packages:
+ 
+ $ sudo apt-get install -y distcc distcc-pump
+ …
+ 
+ * Start a local distcc server and setup environment:
+ 
+ $ distccd --daemon --allow 127.0.1.1
+ $ export DISTCC_HOSTS=localhost/4,cpp
+ 
+ * Attempt to start distcc-pump, observe the the include_server module is
+ not found:
+ 
+ # on precise, the command is “distcc-pump --startup”
  $ pump --startup
  __________Using distcc-pump from /usr/bin
  __________Using 3 distcc servers, of which only 2 support(s) pump mode
  /usr/bin/python: can't open file 
'/usr/lib/pymodules/python2.5/include_server/include_server.py': [Errno 2] No 
such file or directory
  __________Expected a socket at '/tmp/distcc-pump.I3DsMc/socket'
  __________Could not start distcc-pump include server
  
- The reason is simple: since Karmic python2.6 is used as default version
- and thus all the packages are built for python2.6 but not python2.5.
+ [Regression Potential]
+ 
+ Although this will still require a rebuild when the default version
+ changes, it will not require any further modifications to the distcc
+ packaging.
+ 
+ The changes to fix this and bug #767066 are small, although the fix for
+ the later requires to change the installed path of the python modules to
+ a private path.  These modules were previously installed in a public
+ path but have never been usable to create and run custom
+ include_servers.  It is extremely unlikely that any user was making use
+ of them, if someone was they will have to update their code to locate
+ these modules in the private path.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/511585

Title:
  Unable to start pump server because of python version mismatch

To manage notifications about this bug go to:
https://bugs.launchpad.net/distcc/+bug/511585/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to