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/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/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/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 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/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/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/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/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 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/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/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -ITOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/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\" -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/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15=/usr/src/debug/python3-icu/2.15 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -ITOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/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\" -DPYICU_ICU_MAX_VER=\"77\"
In file included from bases.cpp:32:
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:840:1: note: in expansion of macro '_IS_POD'
  840 | _IS_POD(AnyPythonObject);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:841:1: note: in expansion of macro '_IS_POD'
  841 | _IS_POD(Boolean);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:842:1: note: in expansion of macro '_IS_POD'
  842 | _IS_POD(BooleanArray);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:843:1: note: in expansion of macro '_IS_POD'
  843 | _IS_POD(BooleanStrict);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:844:1: note: in expansion of macro '_IS_POD'
  844 | _IS_POD(BytesToCStringAndSize);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:845:1: note: in expansion of macro '_IS_POD'
  845 | _IS_POD(CString);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:846:1: note: in expansion of macro '_IS_POD'
  846 | _IS_POD(Date);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:847:1: note: in expansion of macro '_IS_POD'
  847 | _IS_POD(DateExact);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:848:1: note: in expansion of macro '_IS_POD'
  848 | _IS_POD(Double);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:849:1: note: in expansion of macro '_IS_POD'
  849 | _IS_POD(DoubleArray);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:850:1: note: in expansion of macro '_IS_POD'
  850 | _IS_POD(ICUObject<UObject>);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:851:1: note: in expansion of macro '_IS_POD'
  851 | _IS_POD(ICUObjectArray<UObject>);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:852:1: note: in expansion of macro '_IS_POD'
  852 | _IS_POD(ICUObjectValueArray<UObject>);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:853:1: note: in expansion of macro '_IS_POD'
  853 | _IS_POD(Int);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:854:1: note: in expansion of macro '_IS_POD'
  854 | _IS_POD(IntArray);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:855:1: note: in expansion of macro '_IS_POD'
  855 | _IS_POD(Long);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:857:1: note: in expansion of macro '_IS_POD'
  857 | _IS_POD(PythonBytes);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:858:1: note: in expansion of macro '_IS_POD'
  858 | _IS_POD(PythonCallable);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:859:1: note: in expansion of macro '_IS_POD'
  859 | _IS_POD(PythonObject);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:860:1: note: in expansion of macro '_IS_POD'
  860 | _IS_POD(SavedICUObject<UObject>);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:861:1: note: in expansion of macro '_IS_POD'
  861 | _IS_POD(SavedString);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:862:1: note: in expansion of macro '_IS_POD'
  862 | _IS_POD(String);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:863:1: note: in expansion of macro '_IS_POD'
  863 | _IS_POD(StringOrUnicodeToFSCharsArg);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:864:1: note: in expansion of macro '_IS_POD'
  864 | _IS_POD(StringOrUnicodeToUtf8CharsArg);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:865:1: note: in expansion of macro '_IS_POD'
  865 | _IS_POD(StringOrUnicodeToUtf8CharsArgArray);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:866:1: note: in expansion of macro '_IS_POD'
  866 | _IS_POD(UnicodeStringAndPythonObject);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:867:1: note: in expansion of macro '_IS_POD'
  867 | _IS_POD(UnicodeStringArg);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:868:1: note: in expansion of macro '_IS_POD'
  868 | _IS_POD(UnicodeStringArray);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:869:1: note: in expansion of macro '_IS_POD'
  869 | _IS_POD(UnicodeStringNew);
      | ^~~~~~~
arg.h:837:37: error: static assertion failed
  837 |   static_assert(std::is_trivial<T>::value);             \
      |                 ~~~~~~~~~~~~~~~~~~~~^~~~~
arg.h:870:1: note: in expansion of macro '_IS_POD'
  870 | _IS_POD(UnicodeStringRef);
      | ^~~~~~~
error: command 'TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/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/temp/run.do_compile.790140:158 exit 1 from 'nativepython3 -m build --no-isolation --wheel --outdir TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/dist TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/pyicu-2.15'
WARNING: Backtrace (BB generated script): 
	#1: python_pep517_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/temp/run.do_compile.790140, line 158
	#2: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/temp/run.do_compile.790140, line 153
	#3: main, TOPDIR/tmp/work/core2-64-oe-linux/python3-icu/2.15/temp/run.do_compile.790140, line 169

Error details

Submitted on:
22/04/25 13:20
Error type:
Recipe
Task:
do_compile
Recipe:
python3-icu
Recipe version:
2.15-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:
d8f7d9321a95ee69cc93591fb6798b7482480ad7
Build:
#205104
Submitter:
Martin.Jansa@gmail.com
Similar errors:
4
Open a bug