-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meta: Wish Support bitbake #20
Comments
This is useful for cargo-bitbake tool Relate-to: astarte-platform#16 Bug: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
This is useful for cargo-bitbake tool Relate-to: astarte-platform#16 Bug: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
This is useful for cargo-bitbake tool Relate-to: astarte-platform#16 Bug: astarte-platform#20 Forwarded: astarte-platform#21 Signed-off-by: Philippe Coval <[email protected]>
This is useful for cargo-bitbake tool Relate-to: astarte-platform#16 Bug: astarte-platform#20 Forwarded: astarte-platform#21 Signed-off-by: Philippe Coval <[email protected]>
This file has been generated using: cargo bitbake It might be commited into meta-rust Relate-to: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
Hi, Origin: openembedded/openembedded-core@6cd2cf6 Fell free to reach me if you want to know more about status, some help will be also needed to use the cloud example. I am not sure I used the right variables in:
|
[Khem Raj] defaults for gcc is to use -fno-common this ensures that it keeps building with gcc -fno-common Fixes src/arm/Ginit.c:60: multiple definition of `_U_dyn_info_list'; mi/.libs/dyn-info-list.o:/usr/src/debug/libunwind/1.4.0-r0/build/src/../../libunwind-1.4.0/src/mi/dyn-info-list.c:28: first defined here [Philippe Coval] Change and related patch ported to dunfell branch on 1.3.1 version Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Richard Purdie <[email protected]> Origin: openembedded@6cd2cf6 Relate-to: libunwind/libunwind#312 Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/191 Change-Id: If34ea06e365f57b6007e9ea3da8d9d716e4b01cc Forwarded: https://lists.openembedded.org/g/openembedded-core/message/158932 Last-Update: 2021-11-25 Relate-to: astarte-platform/astarte-device-sdk-rust#20 Signed-off-by: Philippe Coval <[email protected]>
[Khem Raj] defaults for gcc is to use -fno-common this ensures that it keeps building with gcc -fno-common Fixes src/arm/Ginit.c:60: multiple definition of `_U_dyn_info_list'; mi/.libs/dyn-info-list.o:/usr/src/debug/libunwind/1.4.0-r0/build/src/../../libunwind-1.4.0/src/mi/dyn-info-list.c:28: first defined here [Philippe Coval] Change and related patch ported to dunfell branch on 1.3.1 version Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Richard Purdie <[email protected]> Origin: openembedded@6cd2cf6 Relate-to: libunwind/libunwind#312 Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/191 Change-Id: If34ea06e365f57b6007e9ea3da8d9d716e4b01cc Forwarded: https://lists.openembedded.org/g/openembedded-core/message/158932 Last-Update: 2021-11-25 Relate-to: astarte-platform/astarte-device-sdk-rust#20 Relate-to: YoeDistro#1 Signed-off-by: Philippe Coval <[email protected]>
[Khem Raj] defaults for gcc is to use -fno-common this ensures that it keeps building with gcc -fno-common Fixes src/arm/Ginit.c:60: multiple definition of `_U_dyn_info_list'; mi/.libs/dyn-info-list.o:/usr/src/debug/libunwind/1.4.0-r0/build/src/../../libunwind-1.4.0/src/mi/dyn-info-list.c:28: first defined here [Philippe Coval] Change and related patch ported to dunfell branch on 1.3.1 version Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Richard Purdie <[email protected]> Origin: openembedded@6cd2cf6 Relate-to: libunwind/libunwind#312 Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/191 Change-Id: If34ea06e365f57b6007e9ea3da8d9d716e4b01cc Forwarded: https://lists.openembedded.org/g/openembedded-core/message/158932 Last-Update: 2021-11-25 Relate-to: astarte-platform/astarte-device-sdk-rust#20 Relate-to: YoeDistro#1 Relate-to: https://lists.openembedded.org/g/openembedded-core/message/159140?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Acreated%2C0%2Ccoval%2C20%2C2%2C0%2C87483217 Signed-off-by: Philippe Coval <[email protected]>
After configured interfaces at cloud side , i am able to see some activities: Next, it would be nice to make a shared lib that can be used from non rust programs too, what do you think of this idea ? More to come at fosdem:
|
My distro RUST setup is not running it out of the box so I used a more recent one. For the record here is is the observed error: error[E0599]: no variant or associated item named `OutOfMemory` found for enum `ErrorKind` in the current scope -> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/sqlite/connection/establish.rs:107:32 Relate-to: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
My distro RUST setup is not running it out of the box so I used a more recent one. For the record the observed error was: error[E0599]: no variant or associated item named `OutOfMemory` found for enum `ErrorKind` in the current scope -> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/sqlite/connection/establish.rs:107:32 Forwarded: astarte-platform#31 Relate-to: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
Using officla rust's docker image as base. For the record it can be rebased on ubuntu:21.10 (and cargo should be added to base packages) My distro RUST setup is not running it out of the box so I used a more recent one. For the record the observed error was: error[E0599]: no variant or associated item named `OutOfMemory` found for enum `ErrorKind` in the current scope -> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/sqlite/connection/establish.rs:107:32 Forwarded: astarte-platform#31 Relate-to: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
Using official rust's docker image as base. For the record it can be rebased on ubuntu:21.10 (and cargo should be added to base packages) My distro RUST setup is not running it out of the box so I used a more recent one. For the record the observed error was: error[E0599]: no variant or associated item named `OutOfMemory` found for enum `ErrorKind` in the current scope -> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/sqlite/connection/establish.rs:107:32 Install example is needed because there is no default installation rule: error: there is nothing to install in `astarte_sdk v0.1.0 (/local/src/astarte-device-sdk-rust)`, because it has no binaries Forwarded: astarte-platform#31 Relate-to: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
Using official rust's docker image as base. Usage is straight forward: ``` docker run astarte-device-sdk-rust:latest run --example simple -- \ --credentials-secret $credentialssecret \ --device-id $deviceid \ --pairing-url $pairingurl \ --realm $realm ``` For the record it can be rebased on ubuntu:21.10 (and cargo should be added to base packages) My distro RUST setup is not running it out of the box so I used a more recent one. For the record the observed error was: error[E0599]: no variant or associated item named `OutOfMemory` found for enum `ErrorKind` in the current scope -> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/sqlite/connection/establish.rs:107:32 Install example is needed because there is no default installation rule: error: there is nothing to install in `astarte_sdk v0.1.0 (/local/src/astarte-device-sdk-rust)`, because it has no binaries Forwarded: astarte-platform#31 Relate-to: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
Using official rust's docker image as base. Usage is straight forward: ``` docker run astarte-device-sdk-rust:latest run --example simple -- \ --credentials-secret $credentialssecret \ --device-id $deviceid \ --pairing-url $pairingurl \ --realm $realm ``` For the record it can be rebased on ubuntu:21.10 (and cargo should be added to base packages) My distro RUST setup is not running it out of the box so I used a more recent one. For the record the observed error was: error[E0599]: no variant or associated item named `OutOfMemory` found for enum `ErrorKind` in the current scope -> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.10/src/sqlite/connection/establish.rs:107:32 Install example is needed because there is no default installation rule: error: there is nothing to install in `astarte_sdk v0.1.0 (/local/src/astarte-device-sdk-rust)`, because it has no binaries Forwarded: astarte-platform#31 Relate-to: astarte-platform#20 Signed-off-by: Philippe Coval <[email protected]>
Hi,
Let me open issue to track related effort to support bitbake,
I have generated a recipe I will share it if you want to test until it's finalized.
Relate-to: #16
Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/191
The text was updated successfully, but these errors were encountered: