Skip to content

编译报错 #13868

@chaoyinsu1023

Description

@chaoyinsu1023

详细叙述

同样的环境,1小时前还好好的

重复 issue

  • 没有类似的 issue

具体型号

N1

详细日志

plugins/python/profiler.c: In function 'uwsgi_python_tracer':
plugins/python/profiler.c:71:140: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'}
71 | uwsgi_log("[uWSGI Python profiler %llu] file %s line %d: %s argc:%d\n", (unsigned long long)delta, PyString_AsString(frame->f_code->co_filename), PyFrame_GetLineNumber(frame), PyString_AsString(frame->f_code->co_name), frame->f_code->co_argcount);
| ^~
plugins/python/profiler.c:71:217: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'}
71 | uwsgi_log("[uWSGI Python profiler %llu] file %s line %d: %s argc:%d\n", (unsigned long long)delta, PyString_AsString(frame->f_code->co_filename), PyFrame_GetLineNumber(frame), PyString_AsString(frame->f_code->co_name), frame->f_code->co_argcount);
| ^~
plugins/python/profiler.c:71:242: error: invalid use of incomplete typedef 'PyFrameObject' {aka 'struct _frame'}
71 | uwsgi_log("[uWSGI Python profiler %llu] file %s line %d: %s argc:%d\n", (unsigned long long)delta, PyString_AsString(frame->f_code->co_filename), PyFrame_GetLineNumber(frame), PyString_AsString(frame->f_code->co_name), frame->f_code->co_argcount);
| ^~
*** unable to build python plugin ***
make[3]: *** [Makefile:170: /home/daniel/lede/build_dir/target-aarch64_cortex-a53_musl/pypi/uwsgi-2.0.20/.built] Error 1
make[3]: Leaving directory '/home/daniel/lede/feeds/packages/net/uwsgi'
time: package/feeds/packages/uwsgi/compile#7.28#1.10#14.21
ERROR: package/feeds/packages/uwsgi failed to build.
make[2]: *** [package/Makefile:171: package/feeds/packages/uwsgi/compile] Error 1
make[2]: Leaving directory '/home/daniel/lede'
make[1]: *** [package/Makefile:165: /home/daniel/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/daniel/lede'
make: *** [/home/daniel/lede/include/toplevel.mk:231: world] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions