Page 1 of 1

ESP-IDF Registry

Posted: Fri Oct 03, 2025 8:19 am
by CodeVolt
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)

Re: ESP-IDF Registry

Posted: Fri Oct 03, 2025 8:30 am
by Sprite
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.

Re: ESP-IDF Registry

Posted: Fri Oct 03, 2025 9:30 am
by CodeVolt
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)

Re: ESP-IDF Registry

Posted: Fri Oct 03, 2025 4:00 pm
by ESP_kumekay
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,