MidnightBSD Magus

devel/py-pyicu

Python extension wrapping IBM's ICU C++ API

Flavor Version Run OSVersion Arch License Restricted Status
py311 2.4.3_2 625 4.0 amd64 mit 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2026-01-01 17:09:52.498252 Test Started
m4064b fail 2026-01-01 17:10:43.209061 make build returned non-zero: 1
m4064b fail 2026-01-01 17:10:43.276027 Test complete.

Log

===>  Building for py311-pyicu-2.4.3_2
(running 'icu-config --version')

Building PyICU 2.4.3 for ICU 76.1

running build
running build_py
creating build
creating build/lib.midnightbsd-4.0-amd64-cpython-311
copying PyICU.py -> build/lib.midnightbsd-4.0-amd64-cpython-311
creating build/lib.midnightbsd-4.0-amd64-cpython-311/icu
copying icu/__init__.py -> build/lib.midnightbsd-4.0-amd64-cpython-311/icu
running build_ext
building '_icu' extension
creating build/temp.midnightbsd-4.0-amd64-cpython-311
cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -w -DPYICU_VER=2.4.3 -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include -I/usr/local/include/python3.11 -c _icu.cpp -o build/temp.midnightbsd-4.0-amd64-cpython-311/_icu.o -O2 -pipe -w -DPYICU_VER=\"2.4.3\" -fstack-protector-strong -fno-strict-aliasing -std=c++11 -DPYICU_VER=\"2.4.3\"
In file included from _icu.cpp:27:
In file included from ./common.h:106:
In file included from /usr/local/include/unicode/unistr.h:37:
/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
      |     ~~~~~^~~~~~~~~~~~~~~~
      |          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 {};
      |                             ^
In file included from _icu.cpp:27:
In file included from ./common.h:106:
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
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  318 | #if !U_CHAR16_IS_TYPEDEF && (!defined(_LIBCPP_VERSION) || _LIBCPP_VERSION < 180000)
  319 |     || std::is_convertible_v>
  320 | #endif
  321 | #if U_SIZEOF_WCHAR_T==2
  322 |     || std::is_convertible_v
  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>>>
      |                      ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/unicode/char16ptr.h:360:47: error: expected ',' or '>' in template-parameter-list
  360 |           typename = typename std::enable_if_t>>>
      |                                               ^
/usr/local/include/unicode/char16ptr.h:360:93: error: expected unqualified-id
  360 |           typename = typename std::enable_if_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>>,
      |                      ~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/local/include/unicode/char16ptr.h:370:47: error: expected ',' or '>' in template-parameter-list
  370 |           typename = typename std::enable_if_t>>,
      |                                               ^
/usr/local/include/unicode/char16ptr.h:370:92: error: expected unqualified-id
  370 |           typename = typename std::enable_if_t>>,
      |                                                                                            ^
In file included from _icu.cpp:27:
In file included from ./common.h:106:
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
      |                  ~~~~~^~~~~~~~~
      |                       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 _icu.cpp:27:
In file included from ./common.h:106:
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>>
      |                 ^
/usr/local/include/unicode/stringpiece.h:140:62: error: expected member name or ';' after declaration specifiers
  140 |                 std::is_same_v>>
      |                                                              ^
In file included from _icu.cpp:27:
In file included from ./common.h:106:
/usr/local/include/unicode/unistr.h:346:40: error: no template named 'enable_if_t' in namespace 'std'
  346 |   template>>
      |                                   ~~~~~^
/usr/local/include/unicode/unistr.h:381:40: error: no template named 'enable_if_t' in namespace 'std'
  381 |   template>>
      |                                   ~~~~~^
/usr/local/include/unicode/unistr.h:1959:40: error: no template named 'enable_if_t' in namespace 'std'
 1959 |   template>>
      |                                   ~~~~~^
/usr/local/include/unicode/unistr.h:2226:40: error: no template named 'enable_if_t' in namespace 'std'
 2226 |   template>>
      |                                   ~~~~~^
/usr/local/include/unicode/unistr.h:2299:40: error: no template named 'enable_if_t' in namespace 'std'
 2299 |   template>>
      |                                   ~~~~~^
/usr/local/include/unicode/unistr.h:3273:40: error: no template named 'enable_if_t' in namespace 'std'
 3273 |   template>>
      |                                   ~~~~~^
/usr/local/include/unicode/unistr.h:3599:40: error: no template named 'enable_if_t' in namespace 'std'
 3599 |   template>>
      |                                   ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1

Stop.
make: stopped in /usr/mports/devel/py-pyicu

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis