ESP-IDF Registry

CodeVolt
Posts: 3
Joined: Wed Aug 27, 2025 5:29 am

ESP-IDF Registry

Postby CodeVolt » Fri Oct 03, 2025 8:19 am

I have published two components on ESP-IDF Registry with diffrent namespace one is working fine but other not and there is not even a single line of code differnce in both the components.
Even though the project in which this component is runnning is also same, means each and everything is same except the namespace.
jays0223/iot-sdk : using this namespace it is working
videosdk/iot-sdk : using this namespace it is working
i have attached the build output in the attachements for reference
terminal output .docx
this file contains the build output of both the components
(28.57 KiB) Downloaded 12 times
If anybody know how can i make videosdk/iot-sdk to build first like the jays0223/iot-sdk

Code: Select all

....NOTICE: Updating lock file at /Users/karanrajput/Documents/videosdk-rtc-iot-sdk-example/dependencies.lock
NOTICE: Processing 4 dependencies:
NOTICE: [1/4] protocol_examples_common (*) (/Users/karanrajput/esp5.3/esp-idf/examples/common_components/protocol_examples_common)
NOTICE: [2/4] sepfy/srtp (2.3.0)
NOTICE: [3/4] videosdk/iot-sdk (0.1.10)
NOTICE: [4/4] idf (5.3.0)
like here jays0223/iot-sdk compiling first

Code: Select all

....NOTICE: Updating lock file at /Users/karanrajput/Documents/videosdk-rtc-iot-sdk-example/dependencies.lock
NOTICE: Processing 4 dependencies:
NOTICE: [1/4] jays0223/iot-sdk (0.1.3)
NOTICE: [2/4] protocol_examples_common (*) (/Users/karanrajput/esp5.3/esp-idf/examples/common_components/protocol_examples_common)
NOTICE: [3/4] sepfy/srtp (2.3.0)
NOTICE: [4/4] idf (5.3.0)

Sprite
Espressif staff
Espressif staff
Posts: 10596
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP-IDF Registry

Postby Sprite » Fri Oct 03, 2025 8:30 am

Looks like the order of components loaded is different (perhaps because they're alphabetically sorted). Could be an issue with the 'depends' section of your CMakeLists.txt where it doesn't explicitly depend on the components it uses.

CodeVolt
Posts: 3
Joined: Wed Aug 27, 2025 5:29 am

Re: ESP-IDF Registry

Postby CodeVolt » Fri Oct 03, 2025 9:30 am

If it is the problem of the CMakeLists.txt then why does the project builds correctly with the other component having exactly same content but diffrent namespace.
and as per your suggestion i tried your approach but still the same errors i am getting.

Can u pls let me know how can i force to build videosdk/iot-sdk first then other components

Code: Select all

....NOTICE: Updating lock file at /Users/karanrajput/Documents/videosdk-rtc-iot-sdk-example/dependencies.lock
NOTICE: Processing 4 dependencies:
NOTICE: [1/4] protocol_examples_common (*) (/Users/karanrajput/esp5.3/esp-idf/examples/common_components/protocol_examples_common)
NOTICE: [2/4] sepfy/srtp (2.3.0)
NOTICE: [3/4] videosdk/iot-sdk (0.1.10)
NOTICE: [4/4] idf (5.3.0)
like this

Code: Select all

....NOTICE: Updating lock file at /Users/karanrajput/Documents/videosdk-rtc-iot-sdk-example/dependencies.lock
NOTICE: Processing 4 dependencies:
NOTICE: [1/4] jays0223/iot-sdk (0.1.3)
NOTICE: [2/4] protocol_examples_common (*) (/Users/karanrajput/esp5.3/esp-idf/examples/common_components/protocol_examples_common)
NOTICE: [3/4] sepfy/srtp (2.3.0)
NOTICE: [4/4] idf (5.3.0)

ESP_kumekay
Posts: 8
Joined: Thu Nov 03, 2016 3:43 pm

Re: ESP-IDF Registry

Postby ESP_kumekay » Fri Oct 03, 2025 4:00 pm

Hello, I'll comment only from the component manager standpoint
It's not actually relevant ot the problem, but the output in the logs you sharde is from the dependency solver, so this order can be arbitary and is not related to the order in which components will be built,

But then component mananger calls `idf_build_component` for all components in alphabetical order.
It was mainly made like this to have predictable order of KConfig options processing,

Who is online

Users browsing this forum: Baidu [Spider], meta-externalagent, Semrush [Bot] and 8 guests