devrandom / gitian-builder

Build packages in a secure deterministic fashion inside a VM
https://gitian.org/
Other
401 stars 226 forks source link

Failed to run on-target setarch- during gitian-win32.yml #226

Closed gwpreggae closed 4 years ago

gwpreggae commented 4 years ago

Hey everyone,

I've been racking my brain for hours trying to get this windows exec to build. I am getting this error. Any one figure this out yet or having same issues?? Thanks. debian@debian:~/gitian-builder$ ./bin/gbuild --commit rascoin=v1.3.3 ../rascoin-core/contrib/gitian-descriptors/gitian-win32.yml --- Building for precise amd64 --- Stopping target if it is up Making a new image copy sudo: unable to resolve host gitian stdin: is not a tty Reading package lists... Done Building dependency tree... Done The following packages will be REMOVED: rsyslog ubuntu-minimal 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 1289 kB disk space will be freed. (Reading database ... 16075 files and directories currently installed.) Removing ubuntu-minimal ... Removing rsyslog ... initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused Purging configuration files for rsyslog ... dpkg: warning: while removing rsyslog, directory '/etc/apparmor.d/local' not empty so not removed. Processing triggers for ureadahead ... Adding 'local diversion of /sbin/initctl to /sbin/initctl.distrib' Adding 'local diversion of /usr/bin/ischroot to /usr/bin/ischroot.distrib' Adding 'local diversion of /usr/sbin/policy-rc.d to /usr/sbin/policy-rc.d.distrib' 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 (log in var/install.log) Creating package manifest stdin: is not a tty Creating build script (var/build-script) Running build script (log in var/build.log) ./bin/gbuild:23:in system!': failed to run on-target setarch x86_64 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError) from ./bin/gbuild:169:inbuild_one_configuration' from ./bin/gbuild:320:in block (2 levels) in <main>' from ./bin/gbuild:315:ineach' from ./bin/gbuild:315:in block in <main>' from ./bin/gbuild:313:ineach' from ./bin/gbuild:313:in `

'

devrandom commented 4 years ago

This looks like an issue for the specific project using gitian, rather than gitian itself