8000 qstr.i.last does not depend on SDKCONFIG_H · Issue #5091 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
qstr.i.last does not depend on SDKCONFIG_H #5091
Closed
@nevercast

Description

@nevercast

$(HEADER_BUILD)/qstr.i.last: $(SRC_QSTR) $(QSTR_GLOBAL_DEPENDENCIES) | $(HEADER_BUILD)/mpversion.h

It seems there is a race condition because qstr.i.last does not depend on sdkconfig.h being present.

GEN build-node/sdkconfig.h
GEN build-node/genhdr/mpversion.h
GEN build-node/genhdr/moduledefs.h
GEN build-node/genhdr/qstr.i.last
In file included from /builder/esp-idf/components/esp32/include/esp_assert.h:17:0,
                 from /builder/esp-idf/components/soc/esp32/include/soc/soc.h:20,
                 from /builder/esp-idf/components/esp32/include/rom/ets_sys.h:21,
                 from ./mpconfigport.h:9,
                 from ../../py/mpconfig.h:62,
                 from ../../py/obj.h:29,
                 from /user_c_modules/deepsleep_stub/mod_dsstub.c:2:
/builder/esp-idf/components/newlib/platform_include/assert.h:20:23: fatal error: sdkconfig.h: No such file or directory
...
../../py/mkrules.mk:74: recipe for target 'build-node/genhdr/qstr.i.last' failed
make: *** [build-node/genhdr/qstr.i.last] Error 1
make: *** Deleting file 'build-node/genhdr/qstr.i.last'
make: *** Waiting for unfinished jobs....

I am using make -j5, Its my assumption that running make in parallel allows this issue to occur. I have also only ever seen this issue with User C Modules, but not always the same module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0