Open MarceloSalazar opened 5 years ago
@MarceloSalazar I'm not sure how this is an Mbed CLI issue. Git clearly reports fatal errors due to filesystem limitations, e.g.
error: unable to create file features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/libraries/bootloader_dfu/hci_transport/hci_mem_pool_internal.h: Filename too long
error: unable to create file features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/common/softdevice_handler/ant_stack_handler_types.h: Filename too long
error: unable to create file features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/common/softdevice_handler/ble_stack_handler_types.h: Filename too long
error: unable to create file features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/common/softdevice_handler/softdevice_handler.c: Filename too long
error: unable to create file features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/common/softdevice_handler/softdevice_handler.h: Filename too long
error: unable to create file features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/common/softdevice_handler/softdevice_handler_appsh.c: Filename too long
error: unable to create file features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/common/softdevice_handler/softdevice_handler_appsh.h: Filename too long
error: unable to create file features/FEATURE_BOOTLOADER/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_K66F/TARGET_FRDM/mbed-bootloader-k66f-block_device-sotp-v3_4_0.bin: Filename too long
error: unable to create file features/FEATURE_BOOTLOADER/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_FRDM/mbed-bootloader-k64f-block_device-sotp-v3_4_0.bin: Filename too long
error: unable to create file features/FEATURE_BOOTLOADER/targets/TARGET_STM/TARGET_STM32F2/TARGET_NUCLEO_F207ZG/mbed-bootloader-nucleo_f207zg-block_device-sotp-v3.4.0-3-gdbbb.bin: Filename too long
error: unable to create file features/FEATURE_BOOTLOADER/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F411xE/TARGET_NUCLEO_F411RE/mbed-bootloader-nucleo_f411re-block_device-sotp-v3_4_0.bin: Filename too long
error: unable to create file features/FEATURE_BOOTLOADER/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F429xI/TARGET_NUCLEO_F429ZI/mbed-bootloader-nucleo_f429zi-block_device-sotp-v3_4_0.bin: Filename too long
fatal: cannot create directory at 'features/FEATURE_BOOTLOADER/targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_MODULE_UBLOX_ODIN_W2/TARGET_UBLOX_EVK_ODIN_W2': Filename too long
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
Therefore this is either:
I don't see anything that Mbed CLI can do to remedy the folder length problem.
Do you think we could possibly detect the path length and show an error accordingly?
@MarceloSalazar It's possible, but there are a few things I'm trying in parallel to see if we can get aroung the long base path.
This is the kind of error I was trying to reproduce as a part of IOTCORE-253 :)
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-148
Apologies, this was closed in error by the automated bot - re-opening.
Internal Jira reference: https://jira.arm.com/browse/IOTBTOOL-471
Windows 10 Mbed CLI 1.8.2 Python 2.7.15
I'm unable to import an example app within a long path:
Steps to reproduce:
Error output: