i got passsed my first error. However, this one I cannot seem to figure out. Could someone please help me out here.
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.
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.