DEBUG: Executing shell function do_compile
* Getting build dependencies for wheel...
<string>:56: DeprecationWarning: Use shutil.which instead of find_executable
TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
(running 'icu-config --version')
(running 'pkg-config --modversion icu-i18n')

Building pyicu 2.15.1 for ICU 76.1 (max ICU major version supported: 77)

(running 'pkg-config --cflags icu-i18n')
(running 'pkg-config --libs icu-i18n')
Adding LFLAGS="-licui18n" from TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/bin/pkg-config
running egg_info
writing py/pyicu.egg-info/PKG-INFO
writing dependency_links to py/pyicu.egg-info/dependency_links.txt
writing top-level names to py/pyicu.egg-info/top_level.txt
reading manifest file 'py/pyicu.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'py/pyicu.egg-info/SOURCES.txt'
* Building wheel...
<string>:56: DeprecationWarning: Use shutil.which instead of find_executable
TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
  warnings.warn(msg)
TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'tests_require'
  warnings.warn(msg)
TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()
(running 'icu-config --version')
(running 'pkg-config --modversion icu-i18n')

Building pyicu 2.15.1 for ICU 76.1 (max ICU major version supported: 77)

(running 'pkg-config --cflags icu-i18n')
(running 'pkg-config --libs icu-i18n')
Adding LFLAGS="-licui18n" from TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/bin/pkg-config
running bdist_wheel
running build
running build_py
running build_ext
building 'icu._icu_' extension
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/pyicu-2.15.1=/usr/src/debug/python3-icu/2.15.1 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/pyicu-2.15.1=/usr/src/debug/python3-icu/2.15.1 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -ITOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot/usr/include/python3.13 -c _icu_.cpp -o build/temp.linux-x86_64-cpython-313/_icu_.o -std=c++17 -DPYICU_VER=\"2.15.1\" -DPYICU_ICU_MAX_VER=\"77\"
x86_64-oe-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/pyicu-2.15.1=/usr/src/debug/python3-icu/2.15.1 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/pyicu-2.15.1=/usr/src/debug/python3-icu/2.15.1 -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -ITOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot/usr/include/python3.13 -c bases.cpp -o build/temp.linux-x86_64-cpython-313/bases.o -std=c++17 -DPYICU_VER=\"2.15.1\" -DPYICU_ICU_MAX_VER=\"77\"
In file included from bases.cpp:32:
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:859:1: note: in expansion of macro '_IS_POD'
  859 | _IS_POD(AnyPythonObject);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:860:1: note: in expansion of macro '_IS_POD'
  860 | _IS_POD(Boolean);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:861:1: note: in expansion of macro '_IS_POD'
  861 | _IS_POD(BooleanArray);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:862:1: note: in expansion of macro '_IS_POD'
  862 | _IS_POD(BooleanStrict);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:863:1: note: in expansion of macro '_IS_POD'
  863 | _IS_POD(BytesToCStringAndSize);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:864:1: note: in expansion of macro '_IS_POD'
  864 | _IS_POD(CString);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:865:1: note: in expansion of macro '_IS_POD'
  865 | _IS_POD(Date);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:866:1: note: in expansion of macro '_IS_POD'
  866 | _IS_POD(DateExact);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:867:1: note: in expansion of macro '_IS_POD'
  867 | _IS_POD(Double);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:868:1: note: in expansion of macro '_IS_POD'
  868 | _IS_POD(DoubleArray);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:869:1: note: in expansion of macro '_IS_POD'
  869 | _IS_POD(ICUObject<UObject>);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:870:1: note: in expansion of macro '_IS_POD'
  870 | _IS_POD(ICUObjectArray<UObject>);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:871:1: note: in expansion of macro '_IS_POD'
  871 | _IS_POD(ICUObjectValueArray<UObject>);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:872:1: note: in expansion of macro '_IS_POD'
  872 | _IS_POD(Int);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:873:1: note: in expansion of macro '_IS_POD'
  873 | _IS_POD(IntArray);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:874:1: note: in expansion of macro '_IS_POD'
  874 | _IS_POD(Long);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:876:1: note: in expansion of macro '_IS_POD'
  876 | _IS_POD(PythonBytes);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:877:1: note: in expansion of macro '_IS_POD'
  877 | _IS_POD(PythonCallable);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:878:1: note: in expansion of macro '_IS_POD'
  878 | _IS_POD(PythonObject);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:879:1: note: in expansion of macro '_IS_POD'
  879 | _IS_POD(SavedICUObject<UObject>);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:880:1: note: in expansion of macro '_IS_POD'
  880 | _IS_POD(SavedString);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:881:1: note: in expansion of macro '_IS_POD'
  881 | _IS_POD(String);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:882:1: note: in expansion of macro '_IS_POD'
  882 | _IS_POD(StringOrUnicodeToFSCharsArg);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:883:1: note: in expansion of macro '_IS_POD'
  883 | _IS_POD(StringOrUnicodeToUtf8CharsArg);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:884:1: note: in expansion of macro '_IS_POD'
  884 | _IS_POD(StringOrUnicodeToUtf8CharsArgArray);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:885:1: note: in expansion of macro '_IS_POD'
  885 | _IS_POD(UnicodeStringAndPythonObject);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:886:1: note: in expansion of macro '_IS_POD'
  886 | _IS_POD(UnicodeStringArg);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:887:1: note: in expansion of macro '_IS_POD'
  887 | _IS_POD(UnicodeStringArray);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:888:1: note: in expansion of macro '_IS_POD'
  888 | _IS_POD(UnicodeStringNew);
      | ^~~~~~~
arg.h:856:37: error: static assertion failed
  856 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:889:1: note: in expansion of macro '_IS_POD'
  889 | _IS_POD(UnicodeStringRef);
      | ^~~~~~~
error: command 'TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/temp/run.do_compile.1832576:158 exit 1 from 'nativepython3 -m build --no-isolation --wheel --outdir TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/dist TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/pyicu-2.15.1'
WARNING: Backtrace (BB generated script): 
	#1: python_pep517_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/temp/run.do_compile.1832576, line 158
	#2: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/temp/run.do_compile.1832576, line 153
	#3: main, TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15.1/temp/run.do_compile.1832576, line 169

Error details

Submitted on:
25/04/25 04:34
Error type:
Recipe
Task:
do_compile
Recipe:
python3-icu
Recipe version:
2.15.1-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
5fe4c252e8731ac38b14e1cdf74f2c27de46f547
Build:
#205123
Submitter:
Martin.Jansa@gmail.com
Similar errors:
5
Open a bug