Bitcoin Forum
April 24, 2024, 03:00:47 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Gitian Builder Help  (Read 847 times)
cryptotech (OP)
Sr. Member
****
Offline Offline

Activity: 393
Merit: 500



View Profile WWW
December 12, 2015, 12:49:55 AM
 #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 <main>'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in <main>'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `<main>'
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
cryptotech (OP)
Sr. Member
****
Offline Offline

Activity: 393
Merit: 500



View Profile WWW
December 16, 2015, 08: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 <main>'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in <main>'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `<main>'
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 <main>'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in <main>'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `<main>'
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.
billotronic
Legendary
*
Offline Offline

Activity: 1610
Merit: 1000


Crackpot Idealist


View Profile
December 17, 2015, 02:37:16 AM
 #3

well the easiest solution would be to do a search through your project looking for instances of ubuntu?

This post sums up why all this bullshit is a scam
Read It. Hate It. Change the facts that it represents.
https://bitcointalk.org/index.php?topic=1606638.msg16139644#msg16139644
lhfly5201314
Member
**
Offline Offline

Activity: 252
Merit: 12


View Profile
December 18, 2017, 05: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 <main>'
        from ./bin/gbuild:265:in `each'
        from ./bin/gbuild:265:in `block in <main>'
        from ./bin/gbuild:263:in `each'
        from ./bin/gbuild:263:in `<main>'

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!

▰   SEMUX   -   An innovative high-performance blockchain platform   ▰
■▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬■
Github   -   Discord   -   Twitter   -   Telegram   -   Get Free Airdrop Now!
lhfly5201314
Member
**
Offline Offline

Activity: 252
Merit: 12


View Profile
December 18, 2017, 05:40:12 PM
 #5

My email address:lhfly520@gmail.com
Thanks again!

▰   SEMUX   -   An innovative high-performance blockchain platform   ▰
■▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬■
Github   -   Discord   -   Twitter   -   Telegram   -   Get Free Airdrop Now!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!