Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Build App Error with Lib ca-bundle

renlehrenleh Taipei
edited August 25 in Mongoose OS

Hi,

I am trying to build a new app firmware including the libs "ca-bundle". I will get the error message.

Build failed:preparing local copy of the lib "ca-bundle": failed to git checkout 1.14: error: pathspec '1.14' did not match any file(s) known to git.
exit status 1

Can anyone know how I can solve this issue ? I don't checkin git. I just put the ca-bundle list into "mos.yml".

Regards,

Paul Wang

The following descriptions are from my "mos.yml"

author: mongoose-os
description: An empty app that does nothing
version: 1.0

libs_version: ${mos_version}
modules_version: ${mos_version}
mongoose_os_version: ${mos_version}

# Optional. List of tags for online search.
tags:
  - c

# List of files / directories with C sources. No slashes at the end of dir names.
sources:
  - src

# List of dirs. Files from these dirs will be copied to the device filesystem
filesystem:
  - fs

# Custom configuration entries, settable via "device configuration"
config_schema:
#  - ["my_app", "o", {title: "My app custom settings"}]
#  - ["my_app.bool_value", "b", false, {title: "Some boolean value"}]
#  - ["my_app.string_value", "s", "", {title: "Some string value"}]
#  - ["my_app.int_value", "i", 123, {title: "Some integer value"}]

# List of libraries used by this app, in order of initialisation
libs:
  - origin: https://github.com/mongoose-os-libs/rpc-common
  - origin: https://github.com/mongoose-os-libs/rpc-mqtt
  - origin: https://github.com/mongoose-os-libs/rpc-loopback
  - origin: https://github.com/mongoose-os-libs/rpc-service-config
  - origin: https://github.com/mongoose-os-libs/rpc-service-fs
  - origin: https://github.com/mongoose-os-libs/rpc-service-gpio
  - origin: https://github.com/mongoose-os-libs/rpc-service-i2c
  - origin: https://github.com/mongoose-os-libs/rpc-service-ota
  - origin: https://github.com/mongoose-os-libs/rpc-uart
  - origin: https://github.com/mongoose-os-libs/wifi
  - origin: https://github.com/mongoose-os-libs/mjs
  - origin: https://github.com/mongoose-os-libs/mqtt
  - origin: https://github.com/mongoose-os-libs/spi
  - origin: https://github.com/mongoose-os-libs/vfs-dev-spi-flash
  - origin: https://github.com/mongoose-os-libs/i2c
  - origin: https://github.com/mongoose-os-libs/ota-http-client
  - origin: https://github.com/mongoose-os-libs/ota-http-server
  - origin: https://github.com/mongoose-os-libs/http-server
  - origin: https://github.com/mongoose-os-libs/dns-sd
  - origin: https://github.com/mongoose-os-libs/dht
  - origin: https://github.com/mongoose-os-libs/atca
  - origin: https://github.com/mongoose-os-libs/aws
  - origin: https://github.com/mongoose-os-libs/ca-bundle

# Used by the mos tool to catch mos binaries incompatible with this file format
skeleton_version: 2017-05-18

Comments

  • SergeySergey Dublin, Ireland

    ca-bundle lib does not exist for version 1.14

    update to the latest, mos update latest

  • renlehrenleh Taipei

    Hi Sergey,

    Thanks for you assistance. I update it to the "latest" version. The issue is fixed.

    Regards,

    Paul Wang

  • tatulaiottatulaiot Buenos Aires

    Hi Paul I did "mos update latest" but still get the error

    mos build --arch esp32
    Error: preparing local copy of the lib "ca-bundle": failed to git checkout 1.14: error: pathspec '1.14' did not match any file(s) known to git.
    exit status 1

    mos
    The Mongoose OS command line tool, v. 1.14+444307ac~zesty0.

    Thanks a lot

  • tatulaiottatulaiot Buenos Aires

    Sorry , just needed to reboot. fixed. thanks and sorry

  • tatulaiottatulaiot Buenos Aires
    edited September 4

    Hi, it is me again, I am still trying to get it work. I managed to make it work just once. and never again.

    mos build --arch esp32
    Error: preparing local copy of the lib "ca-bundle": failed to git checkout 1.14: error: pathspec '1.14' did not match any file(s) known to git.
    exit status 1

    mos build --arch esp32
    Error: preparing local copy of the lib "js-demo-bundle": failed to git checkout 1.14: error: pathspec '1.14' did not match any file(s) known to git.
    exit status 1

    I updated to the latest version of mos & git. but nothing so far. I am stuck. Is there any hint you can provide. please, thanks a lot in advance

    I unistalled mos, reinstall back again... no success... :(

  • Maybe check your mos.yml file and change anything with "${mos.version}" which still seems like it is looking for version 1.14 to "latest" to force it to use the latest?

  • mos 1.15 it builds!

    Greg

Sign In or Register to comment.