Dear Team,
I need some help getting gitian-build to work for the Tor Browser. Can anyone help with this error please?
./mkbundle-windows.sh adding: Docs/ (stored 0%) adding: Docs/ChangeLog.txt (deflated 68%) adding: Docs/Licenses/ (stored 0%) adding: Docs/Licenses/Firefox.txt (deflated 68%) adding: Docs/Licenses/HTTPS-Everywhere.txt (deflated 49%) adding: Docs/Licenses/NoScript.txt (deflated 62%) adding: Docs/Licenses/PluggableTransports/ (stored 0%) adding: Docs/Licenses/PluggableTransports/LICENSE (deflated 73%) adding: Docs/Licenses/PluggableTransports/LICENSE.CC0 (deflated 60%) adding: Docs/Licenses/PluggableTransports/LICENSE.GO (deflated 47%) adding: Docs/Licenses/PluggableTransports/LICENSE.PYTHON (deflated 78%) adding: Docs/Licenses/Tor-Launcher.txt (deflated 48%) adding: Docs/Licenses/Tor.txt (deflated 75%) adding: Docs/Licenses/Torbutton.txt (deflated 46%) adding: Data/ (stored 0%) adding: Data/Browser/ (stored 0%) adding: Data/Browser/profile.default/ (stored 0%) adding: Data/Browser/profile.default/bookmarks.html (deflated 70%) adding: Data/Browser/profile.default/preferences/ (stored 0%) adding: Data/Browser/profile.default/preferences/extension-overrides.js (deflated 68%) adding: Data/Browser/profiles.ini (deflated 21%) adding: Data/Tor/ (stored 0%) adding: Data/Tor/torrc (stored 0%) adding: Data/Tor/torrc-defaults (deflated 29%)
****** SKIPPING already built Utilities Component of Windows Bundle (1/5 for Windows) ******
****** Starting Tor Component of Windows Bundle (2/5 for Windows) ******
--- Building tor-windows for precise i386 --- Stopping target if it is up Making a new image copy Formatting 'target-precise-i386.qcow2', fmt=qcow2 size=11811160064 backing_file='base-precise-i386.qcow2' encryption=off cluster_size=65536 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) Grabbing package manifest 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 i386 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError) from ./bin/gbuild:122:in `build_one_configuration' from ./bin/gbuild:224 from ./bin/gbuild:219:in `each' from ./bin/gbuild:219 from ./bin/gbuild:217:in `each' from ./bin/gbuild:217
All the best, SiNA
Hi SiNA,
Can you provide the last few lines of output from var/build.log?
-Kevin
On Wed, Sep 17, 2014 at 8:03 PM, SiNA Rabbani sina@redteam.net wrote:
Dear Team,
I need some help getting gitian-build to work for the Tor Browser. Can anyone help with this error please?
./mkbundle-windows.sh adding: Docs/ (stored 0%) adding: Docs/ChangeLog.txt (deflated 68%) adding: Docs/Licenses/ (stored 0%) adding: Docs/Licenses/Firefox.txt (deflated 68%) adding: Docs/Licenses/HTTPS-Everywhere.txt (deflated 49%) adding: Docs/Licenses/NoScript.txt (deflated 62%) adding: Docs/Licenses/PluggableTransports/ (stored 0%) adding: Docs/Licenses/PluggableTransports/LICENSE (deflated 73%) adding: Docs/Licenses/PluggableTransports/LICENSE.CC0 (deflated 60%) adding: Docs/Licenses/PluggableTransports/LICENSE.GO (deflated 47%) adding: Docs/Licenses/PluggableTransports/LICENSE.PYTHON (deflated 78%) adding: Docs/Licenses/Tor-Launcher.txt (deflated 48%) adding: Docs/Licenses/Tor.txt (deflated 75%) adding: Docs/Licenses/Torbutton.txt (deflated 46%) adding: Data/ (stored 0%) adding: Data/Browser/ (stored 0%) adding: Data/Browser/profile.default/ (stored 0%) adding: Data/Browser/profile.default/bookmarks.html (deflated 70%) adding: Data/Browser/profile.default/preferences/ (stored 0%) adding: Data/Browser/profile.default/preferences/extension-overrides.js (deflated 68%) adding: Data/Browser/profiles.ini (deflated 21%) adding: Data/Tor/ (stored 0%) adding: Data/Tor/torrc (stored 0%) adding: Data/Tor/torrc-defaults (deflated 29%)
****** SKIPPING already built Utilities Component of Windows Bundle (1/5 for Windows) ******
****** Starting Tor Component of Windows Bundle (2/5 for Windows) ******
--- Building tor-windows for precise i386 --- Stopping target if it is up Making a new image copy Formatting 'target-precise-i386.qcow2', fmt=qcow2 size=11811160064 backing_file='base-precise-i386.qcow2' encryption=off cluster_size=65536 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) Grabbing package manifest 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 i386 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError) from ./bin/gbuild:122:in `build_one_configuration' from ./bin/gbuild:224 from ./bin/gbuild:219:in `each' from ./bin/gbuild:219 from ./bin/gbuild:217:in `each' from ./bin/gbuild:217
All the best, SiNA
tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
Hi,
Here is the last 20 lines:
root@matrix:/opt/dist/noushafarin/gitian-builder/var# tail -n 20 build.log + xargs touch '--date=2000-01-01 00:00:00' + ./configure --disable-asciidoc --host=i686-w64-mingw32 --with-libevent-dir=/home/ubuntu/install/libevent --with-openssl-dir=/home/ubuntu/install/openssl --prefix=/home/ubuntu/install --with-zlib-dir=/home/ubuntu/install/zlib/ configure: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-w64-mingw32 checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether the C compiler works... no configure: error: in `/home/ubuntu/build/tor': configure: error: C compiler cannot create executables See `config.log' for more details
Thank you for your time and attention!
--SiNA
On Wed, Sep 17, 2014 at 12:08 PM, Kevin P Dyer kpdyer@gmail.com wrote:
Hi SiNA,
Can you provide the last few lines of output from var/build.log?
-Kevin
On Wed, Sep 17, 2014 at 8:03 PM, SiNA Rabbani sina@redteam.net wrote:
Dear Team,
I need some help getting gitian-build to work for the Tor Browser. Can anyone help with this error please?
./mkbundle-windows.sh adding: Docs/ (stored 0%) adding: Docs/ChangeLog.txt (deflated 68%) adding: Docs/Licenses/ (stored 0%) adding: Docs/Licenses/Firefox.txt (deflated 68%) adding: Docs/Licenses/HTTPS-Everywhere.txt (deflated 49%) adding: Docs/Licenses/NoScript.txt (deflated 62%) adding: Docs/Licenses/PluggableTransports/ (stored 0%) adding: Docs/Licenses/PluggableTransports/LICENSE (deflated 73%) adding: Docs/Licenses/PluggableTransports/LICENSE.CC0 (deflated 60%) adding: Docs/Licenses/PluggableTransports/LICENSE.GO (deflated 47%) adding: Docs/Licenses/PluggableTransports/LICENSE.PYTHON (deflated 78%) adding: Docs/Licenses/Tor-Launcher.txt (deflated 48%) adding: Docs/Licenses/Tor.txt (deflated 75%) adding: Docs/Licenses/Torbutton.txt (deflated 46%) adding: Data/ (stored 0%) adding: Data/Browser/ (stored 0%) adding: Data/Browser/profile.default/ (stored 0%) adding: Data/Browser/profile.default/bookmarks.html (deflated 70%) adding: Data/Browser/profile.default/preferences/ (stored 0%) adding: Data/Browser/profile.default/preferences/extension-overrides.js (deflated 68%) adding: Data/Browser/profiles.ini (deflated 21%) adding: Data/Tor/ (stored 0%) adding: Data/Tor/torrc (stored 0%) adding: Data/Tor/torrc-defaults (deflated 29%)
****** SKIPPING already built Utilities Component of Windows Bundle (1/5 for Windows) ******
****** Starting Tor Component of Windows Bundle (2/5 for Windows) ******
--- Building tor-windows for precise i386 --- Stopping target if it is up Making a new image copy Formatting 'target-precise-i386.qcow2', fmt=qcow2 size=11811160064 backing_file='base-precise-i386.qcow2' encryption=off cluster_size=65536 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) Grabbing package manifest 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 i386 bash -x < var/build-script > var/build.log 2>&1 (RuntimeError) from ./bin/gbuild:122:in `build_one_configuration' from ./bin/gbuild:224 from ./bin/gbuild:219:in `each' from ./bin/gbuild:219 from ./bin/gbuild:217:in `each' from ./bin/gbuild:217
All the best, SiNA
tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
tor-dev mailing list tor-dev@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev
On Wed, Sep 17, 2014 at 12:11:29PM -0700, SiNA Rabbani wrote:
Here is the last 20 lines:
root@matrix:/opt/dist/noushafarin/gitian-builder/var# tail -n 20 build.log
- xargs touch '--date=2000-01-01 00:00:00'
- ./configure --disable-asciidoc --host=i686-w64-mingw32 --with-libevent-dir=/
home/ubuntu/install/libevent --with-openssl-dir=/home/ubuntu/install/openssl --prefix=/home/ubuntu/install --with-zlib-dir=/home/ubuntu/install/zlib/ configure: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-w64-mingw32 checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc checking whether the C compiler works... no configure: error: in `/home/ubuntu/build/tor': configure: error: C compiler cannot create executables See `config.log' for more details
I've seen problems like that (but not exactly the same) when there was a stale kvm process running with the wrong architecture. Like:
https://trac.torproject.org/projects/tor/wiki/doc/TorBrowser/BuildingWithGit... https://trac.torproject.org/projects/tor/ticket/12391
Check if there are any qemu/kvm processes running, use run-on-target to shut them down (or just kill them), and try the "make build" again.
David Fifield