[Bug 222270] java/openjfx8-devel: fails to build with ICU 59.1

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 12 21:36:46 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222270

            Bug ID: 222270
           Summary: java/openjfx8-devel: fails to build with ICU 59.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tobik at freebsd.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 218788
             Flags: maintainer-feedback?(tobik at freebsd.org)
          Assignee: tobik at freebsd.org

modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:40:13:
error: no matching function for call to 'create'
    return &OpaqueJSString::create(chars, numChars).leakRef();
            ^~~~~~~~~~~~~~~~~~~~~~
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:48:32:
note: candidate function not viable: no known conversion from 'const JSChar *'
(aka 'const unsigned short *') to 'const LChar *' (aka 'const unsigned char *')
for 1st argument
    static Ref<OpaqueJSString> create(const LChar* characters, unsigned length)
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:53:32:
note: candidate function not viable: no known conversion from 'const JSChar *'
(aka 'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for
1st argument
    static Ref<OpaqueJSString> create(const UChar* characters, unsigned length)
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:43:32:
note: candidate function not viable: requires 0 arguments, but 2 were provided
    static Ref<OpaqueJSString> create()
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:58:53:
note: candidate function not viable: requires 1 argument, but 2 were provided
    JS_EXPORT_PRIVATE static RefPtr<OpaqueJSString> create(const String&);
                                                    ^
modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:65:35:
error: no matching function for call to 'createWithoutCopying'
    return OpaqueJSString::create(StringImpl::createWithoutCopying(chars,
numChars)).leakRef();
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
modules/web/src/main/native/Source/WTF/wtf/text/StringImpl.h:385:50: note:
candidate function not viable: no known conversion from 'const JSChar *' (aka
'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for 1st
argument
    WTF_EXPORT_STRING_API static Ref<StringImpl> createWithoutCopying(const
UChar* characters, unsigned length);
                                                 ^
modules/web/src/main/native/Source/WTF/wtf/text/StringImpl.h:386:50: note:
candidate function not viable: no known conversion from 'const JSChar *' (aka
'const unsigned short *') to 'const LChar *' (aka 'const unsigned char *') for
1st argument
    WTF_EXPORT_STRING_API static Ref<StringImpl> createWithoutCopying(const
LChar* characters, unsigned length);
                                                 ^
modules/web/src/main/native/Source/JavaScriptCore/API/JSStringRef.cpp:90:12:
error: cannot initialize return object of type 'const JSChar *' (aka 'const
unsigned short *') with an rvalue of type 'const UChar *' (aka 'const char16_t
*')
    return string->characters();
           ^~~~~~~~~~~~~~~~~~~~

build log: http://sprunge.us/aJiW


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218788
[Bug 218788] devel/icu: Update to 59.1
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list