cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
78 stars 26 forks source link

Cython - error compiling cysignals #751

Closed danalytis closed 11 months ago

danalytis commented 11 months ago

Temporary fix: downgrading to <cython-3.0 emerge -v1 "<dev-python/cython3"

Compiling src/cysignals/signals.pyx because it changed.
Compiling src/cysignals/pysignals.pyx because it changed.
Compiling src/cysignals/alarm.pyx because it changed.
Compiling src/cysignals/pselect.pyx because it changed.
Compiling src/cysignals/tests.pyx because it changed.
[1/5] Cythonizing src/cysignals/alarm.pyx
[2/5] Cythonizing src/cysignals/pselect.pyx
[3/5] Cythonizing src/cysignals/pysignals.pyx
[4/5] Cythonizing src/cysignals/signals.pyx
...
 * ERROR: dev-python/cysignals-1.11.2::sage-on-gentoo failed (compile phase):",
 *   Wheel build failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3905:  Called distutils-r1_src_compile
 *   environment, line 1874:  Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile'
 *   environment, line  722:  Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3526:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3030:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 3028:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile'
 *   environment, line 1157:  Called distutils-r1_run_phase 'distutils-r1_python_compile'
 *   environment, line 1856:  Called distutils-r1_python_compile
 *   environment, line 1675:  Called distutils_pep517_install '/var/tmp/portage/dev-python/cysignals-1.11.2/work/cysignals-1.11.2-python3_10/install'
 *   environment, line 2207:  Called die
 * The specific snippet of code:
 *       local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed");
kiwifb commented 11 months ago

Yes, I will have to block cython-3.0 everywhere. Nothing is ready for it in this overlay. Is there more to the error? It looks weird.

danalytis commented 11 months ago

Yes, I truncated the output. build log

kiwifb commented 11 months ago

The top error has an issue with its name upstream but the rest will require a lot of attention.

kiwifb commented 11 months ago

Overlay updated. All ebuilds using cython are now blocking cython-3.