Public bug reported:

https://launchpadlibrarian.net/769109580/buildlog_ubuntu-plucky-
amd64.php8.3_8.3.11-0ubuntu3_BUILDING.txt.gz

Lots of errors like this:
In file included from /usr/include/unicode/unistr.h:37,
                 from /<<PKGBUILDDIR>>/ext/intl/intl_convertcpp.h:22,
                 from /<<PKGBUILDDIR>>/ext/intl/intl_convertcpp.cpp:17:
/usr/include/unicode/char16ptr.h:317:10: error: ‘is_convertible_v’ is not a 
member of ‘std’
  317 |     std::is_convertible_v<T, std::u16string_view>
      |          ^~~~~~~~~~~~~~~~
/usr/include/unicode/char16ptr.h:317:28: error: expected primary-expression 
before ‘,’ token
  317 |     std::is_convertible_v<T, std::u16string_view>
      |                            ^
/usr/include/unicode/char16ptr.h:331:13: error: ‘u16string_view’ in namespace 
‘std’ does not name a type
  331 | inline std::u16string_view toU16StringView(std::u16string_view sv) { 
return sv; }
      |             ^~~~~~~~~~~~~~
/usr/include/unicode/char16ptr.h:339:13: error: ‘u16string_view’ in namespace 
‘std’ does not name a type
  339 | inline std::u16string_view 
toU16StringView(std::basic_string_view<uint16_t> sv) {
      |             ^~~~~~~~~~~~~~
/usr/include/unicode/char16ptr.h:360:36: error: ‘enable_if_t’ in namespace 
‘std’ does not name a template type
  360 |           typename = typename 
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
      |                                    ^~~~~~~~~~~
/usr/include/unicode/char16ptr.h:360:36: note: ‘std::enable_if_t’ is only 
available from C++14 onwards
/usr/include/unicode/char16ptr.h:360:47: error: expected ‘>’ before ‘<’ token
  360 |           typename = typename 
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
      |                                               ^
/usr/include/unicode/char16ptr.h:361:13: error: ‘u16string_view’ in namespace 
‘std’ does not name a type
  361 | inline std::u16string_view toU16StringViewNullable(const T& text) {
      |             ^~~~~~~~~~~~~~


Got a tip from doko: "yes, see the icu tracker. needs a build with
-std=c++17"

** Affects: php8.3 (Ubuntu)
     Importance: High
         Status: New


** Tags: ftbfs

** Description changed:

  https://launchpadlibrarian.net/769109580/buildlog_ubuntu-plucky-
  amd64.php8.3_8.3.11-0ubuntu3_BUILDING.txt.gz
  
- 
  Lots of errors like this:
  In file included from /usr/include/unicode/unistr.h:37,
-                  from /<<PKGBUILDDIR>>/ext/intl/intl_convertcpp.h:22,
-                  from /<<PKGBUILDDIR>>/ext/intl/intl_convertcpp.cpp:17:
+                  from /<<PKGBUILDDIR>>/ext/intl/intl_convertcpp.h:22,
+                  from /<<PKGBUILDDIR>>/ext/intl/intl_convertcpp.cpp:17:
  /usr/include/unicode/char16ptr.h:317:10: error: ‘is_convertible_v’ is not a 
member of ‘std’
-   317 |     std::is_convertible_v<T, std::u16string_view>
-       |          ^~~~~~~~~~~~~~~~
+   317 |     std::is_convertible_v<T, std::u16string_view>
+       |          ^~~~~~~~~~~~~~~~
  /usr/include/unicode/char16ptr.h:317:28: error: expected primary-expression 
before ‘,’ token
-   317 |     std::is_convertible_v<T, std::u16string_view>
-       |                            ^
+   317 |     std::is_convertible_v<T, std::u16string_view>
+       |                            ^
  /usr/include/unicode/char16ptr.h:331:13: error: ‘u16string_view’ in namespace 
‘std’ does not name a type
-   331 | inline std::u16string_view toU16StringView(std::u16string_view sv) { 
return sv; }
-       |             ^~~~~~~~~~~~~~
+   331 | inline std::u16string_view toU16StringView(std::u16string_view sv) { 
return sv; }
+       |             ^~~~~~~~~~~~~~
  /usr/include/unicode/char16ptr.h:339:13: error: ‘u16string_view’ in namespace 
‘std’ does not name a type
-   339 | inline std::u16string_view 
toU16StringView(std::basic_string_view<uint16_t> sv) {
-       |             ^~~~~~~~~~~~~~
+   339 | inline std::u16string_view 
toU16StringView(std::basic_string_view<uint16_t> sv) {
+       |             ^~~~~~~~~~~~~~
  /usr/include/unicode/char16ptr.h:360:36: error: ‘enable_if_t’ in namespace 
‘std’ does not name a template type
-   360 |           typename = typename 
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
-       |                                    ^~~~~~~~~~~
+   360 |           typename = typename 
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
+       |                                    ^~~~~~~~~~~
  /usr/include/unicode/char16ptr.h:360:36: note: ‘std::enable_if_t’ is only 
available from C++14 onwards
  /usr/include/unicode/char16ptr.h:360:47: error: expected ‘>’ before ‘<’ token
-   360 |           typename = typename 
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
-       |                                               ^
+   360 |           typename = typename 
std::enable_if_t<!std::is_pointer_v<std::remove_reference_t<T>>>>
+       |                                               ^
  /usr/include/unicode/char16ptr.h:361:13: error: ‘u16string_view’ in namespace 
‘std’ does not name a type
-   361 | inline std::u16string_view toU16StringViewNullable(const T& text) {
-       |             ^~~~~~~~~~~~~~
+   361 | inline std::u16string_view toU16StringViewNullable(const T& text) {
+       |             ^~~~~~~~~~~~~~
+ 
+ 
+ Got a tip from doko: "yes, see the icu tracker. needs a build with
+ -std=c++17"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2093277

Title:
  FTBFS: error: ‘is_convertible_v’ is not a member of ‘std’

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php8.3/+bug/2093277/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to