You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to build Servo on Mac OS X 10.11.1. Mach fails to build when it reaches the mozjs_sys crate.
Possibly similar to the second part of this document: issue?
Mach output:
--- stderr
makefile.cargo:58: Extraneous text after `else' directive
/Users/harrisongould/Documents/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure: line 1665: /Users/harrisongould/Documents/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/../../python/mozbuild/mozbuild/milestone.py: Permission denied
/Users/harrisongould/Documents/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure: line 1666: /Users/harrisongould/Documents/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/../../python/mozbuild/mozbuild/milestone.py: Permission denied
/Users/harrisongould/Documents/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/configure: line 1667: /Users/harrisongould/Documents/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/../../python/mozbuild/mozbuild/milestone.py: Permission denied
Reticulating splines...
Finished reading 34 moz.build files in 0.05s
Processed into 108 build config descriptors in 0.03s
Backend executed in 0.18s
80 total backend files; 0 created; 0 updated; 80 unchanged; 0 deleted; 10 -> 20 Makefile
Total wall time: 0.30s; CPU time: 0.18s; Efficiency: 59%; Untracked: 0.05s
make[5]: warning: -jN forced in submake: disabling jobserver mode.
ld: warning: ld: warning: ld: warning: ld: warning: ignoring file ../../lib/libicutu.a, file was built for archive which is not the architecture being linked (x86_64): ../../lib/libicutu.aignoring file ../../lib/libicuuc.a, file was built for archive which is not the architecture being linked (x86_64): ../../lib/libicuuc.aignoring file ../../lib/libicui18n.a, file was built for archive which is not the architecture being linked (x86_64): ../../lib/libicui18n.aignoring file ../../stubdata/libicudata.a, file was built for archive which is not the architecture being linked (x86_64): ../../stubdata/libicudata.a
Undefined symbols for architecture x86_64:
"_T_FileStream_close", referenced from:
_readFile in makeconv.o
"_T_FileStream_open", referenced from:
_readFile in makeconv.o
"_T_FileStream_readLine", referenced from:
_readFile in makeconv.o
"_findBasename", referenced from:
_main in makeconv.o
"_getLongPathname", referenced from:
_main in makeconv.o
"_u_errorName_52", referenced from:
_main in makeconv.o
"_u_getDataDirectory_52", referenced from:
_main in makeconv.o
"_u_getVersion_52", referenced from:
_main in makeconv.o
"_u_parseArgs", referenced from:
_main in makeconv.o
"_u_skipWhitespace", referenced from:
_readFile in makeconv.o
"_u_strFromUTF32_52", referenced from:
_generateToUTable in gencnvex.o
"_ucm_checkBaseExt", referenced from:
_main in makeconv.o
"_ucm_checkValidity", referenced from:
_main in makeconv.o
"_ucm_close", referenced from:
_main in makeconv.o
"_ucm_countChars", referenced from:
_main in makeconv.o
MBCSIsValid(NewConverter*, unsigned char const*, int) in genmbcs.o
"_ucm_findFallback", referenced from:
MBCSAddToUnicode(MBCSData*, unsigned char const*, int, int, signed char) in genmbcs.o
"_ucm_moveMappings", referenced from:
_main in makeconv.o
"_ucm_open", referenced from:
_readFile in makeconv.o
"_ucm_optimizeStates", referenced from:
MBCSAddTable(NewConverter*, UCMTable*, UConverterStaticData*) in genmbcs.o
"_ucm_parseBytes", referenced from:
_readFile in makeconv.o
"_ucm_parseHeaderLine", referenced from:
_readFile in makeconv.o
"_ucm_printMapping", referenced from:
_CnvExtAddTable in gencnvex.o
_generateToUTable in gencnvex.o
_generateFromUTable in gencnvex.o
"_ucm_processStates", referenced from:
_readFile in makeconv.o
"_ucm_readTable", referenced from:
_readFile in makeconv.o
"_ucm_sortTable", referenced from:
_main in makeconv.o
"_udata_create", referenced from:
_main in makeconv.o
"_udata_finish", referenced from:
_main in makeconv.o
"_udata_writeBlock", referenced from:
_main in makeconv.o
MBCSWrite(NewConverter*, UConverterStaticData const*, UNewDataMemory*, int) in genmbcs.o
_CnvExtWrite in gencnvex.o
"_uprv_free_52", referenced from:
MBCSClose(NewConverter*) in genmbcs.o
_CnvExtClose in gencnvex.o
"_uprv_isInvariantString_52", referenced from:
_main in makeconv.o
"_uprv_malloc_52", referenced from:
_MBCSOpen in genmbcs.o
MBCSAddTable(NewConverter*, UCMTable*, UConverterStaticData*) in genmbcs.o
_CnvExtOpen in gencnvex.o
"_uprv_stricmp_52", referenced from:
_main in makeconv.o
"_utm_alloc", referenced from:
_CnvExtAddTable in gencnvex.o
_CnvExtWrite in gencnvex.o
"_utm_allocN", referenced from:
_generateToUTable in gencnvex.o
_getFromUBytesValue in gencnvex.o
_generateFromUTable in gencnvex.o
"_utm_close", referenced from:
_CnvExtClose in gencnvex.o
"_utm_countItems", referenced from:
_CnvExtAddTable in gencnvex.o
_CnvExtWrite in gencnvex.o
_generateToUTable in gencnvex.o
_getFromUBytesValue in gencnvex.o
_generateFromUTable in gencnvex.o
"_utm_getStart", referenced from:
_CnvExtWrite in gencnvex.o
"_utm_open", referenced from:
_CnvExtAddTable in gencnvex.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[7]: *** [../../bin/makeconv] Error 1
make[6]: *** [all-recursive] Error 2
make[5]: *** [all-recursive] Error 2
make[4]: *** [buildicu] Error 2
make[3]: *** [config/external/icu/target] Error 2
make[2]: *** [compile] Error 2
make[1]: *** [default] Error 2
make: *** [all] Error 2
thread '<main>' panicked at 'assertion failed: result.success()', /Users/harrisongould/Documents/servo/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/build.rs:17
The text was updated successfully, but these errors were encountered:
Looks like ld: warning: ld: warning: ld: warning: ld: warning: ignoring file ../../lib/libicutu.a, file was built for archive which is not the architecture being linked (x86_64): ../../lib/libicutu.aignoring file ../../lib/libicuuc.a, file was built for archive which is not the architecture being linked (x86_64): ../../lib/libicuuc.aignoring file ../../lib/libicui18n.a, file was built for archive which is not the architecture being linked (x86_64): ../../lib/libicui18n.aignoring file ../../stubdata/libicudata.a, file was built for archive which is not the architecture being linked (x86_64): ../../stubdata/libicudata.a is the culprit. I assume this is a 32 bit build?
The machine I'm attempting to build Servo on is 64 bit so I'm unsure why it would be attempting to build for a 32 bit target, but I guess it's possible.
This is an earlier piece of Mach's output for this crate:
checking host system type... x86_64-apple-darwin15.0.0
checking target system type... x86_64-apple-darwin15.0.0
checking build system type... x86_64-apple-darwin15.0.0
Attempting to build Servo on Mac OS X 10.11.1. Mach fails to build when it reaches the
mozjs_sys
crate.Possibly similar to the second part of this document: issue?
Mach output:
The text was updated successfully, but these errors were encountered: