letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.26k stars 2.21k forks source link

Compile error... Failed to recurse into submodule path 'tools/sdk/lwip2/builder' #2984

Closed cmorrow101 closed 4 years ago

cmorrow101 commented 4 years ago

Release mega-20200328 I cannot complie the do to an error Fetched in submodule path 'tools/sdk/lwip2/builder/lwip2-src', but it did not contain 159e31b689577dbf69cf0683bbaffbd71fa5ee10. Direct fetching of that commit failed.

Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', '2.6.3', 'https://github.com/esp8266/Arduino.git', 'C:\Users\Cottage-Proto2\.platf_installing-r_uu61dx-package']

Someone had a similar issue which was resolved by updating to the latest git, but that did not solve my problem. I have not edited the release in any way, just tried to complie "out of the box", with no luck. I tried to clone the framework-arduinoespressif8266 repository and place it in the platformio build directory but it seems the complier want to download a version anyway. I don't know if there is a way to have the compiler use the copy I cloned.

I am using visual studio code with platformIO, I have also tried Atom with platformIO and get the same error on both.

I could really use some help here. I have spent 2 days trying to sort this out with no success.

uzi18 commented 4 years ago

@cmorrow101 @TD-er confirmed - have same problem on linux

uzi18 commented 4 years ago
$ platformio run -e normal_ESP8266_1M
*********************************************************************************************************************************************************************************************************************************
If you like PlatformIO, please:
- follow us on Twitter to stay up-to-date on the latest project news > https://twitter.com/PlatformIO_Org
- star it on GitHub > https://github.com/platformio/platformio
- try PlatformIO IDE for embedded development > https://platformio.org/platformio-ide
*********************************************************************************************************************************************************************************************************************************

Processing normal_ESP8266_1M (platform: espressif8266@2.4.0; board: esp01_1m; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PlatformManager: Installing espressif8266 @ 2.4.0
espressif8266 @ 2.4.0 has been successfully installed!
The platform 'espressif8266@2.4.0' has been successfully installed!
The rest of packages will be installed automatically depending on your build environment.
PackageManager: Installing toolchain-xtensa @ ~2.40802.191122
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
toolchain-xtensa @ 2.40802.191122 has been successfully installed!
PackageManager: Installing framework-arduinoespressif8266
git version 2.26.0
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package'...
remote: Enumerating objects: 1647, done.
remote: Counting objects: 100% (1647/1647), done.
remote: Compressing objects: 100% (1401/1401), done.
remote: Total 1647 (delta 201), reused 841 (delta 78), pack-reused 0
Receiving objects: 100% (1647/1647), 23.62 MiB | 291.00 KiB/s, done.
Resolving deltas: 100% (201/201), done.
Note: switching to '3d128e5c785cbe2096a0def394554d1d8091601d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.                                                                                                                                                              

If you want to create a new branch to retain commits you create, you may                                                                                                                                                         
do so (now or later) by using -c with the switch command. Example:                                                                                                                                                               

  git switch -c <new-branch-name>                                                                                                                                                                                                

Or undo this operation with:                                                                                                                                                                                                     

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

Submodule 'libraries/ESP8266SdFat' (https://github.com/earlephilhower/ESP8266SdFat.git) registered for path 'libraries/ESP8266SdFat'
Submodule 'libraries/LittleFS/lib/littlefs' (https://github.com/ARMmbed/littlefs.git) registered for path 'libraries/LittleFS/lib/littlefs'
Submodule 'libraries/SoftwareSerial' (https://github.com/plerup/espsoftwareserial.git) registered for path 'libraries/SoftwareSerial'
Submodule 'tools/esptool' (https://github.com/espressif/esptool.git) registered for path 'tools/esptool'
Submodule 'tools/pyserial' (https://github.com/pyserial/pyserial.git) registered for path 'tools/pyserial'
Submodule 'lwip2' (https://github.com/d-a-v/esp82xx-nonos-linklayer.git) registered for path 'tools/sdk/lwip2/builder'
Submodule 'tools/sdk/ssl/bearssl' (https://github.com/earlephilhower/bearssl-esp8266.git) registered for path 'tools/sdk/ssl/bearssl'
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/libraries/ESP8266SdFat'...
remote: Enumerating objects: 3534, done.        
remote: Total 3534 (delta 0), reused 0 (delta 0), pack-reused 3534        
Receiving objects: 100% (3534/3534), 10.16 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (1916/1916), done.
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/libraries/LittleFS/lib/littlefs'...
remote: Enumerating objects: 2163, done.        
remote: Total 2163 (delta 0), reused 0 (delta 0), pack-reused 2163        
Receiving objects: 100% (2163/2163), 1.26 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (1508/1508), done.
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/libraries/SoftwareSerial'...
remote: Enumerating objects: 69, done.        
remote: Counting objects: 100% (69/69), done.        
remote: Compressing objects: 100% (55/55), done.        
remote: Total 1855 (delta 29), reused 46 (delta 13), pack-reused 1786        
Receiving objects: 100% (1855/1855), 370.85 KiB | 1.10 MiB/s, done.
Resolving deltas: 100% (1076/1076), done.
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/tools/esptool'...
remote: Enumerating objects: 55, done.        
remote: Counting objects: 100% (55/55), done.        
remote: Compressing objects: 100% (41/41), done.        
remote: Total 2189 (delta 20), reused 46 (delta 13), pack-reused 2134        
Receiving objects: 100% (2189/2189), 7.80 MiB | 1.37 MiB/s, done.
Resolving deltas: 100% (1351/1351), done.
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/tools/pyserial'...
remote: Enumerating objects: 47, done.        
remote: Counting objects: 100% (47/47), done.        
remote: Compressing objects: 100% (47/47), done.        
remote: Total 5878 (delta 20), reused 13 (delta 0), pack-reused 5831        
Receiving objects: 100% (5878/5878), 1.65 MiB | 1.10 MiB/s, done.
Resolving deltas: 100% (4338/4338), done.
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/tools/sdk/lwip2/builder'...
remote: Enumerating objects: 22, done.        
remote: Counting objects: 100% (22/22), done.        
remote: Compressing objects: 100% (15/15), done.        
remote: Total 924 (delta 8), reused 14 (delta 6), pack-reused 902        
Receiving objects: 100% (924/924), 481.52 KiB | 399.00 KiB/s, done.
Resolving deltas: 100% (543/543), done.
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/tools/sdk/ssl/bearssl'...
remote: Enumerating objects: 86, done.        
remote: Counting objects: 100% (86/86), done.        
remote: Compressing objects: 100% (58/58), done.        
remote: Total 2820 (delta 46), reused 50 (delta 28), pack-reused 2734        
Receiving objects: 100% (2820/2820), 1.79 MiB | 1.52 MiB/s, done.
Resolving deltas: 100% (2225/2225), done.
Submodule path 'libraries/ESP8266SdFat': checked out 'b240d2231a117bbd89b79902eb54cae948ee2f42'
Submodule path 'libraries/LittleFS/lib/littlefs': checked out '6b65737715039ef92d348014316b575b52547019'
Submodule path 'libraries/SoftwareSerial': checked out '9da4d3729a57a181307bf9acf73473d052a38874'
Submodule path 'tools/esptool': checked out 'de30f21a222ec62f5a023dd955439b4f57702768'
Submodule path 'tools/pyserial': checked out 'c54c81d933b847458d465cd77e96cd702ff2e7be'
Submodule path 'tools/sdk/lwip2/builder': checked out '354887a25f83064dc0c795e11704190845812713'
Submodule 'lwip2-src' (https://git.savannah.nongnu.org/git/lwip.git) registered for path 'tools/sdk/lwip2/builder/lwip2-src'
Cloning into '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package/tools/sdk/lwip2/builder/lwip2-src'...
remote: Counting objects: 51280, done.        
remote: Compressing objects: 100% (12186/12186), done.        
remote: Total 51280 (delta 38697), reused 50936 (delta 38448)        
Receiving objects: 100% (51280/51280), 10.06 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (38697/38697), done.
error: Server does not allow request for unadvertised object 159e31b689577dbf69cf0683bbaffbd71fa5ee10
Fetched in submodule path 'tools/sdk/lwip2/builder/lwip2-src', but it did not contain 159e31b689577dbf69cf0683bbaffbd71fa5ee10. Direct fetching of that commit failed.
Submodule path 'tools/sdk/ssl/bearssl': checked out '89454af34e3e61ddfc9837f3da5a0bc8ed44c3aa'
Failed to recurse into submodule path 'tools/sdk/lwip2/builder'
Error: VCS: Could not process command ['git', 'clone', '--recursive', '--depth', '1', '--branch', '2.6.3', 'https://github.com/esp8266/Arduino.git', '/home/users/linaja/.platformio/packages/_tmp_installing-bgoetgw6-package']

.platformio deleted - without help

TD-er commented 4 years ago

OK, will look into it. Maybe it refers to a SHA or tag that no longer exists?

cmorrow101 commented 4 years ago

I successfully installed the arduino framework with the Git for Windows 2.16.2. Git version 2.26.0 did not work.

TD-er commented 4 years ago

I use git version 2.24.1.windows.2 and that's working fine also.

uzi18 commented 4 years ago

@TD-er @cmorrow101 thx for hints, checked several versions and git 2.25.2 is last working. maybe we should report it into core

now it is possible for me to build ESPEasy locally one more time :)

TD-er commented 4 years ago

OK, so it seems a bug in Git itself?

uzi18 commented 4 years ago

@TD-er yes, so for now avoid new version :)

TD-er commented 4 years ago

@TD-er yes, so for now avoid new version :)

Have you made a bug report at the Git repository?

cmorrow101 commented 4 years ago

I have not made a bug report.

arkhnchul commented 4 years ago

mess with submodules was fixed in 2.7.0 version of esp8266 arduino platform, so building test_beta_ESP8266_4M1M env works fine with newer git.