[tor-bugs] #8246 [Tor bundles/installation]: build TBB on 10.8.2

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 16 12:20:26 UTC 2013


#8246: build TBB on 10.8.2
--------------------------------------+-------------------------------------
 Reporter:  ioerror                   |          Owner:  erinn
     Type:  defect                    |         Status:  new  
 Priority:  normal                    |      Milestone:       
Component:  Tor bundles/installation  |        Version:       
 Keywords:                            |         Parent:       
   Points:                            |   Actualpoints:       
--------------------------------------+-------------------------------------

Comment(by cypherpunks):

 I also discovered that after the failure to apply the above patch to the
 firefox source, the build-all-binaries target does the following when I
 run it again:
 {{{
  make -f osx.mk build-all-binaries
 cp config/mozconfig-osx-x86_64
 /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/mozconfig
 cp branding/* /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/browser/branding/official
 cd /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr && make -f client.mk build
 make -f /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/client.mk realbuild
 Adding client.mk options from
 /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/mozconfig:
     MOZ_MAKE_FLAGS=-s --no-print-directory -j8
     MOZ_OBJDIR=$(TOPSRCDIR)/obj-$(CONFIG_GUESS)
     MOZ_APP_DISPLAYNAME=TorBrowser
     PROFILE_GEN_SCRIPT=$(PYTHON)
 $(MOZ_OBJDIR)/_profile/pgo/profileserver.py
     MOZILLA_OFFICIAL=1
     BUILD_OFFICIAL=1
 cd /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/obj-x86_64-apple-darwin12.2.1
 /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/configure
 Adding configure options from
 /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/mozconfig:
   --enable-application=browser
   --with-macos-
 sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/
   --target=x86_64-apple-darwin10.6.0
   --enable-macos-target=10.6
   --disable-crashreporter
   --enable-application=browser
   --enable-official-branding
   --enable-libzul
   --enable-optimize
   --enable-strip
   --disable-tests
   --disable-debug
 loading cache ./config.cache
 checking host system type... x86_64-apple-darwin12.2.1
 checking target system type... x86_64-apple-darwin10.6.0
 checking build system type... x86_64-apple-darwin12.2.1
 checking for mawk... no
 checking for gawk... no
 checking for nawk... no
 checking for awk... awk
 checking for perl5... no
 checking for perl... /usr/bin/perl
 cross compiling from x86_64-apple-darwin12.2.1 to x86_64-apple-
 darwin10.6.0
 checking for host c compiler... checking for clang... clang
 clang
 checking for host c++ compiler... checking for clang++... clang++
 clang++
 checking for ranlib... no
 checking for ar... no
 checking whether the host c compiler (clang -Wno-return-type ) works...
 yes
 checking whether the host c++ compiler (clang++ -Wno-return-type )
 works... yes
 checking for clang... clang -arch x86_64
 checking for gcc... clang -arch x86_64
 checking whether the C compiler (clang -arch x86_64 -Wno-return-type )
 works... yes
 checking whether the C compiler (clang -arch x86_64 -Wno-return-type ) is
 a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether clang -arch x86_64 accepts -g... yes
 checking for clang++... clang++ -arch x86_64
 checking for c++... clang++ -arch x86_64
 checking whether the C++ compiler (clang++ -arch x86_64 -Wno-return-type )
 works... yes
 checking whether the C++ compiler (clang++ -arch x86_64 -Wno-return-type )
 is a cross-compiler... no
 checking whether we are using GNU C++... yes
 checking whether clang++ -arch x86_64 accepts -g... yes
 checking for ranlib... ranlib
 checking for ar... ar
 checking for clang... /usr/bin/clang
 checking for ld... ld
 checking for strip... strip -x -S
 checking for x86_64-apple-darwin10.6.0-windres... no
 checking for x86_64-apple-darwin10.6.0-windres... no
 checking how to run the C preprocessor... clang -arch x86_64 -E
 checking how to run the C++ preprocessor... clang++ -arch x86_64 -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.012004
 checking for full perl installation... yes
 checking for python2.7... /usr/bin/python2.7
 checking for doxygen... :
 checking for autoconf... /usr/local/bin/autoconf
 checking for unzip... /usr/bin/unzip
 checking for zip... /usr/bin/zip
 checking for makedepend... /usr/local/bin/makedepend
 checking for xargs... /usr/bin/xargs
 checking for rpmbuild... :
 checking for pbbuild... no
 checking for xcodebuild... /usr/bin/xcodebuild
 checking for sdp... /usr/bin/sdp
 /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/configure: line 4671: test: :
 integer expression expected
 checking for valid compiler/Mac OS X SDK combination... yes
 checking whether the C compiler is clang older than version 2.9... no
 checking bad gcc versions... we're ok
 checking for gmake... no
 checking for make... /usr/bin/make
 checking for X... no
 checking whether the compiler supports -Wno-invalid-offsetof... yes
 checking whether the compiler supports -Wno-variadic-macros... yes
 checking whether the compiler supports -Werror=return-type... yes
 checking whether ld has archive extraction flags... no
 checking that static assertion macros used in autoconf tests work... yes
 checking for 64-bit OS... yes
 checking for Python version >= 2.5 but not 3.x... yes
 checking for iOS target... no
 checking for -dead_strip option to ld... yes
 checking for ANSI C header files... yes
 checking for working const... yes
 checking for mode_t... yes
 checking for off_t... yes
 checking for pid_t... yes
 checking for size_t... yes
 checking for __stdcall... yes
 checking for ssize_t... yes
 checking for st_blksize in struct stat... yes
 checking for siginfo_t... yes
 checking for int16_t... yes
 checking for int32_t... yes
 checking for int64_t... yes
 checking for int64... no
 checking for uint... yes
 checking for uint_t... no
 checking for uint16_t... no
 checking for uname.domainname... no
 checking for uname.__domainname... no
 checking for gcc c++0x headers bug without rtti... no
 checking for usable char16_t (2 bytes, unsigned)... yes
 checking for usable wchar_t (2 bytes, unsigned)... no
 checking for visibility(hidden) attribute... yes
 checking for visibility(default) attribute... yes
 checking for visibility pragma support... yes
 checking For gcc visibility bug with class-level attributes (GCC bug
 26905)... yes
 checking For x86_64 gcc visibility bug with builtins (GCC bug 20297)... no
 checking for gcc PR49911... no
 checking for __force_align_arg_pointer__ attribute... no
 checking for dirent.h that defines DIR... yes
 checking for opendir in -ldir... no
 checking for sys/byteorder.h... no
 checking for compat.h... no
 checking for getopt.h... yes
 checking for sys/bitypes.h... no
 checking for memory.h... yes
 checking for unistd.h... yes
 checking for gnu/libc-version.h... no
 checking for nl_types.h... yes
 checking for malloc.h... no
 checking for X11/XKBlib.h... no
 checking for io.h... no
 checking for sys/statvfs.h... yes
 checking for sys/statfs.h... no
 checking for sys/vfs.h... no
 checking for sys/mount.h... yes
 checking for sys/quota.h... no
 checking for sys/sysmacros.h... no
 checking for linux/quota.h... no
 checking for mmintrin.h... yes
 checking for new... yes
 checking for sys/cdefs.h... yes
 checking for gethostbyname_r in -lc_r... no
 checking for dladdr... yes
 checking for memmem... yes
 checking for socket in -lsocket... no
 checking whether clang -arch x86_64 accepts -pthread... yes
 checking whether clang -arch x86_64 needs -traditional... no
 checking for 8-bit clean memcmp... yes
 checking for random... yes
 checking for strerror... yes
 checking for lchown... yes
 checking for fchmod... yes
 checking for snprintf... yes
 checking for statvfs... yes
 checking for memmove... yes
 checking for rint... yes
 checking for stat64... yes
 checking for lstat64... yes
 checking for truncate64... no
 checking for statvfs64... no
 checking for setbuf... yes
 checking for isatty... yes
 checking for flockfile... yes
 checking for getpagesize... yes
 checking for localtime_r... yes
 checking for strtok_r... yes
 checking for clock_gettime(CLOCK_MONOTONIC) and -lrt... no
 checking for wcrtomb... yes
 checking for mbrtowc... yes
 checking for res_ninit()... no
 checking for gnu_get_libc_version()... no
 checking for nl_langinfo and CODESET... yes
 checking for an implementation of va_copy()... yes
 checking for an implementation of __va_copy()... yes
 checking whether va_lists can be copied by value... no
 checking for modern C++ template specialization syntax support... yes
 checking whether partial template specialization works... yes
 checking whether the C++ "using" keyword resolves ambiguity... yes
 checking for C++ dynamic_cast to void*... yes
 checking whether C++ requires implementation of unused virtual methods...
 yes
 checking for trouble comparing to zero near std::operator!=()... no
 checking for __thread keyword for TLS variables... no
 checking for malloc.h... (cached) no
 checking for malloc/malloc.h... yes
 checking for strndup... yes
 checking for posix_memalign... no
 checking for memalign... no
 checking for valloc... no
 checking for __attribute__((always_inline))... yes
 checking for __attribute__((malloc))... yes
 checking for __attribute__((warn_unused_result))... yes
 checking for __attribute__((noreturn))... yes
 checking for LC_MESSAGES... yes
 checking for localeconv... yes
 checking for YASM assembler... checking for yasm... yasm
 checking for application to build... browser
 checking if app-specific confvars.sh exists...
 /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/browser/confvars.sh
 checking __attribute__ ((aligned ())) support... trying 64
 64
 checking for java... /usr/bin/java
 checking for javac... /usr/bin/javac
 checking for jar... /usr/bin/jar
 checking for YASM assembler... checking for yasm... yasm
 /Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/configure: line 18575: test: :
 integer expression expected
 checking for tar archiver... checking for gnutar... gnutar
 gnutar
 checking for wget... checking for wget... wget
 wget
 checking for pkg-config... /usr/local/bin/pkg-config
 checking for conic... checking for valid optimization flags... yes
 checking size of int *... 8
 checking for __cxa_demangle... yes
 checking for unwind.h... yes
 checking for _Unwind_Backtrace... yes
 checking for gcc -pipe support... no
 checking whether C compiler supports -fprofile-generate... yes
 checking for correct overload resolution with const and templates... no
 checking what kind of list files are supported by the linker... list
 checking for glib-config... no
 checking for GLIB - version >= 1.2.0... no
 *** The glib-config script installed by GLIB could not be found
 *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
 *** your path, or set the GLIB_CONFIG environment variable to the
 *** full path to glib-config.
 checking for stdint.h... yes
 checking for inttypes.h... yes
 checking for sys/int_types.h... no
 checking for posix_fallocate... no
 arch: posix_spawnp: egrep: Bad CPU type in executable
 configure: error: Error outputting config definitions
 *** Fix above errors and then restart with               "make -f
 client.mk build"
 make[3]: *** [configure] Error 1
 make[2]: *** [/Users/macx86builder/Documents/builds/torbrowser/build-
 scripts/build/x86_64/firefox-10.0.12esr/obj-x86_64-apple-
 darwin12.2.1/Makefile] Error 2
 make[1]: *** [build] Error 2
 make: *** [build-firefox] Error 2
 }}}

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8246#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list