[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] Gitian Build Issue - Tor Browser



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/BuildingWithGitian#AssemblyErrorsinMismatchedArchitectureCode
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
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev