Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 21:36:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222270] java/openjfx8-devel: fails to build with ICU 59.1
Message-ID:  <bug-222270-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222270

            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@freebsd.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 218788
             Flags: maintainer-feedback?(tobik@freebsd.org)
          Assignee: tobik@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:3=
2:
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 len=
gth)
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:53:3=
2:
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 len=
gth)
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:43:3=
2:
note: candidate function not viable: requires 0 arguments, but 2 were provi=
ded
    static Ref<OpaqueJSString> create()
                               ^
modules/web/src/main/native/Source/JavaScriptCore/API/OpaqueJSString.h:58:5=
3:
note: candidate function not viable: requires 1 argument, but 2 were provid=
ed
    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 *' (a=
ka
'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for 1=
st
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 *' (a=
ka
'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 char1=
6_t
*')
    return string->characters();
           ^~~~~~~~~~~~~~~~~~~~

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


Referenced Bugs:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222270-13>