The current python-efl doesn't seem to build against python3, if its as simple as the substitution gcc suggests I can probably make a patch for us in openSUSE.
[ 119s] gcc -pthread -DNDEBUG -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DOPENSSL_LOAD_CONF -fwrapv -Wno-declaration-after-statement -fPIC -g -DEFL_BETA_API_SUPPORT=1 -DEFL_EO_API_SUPPORT=1 -Iinclude/ -I/usr/include/python3.7m -c efl/eo/efl.eo.c -o build/temp.linux-x86_64-3.7/efl/eo/efl.eo.o -I/usr/include/eo-1 -I/usr/include/eina-1/eina -I/usr/include/eina-1 -I/usr/include/efl-1 -Wno-deprecated-declarations -Wno-unused-variable -Wno-format-security [ 120s] In file included from /usr/include/eina-1/Eina.h:226, [ 120s] from efl/eo/efl.eo.c:280: [ 120s] /usr/include/eina-1/eina/eina_module.h:232:2: warning: ignoring attribute ‘malloc’ because it conflicts with attribute ‘pure’ [-Wattributes] [ 120s] eina_module_symbol_path_get(const void *symbol, const char *sub_dir) EINA_PURE EINA_MALLOC EINA_ARG_NONNULL(1, 2); [ 120s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 120s] /usr/include/eina-1/eina/eina_module.h:249:2: warning: ignoring attribute ‘malloc’ because it conflicts with attribute ‘pure’ [-Wattributes] [ 120s] eina_module_environment_path_get(const char *env, const char *sub_dir) EINA_PURE EINA_MALLOC EINA_ARG_NONNULL(1, 2); [ 120s] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 120s] efl/eo/efl.eo.c: In function ‘__Pyx_ExceptionSave’: [ 120s] efl/eo/efl.eo.c:5662:21: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? [ 120s] *type = tstate->exc_type; [ 120s] ^~~~~~~~ [ 120s] curexc_type [ 120s] efl/eo/efl.eo.c:5663:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? [ 120s] *value = tstate->exc_value; [ 120s] ^~~~~~~~~ [ 120s] curexc_value [ 120s] efl/eo/efl.eo.c:5664:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? [ 120s] *tb = tstate->exc_traceback; [ 120s] ^~~~~~~~~~~~~ [ 120s] curexc_traceback [ 120s] efl/eo/efl.eo.c: In function ‘__Pyx_ExceptionReset’: [ 120s] efl/eo/efl.eo.c:5676:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? [ 120s] tmp_type = tstate->exc_type; [ 120s] ^~~~~~~~ [ 120s] curexc_type [ 120s] efl/eo/efl.eo.c:5677:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? [ 120s] tmp_value = tstate->exc_value; [ 120s] ^~~~~~~~~ [ 120s] curexc_value [ 120s] efl/eo/efl.eo.c:5678:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? [ 120s] tmp_tb = tstate->exc_traceback; [ 120s] ^~~~~~~~~~~~~ [ 120s] curexc_traceback [ 120s] efl/eo/efl.eo.c:5679:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? [ 120s] tstate->exc_type = type; [ 120s] ^~~~~~~~ [ 120s] curexc_type [ 120s] efl/eo/efl.eo.c:5680:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? [ 120s] tstate->exc_value = value; [ 120s] ^~~~~~~~~ [ 120s] curexc_value [ 120s] efl/eo/efl.eo.c:5681:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? [ 120s] tstate->exc_traceback = tb; [ 120s] ^~~~~~~~~~~~~ [ 120s] curexc_traceback [ 120s] efl/eo/efl.eo.c: In function ‘__Pyx_GetException’: [ 120s] efl/eo/efl.eo.c:5724:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? [ 120s] tmp_type = tstate->exc_type; [ 120s] ^~~~~~~~ [ 120s] curexc_type [ 120s] efl/eo/efl.eo.c:5725:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? [ 120s] tmp_value = tstate->exc_value; [ 120s] ^~~~~~~~~ [ 120s] curexc_value [ 120s] efl/eo/efl.eo.c:5726:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? [ 120s] tmp_tb = tstate->exc_traceback; [ 120s] ^~~~~~~~~~~~~ [ 120s] curexc_traceback [ 120s] efl/eo/efl.eo.c:5727:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’? [ 120s] tstate->exc_type = local_type; [ 120s] ^~~~~~~~ [ 120s] curexc_type [ 120s] efl/eo/efl.eo.c:5728:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’? [ 120s] tstate->exc_value = local_value; [ 120s] ^~~~~~~~~ [ 120s] curexc_value [ 120s] efl/eo/efl.eo.c:5729:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’? [ 120s] tstate->exc_traceback = local_tb; [ 120s] ^~~~~~~~~~~~~ [ 120s] curexc_traceback [ 120s] error: command 'gcc' failed with exit status 1 [ 120s] error: Bad exit status from /var/tmp/rpm-tmp.UcyQRq (%build)