x86_64-pc-linux-gnu-g++ -o Intl.o -c -I./dist/system_wrappers_js -include ./config/gcc_hidden.h -DNO_NSPR_10_SUPPORT -DIMPL_MFBT -DEXPORT_JS_API -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I. -I./dist/include -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Werror=conversion-null -Wsign-compare -Wno-invalid-offsetof -Wcast-align -Werror=terminate -O2 -pipe -march=native -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -pthread -pipe -DNDEBUG -DTRIMMED -fno-omit-frame-pointer -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MP -MF .deps/Intl.o.pp /var/tmp/portage/dev-lang/spidermonkey-24.2.0-r4/work/mozjs-24.2.0/js/src/builtin/Intl.cpp /var/tmp/portage/dev-lang/spidermonkey-24.2.0-r4/work/mozjs-24.2.0/js/src/builtin/Intl.cpp: In function 'bool intl_CompareStrings(JSContext*, UCollator*, JS::HandleString, JS::HandleString, JS::MutableHandleValue)': /var/tmp/portage/dev-lang/spidermonkey-24.2.0-r4/work/mozjs-24.2.0/js/src/builtin/Intl.cpp:1001:83: error: invalid conversion from 'const jschar* {aka const short unsigned int*}' to 'const UChar* {aka const char16_t*}' [-fpermissive] CollationResult uresult = ucol_strcoll(coll, chars1, length1, chars2, length2); ^ In file included from ./dist/system_wrappers_js/unicode/ucol.h:3:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-systemd_20170527-174218 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) * [2] ruby22 (with Rubygems) java-config: The following VMs are available for generation-2:
Created attachment 475148 [details] emerge-info.txt
Created attachment 475150 [details] config.log.tbz2
Created attachment 475152 [details] dev-lang:spidermonkey-24.2.0-r4:20170603-194116.log
Created attachment 475154 [details] emerge-history.txt
Created attachment 475156 [details] environment
Created attachment 475158 [details] etc.portage.tbz2
Created attachment 477308 [details, diff] Patch to change jschar to char16_t I propose the attached patch. The issue is from a strict check on type conversion. btw, should be solved a better way.
Created attachment 477310 [details, diff] Patch to change jschar to char16_t
Created attachment 477312 [details, diff] Patch to change jschar to char16_t
Created attachment 477936 [details, diff] spidermonkey-24-Intl-cpp.patch Add explicit casts where need.
Created attachment 477940 [details, diff] spidermonkey-24-Intl-cpp.patch Fix patching root.
Please do not add us to the CC list when the bug is already assigned to us.
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team