platformio / platform-espressif32

Espressif 32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif32
Apache License 2.0
855 stars 570 forks source link

idf_component_manager downgrading during build #1358

Closed Yuan-Biju closed 2 months ago

Yuan-Biju commented 2 months ago

The following log shows up while trying to build a project in VS Code.

Processing 2 dependencies:

[1/2] espressif/mdns (1.3.0)

[2/2] idf (5.0.2)

-- Configuring incomplete, errors occurred!
See also "C:/Projects/InnotechESP32Server/n2k-gateway-fw/.pio/build/n2k-gateway-debug/CMakeFiles/CMakeOutput.log".

fatal: not a git repository (or any of the parent directories): .git
CMake Error at C:/.platformio/packages/framework-espidf/tools/cmake/component.cmake:249 (message):
  ERROR: 2 problems were found in the manifest file
  C:\Projects\InnotechESP32Server\n2k-gateway-fw\managed_components\espressif__mdns\idf_component.yml:

  Invalid manifest format

  Unknown keys: repository_info

  SUGGESTION: This component may be using a newer version of the component
  manager.

  You can try to update the component manager by running:

      C:\.platformio\penv\.espidf-5.0.2\Scripts\python.exe -m pip install --upgrade idf-component-manager

I tried upgrading the component manager using the command as suggested in the above log but while performing a clean build the idf_component_manager downgrades to an older version as shown below and displays the previously shown log.

Using cached idf_component_manager-1.2.3-py3-none-any.whl (116 kB)
Installing collected packages: idf-component-manager
  Attempting uninstall: idf-component-manager
    Found existing installation: idf-component-manager 1.5.2
    Uninstalling idf-component-manager-1.5.2:
      Successfully uninstalled idf-component-manager-1.5.2
Successfully installed idf-component-manager-1.2.3
platform = espressif32@6.3.2
framework = espidf
valeros commented 2 months ago

Hi @Yuan-Biju, this behavior fixed in the latest platform version v6.6.0.