[Bug 283562] filesystems/darling-dmg: Fails to build with ICU 76.1
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 283562] filesystems/darling-dmg: Fails to build with ICU 76.1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jan 2025 21:53:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283562
--- Comment #5 from Martin Filla <freebsd@sysctl.cz> ---
(In reply to Daniel Engberg from comment #4)
I tested the icu patch and i have an issue.
/usr/local/include/unicode/uversion.h:167:11: warning: nested namespace
definition is a C++17 extension; define each namespace separately
[-Wc++17-extensions]
167 | namespace U_HEADER_ONLY_NAMESPACE {}
| ^
/usr/local/include/unicode/uversion.h:165:48: note: expanded from macro
'U_HEADER_ONLY_NAMESPACE'
165 | #define U_HEADER_ONLY_NAMESPACE
U_ICU_NAMESPACE::U_HEADER_NESTED_NAMESPACE
| ^
In file included from
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/unichar.cpp:3:
In file included from /usr/local/include/unicode/unistr.h:37:
/usr/local/include/unicode/char16ptr.h:316:16: warning: variable templates are
a C++14 extension [-Wc++14-extensions]
316 | constexpr bool ConvertibleToU16StringView =
| ^
/usr/local/include/unicode/char16ptr.h:317:10: error: no template named
'is_convertible_v' in namespace 'std'; did you mean 'is_convertible'?
317 | std::is_convertible_v<T, std::u16string_view>
| ~~~~~^~~~~~~~~~~~~~~~
| is_convertible
/usr/include/c++/v1/__type_traits/is_convertible.h:30:29: note:
'is_convertible' declared here
30 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public
integral_constant<bool, __is_convertible(_T1, _T2)> {};
| ^
In file included from
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/unichar.cpp:3:
In file included from /usr/local/include/unicode/unistr.h:37:
/usr/local/include/unicode/char16ptr.h:324:5: error: expected '(' for
function-style cast or type construction
317 | std::is_convertible_v<T, std::u16string_view>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
318 | #if !U_CHAR16_IS_TYPEDEF && (!defined(_LIBCPP_VERSION) ||
_LIBCPP_VERSION < 180000)
319 | || std::is_convertible_v<T, std::basic_string_view<uint16_t>>
320 | #endif
321 | #if U_SIZEOF_WCHAR_T==2
322 | || std::is_convertible_v<T, std::wstring_view>
323 | #endif
324 | ;
| ^
/usr/local/include/unicode/char16ptr.h:360:36: error: no type named
'enable_if_t' in namespace 'std'
360 | typename = typename
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/unicode/char16ptr.h:360:47: error: expected ',' or '>' in
template-parameter-list
360 | typename = typename
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
| ^
/usr/local/include/unicode/char16ptr.h:360:93: error: expected unqualified-id
360 | typename = typename
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
|
^
/usr/local/include/unicode/char16ptr.h:370:36: error: no type named
'enable_if_t' in namespace 'std'
370 | typename = typename
std::enable_if_t<std::is_pointer_v<std::remove_reference_t<T>>>,
| ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/unicode/char16ptr.h:370:47: error: expected ',' or '>' in
template-parameter-list
370 | typename = typename
std::enable_if_t<std::is_pointer_v<std::remove_reference_t<T>>>,
| ^
/usr/local/include/unicode/char16ptr.h:370:92: error: expected unqualified-id
370 | typename = typename
std::enable_if_t<std::is_pointer_v<std::remove_reference_t<T>>>,
|
^
In file included from
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/unichar.cpp:3:
In file included from /usr/local/include/unicode/unistr.h:40:
/usr/local/include/unicode/stringpiece.h:134:29: error: no template named
'enable_if_t' in namespace 'std'
134 | typename = std::enable_if_t<
| ~~~~~^
/usr/local/include/unicode/stringpiece.h:135:23: error: no template named
'is_same_v' in namespace 'std'; did you mean 'is_same'?
135 | (std::is_same_v<decltype(T().data()), const char*>
| ~~~~~^~~~~~~~~
| is_same
/usr/include/c++/v1/__type_traits/is_same.h:22:29: note: 'is_same' declared
here
22 | struct _LIBCPP_TEMPLATE_VIS is_same : _BoolConstant<__is_same(_Tp,
_Up)> {};
| ^
In file included from
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/unichar.cpp:3:
In file included from /usr/local/include/unicode/unistr.h:40:
/usr/local/include/unicode/stringpiece.h:140:17: error: use of address-of-label
extension outside of a function body
140 | std::is_same_v<decltype(T().size()), size_t>>>
| ^
/usr/local/include/unicode/stringpiece.h:140:62: error: expected member name or
';' after declaration specifiers
140 | std::is_same_v<decltype(T().size()), size_t>>>
| ^
In file included from
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/unichar.cpp:3:
/usr/local/include/unicode/unistr.h:346:40: error: no template named
'enable_if_t' in namespace 'std'
346 | template<typename S, typename =
std::enable_if_t<ConvertibleToU16StringView<S>>>
| ~~~~~^
/usr/local/include/unicode/unistr.h:381:40: error: no template named
'enable_if_t' in namespace 'std'
381 | template<typename S, typename =
std::enable_if_t<ConvertibleToU16StringView<S>>>
| ~~~~~^
/usr/local/include/unicode/unistr.h:1959:40: error: no template named
'enable_if_t' in namespace 'std'
1959 | template<typename S, typename =
std::enable_if_t<ConvertibleToU16StringView<S>>>
| ~~~~~^
/usr/local/include/unicode/unistr.h:2226:40: error: no template named
'enable_if_t' in namespace 'std'
2226 | template<typename S, typename =
std::enable_if_t<ConvertibleToU16StringView<S>>>
| ~~~~~^
/usr/local/include/unicode/unistr.h:2299:40: error: no template named
'enable_if_t' in namespace 'std'
2299 | template<typename S, typename =
std::enable_if_t<ConvertibleToU16StringView<S>>>
| ~~~~~^
/usr/local/include/unicode/unistr.h:3273:40: error: no template named
'enable_if_t' in namespace 'std'
3273 | template<typename S, typename =
std::enable_if_t<ConvertibleToU16StringView<S>>>
| ~~~~~^
/usr/local/include/unicode/unistr.h:3599:40: error: no template named
'enable_if_t' in namespace 'std'
3599 | template<typename S, typename =
std::enable_if_t<ConvertibleToU16StringView<S>>>
| ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
[ 11% 13/26] /usr/bin/c++ -D_FILE_OFFSET_BITS=64 -Ddmg_EXPORTS
-I/usr/local/include -I/usr/local/include/libxml2 -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -std=c++11 -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT
CMakeFiles/dmg.dir/src/Reader.cpp.o -MF CMakeFiles/dmg.dir/src/Reader.cpp.o.d
-o CMakeFiles/dmg.dir/src/Reader.cpp.o -c
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/Reader.cpp
[ 15% 13/26] /usr/bin/c++ -D_FILE_OFFSET_BITS=64 -Ddmg_EXPORTS
-I/usr/local/include -I/usr/local/include/libxml2 -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -std=c++11 -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT
CMakeFiles/dmg.dir/src/FileReader.cpp.o -MF
CMakeFiles/dmg.dir/src/FileReader.cpp.o.d -o
CMakeFiles/dmg.dir/src/FileReader.cpp.o -c
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/FileReader.cpp
[ 19% 13/26] /usr/bin/c++ -D_FILE_OFFSET_BITS=64 -Ddmg_EXPORTS
-I/usr/local/include -I/usr/local/include/libxml2 -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -std=c++11 -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -DNDEBUG -fPIC -MD -MT
CMakeFiles/dmg.dir/src/HFSCatalogBTree.cpp.o -MF
CMakeFiles/dmg.dir/src/HFSCatalogBTree.cpp.o.d -o
CMakeFiles/dmg.dir/src/HFSCatalogBTree.cpp.o -c
/wrkdirs/usr/ports/filesystems/darling-dmg/work/darling-dmg-a36bf0c/src/HFSCatalogBTree.cpp
--
You are receiving this mail because:
You are the assignee for the bug.