Skip to content

failed building #1

@mfiumara

Description

@mfiumara

Hi Andrew,

Great work on this bluetooth mesh stack it looks very promising. I was trying to cargo build it but it doesn't seem to work for me out of the box.

The first issue I encounter is that it looks like the submodule is pointing to a non-existant commit

mattia@mattia-pc:github/BluetoothMeshRust ‹master*›$ git submodule update
fatal: remote error: upload-pack: not our ref 246f4410e7e89e7dc08387342941cfdcff157b3c
Fetched in submodule path 'btle', but it did not contain 246f4410e7e89e7dc08387342941cfdcff157b3c. Direct fetching of that commit failed.

I tried to resolve this by pointing to the latest tip, but then I get different errors:

mattia@mattia-pc:github/BluetoothMeshRust ‹master*›$ cargo build         
error: failed to select a version for `btle`.
    ... required by package `bluetooth_mesh v0.1.4 (/home/mattia/github/BluetoothMeshRust)`
versions that meet the requirements `= 0.1.3` are: 0.1.3

the package `bluetooth_mesh` depends on `btle`, with features: `serde-1, tokio_asyncs` but `btle` does not have these features.


failed to select a version for `btle` which could resolve this conflict

I'm running 64bit arch linux with the following toolchain:

mattia@mattia-pc:github/BluetoothMeshRust ‹master*›$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/mattia/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu
beta-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.42.0 (b8cedc004 2020-03-09)

mattia@mattia-pc:github/BluetoothMeshRust ‹master*›$ 

Any help in resolving these issues? I'd be happy to contribute with CI / CD builds to keep things building. Thanks for the help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions