natty distcc /usr/bin/python: can't open file '/usr/bin/include_server/include_server.py': [Errno 2] No such file or directory

Bug #767066 reported by marcobra (Marco Braida)
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
distcc (Debian)
Fix Released
Unknown
distcc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: distcc

Description: Ubuntu Natty (development branch)
Release: 11.04

distcc:
  Installato: 3.1-4ubuntu1
  Candidato: 3.1-4ubuntu1
  Tabella versione:
 *** 3.1-4ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

Compiling i get:

__________Using 2 distcc servers, of which only 1 support(s) pump mode
/usr/bin/distcc-pump: 538: /usr/bin/find_c_extension.sh: not found
/usr/bin/python: can't open file '/usr/bin/include_server/include_server.py': [Errno 2] No such file or directory
__________Expected a socket at '/tmp/distcc-pump.Hlfnoz/socket'
__________Could not start distcc-pump include server

i checked the file /usr/bin/find_c_extension.sh doesn't exist

Thanks
Marco

description: updated
Revision history for this message
Martin Pool (mbp) wrote :

is a dupe of bug 472201 but for some reason (bug 767084) i can't mark it as such

Changed in distcc (Ubuntu):
status: New → Invalid
Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

Are you sure is a dupe there are a fix released for Natty...

"This bug was fixed in the package distcc - 3.1-4ubuntu1"

Seems different from https://bugs.launchpad.net/bugs/472201

It can get the /usr/bin/include_server/include_server.py file...

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hmm, this doesn't look like a duplicate to me either.

Martin Pool (mbp)
Changed in distcc (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
John Snelson (1-joh2-8) wrote :

I fixed this problem by making the following changes to /usr/bin/distcc-pump:

43c43
< include_server=''
---
> include_server='/usr/lib/pymodules/python2.7/include_server/include_server.py'

Revision history for this message
Gautam Bhat (mindentropy) wrote :

I too get the same error. The find_c_extension.sh does not exist for me too.

Revision history for this message
Jesse Brandeburg (jesse-brandeburg) wrote :

same problem in 11.10 (oneiric)

Changed in distcc (Debian):
status: Unknown → Fix Released
Revision history for this message
Lei Zhang (thestig-google) wrote :

Same problem on precise. I recommend the package maintainer try to use the tool he's packaging.

On precise, there's a one-line /usr/bin/pump file that contains the include_server= line that should be in /usr/bin/distcc-pump. That line is wrong though. It refers to python2.6 whereas on Precise the default python is 2.7.

Revision history for this message
Daniel Hartwig (wigs) wrote :

Fixed in distcc/3.1-4.2, appearing in Quantal and later. The include_server and PYTHON variables in /usr/bin/distcc-pump both contain the correct values.

distcc (3.1-4.2) unstable; urgency=low

  * Non-maintainer upload.
  * Move distcc-pump python modules to private path (/usr/lib/distcc-pump)
    - 04_fix_pumps_include_server_path.dpatch: update for private path,
      removes hardcoded python version from path. Closes: #580308
    - debian/rules: ensure PYTHON points to the default python version.

Changed in distcc (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Daniel Hartwig (wigs) wrote :

Combining this report with bug #511585 since the same patch fixes them.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.