* Package: sci-astronomy/pyephem-4.1.3:0 * Repository: gentoo * Maintainer: sci-astronomy@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pyephem-4.1.3.gh.tar.gz to /var/tmp/portage/sci-astronomy/pyephem-4.1.3/work >>> Source unpacked in /var/tmp/portage/sci-astronomy/pyephem-4.1.3/work >>> Preparing source in /var/tmp/portage/sci-astronomy/pyephem-4.1.3/work/pyephem-4.1.3 ... * Build system packages: * dev-python/gpep517 : 9 * dev-python/installer : 0.5.1-r1 * dev-python/setuptools : 65.4.1 * dev-python/setuptools_scm : 7.0.5 * dev-python/wheel : 0.37.1-r1 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-astronomy/pyephem-4.1.3/work/pyephem-4.1.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-astronomy/pyephem-4.1.3/work/pyephem-4.1.3 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py build_ext -j 4 running build_ext building 'ephem._libastro' extension creating build creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/extensions creating build/temp.linux-x86_64-cpython-310/extensions/data creating build/temp.linux-x86_64-cpython-310/libastro clang -Wno-unused-result -Wsign-compare -DNDEBUG -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Ilibastro -I. -I/usr/include/python3.10 -c extensions/_libastro.c -o build/temp.linux-x86_64-cpython-310/extensions/_libastro.o -ffloat-store clang-15: warning: optimization flag '-ffloat-store' is not supported [-Wignored-optimization-argument] extensions/_libastro.c:183:36: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Py_ssize_t item_length = PyUnicode_GET_SIZE(item); ^ /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op) : \ ^ /usr/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ extensions/_libastro.c:183:36: warning: 'PyUnicode_AsUnicode' is deprecated [-Wdeprecated-declarations] Py_ssize_t item_length = PyUnicode_GET_SIZE(item); ^ /usr/include/python3.10/cpython/unicodeobject.h:262:14: note: expanded from macro 'PyUnicode_GET_SIZE' ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ ^ /usr/include/python3.10/cpython/unicodeobject.h:580:1: note: 'PyUnicode_AsUnicode' has been explicitly marked deprecated here Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( ^ /usr/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ extensions/_libastro.c:183:36: warning: '_PyUnicode_get_wstr_length' is deprecated [-Wdeprecated-declarations] Py_ssize_t item_length = PyUnicode_GET_SIZE(item); ^ /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: expanded from macro 'PyUnicode_GET_SIZE' PyUnicode_WSTR_LENGTH(op))) ^ /usr/include/python3.10/cpython/unicodeobject.h:451:35: note: expanded from macro 'PyUnicode_WSTR_LENGTH' #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) ^ /usr/include/python3.10/cpython/unicodeobject.h:445:1: note: '_PyUnicode_get_wstr_length' has been explicitly marked deprecated here Py_DEPRECATED(3.3) ^ /usr/include/python3.10/pyport.h:513:54: note: expanded from macro 'Py_DEPRECATED' #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) ^ extensions/_libastro.c:375:6: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'int (PyObject *, FILE *, int)' (aka 'int (struct _object *, struct _IO_FILE *, int)') [-Wint-conversion] Angle_print, /* tp_print */ ^~~~~~~~~~~ extensions/_libastro.c:672:6: error: incompatible pointer to integer conversion initializing 'Py_ssize_t' (aka 'long') with an expression of type 'int (PyObject *, FILE *, int)' (aka 'int (struct _object *, struct _IO_FILE *, int)') [-Wint-conversion] Date_print, /* tp_print */ ^~~~~~~~~~ 3 warnings and 2 errors generated. error: command '/usr/lib/llvm/15/bin/clang' failed with exit code 1 * ERROR: sci-astronomy/pyephem-4.1.3::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3468: Called distutils-r1_src_compile * environment, line 1611: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 737: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3147: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2640: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2638: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1064: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1593: Called distutils-r1_python_compile * environment, line 1392: Called esetup.py 'build_ext' '-j' '4' * environment, line 2179: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=sci-astronomy/pyephem-4.1.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-astronomy/pyephem-4.1.3::gentoo'`. * The complete build log is located at '/var/log/portage/sci-astronomy:pyephem-4.1.3:20221003-051942.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-astronomy/pyephem-4.1.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-astronomy/pyephem-4.1.3/temp/environment'. * Working directory: '/var/tmp/portage/sci-astronomy/pyephem-4.1.3/work/pyephem-4.1.3' * S: '/var/tmp/portage/sci-astronomy/pyephem-4.1.3/work/pyephem-4.1.3'