mongoose-os-apps / mel-ac-homekit

Mitsubishi Electric AirCo (conditioner) and ATW (heat pump) control for HomeKit
Apache License 2.0
53 stars 12 forks source link

Could you send a step-by-step setup guide? #5

Closed OlivierZal closed 2 years ago

OlivierZal commented 2 years ago

Hi @d4rkmen,

I'm a new Mongoose OS user and would like to install your MEL AC Appel HomeKit app, but I have some difficult to set it up.

I successfully installed Mongoose OS, did mos clone mongoose-os-apps/mel-ac-homekit mel-ac-homekit and also cloned dependencies (except the Wi-Fi setup one, which fails) but mos build fails because of some UNUSED_VALUE and *VALUE exceptions. mos wifi also fails (no handshake). I guess it is because I need to fill mos.yml but I'm a bit lost how to do it well.

Could you please assist me by sending me some step-by-step setup guide?

Thanks in advance.

d4rkmen commented 2 years ago

hi, for the start You can use cloud build mos build it should work flawless out of the box, You don't need to clone any deps don't need to add anything in mos.yml for wifi networking, all done runtime using web based portal feel free to share Your results BR

d4rkmen commented 2 years ago

Step by step manual

Now open Home App and add accessory MEL_xxxx using setup code 111-22-333

OlivierZal commented 2 years ago

Thanks @d4rkmen for your quick reply.

Here is my traceback after mos build:

In file included from /data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_service.hpp:24,
                 from /data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/src/mgos_hap_service.cpp:18:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:396:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadBool(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:6: error: 'value' was not declared in this scope
     *value = static_cast<bool>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:6: note: suggested alternative: '_glue'
     *value = static_cast<bool>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:33: error: 'value_src' was not declared in this scope
     *value = static_cast<bool>(*value_src);
                                 ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:406:47: error: expected ',' or '...' before 'UNUSED_ARG'
         ReadInt(HAPAccessoryServerRef* server UNUSED_ARG,
                                               ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadInt(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:6: error: 'value' was not declared in this scope
     *value = static_cast<int>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:6: note: suggested alternative: '_glue'
     *value = static_cast<int>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:32: error: 'value_src' was not declared in this scope
     *value = static_cast<int>(*value_src);
                                ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:416:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt8(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:6: error: 'value' was not declared in this scope
     *value = static_cast<uint8_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:6: note: suggested alternative: '_glue'
     *value = static_cast<uint8_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:36: error: 'value_src' was not declared in this scope
     *value = static_cast<uint8_t>(*value_src);
                                    ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:426:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt16(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:6: error: 'value' was not declared in this scope
     *value = static_cast<uint16_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:6: note: suggested alternative: '_glue'
     *value = static_cast<uint16_t>(*value_src);
      ^~~~~
      _glue
In file included from /data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/src/mgos_hap_chars.cpp:18:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:396:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadBool(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:6: error: 'value' was not declared in this scope
     *value = static_cast<bool>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint16_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:6: note: suggested alternative: '_glue'
     *value = static_cast<bool>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:33: error: 'value_src' was not declared in this scope
     *value = static_cast<bool>(*value_src);
                                 ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:436:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt32(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:6: error: 'value' was not declared in this scope
     *value = static_cast<uint32_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:6: note: suggested alternative: '_glue'
     *value = static_cast<uint32_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint32_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:406:47: error: expected ',' or '...' before 'UNUSED_ARG'
         ReadInt(HAPAccessoryServerRef* server UNUSED_ARG,
                                               ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadInt(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:6: error: 'value' was not declared in this scope
     *value = static_cast<int>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:446:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt64(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:6: error: 'value' was not declared in this scope
     *value = static_cast<uint64_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:6: note: suggested alternative: '_glue'
     *value = static_cast<int>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:32: error: 'value_src' was not declared in this scope
     *value = static_cast<int>(*value_src);
                                ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:6: note: suggested alternative: '_glue'
     *value = static_cast<uint64_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint64_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:416:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt8(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:6: error: 'value' was not declared in this scope
     *value = static_cast<uint8_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:456:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadFloat(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:6: error: 'value' was not declared in this scope
     *value = static_cast<float>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:6: note: suggested alternative: '_glue'
     *value = static_cast<uint8_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:36: error: 'value_src' was not declared in this scope
     *value = static_cast<uint8_t>(*value_src);
                                    ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:6: note: suggested alternative: '_glue'
     *value = static_cast<float>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:34: error: 'value_src' was not declared in this scope
     *value = static_cast<float>(*value_src);
                                  ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:426:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt16(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:6: error: 'value' was not declared in this scope
     *value = static_cast<uint16_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:6: note: suggested alternative: '_glue'
     *value = static_cast<uint16_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint16_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:436:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt32(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:6: error: 'value' was not declared in this scope
     *value = static_cast<uint32_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:6: note: suggested alternative: '_glue'
     *value = static_cast<uint32_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint32_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:446:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt64(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:6: error: 'value' was not declared in this scope
     *value = static_cast<uint64_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:6: note: suggested alternative: '_glue'
     *value = static_cast<uint64_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint64_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:456:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadFloat(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:6: error: 'value' was not declared in this scope
     *value = static_cast<float>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:6: note: suggested alternative: '_glue'
     *value = static_cast<float>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:34: error: 'value_src' was not declared in this scope
     *value = static_cast<float>(*value_src);
                                  ^~~~~~~~~
CC HAPIP+ByteBuffer.c.o
In file included from /data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_service.hpp:24,
                 from /data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_accessory.hpp:23,
                 from /data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/src/mgos_hap_accessory.cpp:18:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:396:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadBool(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:6: error: 'value' was not declared in this scope
     *value = static_cast<bool>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:6: note: suggested alternative: '_glue'
     *value = static_cast<bool>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:400:33: error: 'value_src' was not declared in this scope
     *value = static_cast<bool>(*value_src);
                                 ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:406:47: error: expected ',' or '...' before 'UNUSED_ARG'
         ReadInt(HAPAccessoryServerRef* server UNUSED_ARG,
                                               ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadInt(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:6: error: 'value' was not declared in this scope
     *value = static_cast<int>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:6: note: suggested alternative: '_glue'
     *value = static_cast<int>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:410:32: error: 'value_src' was not declared in this scope
     *value = static_cast<int>(*value_src);
                                ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:416:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt8(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:6: error: 'value' was not declared in this scope
     *value = static_cast<uint8_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:6: note: suggested alternative: '_glue'
     *value = static_cast<uint8_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:420:36: error: 'value_src' was not declared in this scope
     *value = static_cast<uint8_t>(*value_src);
                                    ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:426:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt16(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:6: error: 'value' was not declared in this scope
     *value = static_cast<uint16_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:6: note: suggested alternative: '_glue'
     *value = static_cast<uint16_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:430:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint16_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:436:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt32(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:6: error: 'value' was not declared in this scope
     *value = static_cast<uint32_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:6: note: suggested alternative: '_glue'
     *value = static_cast<uint32_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:440:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint32_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:446:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadUInt64(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:6: error: 'value' was not declared in this scope
     *value = static_cast<uint64_t>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:6: note: suggested alternative: '_glue'
     *value = static_cast<uint64_t>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:450:37: error: 'value_src' was not declared in this scope
     *value = static_cast<uint64_t>(*value_src);
                                     ^~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: At global scope:
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:456:39: error: expected ',' or '...' before 'UNUSED_ARG'
         HAPAccessoryServerRef* server UNUSED_ARG,
                                       ^~~~~~~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp: In function 'HAPError mgos::hap::ReadFloat(HAPAccessoryServerRef*)':
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:6: error: 'value' was not declared in this scope
     *value = static_cast<float>(*value_src);
      ^~~~~
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:6: note: suggested alternative: '_glue'
     *value = static_cast<float>(*value_src);
      ^~~~~
      _glue
/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/deps/homekit-adk/include/mgos_hap_chars.hpp:460:34: error: 'value_src' was not declared in this scope
     *value = static_cast<float>(*value_src);
                                  ^~~~~~~~~
CC HAPIPAccessory.c.o
/mongoose-os/platforms/esp32/src/esp32_src.mk:108: recipe for target 'mgos_hap_chars.cpp.o' failed
make[1]: *** [mgos_hap_chars.cpp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [mgos_hap_service.cpp.o] Error 1
/mongoose-os/platforms/esp32/src/esp32_src.mk:108: recipe for target 'mgos_hap_service.cpp.o' failed
/mongoose-os/platforms/esp32/src/esp32_src.mk:108: recipe for target 'mgos_hap_accessory.cpp.o' failed
make[1]: *** [mgos_hap_accessory.cpp.o] Error 1
make[1]: Leaving directory '/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_303924009/build/objs/mosapp'
make: *** [component-mosapp-build] Error 2
/opt/Espressif/esp-idf/make/project.mk:635: recipe for target 'component-mosapp-build' failed
make: Leaving directory '/app'
Error: /private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/build_remote.go:359: build failed
/private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/build.go:278: 
/private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/build.go:221: 
/private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/main.go:194: build failed
exit status 1
d4rkmen commented 2 years ago

it seems mos has been updated to 2.20 latest tested build was 2.19 so please use mos 2.19.1 or change mos.yml

libs_version: 2.19
modules_version: 2.19
mongoose_os_version: 2.19

as a workaround. and I will check 2.20 build myself later BR

OlivierZal commented 2 years ago

Changing mos.yml does not work and I don't succeed in downgrading to 2.19.1 (maybe because the first version I installed is the 2.20).

OlivierZal commented 2 years ago
❯ brew install mos@2.19.1
Warning: No available formula with the name "mos@2.19.1".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
d4rkmen commented 2 years ago

Try this mos update 2.19.1

OlivierZal commented 2 years ago

I read that in forums but:

$ mos update 2.19.1
Update channel: release
Running brew update
Running brew tap cesanta/mos
Running brew install mos
Warning: cesanta/mos/mos 2.20.0 is already installed and up-to-date.
To reinstall 2.20.0, run:
  brew reinstall mos
Command completed.

and when I change mos.yml with 2.19:

$ mos build --platform esp32
Connecting to https://build.mongoose-os.com, user test
Uploading sources (25911 bytes)
WARNING: the lib "rpc-ws" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "rpc-ws").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "http-server" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "http-server").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "rpc-service-config" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "rpc-service-config").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "wifi" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "wifi").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "wifi-setup" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "wifi-setup").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "core" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "core").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "mel-ac" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "mel-ac").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "rpc-common" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "rpc-common").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "dns-sd" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "dns-sd").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "mbedtls" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "mbedtls").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "mongoose" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "mongoose").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "vfs-common" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "vfs-common").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "vfs-fs-spiffs" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "vfs-fs-spiffs").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "freertos" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "freertos").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "vfs-fs-lfs" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "vfs-fs-lfs").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "lwip" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "lwip").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
Error: exit status 128
/src/common/ourgit/ourgit_shell.go:266: fatal: Couldn't find remote ref 2.19

/src/common/ourgit/ourgit_shell.go:97: failed to git fetch /data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/modules/mongoose-os 2.19
/src/cli/build/swmodule.go:666: 
/src/cli/build/swmodule.go:229: 
/src/cli/build.go:684: preparing local copy of the module "mongoose-os"
/src/cli/manifest_parser/manifest_parser.go:221: failed to prepare module "mongoose-os"
/src/cli/build_local.go:142: error parsing manifest
/src/cli/build.go:278: 
/src/cli/build.go:143: 
/src/cli/main.go:194: build failed
Reading lib "core" at "https://github.com/mongoose-os-libs/core"...
Reading lib "http-server" at "https://github.com/mongoose-os-libs/http-server"...
Reading lib "wifi-setup" at "https://github.com/d4rkmen/wifi-setup"...
Reading lib "mel-ac" at "https://github.com/mongoose-os-libs/mel-ac"...
Reading lib "wifi" at "https://github.com/mongoose-os-libs/wifi"...
Reading lib "rpc-ws" at "https://github.com/mongoose-os-libs/rpc-ws"...
Reading lib "rpc-service-config" at "https://github.com/mongoose-os-libs/rpc-service-config"...
Reading lib "homekit-adk" at "https://github.com/mongoose-os-libs/homekit-adk"...
wifi-setup: Does not exist, cloning from "https://github.com/d4rkmen/wifi-setup"...
http-server: Does not exist, cloning from "https://github.com/mongoose-os-libs/http-server"...
wifi: Does not exist, cloning from "https://github.com/mongoose-os-libs/wifi"...
rpc-service-config: Does not exist, cloning from "https://github.com/mongoose-os-libs/rpc-service-config"...
homekit-adk: Does not exist, cloning from "https://github.com/mongoose-os-libs/homekit-adk"...
rpc-ws: Does not exist, cloning from "https://github.com/mongoose-os-libs/rpc-ws"...
core: Does not exist, cloning from "https://github.com/mongoose-os-libs/core"...
mel-ac: Does not exist, cloning from "https://github.com/mongoose-os-libs/mel-ac"...
WARNING: the lib "rpc-ws" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "rpc-ws").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
rpc-ws: Checking out master...
rpc-ws: Done, hash 622229af41009f2f38a3373e0d95c05fc5c3c382
rpc-ws: Hash unchanged at 622229af41009f2f38a3373e0d95c05fc5c3c382 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/rpc-ws")
rpc-ws: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/rpc-ws"
Handling lib "rpc-ws" at "https://github.com/mongoose-os-libs/rpc-ws"...
WARNING: the lib "http-server" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "http-server").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "rpc-service-config" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "rpc-service-config").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
http-server: Checking out master...
rpc-service-config: Checking out master...
http-server: Done, hash 5b4c77fb71e151625470b09fe52a1b0dbddadc77
http-server: Hash unchanged at 5b4c77fb71e151625470b09fe52a1b0dbddadc77 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/http-server")
http-server: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/http-server"
Handling lib "http-server" at "https://github.com/mongoose-os-libs/http-server"...
rpc-service-config: Done, hash 821db3ffb8104de17bd511c67e423a4db6f59d44
rpc-service-config: Hash unchanged at 821db3ffb8104de17bd511c67e423a4db6f59d44 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/rpc-service-config")
rpc-service-config: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/rpc-service-config"
Handling lib "rpc-service-config" at "https://github.com/mongoose-os-libs/rpc-service-config"...
homekit-adk: Checking out master...
homekit-adk: Done, hash ea16845a2f48a0379ee85be933c21cf8f3764037
homekit-adk: Hash is updated:  -> ea16845a2f48a0379ee85be933c21cf8f3764037
homekit-adk: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/homekit-adk"
Handling lib "homekit-adk" at "https://github.com/mongoose-os-libs/homekit-adk"...
WARNING: the lib "wifi" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "wifi").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "wifi-setup" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "wifi-setup").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
wifi: Checking out master...
wifi: Done, hash a21f3961d043db237ccd2db01739d34ef8a35d80
wifi: Hash unchanged at a21f3961d043db237ccd2db01739d34ef8a35d80 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/wifi")
wifi: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/wifi"
Handling lib "wifi" at "https://github.com/mongoose-os-libs/wifi"...
wifi-setup: Checking out master...
WARNING: the lib "core" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "core").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
core: Checking out master...
core: Done, hash 9cbb8437919696a4a8779ebb4d0cd78d99890ac6
core: Hash unchanged at 9cbb8437919696a4a8779ebb4d0cd78d99890ac6 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/core")
core: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/core"
Handling lib "core" at "https://github.com/mongoose-os-libs/core"...
wifi-setup: Done, hash 970a27a48e45c0c27fcf62120a35130bad78d546
wifi-setup: Hash unchanged at 970a27a48e45c0c27fcf62120a35130bad78d546 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/wifi-setup")
wifi-setup: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/wifi-setup"
Handling lib "wifi-setup" at "https://github.com/d4rkmen/wifi-setup"...
WARNING: the lib "mel-ac" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "mel-ac").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
mel-ac: Checking out master...
mel-ac: Done, hash a71e9038bed436114915cdf6f445825ea994dae7
mel-ac: Hash unchanged at a71e9038bed436114915cdf6f445825ea994dae7 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/mel-ac")
mel-ac: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/mel-ac"
Handling lib "mel-ac" at "https://github.com/mongoose-os-libs/mel-ac"...
Reading lib "rpc-common" at "https://github.com/mongoose-os-libs/rpc-common"...
rpc-common: Does not exist, cloning from "https://github.com/mongoose-os-libs/rpc-common"...
WARNING: the lib "rpc-common" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "rpc-common").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
rpc-common: Checking out master...
rpc-common: Done, hash 327e8125bdb204243d6f75716bee8c18fea8e76b
rpc-common: Hash unchanged at 327e8125bdb204243d6f75716bee8c18fea8e76b (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/rpc-common")
rpc-common: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/rpc-common"
Handling lib "rpc-common" at "https://github.com/mongoose-os-libs/rpc-common"...
Lib "rpc-common" at "https://github.com/mongoose-os-libs/rpc-common": already handled...
Reading lib "mbedtls" at "https://github.com/mongoose-os-libs/mbedtls"...
Reading lib "dns-sd" at "https://github.com/mongoose-os-libs/dns-sd"...
Lib "core" at "https://github.com/mongoose-os-libs/core": already handled...
mbedtls: Does not exist, cloning from "https://github.com/mongoose-os-libs/mbedtls"...
dns-sd: Does not exist, cloning from "https://github.com/mongoose-os-libs/dns-sd"...
WARNING: the lib "dns-sd" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "dns-sd").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
dns-sd: Checking out master...
dns-sd: Done, hash 4a003fefc55ea828ffaa6e47186d035a450c3160
dns-sd: Hash unchanged at 4a003fefc55ea828ffaa6e47186d035a450c3160 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/dns-sd")
dns-sd: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/dns-sd"
Handling lib "dns-sd" at "https://github.com/mongoose-os-libs/dns-sd"...
WARNING: the lib "mbedtls" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "mbedtls").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
mbedtls: Checking out master...
mbedtls: Done, hash 9a69695364399bbec68c84eb92f06df1cb7dd385
mbedtls: Hash unchanged at 9a69695364399bbec68c84eb92f06df1cb7dd385 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/mbedtls")
mbedtls: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/mbedtls"
Handling lib "mbedtls" at "https://github.com/mongoose-os-libs/mbedtls"...
Reading lib "mongoose" at "https://github.com/mongoose-os-libs/mongoose"...
mongoose: Does not exist, cloning from "https://github.com/mongoose-os-libs/mongoose"...
WARNING: the lib "mongoose" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "mongoose").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
mongoose: Checking out master...
mongoose: Done, hash 24f3c520fdfd5d7c33ff2734d4be42aab75107e9
mongoose: Hash unchanged at 24f3c520fdfd5d7c33ff2734d4be42aab75107e9 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/mongoose")
mongoose: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/mongoose"
Handling lib "mongoose" at "https://github.com/mongoose-os-libs/mongoose"...
Lib "rpc-service-config" at "https://github.com/mongoose-os-libs/rpc-service-config": already handled...
Lib "http-server" at "https://github.com/mongoose-os-libs/http-server": already handled...
Lib "rpc-ws" at "https://github.com/mongoose-os-libs/rpc-ws": already handled...
Lib "wifi" at "https://github.com/mongoose-os-libs/wifi": already handled...
Lib "rpc-common" at "https://github.com/mongoose-os-libs/rpc-common": already handled...
Lib "rpc-common" at "https://github.com/mongoose-os-libs/rpc-common": already handled...
Lib "mongoose" at "https://github.com/mongoose-os-libs/mongoose": already handled...
Lib "mongoose" at "https://github.com/mongoose-os-libs/mongoose": already handled...
Reading lib "vfs-common" at "https://github.com/mongoose-os-libs/vfs-common"...
Lib "mbedtls" at "https://github.com/mongoose-os-libs/mbedtls": already handled...
vfs-common: Does not exist, cloning from "https://github.com/mongoose-os-libs/vfs-common"...
WARNING: the lib "vfs-common" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "vfs-common").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
vfs-common: Checking out master...
vfs-common: Done, hash 23525d042fe865dbc8088513f510e26c62ae4800
vfs-common: Hash unchanged at 23525d042fe865dbc8088513f510e26c62ae4800 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/vfs-common")
vfs-common: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/vfs-common"
Handling lib "vfs-common" at "https://github.com/mongoose-os-libs/vfs-common"...
Reading lib "vfs-fs-spiffs" at "https://github.com/mongoose-os-libs/vfs-fs-spiffs"...
Reading lib "freertos" at "https://github.com/mongoose-os-libs/freertos"...
Reading lib "vfs-fs-lfs" at "https://github.com/mongoose-os-libs/vfs-fs-lfs"...
vfs-fs-spiffs: Does not exist, cloning from "https://github.com/mongoose-os-libs/vfs-fs-spiffs"...
freertos: Does not exist, cloning from "https://github.com/mongoose-os-libs/freertos"...
vfs-fs-lfs: Does not exist, cloning from "https://github.com/mongoose-os-libs/vfs-fs-lfs"...
WARNING: the lib "vfs-fs-spiffs" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "vfs-fs-spiffs").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
vfs-fs-spiffs: Checking out master...
vfs-fs-spiffs: Done, hash 0c1d9d07a4bf900f08ca4a250e29e7f5931301c5
vfs-fs-spiffs: Hash unchanged at 0c1d9d07a4bf900f08ca4a250e29e7f5931301c5 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/vfs-fs-spiffs")
vfs-fs-spiffs: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/vfs-fs-spiffs"
Handling lib "vfs-fs-spiffs" at "https://github.com/mongoose-os-libs/vfs-fs-spiffs"...
WARNING: the lib "freertos" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "freertos").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
WARNING: the lib "vfs-fs-lfs" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "vfs-fs-lfs").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
freertos: Checking out master...
vfs-fs-lfs: Checking out master...
freertos: Done, hash a4892468774aabf784cff92885c1f086bda59e63
freertos: Hash unchanged at a4892468774aabf784cff92885c1f086bda59e63 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/freertos")
freertos: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/freertos"
Handling lib "freertos" at "https://github.com/mongoose-os-libs/freertos"...
vfs-fs-lfs: Done, hash b611462e03d431f9541f50763b3153552db81861
vfs-fs-lfs: Hash unchanged at b611462e03d431f9541f50763b3153552db81861 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/vfs-fs-lfs")
vfs-fs-lfs: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/vfs-fs-lfs"
Handling lib "vfs-fs-lfs" at "https://github.com/mongoose-os-libs/vfs-fs-lfs"...
Lib "vfs-common" at "https://github.com/mongoose-os-libs/vfs-common": already handled...
Lib "vfs-common" at "https://github.com/mongoose-os-libs/vfs-common": already handled...
Reading lib "lwip" at "https://github.com/mongoose-os-libs/lwip"...
lwip: Does not exist, cloning from "https://github.com/mongoose-os-libs/lwip"...
WARNING: the lib "lwip" does not have version 2.19. Resorting to latest, but the build might fail.
It usually happens if you clone the latest version of some example app, and try to build it with the mos tool which is older than the lib (in this case, "lwip").
Consider using the version 2.19 of the app (git checkout 2.19), or using latest mos tool (mos update latest).
lwip: Checking out master...
lwip: Done, hash ea74e93e8229253828163714b968751022775aa4
lwip: Hash unchanged at ea74e93e8229253828163714b968751022775aa4 (dir "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/lwip")
lwip: Prepared local dir: "/data/fwbuild-volumes/2.20.0/apps/mel-ac-homekit/esp32/build_contexts/build_ctx_615691316/deps/lwip"
Handling lib "lwip" at "https://github.com/mongoose-os-libs/lwip"...
mongoose-os: Going to fetch module from https://github.com/cesanta/mongoose-os
mongoose-os: Does not exist, cloning from "https://github.com/cesanta/mongoose-os"...
Error: /private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/build_remote.go:359: build failed
/private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/build.go:278: 
/private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/build.go:221: 
/private/tmp/mos-20211215-10794-1x3cumm/mos-0278853cf62da0c96ef239143243e854b2f611a8/cli/main.go:194: build failed
exit status 1
Command completed.
d4rkmen commented 2 years ago

There was a mess with deps version. Resolved by fc94b1baa38532c58ee58e556be5f5723e065d5f