Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2017 17:38:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222428] lang/swift: fails to build with ICU 59.1
Message-ID:  <bug-222428-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 222428
           Summary: lang/swift: 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: swills@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 218788
          Assignee: swills@FreeBSD.org
             Flags: maintainer-feedback?(swills@FreeBSD.org)

/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/stdlib/public/stubs/Un=
icodeNormalization.cpp:97:11:
error: no matching function for call to 'ucol_openElements'
          ucol_openElements(Collator, Buffer, 1, &ErrorCode);
          ^~~~~~~~~~~~~~~~~
/usr/local/include/unicode/ucoleitr.h:113:1: note: candidate function not
viable: no known conversion from 'uint16_t [1]' to 'const UChar *' (aka 'co=
nst
char16_t *') for 2nd argument
ucol_openElements(const UCollator  *coll,
^
/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/stdlib/public/stubs/Un=
icodeNormalization.cpp:138:10:
error: no matching function for call to 'ucol_strcoll'
  return ucol_strcoll(GetRootCollator(),
         ^~~~~~~~~~~~
/usr/local/include/unicode/ucol.h:560:1: note: candidate function not viabl=
e:
no known conversion from 'const uint16_t * _Nonnull' (aka 'const unsigned s=
hort
*') to 'const UChar *' (aka 'const char16_t *') for 2nd argument
ucol_strcoll(    const    UCollator    *coll,
^
/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/stdlib/public/stubs/Un=
icodeNormalization.cpp:163:3:
error: no matching function for call to 'uiter_setString'
  uiter_setString(&RightIterator, RightString, RightLength);
  ^~~~~~~~~~~~~~~
/usr/local/include/unicode/uiter.h:594:1: note: candidate function not viab=
le:
no known conversion from 'const uint16_t * _Nonnull' (aka 'const unsigned s=
hort
*') to 'const UChar *' (aka 'const char16_t *') for 2nd argument
uiter_setString(UCharIterator *iter, const UChar *s, int32_t length);
^
/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/stdlib/public/stubs/Un=
icodeNormalization.cpp:207:43:
error: no matching function for call to 'ucol_openElements'
  UCollationElements *CollationIterator =3D ucol_openElements(
                                          ^~~~~~~~~~~~~~~~~
/usr/local/include/unicode/ucoleitr.h:113:1: note: candidate function not
viable: no known conversion from 'const __swift_uint16_t * _Nonnull' (aka
'const unsigned short *') to 'const UChar *' (aka 'const char16_t *') for 2=
nd
argument
ucol_openElements(const UCollator  *coll,
^
/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/stdlib/public/stubs/Un=
icodeNormalization.cpp:254:27:
error: no matching function for call to 'u_strToUpper'
  uint32_t OutputLength =3D u_strToUpper(Destination, DestinationCapacity,
                          ^~~~~~~~~~~~
/usr/local/include/unicode/ustring.h:1083:1: note: candidate function not
viable: no known conversion from 'uint16_t * _Nonnull' (aka 'unsigned short=
 *')
to 'UChar *' (aka 'char16_t *') for 1st argument
u_strToUpper(UChar *dest, int32_t destCapacity,
^
/wrkdirs/usr/ports/lang/swift/work/swift-3.1.1/swift/stdlib/public/stubs/Un=
icodeNormalization.cpp:281:27:
error: no matching function for call to 'u_strToLower'
  uint32_t OutputLength =3D u_strToLower(Destination, DestinationCapacity,
                          ^~~~~~~~~~~~
/usr/local/include/unicode/ustring.h:1109:1: note: candidate function not
viable: no known conversion from 'uint16_t * _Nonnull' (aka 'unsigned short=
 *')
to 'UChar *' (aka 'char16_t *') for 1st argument
u_strToLower(UChar *dest, int32_t destCapacity,
^

http://package18.nyi.freebsd.org/data/110amd64-default-PR218788/2017-09-18_=
05h19m21s/logs/errors/swift-3.1.1_1.log


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-222428-13>