Re: [yocto] Timescaledb-toolkit issue #rust

2023-08-07 Thread Alexander Kanavin
meta-rust and cargo bitbake are both obsolete.

Please retry with a plain poky master checkout, and if something in
the recipe fails, we need to see the failure log and the complete
recipe as well, to be able to help.

Alex

On Mon, 7 Aug 2023 at 09:07,  wrote:
>
> Hello,
>
> I'm trying to add a recipe for timebasedb-toolkit from 
> https://github.com/timescale/timescaledb-toolkit , but I'm not very 
> experienced with Rust.
>
> I added meta-rust (just to have configuration for Rust 1.66.1) and installed 
> cargo-bitbake. I successfully generated the base recipe and tried to build 
> it. However it fails in the do_compile step.
>
> Before building the package, this configuration is required:
>
> cargo install --version '=0.9.7' --force cargo-pgrx
>
> cargo pgrx init --pg14 pg_config
>
>
>
> However, I don't know how to implement such "pre-configuration" to the 
> recipe. Tried to add the commands in do_compile:prepend() and also re-writing 
> the do_compile inserting those commands without luck.
>
> Any hint?
>
> I'm using Kirkstore, Raspberrypi CM4 platform, 64bit
>
> Thank you very much
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60722): https://lists.yoctoproject.org/g/yocto/message/60722
Mute This Topic: https://lists.yoctoproject.org/mt/100595227/21656
Mute #rust:https://lists.yoctoproject.org/g/yocto/mutehashtag/rust
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Timescaledb-toolkit issue #rust

2023-08-07 Thread dini . michele
Hello,

I'm trying to add a recipe for timebasedb-toolkit from 
https://github.com/timescale/timescaledb-toolkit , but I'm not very experienced 
with Rust.

I added meta-rust (just to have configuration for Rust 1.66.1) and installed 
cargo-bitbake. I successfully generated the base recipe and tried to build it. 
However it fails in the do_compile step.

Before building the package, this configuration is required:

cargo install --version '=0.9.7' --force cargo-pgrx

cargo pgrx init --pg14 pg_config

However, I don't know how to implement such "pre-configuration" to the recipe. 
Tried to add the commands in do_compile:prepend() and also re-writing the 
do_compile inserting those commands without luck.

Any hint?

I'm using Kirkstore, Raspberrypi CM4 platform, 64bit

Thank you very much

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60721): https://lists.yoctoproject.org/g/yocto/message/60721
Mute This Topic: https://lists.yoctoproject.org/mt/100595227/21656
Mute #rust:https://lists.yoctoproject.org/g/yocto/mutehashtag/rust
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-