COWBuilder builds packages in chroot jails, which we need to create.
Here's a script cowbuilder-create-base
that will do it.
Save it, make it executable, put it in /usr/local/sbin.
Open another shell to run it from, as it will take a while before it's finished. Run it like this:
sudo cowbuilder-create-base precise wheezy sid