Author

Topic: couldn't generate 0.14.1 binaries - gitian build broken? (Read 551 times)

hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
Finally gave up on LXC, made it work with KVM so your suggestion helped, thanks!

I'm now running trusty inside KVM from another trusty installation that runs inside Windows VMWare with hardware-assisted virtualization (required by KVM) simulated by the VMWare software.
Kinda slow.... but works.
hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
Have you tried using KVM instead of LXC? I have had issues with LXC and KVM works for me.

thanks but KVM fails too...

when I run make-base-vm for KVM (without the --lxc option) it just hangs. I know it's supposed to take a whlie, but it's been hours after the "Calling hook: bootstrap" message.

Then I tried another host, (ubuntu 12 instead of mint) and this time with LXC gbuild fails with "./bin/gbuild:199: must supply reference_datetime (RuntimeError)".

staff
Activity: 3458
Merit: 6793
Just writing some code
Have you tried using KVM instead of LXC? I have had issues with LXC and KVM works for me.
hero member
Activity: 583
Merit: 505
CTO @ Flixxo, Riecoin dev
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:

Code:
--- 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
'
from ./bin/gbuild:280:in `each'
from ./bin/gbuild:280:in `block in
'
from ./bin/gbuild:278:in `each'
from ./bin/gbuild:278:in `
'

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
Code:
lxc.autodev = 0
to gitian-builder/etc/lxc.config.in, otherwise I was getting a "failed to mount /dev/shm" error. Is that ok?

Thanks in advance!
Jump to: