Author

Topic: Gitian Builder Help (Read 882 times)

member
Activity: 252
Merit: 12
December 18, 2017, 12:40:12 PM
#5
My email address:[email protected]
Thanks again!
member
Activity: 252
Merit: 12
December 18, 2017, 12:39:07 PM
#4
Was wondering if someone could help me with this error. I haven't been able to get past the point.  Your help would be greatly appreciated.

Code:
--- Building for trusty amd64 ---
Stopping target if it is up
Making a new image copy
lxc-execute: failed to find gateway addresses
lxc-execute: failed to spawn 'gitian'
./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:270:in `block (2 levels) in
'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in
'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `
'

Hi,dear friend.I met the same error "failed to find gateway address" when I compile the bitcoin code with gitian.
Could U tell me how did u fix the error?
Really appreciate!
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
December 16, 2015, 09:37:16 PM
#3
well the easiest solution would be to do a search through your project looking for instances of ubuntu?
sr. member
Activity: 393
Merit: 500
December 16, 2015, 03:06:21 PM
#2
i got passsed my first error.  However, this one I cannot seem to figure out.  Could someone please help me out here.


Code:
Creating build script (var/build-script)
Running build script (log in var/build.log)
./bin/gbuild:21:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
        from ./bin/gbuild:137:in `build_one_configuration'
        from ./bin/gbuild:270:in `block (2 levels) in
'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in
'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `
'
debian@debian:~/gitian-builder$ tail -f var/build.log
+ sed -e '\''s|OS/version|MSWindows/5.1.2600|'\'' -e '\''s|MINIUPNPC_VERSION_STRING "version"|MINIUPNPC_VERSION_STRING "VERSIONHERE"|'\'' $< > $@

 minixml.o: minixml.c minixml.h miniupnpcstrings.h

'
++ cat VERSION
+ sed s/VERSIONHERE/1.9/
patching file Makefile.mingw
Hunk #1 FAILED at 67.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.mingw.rej

I thought  changing mkdir -p $BUILDDIR $INSTALLPREFIX/lib in the deps-win.yml file to sudo mkdir -p $BUILDDIR $INSTALLPREFIX/lib would fix the issue. It seems that it was because it didn't fail instead it asked for the ubuntu password.  I am using Debian so the path is wrong.  This is the error and log file when I done this.

Code:
Starting target
Checking if target is up
Preparing build environment
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)
Running build script (log in var/build.log)
[sudo] password for ubuntu:
[sudo] password for ubuntu:
[sudo] password for ubuntu:
./bin/gbuild:21:in `system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
        from ./bin/gbuild:137:in `build_one_configuration'
        from ./bin/gbuild:270:in `block (2 levels) in
'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in
'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `
'
debian@debian:~/gitian-builder$ tail -f var/install.log
stdin: is not a tty
^C
debian@debian:~/gitian-builder$ tail -f var/build.log
+ for BITS in 32 64
+ INSTALLPREFIX=/home/ubuntu/staging32
+ BUILDDIR=/home/ubuntu/build32
+ '[' 32 == 32 ']'
+ HOST=i686-w64-mingw32
+ sudo mkdir -p /home/ubuntu/build32 /home/ubuntu/staging32/lib
Sorry, try again.
Sorry, try again.
Sorry, try again.
sudo: 3 incorrect password attempts

i obviously don't know the password because i didn't make a user called ubuntu.  my user is called debian.  Thanks in advance for any help.
sr. member
Activity: 393
Merit: 500
December 11, 2015, 07:49:55 PM
#1
Was wondering if someone could help me with this error. I haven't been able to get past the point.  Your help would be greatly appreciated.

Code:
--- Building for trusty amd64 ---
Stopping target if it is up
Making a new image copy
lxc-execute: failed to find gateway addresses
lxc-execute: failed to spawn 'gitian'
./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:270:in `block (2 levels) in
'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in
'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `
'
Jump to: