Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

Local Builds mos 1.20 - Error: repository not exists

I had local builds working and I updated my version of mos to 1.20 and they stopped working. I uninstalled and reinstalled mos, Docker, and the commercial libraries and I always get the same vague error when trying to build:

mos build --local --libs-dir ../../commercial-libs --platform esp32
Handling lib "vfs-dev-spi-flash"...
Handling lib "spi"...
Handling lib "rpc-service-fs"...
Handling lib "rpc-service-config"...
Handling lib "rpc-uart"...
The --lib flag was not given for it, checking repository
The --lib flag was not given for it, checking repository
The --lib flag was not given for it, checking repository
Falling back to sources for "vfs-dev-spi-flash" (failed to fetch prebuilt binary: unable to fetch library for swmodule of type 1)
Prepared local dir: "/home/jonathan/Espressif/Mongoose/commercial-libs/vfs-dev-spi-flash"
Falling back to sources for "rpc-uart" (failed to fetch prebuilt binary: unable to fetch library for swmodule of type 1)
Falling back to sources for "rpc-service-config" (failed to fetch prebuilt binary: unable to fetch library for swmodule of type 1)
Prepared local dir: "/home/jonathan/Espressif/Mongoose/commercial-libs/rpc-uart"
Prepared local dir: "/home/jonathan/Espressif/Mongoose/commercial-libs/rpc-service-config"
Handling lib "wifi"...
The --lib flag was not given for it, checking repository
Falling back to sources for "wifi" (failed to fetch prebuilt binary: unable to fetch library for swmodule of type 1)
Prepared local dir: "/home/jonathan/Espressif/Mongoose/commercial-libs/wifi"
Handling lib "aws"...
The --lib flag was not given for it, checking repository
Falling back to sources for "aws" (failed to fetch prebuilt binary: unable to fetch library for swmodule of type 1)
Prepared local dir: "/home/jonathan/Espressif/Mongoose/commercial-libs/aws"
Handling lib "rpc-common"...
The --lib flag was not given for it, checking repository
"/home/jonathan/Espressif/Mongoose/commercial-libs/rpc-common" is not empty, but is not a git repository either, leaving it intact
Handling lib "http-server"...
The --lib flag was not given for it, checking repository
Falling back to sources for "http-server" (failed to fetch prebuilt binary: unable to fetch library for swmodule of type 1)
Prepared local dir: "/home/jonathan/Espressif/Mongoose/commercial-libs/http-server"
Error: repository not exists

Comments

  • What is "Error: repository not exists" referring to?

  • It's a bug, and it's referring to the fact that libs in ../../commercial-libs aren't git repositories.
    Thanks for reporting, we'll cut 1.20.1 soon in which it'll be fixed.

  • Fixed in 1.20.1, could you please verify?

    Thanked by 1jonw
  • Yes. Very quick fix thank you. I was tinkering with one of the libraries right as I updated to 1.20 and thought I broke something. It was driving me insane lol.

Sign In or Register to comment.