[Bug 340495] Re: [cowbuilder-dist] fails if /home is on different partition than /var

Juhapekka Piiroinen 340495 at bugs.launchpad.net
Wed Sep 12 18:37:16 UTC 2012


IMO, the bug is in the buildplace config value
(/usr/share/pbuilder/pbuilderrc), which does not point under
~/pbuilder/[dist]_build

$ cowbuilder-dist quantal build [somepackage].dsc --dumpconfig
dump config
  mountproc: 0
  mountdev: 0
  mountdevpts: 0
  save_after_login: 0
  debug: 0
  buildplace: /var/cache/pbuilder/build//cow.3020
  buildresult: /home/juhapekka/pbuilder/quantal_result/
  basepath: /home/juhapekka/pbuilder/quantal-base.cow
  mirror: http://archive.ubuntu.com/ubuntu
  distribution: quantal
  components: main restricted universe multiverse
  othermirror: (null)
  debbuildopts: 
  binary_arch: 0
  http_proxy: (null)
  no_cowdancer_update: 0
  kernel_image: (null)
  initrd: (null)
  memory_megs: 128
  arch: i386

As a working solution is to define both APTCACHEHARDLINK and BUILDPLACE in ~/.pbuilderrc
APTCACHEHARDLINK=no
BUILDPLACE=~/pbuilder/buildplace

But a fix could be done in cowbuilder-dist file as it is missing the
definition for buildplace under self.base like it is done for
buildresult (see line 198 for buildresult).

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/340495

Title:
  [cowbuilder-dist] fails if /home is on different partition than /var

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/340495/+subscriptions




More information about the universe-bugs mailing list