Hi! I'm trying to use gitian to make the binaries for v0.14.1 using LXC but I'm having problems, this is what gbuild prints:
--- Building for trusty amd64 ---
Stopping target if it is up
Making a new image copy
sudo: unable to resolve host gitian
stdin: is not a tty
Starting target
Checking if target is up
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
Preparing build environment
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
Updating apt-get repository (log in var/install.log)
Installing additional packages (log in var/install.log)
Upgrading system, may take a while
Creating package manifest
stdin: is not a tty
Creating build script (var/build-script)
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
Running build script (log in var/build.log)
Grabbing results from target
sudo: unknown user: ubuntu
sudo: unable to initialize policy plugin
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
./bin/gbuild:21:in `system!': failed to run copy-from-target out build (RuntimeError)
from ./bin/gbuild:288:in `block (2 levels) in <main>'
from ./bin/gbuild:280:in `each'
from ./bin/gbuild:280:in `block in <main>'
from ./bin/gbuild:278:in `each'
from ./bin/gbuild:278:in `<main>'
the host is linux Mint, and the guest in the VM seems to to have internet access... what's with the "unknown user: ubuntu" error? and what about "sudo: unable to resolve host gitian"?
any help please?
I've done this a couple of years ago but I forgot about the details now
Also, I had to add the line
to gitian-builder/etc/lxc.config.in, otherwise I was getting a "failed to mount /dev/shm" error. Is that ok?
Thanks in advance!