Help pliz release-process #9105

issue ghost opened this issue on November 8, 2016
  1. ghost commented at 8:25 PM on November 8, 2016: none

    Can't collect :(

    https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md#fetch-and-create-inputs-first-time-or-when-dependency-versions-change

    #./bin/gbuild --memory 3000 --commit bitcoin=v0.13.1 ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml

    --- Building for trusty amd64 ---
    Stopping target if it is up
    Making a new image copy
    qemu-img: target-trusty-amd64.qcow2: Could not open 'base-trusty-amd64.qcow2': No such file or directory
    ./bin/gbuild:21:in `system!': failed to run make-clean-vm --suite trusty --arch amd64 (RuntimeError)
    	from ./bin/gbuild:57:in `build_one_configuration'
    	from ./bin/gbuild:285: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>'
    
    
    
  2. MarcoFalke commented at 8:39 PM on November 8, 2016: member

    Make sure to setup the base vm. There is a guide for Gitian builds on LXC using a Debian VM or physical system, alternatively you can try the (somewhat spartanic) notes to set up Gitian builds on KVM.

  3. MarcoFalke added the label Build system on Nov 8, 2016
  4. MarcoFalke added the label Help on Nov 8, 2016
  5. ghost commented at 8:49 PM on November 8, 2016: none

    Possibly install without KVM? I did everything according to instructions, I have this error permanently

    
    `************* WARNING: kvm not loaded, this will probably not work out
    
    --- Building for precise amd64 ---
    Stopping target if it is up
    Making a new image copy
    qemu-img: target-precise-amd64.qcow2: Could not open 'base-precise-amd64.qcow2': Could not open 'base-precise-amd64.qcow2': No such file or directory: No such file or directory
    ./bin/gbuild:21:in `system!': failed to run make-clean-vm --suite precise --arch amd64 (RuntimeError)
            from ./bin/gbuild:57:in `build_one_configuration'
            from ./bin/gbuild:285: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>'`
    
  6. achow101 commented at 8:59 PM on November 8, 2016: member

    @twepl Did you follow the instructions to setup gitian building? If so, it uses lxc, not kvm. You need to run export USE_LXC=1 first.

  7. ghost commented at 9:05 PM on November 8, 2016: none

    @achow101 Please give detailed instructions

  8. achow101 commented at 9:10 PM on November 8, 2016: member

    Follow the instructions in the gitian-building.md doc to properly setup gitian. If it is too confusing for you, then run the following command from the bitcoin root directory. It's for the automated script which will setup and build everything for you for 0.13.1

    contrib/gitian-build.sh --setup -b twepl 0.13.1
    
  9. ghost commented at 9:15 PM on November 8, 2016: none

    @MarcoFalke Trying to implementation https://github.com/bitcoin/bitcoin/blob/924de0bd75a7f75df65d7d15f9d1587a2e794abf/contrib/gitian-descriptors/README.md

    cd gitian-builder bin/make-base-vm --suite trusty --arch amd64

    invoke-rc.d: policy-rc.d denied execution of restart.
    
    Configuration file '/etc/sudoers'
     ==> Modified (by you or by a script) since installation.
     ==> Package distributor has shipped an updated version.
       What would you like to do about it ?  Your options are:
        Y or I  : install the package maintainer's version
        N or O  : keep your currently-installed version
          D     : show the differences between the versions
          Z     : start a shell to examine the situation
     The default action is to keep your current version.
    *** sudoers (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package sudo (--configure):
     EOF on stdin at conffile prompt
    Errors were encountered while processing:
     sudo
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
    
  10. ghost commented at 9:29 PM on November 8, 2016: none

    @achow101 which means twepl?

    contrib/gitian-build.sh --setup -b twepl 0.13.1

  11. achow101 commented at 9:30 PM on November 8, 2016: member

    The name for the gpg key that you will be signing with.

  12. ghost commented at 9:32 PM on November 8, 2016: none

    @achow101 I'm doing the right thing?

    cd bitcoin contrib/gitian-build.sh --setup -b twepl 0.13.1

    
    debian@machina:~/bitcoin$ contrib/gitian-build.sh --setup -b twepl 0.13.1
    lxcbr0: ERROR while getting interface flags: There is no such device
    SIOCSIFADDR: There is no such device
    lxcbr0: ERROR while getting interface flags: Нет такого устройства
    Cannot build for OSX, SDK does not exist. Will build for other OSes
    v0.13.1
    Чтение списков пакетов / Reading package lists
    
    
    
    
    
    
    
    
    Compiling 0.13.1 Linux
    
    /usr/lib/ruby/2.3.0/psych.rb:471:in `initialize': No such file or directory @ rb_sysopen - ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml (Errno::ENOENT)
        from /usr/lib/ruby/2.3.0/psych.rb:471:in `open'
        from /usr/lib/ruby/2.3.0/psych.rb:471:in `load_file'
        from ./bin/gbuild:201:in `<main>'
    ./bin/gsign:52:in `<main>': invalid option: --detach-sign (OptionParser::InvalidOption)
    mv: failed stat для 'build/out/bitcoin-*.tar.gz': No such file or directory
    mv: не удалось выполнить stat для 'build/out/src/bitcoin-*.tar.gz': Нет такого файла или каталога
    
    Compiling 0.13.1 Windows
    
    /usr/lib/ruby/2.3.0/psych.rb:471:in `initialize': No such file or directory @ rb_sysopen - ../bitcoin/contrib/gitian-descriptors/gitian-win.yml (Errno::ENOENT)
        from /usr/lib/ruby/2.3.0/psych.rb:471:in `open'
        from /usr/lib/ruby/2.3.0/psych.rb:471:in `load_file'
        from ./bin/gbuild:201:in `<main>'
    ./bin/gsign:52:in `<main>': invalid option: --detach-sign (OptionParser::InvalidOption)
    mv: failed stat для 'build/out/bitcoin-*-win-unsigned.tar.gz': No such file or directory
    mv: не удалось выполнить stat для 'build/out/bitcoin-*.zip': No such file or directory
    mv: failed stat для 'build/out/bitcoin-*.exe': Нет такого файла или каталога
    ~/bitcoin
    
    Committing 0.13.1 Unsigned Sigs
    
    ~/bitcoin/gitian.sigs ~/bitcoin
    fatal: спецификация пути «0.13.1-linux/twepl» не соответствует ни одному файлу
    fatal: спецификация пути «0.13.1-win-unsigned/twepl» does not match any file
    fatal: спецификация пути «0.13.1-osx-unsigned/twepl» не соответствует ни одному файлу
    
    *** Please tell me who you are.
    
    Run
    
      git config --global user.email "you@example.com"
      git config --global user.name "Your Name"
    
    to set your account's default identity.
    Omit --global to set the identity only in this repository.
    
    fatal: empty ident name (for <(null)>) not allowed
    ~/bitcoin
    
  13. MarcoFalke commented at 7:52 PM on November 9, 2016: member

    @twepl The convenience script by @achow101 still requires you to go through https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md step by step until in mentions that you can use it.

    If there is a particular step that caused problems, please let us know.

  14. laanwj commented at 8:53 PM on November 9, 2016: member

    I'm pretty sure this is a problem with your local setup, so closing this.

  15. laanwj closed this on Nov 9, 2016

  16. legends420 commented at 2:59 AM on August 31, 2017: none

    Try this even tho its old i got this error and this helped me mknod /dev/kvm c 10 232

  17. brackmayhall commented at 6:11 PM on February 19, 2018: none

    @MarcoFalke see the following links for your error. Essentially there is a bug in the VMbuilder python script named dapper.py that is installed. I would guess that you are running Ubuntu?

    https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1618899 https://github.com/devrandom/gitian-builder/issues/139 https://www.reddit.com/r/Bitcoin_Classic/comments/5ms06k/im_having_trouble_replicating_gitian_build/

  18. MarcoFalke commented at 6:57 PM on February 19, 2018: member

    It seems you can work around that bug by applying the patch that is given in the launchpad as workaround.

  19. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me