Bug#500493: pbuilder: Pbuilder doesn't handle directory names with spaces

Chris Coulson chrisccoulson at googlemail.com
Sun Sep 28 19:41:11 UTC 2008


Package: pbuilder
Version: 0.176ubuntu2
Severity: minor


This was originally reported at 
https://bugs.launchpad.net/ubuntu/+source/pbuilder/+bug/275537

PBuilder will fail if there are any spaces in the directory that the 
source package is stored in. Output from PBuilder on one example 
package:

Copying source file
awk: BEGIN{p=0} /^$/ {p=0} /^.*:/ {p=0} {if (p){print "/tmp/cheese
awk: ^ unterminated string
    -> copying [/tmp/cheese 1/cheese_2.23.91-0ubuntu1.dsc]
Extracting source
dpkg-source: failure: cannot open cheese: No such file or directory
pbuilder: Failed extracting the source
 -> Aborting with an error
 -> unmounting /var/cache/archive/ filesystem
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//2908 and its 
subdirectories

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500,
'hardy-proposed'), (500, 'hardy')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pbuilder depends on:
ii  coreutils               6.10-3ubuntu2    The GNU core utilities
ii  debianutils             2.28.2-0ubuntu1  Miscellaneous utilities
specific t
ii  debootstrap             1.0.9~hardy1     Bootstrap a basic Debian
system
ii  gcc                     4:4.2.3-1ubuntu6 The GNU C compiler
ii  wget                    1.10.2-3ubuntu1  retrieves files from the
web

Versions of packages pbuilder recommends:
pn  cowdancer          <none>                (no description available)
ii  devscripts         2.10.26ubuntu7~hardy1 scripts to make the life of
a Debi
ii  fakeroot           1.9ubuntu1            Gives a fake root
environment
ii  sudo               1.6.9p10-1ubuntu3.3   Provide limited super user
privile

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20080928/da98a75d/attachment.pgp 


More information about the Pbuilder-maint mailing list