[tor-dev] Gitian Build Failure (pt branch only?)

Kevin P Dyer kpdyer at gmail.com
Thu Dec 12 17:35:45 UTC 2013


Hi Mike/dcf1,

Building the pt branch [1] of tor-browser-bundle on Ubuntu 13.04,
64-bit resulted in the following error:

<<<
./bin/gbuild:21:in `system!': failed to run on-target setarch i386
bash -x < var/build-script > var/build.log 2>&1 (RuntimeError)
from ./bin/gbuild:121:in `build_one_configuration'
from ./bin/gbuild:223
from ./bin/gbuild:218:in `each'
from ./bin/gbuild:218
from ./bin/gbuild:216:in `each'
from ./bin/gbuild:216
make: *** [build] Error 1
>>>

dcf1 suggested that I downgrade to the 3.2.0 kernel. This wasn't
(obviously) supported in 13.04, so I decided to downgrade my system to
12.04. On a clean 12.04, 64-bit, install I got the same issue. Then,
the following resolved the problem for me:

<<<
$ sudo apt-get remove linux-image-3.8.0-29-generic
linux-image-generic-lts-quantal linux-image-generic-lts-raring
$ sudo apt-get --reinstall install linux-image-generic
>>>

I did not encounter this problem when building [2] last week. When the
failure occurs, var/build.log contains the "invalid instruction
suffix" errors as reported in [3].

-Kevin

[1] https://gitweb.torproject.org/user/dcf/tor-browser-bundle.git
[2] https://gitweb.torproject.org/builders/tor-browser-bundle.git
[3] https://github.com/cloudmatrix/myppy/issues/7


More information about the tor-dev mailing list