Opened 5 years ago

Closed 5 years ago

#12743 closed defect (fixed)

Firefox ESR 31 hangs during configure step on Linux

Reported by: gk Owned by: gk
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Keywords: tbb-gitian
Cc: intrigeri Actual Points:
Parent ID: #12460 Points:
Reviewer: Sponsor:

Description

During the configure step Firefox hangs reliably in our Gitian setup:

+ make -f client.mk configure
mkdir -p '/home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu/'
client.mk:213: /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu/.mozconfig.mk: No such file or directory
python /home/ubuntu/build/tor-browser/config/pythonpath.py -I /home/ubuntu/build/tor-browser/testing/mozbase/mozfile \
	    /home/ubuntu/build/tor-browser/python/mozbuild/mozbuild/controller/clobber.py /home/ubuntu/build/tor-browser /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu
Clobber not needed.
> /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu/.mozconfig.mk
Generating /home/ubuntu/build/tor-browser/configure using autoconf
cd /home/ubuntu/build/tor-browser; /usr/bin/autoconf2.13
Generating /home/ubuntu/build/tor-browser/js/src/configure using autoconf
cd /home/ubuntu/build/tor-browser/js/src; /usr/bin/autoconf2.13
cp /home/ubuntu/build/tor-browser/.mozconfig /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu/.mozconfig
cd /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu
/home/ubuntu/build/tor-browser/configure
Adding configure options from /home/ubuntu/build/tor-browser/.mozconfig:
  --enable-application=browser
  --enable-optimize
  --enable-official-branding
  --disable-strip
  --disable-install-strip
  --disable-tests
  --disable-debug
  --disable-maintenance-service
  --disable-updater
  --disable-crashreporter
  --disable-webrtc
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for mawk... mawk
checking for python2.7... /home/ubuntu/install/python/bin/python2.7
Creating Python environment
New python executable in /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu/_virtualenv/bin/python2.7
Also creating executable in /home/ubuntu/build/tor-browser/obj-i686-pc-linux-gnu/_virtualenv/bin/python
Installing setuptools, pip...done.
running build_ext
building '_psutil_linux' extension
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/psutil
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/install/python/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-i686-2.7/psutil/_psutil_linux.o
In file included from /home/ubuntu/install/python/include/python2.7/Python.h:8,
                 from psutil/_psutil_linux.c:10:
/home/ubuntu/install/python/include/python2.7/pyconfig.h:1151:1: warning: "_GNU_SOURCE" redefined
psutil/_psutil_linux.c:9:1: warning: this is the location of the previous definition
creating build/lib.linux-i686-2.7
gcc -pthread -shared build/temp.linux-i686-2.7/psutil/_psutil_linux.o -o build/lib.linux-i686-2.7/_psutil_linux.so
building '_psutil_posix' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/install/python/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-i686-2.7/psutil/_psutil_posix.o
gcc -pthread -shared build/temp.linux-i686-2.7/psutil/_psutil_posix.o -o build/lib.linux-i686-2.7/_psutil_posix.so
copying build/lib.linux-i686-2.7/_psutil_linux.so -> 
copying build/lib.linux-i686-2.7/_psutil_posix.so -> 

checking Python environment is Mozilla virtualenv... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for objcopy... /usr/bin/objcopy
checking for gcc... gcc
checking whether the C compiler (gcc -frandom-seed=tor ) works... yes
checking whether the C compiler (gcc -frandom-seed=tor ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -frandom-seed=tor ) works... yes
checking whether the C++ compiler (c++ -frandom-seed=tor ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... ar
checking for ld... ld
checking for strip... strip
checking for windres... no
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for minimum required perl version >= 5.006... 5.010001
checking for full perl installation... yes
checking for doxygen... :
checking for autoconf... /usr/bin/autoconf
checking for unzip... /usr/bin/unzip
checking for zip... /usr/bin/zip
checking for xargs... /usr/bin/xargs
checking for rpmbuild... :
checking compiler version... gcc-4.4.real (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
checking for make... /usr/bin/make
checking for X... libraries , headers 
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for connect... no
checking for remove... no
checking for shmat... no
checking for IceConnectionNumber in -lICE... yes
checking that static assertion macros used in autoconf tests work... yes
checking for --noexecstack option to as... yes
checking for -z noexecstack option to ld... yes
checking for -z text option to ld... yes
checking for --build-id option to ld... yes
checking for --ignore-unresolved-symbol option to ld... no
checking if toolchain supports -mssse3 option... yes
checking if toolchain supports -msse4.1 option... yes
checking for x86 AVX2 asm support in compiler... no
checking whether the C compiler supports -Werror=return-type... yes
checking whether the C compiler supports -Werror=int-to-pointer-cast... yes
checking whether the C compiler supports -Wtype-limits... yes
checking whether the C compiler supports -Wempty-body... yes
checking whether the C compiler supports -Wsign-compare... yes
checking whether the C++ compiler supports -Werror=return-type... yes
checking whether the C++ compiler supports -Werror=int-to-pointer-cast... yes
checking whether the C++ compiler supports -Wtype-limits... yes
checking whether the C++ compiler supports -Wempty-body... yes
checking whether the C++ compiler supports -Wsign-compare... yes
checking whether the C++ compiler supports -Wno-invalid-offsetof... yes
checking whether the C++ compiler supports -Wno-inline-new-delete... no
checking whether ld has archive extraction flags... yes
checking for 64-bit OS... no
checking for custom <inttypes.h> implementation... none specified
checking whether the C++ compiler (c++ -frandom-seed=tor -fno-exceptions -fno-strict-aliasing -fno-rtti  -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id) actually is a C++ compiler... yes

This might go away with fixing #12461. But maybe this is something unrelated.

Child Tickets

Change History (10)

comment:1 Changed 5 years ago by gk

Keywords: tbb-gitian TorBrowserTeam201407 added; gitian removed

This does not happen in a 64 Lucid env outside Gitian.

comment:2 Changed 5 years ago by gk

Happens on a different build machine as well both while trying to build a 32bit and a 64bit Tor Browser.

comment:4 Changed 5 years ago by gk

One way to solve this problem is installing binutils-gold which would be a good idea anyway as it reduces the linking time (especially of libxul) considerably. Might be a good idea to do this while fixing #12461.

Last edited 5 years ago by gk (previous) (diff)

comment:5 Changed 5 years ago by intrigeri

Cc: intrigeri added

comment:6 Changed 5 years ago by gk

Keywords: TorBrowserTeam201408 added; TorBrowserTeam201407 removed

comment:7 Changed 5 years ago by mikeperry

Owner: changed from tbb-team to gk
Status: newassigned

comment:8 Changed 5 years ago by mikeperry

Keywords: TorBrowserTeam201408 removed

comment:9 Changed 5 years ago by mikeperry

Keywords: ff31-esr removed

comment:10 Changed 5 years ago by gk

Resolution: fixed
Status: assignedclosed

Fixed by #12103 where we started to deploy gold as our linker.

Note: See TracTickets for help on using tickets.