Thanks to visit codestin.com
Credit goes to github.com

Skip to content

make submodules fails in ports/rp2: Internal build error: The submodule list should not be empty. #16870

Closed
@aylen384

Description

@aylen384

Port, board and/or hardware

rp2

MicroPython version

See info below

Reproduction

# in ports/rp2 dir
make submodules

Expected behaviour

This is what happens on v1.24.1

make -f ../../py/mkrules.mk GIT_SUBMODULES="lib/pico-sdk" submodules
make[1]: Entering directory '/home/dheidler/devel/micropython/ports/rp2'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Updating submodules: lib/pico-sdk
Synchronizing submodule url for 'lib/pico-sdk'
make[1]: Leaving directory '/home/dheidler/devel/micropython/ports/rp2'
make[1]: Entering directory '/home/dheidler/devel/micropython/ports/rp2'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Updating submodules:
make[1]: Leaving directory '/home/dheidler/devel/micropython/ports/rp2'

Observed behaviour

this happens on current master

Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
make -f ../../py/mkrules.mk GIT_SUBMODULES="lib/pico-sdk" submodules
make[1]: Entering directory '/home/dheidler/devel/micropython/ports/rp2'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Updating submodules: lib/pico-sdk
Synchronizing submodule url for 'lib/pico-sdk'
make[1]: Leaving directory '/home/dheidler/devel/micropython/ports/rp2'
make[1]: Entering directory '/home/dheidler/devel/micropython/ports/rp2'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Updating submodules:
# If you see this error, it may mean the internal step run by the port's build
# system to find git submodules has failed. Double-check dependencies are set correctly.
Internal build error: The submodule list should not be empty.
exit 1
make[1]: *** [../../py/mkrules.mk:259: submodules] Error 1
make[1]: Leaving directory '/home/dheidler/devel/micropython/ports/rp2'
make: *** [Makefile:77: submodules] Error 2

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

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