path to builder joined using + in pbuilder-dist
Bug #398974 reported by
R Pavlik
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Medium
|
Stefano Rivera |
Bug Description
Binary package hint: ubuntu-dev-tools
On line 257 on the jaunty current version, there is this line:
return self.auth + ' /usr/sbin/' + self.builder + ' ' + ' '.join(arguments)
which should be
return self.auth + ' ' + os.path.
or even better,
from commands import getoutput
return self.auth + ' ' + getoutput('which ' + self.builder) + ' ' + ' '.join(arguments)
since earlier (in __init__) the whole path is searched for the builder. (Mind you, the python code does "which" manually, replacing that is covered in Bug #398972
Changed in ubuntu-dev-tools (Ubuntu): | |
assignee: | nobody → Stefano Rivera (stefanor) |
status: | Triaged → In Progress |
Changed in ubuntu-dev-tools (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Is this possibly the reason pbuilder-dist does not work for me at all in karmic?
$ pbuilder-dist hardy create pbuilder'
Error: Could not find "pbuilder".
$ pbuilder
Command 'pbuilder' is available in '/usr/sbin/
The command could not be located because '/usr/sbin' is not included in the PATH environment variable.
This is most likely caused by the lack of administrative priviledges associated with your user account.
pbuilder: command not found