Public bug reported:

Binary package hint: ubuntu-dev-tools

In order to pass an argument to the underlying pbuilder, for example,
--extramirror, any quotes must be escaped by the user.  It seems that
one level of quotes are stripped by pbuilder-dist for the "remaining
arguments" which is less than ideal.

Example:
Problem:
r...@gamma:~/srctrees/ubuntu$ pbuilder-dist dapper login  --othermirror 'deb 
http://ppa.launchpad.net/abiword-stable/ppa/ubuntu dapper main'
  -> Logging to /home/ryan/pbuilder/dapper_result/last_operation.log
Building the build Environment
 -> extracting base tarball [/home/ryan/pbuilder/dapper-base.tgz]
 -> creating local configuration
 -> copying local configuration
  -> Installing apt-lines
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
 -> entering the shell
File extracted to: /var/cache/pbuilder/build//22363

cat /etc/apt/sources.list
deb
deb http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe multiverse
#deb-src http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe 
multiverse


Problem worked around:
r...@gamma:~/srctrees/ubuntu$ pbuilder-dist dapper login  --othermirror \'deb 
http://ppa.launchpad.net/abiword-stable/ppa/ubuntu dapper main\'
  -> Logging to /home/ryan/pbuilder/dapper_result/last_operation.log
Building the build Environment
 -> extracting base tarball [/home/ryan/pbuilder/dapper-base.tgz]
 -> creating local configuration
 -> copying local configuration
  -> Installing apt-lines
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
 -> entering the shell
File extracted to: /var/cache/pbuilder/build//24285

cat /etc/apt/sources.list
deb http://ppa.launchpad.net/abiword-stable/ppa/ubuntu dapper main
deb http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe multiverse
#deb-src http://mirror.anl.gov/pub/ubuntu/ dapper main restricted universe 
multiverse

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
quotes in remaining arguments to pbuilder-dist must be escaped
https://bugs.launchpad.net/bugs/398989
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to