Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #10153

Closed (moved)
Open
Opened Nov 13, 2013 by Georg Koppen@gk

Gitian is often hanging while building Firefox on Mac OS X

To keep our own sanity and that of people that like to help us building TBB the Gitian way we should make sure the Firefox build for Mac OS X is not hanging anymore (so often). The last output in the build log before the freeze is usually (at least for me) something like:

/home/ubuntu/build/x-tools/x86_64-apple-darwin10/bin/x86_64-apple-darwin10-strip -x -S firefox
/home/ubuntu/build/tor-browser/obj-macos/config/nsinstall -t -m 755 "firefox" "../../dist/bin"
cp -p firefox ../../dist/bin/firefox-bin
/home/ubuntu/build/tor-browser/obj-macos/config/nsinstall -t -m 644 /home/ubuntu/build/tor-browser/browser/app/profile/prefs.js ../../dist/bin/browser/defaults/profile
/home/ubuntu/build/tor-browser/obj-macos/config/nsinstall -D ../../dist/bin/defaults/pref
/home/ubuntu/build/tor-browser/obj-macos/_virtualenv/bin/python /home/ubuntu/build/tor-browser/config/Preprocessor.py  -DCROSS_COMPILE=1 -DX_DISPLAY_MISSING=1 -DJSGC_INCREMENTAL=1 -DMOZ_ENABLE_PROFILER_SPS=1 -DMOZILLA_VERSION=\"24.1.0\" -DMOZILLA_VERSION_U=24.1.0 -DMOZILLA_UAVERSION=\"24.0\" -DXP_MACOSX=1 -DXP_DARWIN=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_STDCALL=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_UINT=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_CPUID_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_SIN_LEN=1 -DHAVE_SCONN_LEN=1 -DHAVE_SIN6_LEN=1 -DHAVE_SA_LEN=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLADDR=1 -DNO_X11=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_SETBUF=1 -DHAVE_ISATTY=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DMALLOC_H=\<malloc/malloc.h\> -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DRELEASE_BUILD=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_GOOGLE_API_KEY=no-google-api-key -DEARLY_BETA_OR_EARLIER=1 -DMOZ_PHOENIX=1 -DMOZ_BUILD_APP=browser -DMOZ_WIDGET_COCOA=1 -DMOZ_INSTRUMENT_EVENT_LOOP=1 -DMOZ_OFFICIAL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1 -DMOZ_SERVICES_HEALTHREPORT=1 -DMOZ_SERVICES_METRICS=1 -DMOZ_SERVICES_SYNC=1 -DMOZ_MACBUNDLE_ID=org.mozilla.torbrowser -DMOZ_B2G_VERSION=\"1.0.0\" -DMOZ_B2G_OS_NAME=\"\" -DMOZ_APP_UA_NAME=\"\" -DMOZ_APP_UA_VERSION=\"24.1.0\" -DFIREFOX_VERSION=24.1.0 -DMOZ_UA_BUILDID=\"20100101\" -DMOZ_TELEMETRY_DISPLAY_REV=2 -DMOZ_DATA_REPORTING=1 -DMOZ_DLL_SUFFIX=\".dylib\" -DXP_UNIX=1 /home/ubuntu/build/tor-browser/browser/app/profile/channel-prefs.js > ../../dist/bin/defaults/pref/channel-prefs.js
/home/ubuntu/build/tor-browser/obj-macos/config/nsinstall -t -m 644 /home/ubuntu/build/tor-browser/browser/app/blocklist.xml ../../dist/bin/browser
mkdir -p ../../dist/TorBrowser.app/Contents/MacOS
mkdir -p ../../dist/TorBrowser.app/Contents/Resources/en.lproj
rsync -a --exclude "*.in" /home/ubuntu/build/tor-browser/browser/app/macbuild/Contents ../../dist/TorBrowser.app --exclude English.lproj
rsync -a --exclude "*.in" /home/ubuntu/build/tor-browser/browser/app/macbuild/Contents/Resources/English.lproj/ ../../dist/TorBrowser.app/Contents/Resources/en.lproj
sed -e "s/%APP_VERSION%/24.1.0/" -e "s/%MAC_APP_NAME%/TorBrowser/" -e "s/%MOZ_MACBUNDLE_ID%/org.mozilla.torbrowser/" -e "s/%MAC_BUNDLE_VERSION%/2400.1.1/" /home/ubuntu/build/tor-browser/browser/app/macbuild/Contents/Info.plist.in > ../../dist/TorBrowser.app/Contents/Info.plist
sed -e "s/%MAC_APP_NAME%/TorBrowser/" /home/ubuntu/build/tor-browser/browser/app/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | iconv -f UTF-8 -t UTF-16 > ../../dist/TorBrowser.app/Contents/Resources/en.lproj/InfoPlist.strings
rsync -a ../../dist/bin/ ../../dist/TorBrowser.app/Contents/MacOS
rm -f ../../dist/TorBrowser.app/Contents/MacOS/firefox
rsync -aL firefox ../../dist/TorBrowser.app/Contents/MacOS
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#10153