cannot clone esp-idf.git

WDussault
Posts: 2
Joined: Sat May 27, 2017 6:47 pm

cannot clone esp-idf.git

Postby WDussault » Mon May 29, 2017 10:02 pm

Greetings,

I am having a great deal of trouble cloning the esp-idf repository.

Here is what I am going

Code: Select all

William@William-THINK MINGW32 /c/ESP32
$ git clone --recursive https://github.com/espressif/esp-idf.git
Cloning into 'esp-idf'...
remote: Counting objects: 26693, done.
remote: Compressing objects: 100% (156/156), done.
remote: Total 26693 (delta 93), reused 111 (delta 56), pack-reused 26480
Receiving objects: 100% (26693/26693), 25.08 MiB | 1.32 MiB/s, done.
Resolving deltas: 100% (18017/18017), done.
Checking out files: 100% (2321/2321), done.
But then it bombs....

Code: Select all

': not a valid identifierline 88: export: `dashless
Submodule 'components/aws_iot/aws-iot-device-sdk-embedded-C' (https://github.com/espressif/aws-iot-device-sdk-embedded-C.git) registered for path 'components/aws_                                  iot/aws-iot-device-sdk-embedded-C'
Submodule 'components/bt/lib' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/lib'
Submodule 'components/coap/libcoap' (https://github.com/obgm/libcoap.git) registered for path 'components/coap/libcoap'
Submodule 'components/esp32/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp32/lib'
Submodule 'components/esptool_py/esptool' (https://github.com/espressif/esptool.git) registered for path 'components/esptool_py/esptool'
Submodule 'components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/micro-ecc/micro-ecc'
Cloning into '/c/ESP32/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C'...
      0 [main] git-remote-https 908 fork: child -1 - forked process 4496 died unexpectedly, retry 0, exit code 0xC0000135, errno 11
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/espressif/aws-iot-device-sdk-embedded-C.git' into submodule path '/c/ESP32/esp-idf/components/aws_iot/aws-iot-device-sdk-embed                                  ded-C' failed
Failed to clone 'components/aws_iot/aws-iot-device-sdk-embedded-C'. Retry scheduled
Cloning into '/c/ESP32/esp-idf/components/bt/lib'...
      2 [main] git-remote-https 4684 fork: child -1 - forked process 6844 died unexpectedly, retry 0, exit code 0xC0000135, errno 11
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/espressif/esp32-bt-lib.git' into submodule path '/c/ESP32/esp-idf/components/bt/lib' failed
Failed to clone 'components/bt/lib'. Retry scheduled
Cloning into '/c/ESP32/esp-idf/components/coap/libcoap'...
      2 [main] git-remote-https 3056 fork: child -1 - forked process 7600 died unexpectedly, retry 0, exit code 0xC0000135, errno 11
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/obgm/libcoap.git' into submodule path '/c/ESP32/esp-idf/components/coap/libcoap' failed
Failed to clone 'components/coap/libcoap'. Retry scheduled
Cloning into '/c/ESP32/esp-idf/components/esp32/lib'...
      1 [main] git-remote-https 4032 fork: child -1 - forked process 7952 died unexpectedly, retry 0, exit code 0xC0000135, errno 11
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/espressif/esp32-wifi-lib.git' into submodule path '/c/ESP32/esp-idf/components/esp32/lib' failed
Failed to clone 'components/esp32/lib'. Retry scheduled
Cloning into '/c/ESP32/esp-idf/components/esptool_py/esptool'...
      1 [main] git-remote-https 4428 fork: child -1 - forked process 4848 died unexpectedly, retry 0, exit code 0xC0000135, errno 11
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/espressif/esptool.git' into submodule path '/c/ESP32/esp-idf/components/esptool_py/esptool' failed
Failed to clone 'components/esptool_py/esptool'. Retry scheduled
Cloning into '/c/ESP32/esp-idf/components/micro-ecc/micro-ecc'...
      0 [main] git-remote-https 6620 fork: child -1 - forked process 8176 died unexpectedly, retry 0, exit code 0xC0000135, errno 11
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/kmackay/micro-ecc.git' into submodule path '/c/ESP32/esp-idf/components/micro-ecc/micro-ecc' failed
Failed to clone 'components/micro-ecc/micro-ecc'. Retry scheduled
Cloning into '/c/ESP32/esp-idf/components/aws_iot/aws-iot-device-sdk-embedded-C'...
      1 [main] git-remote-https 6744 fork: child -1 - forked process 7468 died unexpectedly, retry 0, exit code 0xC0000135, errno 11
error: cannot fork() for fetch-pack: Resource temporarily unavailable
fatal: clone of 'https://github.com/espressif/aws-iot-device-sdk-embedded-C.git' into submodule path '/c/ESP32/esp-idf/components/aws_iot/aws-iot-device-sdk-embed                                  ded-C' failed
Failed to clone 'components/aws_iot/aws-iot-device-sdk-embedded-C' a second time, aborting
Online posts suggests it failed due to too many processess running so I rebooted and tried again. Nothing, same error. Is there a better way to do this? What good is this if I cannot get it.

Thanks

Bill

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: cannot clone esp-idf.git

Postby ESP_igrr » Mon May 29, 2017 10:38 pm

Please take a look at this msys2 issue, there is a workaround mentioned which you may try.
https://github.com/Alexpux/MSYS2-packages/issues/735

WDussault
Posts: 2
Joined: Sat May 27, 2017 6:47 pm

Re: cannot clone esp-idf.git

Postby WDussault » Tue May 30, 2017 12:27 am

Is there another piece of software I can use to clone repositories? The "Download zip" Option does not get everything.

Thanks

Bill

cdtdoug
Posts: 3
Joined: Tue Dec 29, 2015 5:56 am

Re: cannot clone esp-idf.git

Postby cdtdoug » Fri Dec 01, 2017 8:05 pm

I'm now running into this too. Don't think it's related to the the other msys git issue. Fails in both msys32 and mingw32 environments.

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 343 guests