nixpkgs-esp-dev icon indicating copy to clipboard operation
nixpkgs-esp-dev copied to clipboard

nix develop esp8266-rtos-sdk: failed to build

Open ghost opened this issue 6 months ago • 2 comments

$ nix --experimental-features 'nix-command flakes' develop github:mirrexagon/nixpkgs-esp-dev#esp8266-rtos-sdk
error: builder for '/nix/store/9vq6bdq3kw07fqn9shc1rj95jlqpvicr-source.drv' failed with exit code 1;
       last 25 log lines:
       > From https://github.com/espressif/mbedtls
       >  * branch            9ef92c551eb8d92677034c3ec8078a8076febf41 -> FETCH_HEAD
       > Submodule path 'components/mbedtls/mbedtls': checked out '9ef92c551eb8d92677034c3ec8078a8076febf41'
       > remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
       > remote: Enumerating objects: 40, done.
       > remote: Counting objects: 100% (40/40), done.
       > remote: Compressing objects: 100% (20/20), done.
       > remote: Total 21 (delta 12), reused 5 (delta 0), pack-reused 0 (from 0)
       > Unpacking objects: 100% (21/21), 16.67 KiB | 533.00 KiB/s, done.
       > From https://github.com/espressif/esp-mqtt
       >  * branch            01594bf118ae502b5a0ead040446f2be75d26223 -> FETCH_HEAD
       > Submodule path 'components/mqtt/esp-mqtt': checked out '01594bf118ae502b5a0ead040446f2be75d26223'
       > Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls'...
       > fatal: unable to update url base from redirection:
       >   asked for: https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls/info/refs?service=git-upload-pack
       >    redirect: https://github.com/eclipse-tinydtls
       > fatal: clone of 'https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls' into submodule path '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls' failed
       > Failed to clone 'ext/tinydtls'. Retry scheduled
       > Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls'...
       > fatal: unable to update url base from redirection:
       >   asked for: https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls/info/refs?service=git-upload-pack
       >    redirect: https://github.com/eclipse-tinydtls
       > fatal: clone of 'https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls' into submodule path '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls' failed
       > Failed to clone 'ext/tinydtls' a second time, aborting
       > fatal: Failed to recurse into submodule path 'components/coap/libcoap'
       For full logs, run:
         nix-store -l /nix/store/9vq6bdq3kw07fqn9shc1rj95jlqpvicr-source.drv
error: 1 dependencies of derivation '/nix/store/inhnz0j7lvy884xnfhfwddqbxwpa7nsg-esp8266-rtos-sdk-v3.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n5mybmgic3zrzpv4mwy1q8mkn7gximdn-esp8266-rtos-sdk-shell-env.drv' failed to build
$ nix-store -l /nix/store/9vq6bdq3kw07fqn9shc1rj95jlqpvicr-source.drv
exporting https://github.com/espressif/ESP8266_RTOS_SDK.git (rev v3.4) into /nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source
Initialized empty Git repository in /nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/.git/
remote: Enumerating objects: 3330, done.
remote: Counting objects: 100% (3330/3330), done.
remote: Compressing objects: 100% (2738/2738), done.
remote: Total 3330 (delta 587), reused 2369 (delta 439), pack-reused 0 (from 0)
Receiving objects: 100% (3330/3330), 13.62 MiB | 18.65 MiB/s, done.
Resolving deltas: 100% (587/587), done.
From https://github.com/espressif/ESP8266_RTOS_SDK
 * tag               v3.4       -> FETCH_HEAD
Switched to a new branch 'fetchgit'
Submodule 'components/coap/libcoap' (https://github.com/obgm/libcoap.git) registered for path 'components/coap/libcoap'
Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'components/json/cJSON'
Submodule 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) registered for path 'components/lwip/lwip'
Submodule 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) registered for path 'components/mbedtls/mbedtls'
Submodule 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) registered for path 'components/mqtt/esp-mqtt'
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap'...
remote: Enumerating objects: 395, done.        
remote: Counting objects: 100% (395/395), done.        
remote: Compressing objects: 100% (358/358), done.        
remote: Total 395 (delta 47), reused 136 (delta 28), pack-reused 0 (from 0)        
Receiving objects: 100% (395/395), 922.29 KiB | 4.08 MiB/s, done.
Resolving deltas: 100% (47/47), done.
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/mqtt/esp-mqtt'...
remote: Enumerating objects: 64, done.        
remote: Counting objects: 100% (64/64), done.        
remote: Compressing objects: 100% (59/59), done.        
remote: Total 64 (delta 3), reused 33 (delta 0), pack-reused 0 (from 0)        
Receiving objects: 100% (64/64), 75.91 KiB | 1.69 MiB/s, done.
Resolving deltas: 100% (3/3), done.
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/json/cJSON'...
remote: Enumerating objects: 257, done.        
remote: Counting objects: 100% (257/257), done.        
remote: Compressing objects: 100% (205/205), done.        
remote: Total 257 (delta 54), reused 162 (delta 44), pack-reused 0 (from 0)        
Receiving objects: 100% (257/257), 390.06 KiB | 2.63 MiB/s, done.
Resolving deltas: 100% (54/54), done.
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/lwip/lwip'...
remote: Enumerating objects: 479, done.        
remote: Counting objects: 100% (479/479), done.        
remote: Compressing objects: 100% (434/434), done.        
remote: Total 479 (delta 75), reused 166 (delta 17), pack-reused 0 (from 0)        
Receiving objects: 100% (479/479), 1.34 MiB | 5.06 MiB/s, done.
Resolving deltas: 100% (75/75), done.
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/mbedtls/mbedtls'...
remote: Enumerating objects: 1910, done.        
remote: Counting objects: 100% (1910/1910), done.        
remote: Compressing objects: 100% (1522/1522), done.        
remote: Total 1910 (delta 417), reused 1061 (delta 348), pack-reused 0 (from 0)        
Receiving objects: 100% (1910/1910), 6.30 MiB | 15.70 MiB/s, done.
Resolving deltas: 100% (417/417), done.
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Enumerating objects: 296, done.
remote: Counting objects: 100% (296/296), done.
remote: Compressing objects: 100% (167/167), done.
remote: Total 175 (delta 97), reused 19 (delta 5), pack-reused 0 (from 0)
Receiving objects: 100% (175/175), 225.14 KiB | 4.89 MiB/s, done.
Resolving deltas: 100% (97/97), completed with 85 local objects.
From https://github.com/obgm/libcoap
 * branch            cfec0d072c5b99ed3e54828ca50ea2f6b91e1f50 -> FETCH_HEAD
Submodule path 'components/coap/libcoap': checked out 'cfec0d072c5b99ed3e54828ca50ea2f6b91e1f50'
Submodule 'ext/tinydtls' (https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls) registered for path 'components/coap/libcoap/ext/tinydtls'
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls'...
fatal: unable to update url base from redirection:
  asked for: https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls/info/refs?service=git-upload-pack
   redirect: https://github.com/eclipse-tinydtls
fatal: clone of 'https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls' into submodule path '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls' failed
Failed to clone 'ext/tinydtls'. Retry scheduled
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls'...
fatal: unable to update url base from redirection:
  asked for: https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls/info/refs?service=git-upload-pack
   redirect: https://github.com/eclipse-tinydtls
fatal: clone of 'https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls' into submodule path '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls' failed
Failed to clone 'ext/tinydtls' a second time, aborting
fatal: Failed to recurse into submodule path 'components/coap/libcoap'
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Enumerating objects: 83, done.
remote: Counting objects: 100% (83/83), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 42 (delta 35), reused 8 (delta 1), pack-reused 0 (from 0)
Unpacking objects: 100% (42/42), 8.34 KiB | 711.00 KiB/s, done.
From https://github.com/DaveGamble/cJSON
 * branch            3c8935676a97c7c97bf006db8312875b4f292f6c -> FETCH_HEAD
Submodule path 'components/json/cJSON': checked out '3c8935676a97c7c97bf006db8312875b4f292f6c'
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Enumerating objects: 251, done.
remote: Counting objects: 100% (251/251), done.
remote: Compressing objects: 100% (114/114), done.
remote: Total 128 (delta 108), reused 23 (delta 11), pack-reused 0 (from 0)
Receiving objects: 100% (128/128), 29.17 KiB | 905.00 KiB/s, done.
Resolving deltas: 100% (108/108), completed with 104 local objects.
From https://github.com/espressif/esp-lwip
 * branch            4fd84abace0cd8a5a709c194fa54afb3cd39b3f7 -> FETCH_HEAD
Submodule path 'components/lwip/lwip': checked out '4fd84abace0cd8a5a709c194fa54afb3cd39b3f7'
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Enumerating objects: 977, done.
remote: Counting objects: 100% (977/977), done.
remote: Compressing objects: 100% (555/555), done.
remote: Total 616 (delta 406), reused 138 (delta 58), pack-reused 0 (from 0)
Receiving objects: 100% (616/616), 1.10 MiB | 6.53 MiB/s, done.
Resolving deltas: 100% (406/406), completed with 256 local objects.
From https://github.com/espressif/mbedtls
 * branch            9ef92c551eb8d92677034c3ec8078a8076febf41 -> FETCH_HEAD
Submodule path 'components/mbedtls/mbedtls': checked out '9ef92c551eb8d92677034c3ec8078a8076febf41'
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Enumerating objects: 40, done.
remote: Counting objects: 100% (40/40), done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 21 (delta 12), reused 5 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (21/21), 16.67 KiB | 533.00 KiB/s, done.
From https://github.com/espressif/esp-mqtt
 * branch            01594bf118ae502b5a0ead040446f2be75d26223 -> FETCH_HEAD
Submodule path 'components/mqtt/esp-mqtt': checked out '01594bf118ae502b5a0ead040446f2be75d26223'
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls'...
fatal: unable to update url base from redirection:
  asked for: https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls/info/refs?service=git-upload-pack
   redirect: https://github.com/eclipse-tinydtls
fatal: clone of 'https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls' into submodule path '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls' failed
Failed to clone 'ext/tinydtls'. Retry scheduled
Cloning into '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls'...
fatal: unable to update url base from redirection:
  asked for: https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls/info/refs?service=git-upload-pack
   redirect: https://github.com/eclipse-tinydtls
fatal: clone of 'https://git.eclipse.org/r/tinydtls/org.eclipse.tinydtls' into submodule path '/nix/store/ksb43h3mpj8qr9cz6y9mpcjf163j1ly5-source/components/coap/libcoap/ext/tinydtls' failed
Failed to clone 'ext/tinydtls' a second time, aborting
fatal: Failed to recurse into submodule path 'components/coap/libcoap'

ghost avatar Jun 10 '25 11:06 ghost