Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-16 Thread woshilapin
Hi, It is indeed a code error which looks weird. Are you sure the 2 compilations compile the same source code? How do you invoke `cargo install`? Because if you invoke `cargo install --path .`, then I'm pretty sure it's compiling whatever is on your machine at the current directory. However, an

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Nils Landt
> Tomas Volf <~@wolfsden.cz> hat am 15.02.2024 17:23 CET geschrieben: > > Oh... Right, so I managed to track down the difference. The importer uses > async-stream in 0.3.2 while cargo in 0.3.5. After updating the packaged > version > to 0.3.5, it now compiles, so that is nice. > > Wait, it is

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Tomas Volf
On 2024-02-15 15:42:51 +0100, Nils Landt wrote: > > Tomas Volf <~@wolfsden.cz> hat am 15.02.2024 14:26 CET geschrieben: > > > > > > On 2024-02-15 13:06:23 +, woshilapin wrote: > > > Hi, > > > > > > It is indeed a code error which looks weird. Are you sure the 2 > > > compilations compile the s

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Nils Landt
> Tomas Volf <~@wolfsden.cz> hat am 15.02.2024 14:26 CET geschrieben: > > > On 2024-02-15 13:06:23 +, woshilapin wrote: > > Hi, > > > > It is indeed a code error which looks weird. Are you sure the 2 > > compilations compile the same source code? > > Well, technically I am not sure. I ran

Re: How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Tomas Volf
On 2024-02-15 13:06:23 +, woshilapin wrote: > Hi, > > It is indeed a code error which looks weird. Are you sure the 2 compilations > compile the same source code? Well, technically I am not sure. I ran the `guix import crate -r netavark' and used the output from that. My expectation was tha

How to debug a failed build of rust application under cargo-build-system?

2024-02-15 Thread Tomas Volf
Greetings, I am trying to package a rust application and the build fails. I am not sure how to debug that. When I try to compile the application using `cargo install', it does pass and build just fine. However, when I try to build the application (imported using the cargo importer) using `guix