gitian-builder
gitian-builder copied to clipboard
make-base-vm problem
Hi,
I recently decided to start using Gitian for a few projects i'm involved in. So I installed the needed dependencies, git cloned the repo, installed LXC and KVM (more on that later). I try to run make-base-vm and I get the following trace.
W: Failure trying to run: chroot /tmp/tmpjedtfg mount -t proc proc /proc
, stderr:
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in <module>
cli.main()
File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 216, in main
distro.build_chroot()
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 83, in build_chroot
self.call_hooks('bootstrap')
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks
call_hooks(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in call_hooks
getattr(context, func, log_no_such_method)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 136, in bootstrap
self.suite.debootstrap()
File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 276, in debootstrap
run_cmd(*cmd, **kwargs)
File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 120, in run_cmd
raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.exception.VMBuilderException: Process (['/usr/sbin/debootstrap', '--arch=amd64', 'lucid', '/tmp/tmpjedtfg', 'http://127.0.0.1:3142/archive.ubuntu.com/ubuntu']) returned 1. stdout: I: Retrieving Release
I: Retrieving Release.gpg
I didn't modify anything within make-base-vm. I tried with LXC first, that didn't work out, so I tried KVM, but I get the same error..
Is this a well known error? How could I boot a VM? :)
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
I haven't seen this before.
You can try to manually do that mount command with a directory you create under /tmp:
mkdir /tmp/aaa
mount -t proc proc /tmp/aaa
You can also try to run vmbuilder yourself, to check if this is Gitian related, or if it's a problem with vmbuilder or your system.
Let me know what you find.
Maybe the kernel was the problem,try to upgrade:
sudo aptitude safe-upgrade