Open Bug 835458 Opened 13 years ago Updated 4 years ago

make package fails - strip error (OSX 10.7.5, Clang 3.2)

Categories

(Firefox Build System :: General, defect)

x86_64
macOS
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: snovak, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130116073211 Steps to reproduce: I modified executables.py so I could see where it was failing. Here's the diff ##################################################### # Build date unification diff -r 80fed51ae074 python/mozbuild/mozpack/executables.py --- a/python/mozbuild/mozpack/executables.py Mon Jan 28 01:37:45 2013 +0100 +++ b/python/mozbuild/mozpack/executables.py Mon Jan 28 11:28:33 2013 -0600 @@ -82,7 +82,7 @@ strip = substs['STRIP'] flags = substs['STRIP_FLAGS'].split() if 'STRIP_FLAGS' in substs else [] cmd = [strip] + flags + [path] - if subprocess.call(cmd) != 0: + if subprocess.call(cmd, shell=True) != 0: errors.fatal('Error executing ' + ' '.join(cmd)) And here's my .mozconfig export PATH=/Locals/bin:$PATH export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home export DYLD_LIBRARY_PATH=/Locals/lib/:/Locals/lib/clang/3.2/lib/darwin WARN="-w" export PKG_CONFIG_PATH="/Locals/lib/pkgconfig/:/Volumes/Storage/FirefoxCompile/Libs/lib/pkgconfig/:/opt/local/lib/pkgconfig/" export CC="/Locals/bin/clang" export CXX="/Locals/bin/clang++" ######### # FLAGS # ######### FLAGS="-march=corei7-avx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mcx16 -msahf -maes -mpclmul -mpopcnt -freorder-blocks-and-partition -fomit-frame-pointer -fobj-gc -mvzeroupper -mtls-dialect=gnu2 -mtune=corei7-avx -memcpyopt -always-inline -strip-dead-prototypes" BASEDIRINC="-I/Locals/include -I/Locals/lib/clang/3.2/include" BASEDIRLIB="-L/Locals/lib -L/Locals/lib/clang/3.2/lib/darwin" export CFLAGS="$FLAGS $WARN" export CXXFLAGS="$FLAGS $WARN" export CPPFLAGS="$BASEDIRINC" export LDFLAGS="$BASEDIRLIB -Wl,-lprofile_rt" ############# # END FLAGS # ############# export FORCE_STATIC_LIB=1 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg mk_add_options MOZ_MAKE_FLAGS="-s -j4" mk_add_options AUTOCONF=autoconf213 mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py' mk_add_options PROFILE_GEN_SCRIPT_PAUSE='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/stopmsg.py' ac_add_options --enable-jemalloc ac_add_options --enable-static ac_add_options --enable-static-libs ########### # General # ########### ac_add_options --enable-strip ac_add_options --enable-strip-libs ac_add_options --enable-install-strip ac_add_options --enable-profile-guided-optimization ac_add_options --enable-application=browser ac_add_options --build=x86_64-apple-darwin11.4.2 ac_add_options --host=x86_64-apple-darwin11.4.2 ac_add_options --target=x86_64-apple-darwin11.4.2 ac_add_options --enable-default-toolket=cairo-cocoa ac_add_options --enable-optimize ########################## # Disable extra features # ########################## ac_add_options --disable-parental-controls ac_add_options --disable-accessibility ac_add_options --disable-crashreporter ac_add_options --disable-updater ac_add_options --disable-necko-wifi ac_add_options --disable-logging ############## # Test stuff # ############## ac_add_options --disable-tests ac_add_options --disable-debug-symbols ac_add_options --disable-debug ############# # Libraries # ############# ac_add_options --enable-dash ac_add_options --enable-skia ac_add_options --enable-media-navigator ac_add_options --enable-media-plugins ac_add_options --enable-egl-xrender-composite ac_add_options --enable-raw ## javascript ac_add_options --enable-threadsafe ac_add_options --enable-ctypes ac_add_options --with-pthreads ac_add_options --enable-ipv6 ac_add_options --enable-64bit ac_add_options --enable-llvm-hacks ac_add_options --with-macos-sdk="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/" Actual results: Executing /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dist/bin/xpcshell -g /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dist/Nightly.app/Contents/MacOS -a /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dist/Nightly.app/Contents/MacOS/webapprt -f /Volumes/Storage/FirefoxCompile/FirefoxNightly/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://app/"); resource://app/components/CommandLineHandler.js resource://app/components/ContentPermission.js resource://app/components/ContentPolicy.js resource://app/components/DirectoryProvider.js resource://app/modules/Startup.jsm resource://app/modules/WebappRT.jsm resource://app/modules/WebappsHandler.jsm strip: no files specified Traceback (most recent call last): File "/Volumes/Storage/FirefoxCompile/FirefoxNightly/toolkit/mozapps/installer/packager.py", line 364, in <module> main() File "/Volumes/Storage/FirefoxCompile/FirefoxNightly/toolkit/mozapps/installer/packager.py", line 358, in main copier.copy(args.destination) File "/Volumes/Storage/FirefoxCompile/FirefoxNightly/python/mozbuild/mozpack/copier.py", line 151, in copy file.copy(destfile) File "/Volumes/Storage/FirefoxCompile/FirefoxNightly/python/mozbuild/mozpack/files.py", line 145, in copy strip(dest) File "/Volumes/Storage/FirefoxCompile/FirefoxNightly/python/mozbuild/mozpack/executables.py", line 86, in strip errors.fatal('Error executing ' + ' '.join(cmd)) File "/Volumes/Storage/FirefoxCompile/FirefoxNightly/python/mozbuild/mozpack/errors.py", line 101, in fatal self._handle(self.FATAL, msg) File "/Volumes/Storage/FirefoxCompile/FirefoxNightly/python/mozbuild/mozpack/errors.py", line 96, in _handle raise ErrorMessage(msg) mozpack.errors.ErrorMessage: Error: Error executing strip -x -S ../../dist/firefox/Nightly.app/Contents/MacOS/libmozalloc.dylib gmake[4]: *** [stage-package] Error 1 gmake[4]: Leaving directory `/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/browser/installer' gmake[3]: *** [make-package] Error 2 gmake[3]: Leaving directory `/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/browser/installer' gmake[2]: *** [default] Error 2 gmake[2]: Leaving directory `/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/browser/installer' gmake[1]: *** [package] Error 2 gmake[1]: Leaving directory `/Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg' gmake: *** [profiledbuild] Error 2 Expected results: libmozalloc should have been copied and then striped.
OS: Windows 7 → Mac OS X
I just did another build with all striping disabled and the same error showed up. I checked the Nightly.app in the base of the dist folder and it had symlinks to the libraries but the Nightly in /dist/firefox doesn't have any libraries present.
"strip: no files specified" "Error executing strip -x -S ../../dist/firefox/Nightly.app/Contents/MacOS/libmozalloc.dylib" WTF? What do the following command lines say: file /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dist/Nightly.app/Contents/MacOS/libmozalloc.dylib file -L /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dist/Nightly.app/Contents/MacOS/libmozalloc.dylib
Summary: make package fails /w striping (OSX 10.7.5, Clang 3.2) → make package fails - strip error (OSX 10.7.5, Clang 3.2)
I'm not entirely sure what you're looking for but here are the ls in the two Nightly apps obj-db-ff/dist/Nightly.app/Contents/MacOS total 640 lrwxr-xr-x 1 adm staff 77 Jan 28 17:08 XUL -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/toolkit/library/XUL -rw-r--r-- 1 adm staff 599 Jan 28 16:38 application.ini -rw-r--r-- 1 adm staff 47129 Jan 28 10:40 blocklist.xml drwxr-xr-x 13 adm staff 442 Jan 28 17:08 chrome -rw-r--r-- 1 adm staff 3132 Jan 28 17:08 chrome.manifest drwxr-xr-x 323 adm staff 10982 Jan 28 17:08 components drwxr-xr-x 5 adm staff 170 Jan 28 17:08 defaults -rw-r--r-- 1 adm staff 165 Jan 28 17:08 dependentlibs.list drwxr-xr-x 4 adm staff 136 Jan 28 17:07 dictionaries drwxr-xr-x 3 adm staff 102 Jan 28 17:08 extensions -rwxr-xr-x 1 adm staff 21176 Jan 28 17:08 firefox -rwxr-xr-x 1 adm staff 21176 Jan 28 17:08 firefox-bin lrwxr-xr-x 1 adm staff 89 Jan 28 16:44 greprefs.js -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/modules/libpref/src/greprefs.js drwxr-xr-x 37 adm staff 1258 Jan 28 16:44 hyphenation lrwxr-xr-x 1 adm staff 73 Jan 28 16:40 js -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/js/src/shell/js lrwxr-xr-x 1 adm staff 80 Jan 28 16:40 js-gdb.py -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/js/src/shell/js-gdb.py lrwxr-xr-x 1 adm staff 104 Jan 28 16:44 libfreebl3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libfreebl3.dylib lrwxr-xr-x 1 adm staff 91 Jan 28 16:38 libmozalloc.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/memory/mozalloc/libmozalloc.dylib lrwxr-xr-x 1 adm staff 88 Jan 28 16:38 libmozglue.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/mozglue/build/libmozglue.dylib lrwxr-xr-x 1 adm staff 92 Jan 28 16:43 libmozsqlite3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/db/sqlite3/src/libmozsqlite3.dylib lrwxr-xr-x 1 adm staff 89 Jan 28 16:38 libnspr4.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/nsprpub/pr/src/./libnspr4.dylib lrwxr-xr-x 1 adm staff 101 Jan 28 16:44 libnss3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libnss3.dylib lrwxr-xr-x 1 adm staff 104 Jan 28 16:44 libnssckbi.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libnssckbi.dylib lrwxr-xr-x 1 adm staff 104 Jan 28 16:44 libnssdbm3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libnssdbm3.dylib lrwxr-xr-x 1 adm staff 105 Jan 28 16:44 libnssutil3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libnssutil3.dylib lrwxr-xr-x 1 adm staff 94 Jan 28 16:38 libplc4.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/nsprpub/lib/libc/src/./libplc4.dylib lrwxr-xr-x 1 adm staff 89 Jan 28 16:38 libplds4.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/nsprpub/lib/ds/./libplds4.dylib lrwxr-xr-x 1 adm staff 115 Jan 28 16:55 libplugin_child_interpose.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/dom/plugins/ipc/interpose/libplugin_child_interpose.dylib lrwxr-xr-x 1 adm staff 103 Jan 28 16:44 libsmime3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libsmime3.dylib lrwxr-xr-x 1 adm staff 105 Jan 28 16:44 libsoftokn3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libsoftokn3.dylib lrwxr-xr-x 1 adm staff 101 Jan 28 16:44 libssl3.dylib -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/build/../../dist/lib/libssl3.dylib -rw-r--r-- 1 adm staff 20848 Jan 28 17:08 libxpcom.dylib lrwxr-xr-x 1 adm staff 98 Jan 28 16:44 mangle -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/nss/cmd/shlibsign/mangle/mangle drwxr-xr-x 142 adm staff 4828 Jan 28 17:08 modules lrwxr-xr-x 1 adm staff 81 Jan 28 16:38 nsinstall -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/js/src/config/nsinstall lrwxr-xr-x 1 adm staff 82 Jan 28 17:07 platform.ini -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/toolkit/xre/platform.ini drwxr-xr-x 3 adm staff 102 Jan 28 17:08 plugin-container.app drwxr-xr-x 35 adm staff 1190 Jan 28 17:06 res lrwxr-xr-x 1 adm staff 72 Jan 28 16:38 run-mozilla.sh -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/build/unix/run-mozilla.sh drwxr-xr-x 9 adm staff 306 Jan 28 17:08 searchplugins lrwxr-xr-x 1 adm staff 94 Jan 28 16:44 shlibsign -> /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/security/nss/cmd/shlibsign/shlibsign drwxr-xr-x 9 adm staff 306 Jan 28 17:08 webapprt -rwxr-xr-x 1 adm staff 31624 Jan 28 17:08 webapprt-stub -rwxr-xr-x 1 adm staff 57556 Jan 28 17:08 xpcshell obj-db-ff/dist/firefox/Nightly.app/Contents/MacOS total 18832 -rw-r--r-- 1 adm staff 40 Jan 28 17:16 chrome.manifest drwxr-xr-x 3 adm staff 102 Jan 28 17:16 components -rw-r--r-- 1 adm staff 165 Jan 28 17:08 dependentlibs.list drwxr-xr-x 4 adm staff 136 Jan 28 17:16 dictionaries -rw-r--r-- 1 adm staff 9631768 Jan 28 17:16 omni.ja drwxr-xr-x 9 adm staff 306 Jan 28 17:16 searchplugins drwxr-xr-x 3 adm staff 102 Jan 28 17:16 webapprt I think this may be related to http://bugzilla.mozilla.org/show_bug.cgi?id=780561 as some kind of artifact of the overhaul to the packager. I have tried manually copying libraries into place for /dist/firefox/Nightly.app but they were deleted when I ran make package again.
Does /Volumes/Storage/FirefoxCompile/FirefoxNightly/obj-ff-dbg/memory/mozalloc/libmozalloc.dylib exist?
It did but for some reason it had a size of 0. I cleared out obj-db-ff and am running another build (gmake -f client.mk profiledbuild); I'll report back the size again when the compile is finish before and after I run "make package".
I received the same failure as before Here's the ls -l of memory/mozalloc -rw-r--r-- 1 adm staff 1961 Jan 29 09:22 Makefile -rwxr-xr-x 1 adm staff 9660 Jan 29 11:50 libmozalloc.dylib -rw-r--r-- 1 adm staff 2464 Jan 29 09:22 mozalloc.i_o -rw-r--r-- 1 adm staff 960 Jan 29 09:22 mozalloc_abort.i_o -rw-r--r-- 1 adm staff 1036 Jan 29 09:22 mozalloc_oom.i_o
I just did another build using the same .mozconfig using an older version of the repo: changeset: 115504:99c2b5cf341c tag: tip user: Gregory Szorc <gps@mozilla.com> date: Mon Dec 10 11:23:35 2012 -0800 summary: Bug 820060 - Fix mach crashtest; r=Ms2ger The make package succeeded And here's something that happens in the old repo that doesn't happen in the new one when packaging: make[2]: Nothing to be done for `export'. make libs make make-package-internal /Volumes/Storage/FirefoxCompile/taco/obj-ff-dbg/_virtualenv/bin/python /Volumes/Storage/FirefoxCompile/taco/config/Preprocessor.py -DNO_NSPR_10_SUPPORT -DAB_CD=en-US -DMOZ_APP_NAME=firefox -DPREF_DIR=defaults/pref -DJAREXT= -DMOZ_CHILD_PROCESS_NAME=plugin-container -DMOZ_SHARED_MOZGLUE=1 -DMOZ_JSDEBUGGER -DDLL_PREFIX=lib -DDLL_SUFFIX=.dylib -DBIN_SUFFIX= -DAPPNAME=Nightly.app -DBINPATH=/Nightly.app/Contents/MacOS -DHAVE_64BIT_OS=1 -DJSGC_INCREMENTAL=1 -DMOZ_ENABLE_PROFILER_SPS=1 -DMOZILLA_VERSION=\"20.0a1\" -DMOZILLA_VERSION_U=20.0a1 -DMOZILLA_UAVERSION=\"20.0\" -DXP_MACOSX=1 -DXP_DARWIN=1 -DD_INO=d_ino -DSTDC_HEADERS=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 -DHAVE_MEMMEM=1 -DFUNCPROTO=15 -DHAVE_LIBXSS=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 -DHAVE_VA_LIST_AS_ARRAY=1 -DMALLOC_H=\<malloc/malloc.h\> -DHAVE_STRNDUP=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DMOZ_PHOENIX=1 -DMOZ_BUILD_APP=browser -DMOZ_WIDGET_COCOA=1 -DMOZ_INSTRUMENT_EVENT_LOOP=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DIBMBIDI=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_WEBRTC=1 -DMOZ_WEBRTC_SIGNALING=1 -DMOZ_PEERCONNECTION=1 -DMOZ_SCTP=1 -DMOZ_SRTP=1 -DMO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-DMOZ_PLACES=1 -DMOZ_SERVICES_AITC=1 -DMOZ_SERVICES_COMMON=1 -DMOZ_SERVICES_CRYPTO=1 -DMOZ_SERVICES_METRICS=1 -DMOZ_SERVICES_NOTIFICATIONS=1 -DMOZ_SERVICES_SYNC=1 -DMOZ_MACBUNDLE_ID=org.mozilla.nightly -DMOZ_B2G_VERSION=\"1.0.0\" -DMOZ_B2G_OS_NAME=\"\" -DMOZ_APP_UA_NAME=\"\" -DMOZ_APP_UA_VERSION=\"20.0a1\" -DFIREFOX_VERSION=20.0a1 -DMOZ_UA_BUILDID=\"\" -DMOZ_TELEMETRY_DISPLAY_REV=2 -DMOZ_DLL_SUFFIX=\".dylib\" -DXP_UNIX=1 /Volumes/Storage/FirefoxCompile/taco/browser/installer/package-manifest.in > package-manifest cat /Volumes/Storage/FirefoxCompile/taco/browser/installer/removed-files.in | \ sed -e 's/^[ \t]*//' | \ /Volumes/Storage/FirefoxCompile/taco/obj-ff-dbg/_virtualenv/bin/python /Volumes/Storage/FirefoxCompile/taco/config/Preprocessor.py -Fsubstitution -DNO_NSPR_10_SUPPORT -DAB_CD=en-US -DMOZ_APP_NAME=firefox -DPREF_DIR=defaults/pref -DJAREXT= -DMOZ_CHILD_PROCESS_NAME=plugin-container -DMOZ_SHARED_MOZGLUE=1 -DMOZ_JSDEBUGGER -DDLL_PREFIX=lib -DDLL_SUFFIX=.dylib -DBIN_SUFFIX= -DAPPNAME=Nightly.app -DBINPATH=/Nightly.app/Contents/MacOS -DHAVE_64BIT_OS=1 -DJSGC_INCREMENTAL=1 -DMOZ_ENABLE_PROFILER_SPS=1 -DMOZILLA_VERSION=\"20.0a1\" -DMOZILLA_VERSION_U=20.0a1 -DMOZILLA_UAVERSION=\"20.0\" -DXP_MACOSX=1 -DXP_DARWIN=1 -DD_INO=d_ino -DSTDC_HEADERS=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 -DHAVE_MEMMEM=1 -DFUNCPROTO=15 -DHAVE_LIBXSS=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 -DHAVE_VA_LIST_AS_ARRAY=1 -DMALLOC_H=\<malloc/malloc.h\> -DHAVE_STRNDUP=1 -DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1 -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DMOZ_PHOENIX=1 -DMOZ_BUILD_APP=browser -DMOZ_WIDGET_COCOA=1 -DMOZ_INSTRUMENT_EVENT_LOOP=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DIBMBIDI=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_WEBRTC=1 -DMOZ_WEBRTC_SIGNALING=1 -DMOZ_PEERCONNEC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=1 -DMOZ_PROFILELOCKING=1 -DBUILD_CTYPES=1 -DMOZ_PLACES=1 -DMOZ_SERVICES_AITC=1 -DMOZ_SERVICES_COMMON=1 -DMOZ_SERVICES_CRYPTO=1 -DMOZ_SERVICES_METRICS=1 -DMOZ_SERVICES_NOTIFICATIONS=1 -DMOZ_SERVICES_SYNC=1 -DMOZ_MACBUNDLE_ID=org.mozilla.nightly -DMOZ_B2G_VERSION=\"1.0.0\" -DMOZ_B2G_OS_NAME=\"\" -DMOZ_APP_UA_NAME=\"\" -DMOZ_APP_UA_VERSION=\"20.0a1\" -DFIREFOX_VERSION=20.0a1 -DMOZ_UA_BUILDID=\"\" -DMOZ_TELEMETRY_DISPLAY_REV=2 -DMOZ_DLL_SUFFIX=\".dylib\" -DXP_UNIX=1 > removed-files Creating package directory... if ! test -d ../../dist/firefox ; then \ mkdir ../../dist/firefox; \ fi rm -f -rf ../../dist/xpt ../../dist/manifests /opt/local/bin/perl5 -I/Volumes/Storage/FirefoxCompile/taco/toolkit/mozapps/installer -e 'use Packager; Packager::Copy( "/Volumes/Storage/FirefoxCompile/taco/obj-ff-dbg/browser/installer/../../dist", "/Volumes/Storage/FirefoxCompile/taco/obj-ff-dbg/browser/installer/../../dist/firefox", "package-manifest", "unix", 1,1, 0, 1);' Nightly.app/Contents/Info.plist Nightly.app/Contents/PkgInfo document.icns
Can you try instrumenting BaseFile.copy in python/mozbuild/mozpack/files.py, trying to determine what it does for libmozalloc.dylib?
I'm not sure how exactly I'd go about doing that; python isn't one of my strengths. Is there a specific list of files that get passed into that script?
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: