Skip to content

Gitian Build issue on Ubuntu host (LXC is missing the - - name option)  #14068

Description

@giaki3003

I'm trying out the new gitian build process with a bionic host (I've always built with trusty before) on LXC. Running the new script "gitian-build.py" in the contrib folder should output me with assert files to be signed, but instead drops this error:

Stopping target if it is up
Making a new image copy
lxc-init: missing container name, use --name option
bin/gbuild:21:in `system!': failed to run make-clean-vm --suite bionic --arch amd64 (RuntimeError)
        from bin/gbuild:57:in `build_one_configuration'
        from bin/gbuild:308:in `block (2 levels) in <main>'
        from bin/gbuild:303:in `each'
        from bin/gbuild:303:in `block in <main>'
        from bin/gbuild:301:in `each'
        from bin/gbuild:301:in `<main>'
Traceback (most recent call last):
  File "./gitian-build.py", line 160, in <module>
    main()
  File "./gitian-build.py", line 157, in main
    build()
  File "./gitian-build.py", line 56, in build
    subprocess.check_call(['bin/gbuild', '-j', args.jobs, '-m', args.memory, '--commit', 'PrivateBTC='+args.commit, '--url', 'bitcoin='+args.url, '../PrivateBTC/contrib/gitian-descriptors/gitian-linux.yml'])
  File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bin/gbuild', '-j', '2', '-m', '2000', '--commit', 'PrivateBTC=v0.1', '--url', 'bitcoin=https://github.com/giaki3003/PrivateBTC', '../PrivateBTC/contrib/gitian-descriptors/gitian-linux.yml']' returned non-zero exit status 1

Notice i did set up a repo called "PrivateBTC", forked off the latest BTC source. Everything else is unchanged, and this issue can be reproduced on latest BTC source too.
I'm doing this on a Ubuntu 14.04 VPS, and have conducted countless gitian builds on it before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions