-------- Messaggio originale --------
19/06/25 01:44, Conrad Knight <[email protected]> ha scritto:
> I noticed recently that econnman has stopped working. I get the following
> error:
>
> $ econnman-bin
> Traceback (most recent call last):
> File "/usr/bin/econnman-bin", line 18, in <module>
> import efl.evas as evas
> ModuleNotFoundError: No module named 'efl'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "/usr/bin/econnman-bin", line 45, in <module>
> import elementary as elm
> ModuleNotFoundError: No module named 'elementary'
>
> It looks like python has recently been updated from 3.12 to 3.13 and
> the python-efl files are all in /usr/lib/python3.12/site-packages/
>
> No problem, i'll just rebuild and reinstall python-efl, right?
> However, the latest version i can find on AUR is 1.26, and my efl is
> 1.28.99.67167.gc75195b2fc-1
>
> Trying to build python-efl 1.26 gives errors:
>
> efl/eo/efl.eo.c: In function ‘__pyx_tp_dealloc_3efl_2eo_Eo’:
> efl/eo/efl.eo.c:5443:104: error: implicit declaration of function
> ‘_PyGC_FINALIZED’ [-Wimplicit-function-declaration]
> 5443 | f (unlikely(PyType_HasFeature(Py_TYPE(o),
> Py_TPFLAGS_HAVE_FINALIZE) && Py_TYPE(o)->tp_finalize) &&
> !_PyGC_FINALIZED(o)) {
> |
> ^~~~~~~~~~~~~~~
> efl/eo/efl.eo.c: In function ‘__Pyx_PyInt_As_int’:
> efl/eo/efl.eo.c:9221:27: error: too few arguments to function
> ‘_PyLong_AsByteArray’; expected 6, have 5
> 9221 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
> | ^~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/python3.13/longobject.h:107,
> from /usr/include/python3.13/Python.h:81,
> from efl/eo/efl.eo.c:38:
> /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
> 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
> | ^~~~~~~~~~~~~~~~~~~
> efl/eo/efl.eo.c: In function ‘__Pyx_PyInt_As_long’:
> efl/eo/efl.eo.c:9493:27: error: too few arguments to function
> ‘_PyLong_AsByteArray’; expected 6, have 5
> 9493 | int ret = _PyLong_AsByteArray((PyLongObject *)v,
> | ^~~~~~~~~~~~~~~~~~~
> /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
> 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
> | ^~~~~~~~~~~~~~~~~~~
> error: command '/usr/bin/gcc' failed with exit code 1
> ==> ERROR: A failure occurred in build().
> Aborting...
>
> I noticed there's a git version of python-efl in AUR as well,
> python-efl-git 1.26.99a1261.gc8d7bdd-1, so I tried that. That has a
> dependency for cpython, so I installed that first. But attempting to
> build this version then gives me the following error:
>
> ==> Starting build()...
> Python-EFL: 1.26.99a1261
> Checking for Python: OK, found 3.13.3
> Checking for Cython: too new! Found 3.1.2 (need at most 0.99.99)
This last error Is your issue: you need Cython 2.x to build pyefl
> ==> ERROR: A failure occurred in build().
> Aborting...
>
> Any ideas where to get a working python-efl, or any other way to get
> econnman working again?
>
> Thanks,
> -Conrad.
>
> PS: git.enlightenment.org has an anti-bot feature that seems to be WAY
> over-cautious. It takes me almost a minute to pass the checks, with my
> CPU pegged the whole time!
>
>
> --
> Shine like thunder
> Cry like rain
>
>
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users