I opened a dedicated ticket (
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15104) for this issue.

On Thu, 13 Apr 2023 at 13:50, Frederic Martinsons via lists.openembedded.org
<[email protected]> wrote:

> By the way, it was way simpler to update my cargo to 1.68.2 and I confirm
> the patching still works like a charm.
>
> On Thu, 13 Apr 2023 at 13:40, Frederic Martinsons via
> lists.openembedded.org <frederic.martinsons=
> [email protected]> wrote:
>
>> Hello,
>>
>> Since I didn't manage to make any progress on the reproducibility issue
>> of zvariant (https://bugzilla.yoctoproject.org/show_bug.cgi?id=15090) i
>> decided to try another rust project to see their reproducibility state.
>>
>> I went with zbus (https://github.com/zeenix/zbus) which use zvariant
>> (because one of my hypothesis is that zvariant was not aimed to be build
>> standalone) and I came into another issue which is the subject of this
>> mail. I cannot make the zbus recipe to be built:
>>
>> | error: failed to get `glib` as a dependency of package `zvariant
>> v3.12.0
>> (/home/jenkins/yocto-poky-master/poky/build/tmp/work/core2-64-poky-linux/zbus/3.11.0-r0/git/zvariant)`
>> |
>> | Caused by:
>> |   failed to load source for dependency `glib`
>> |
>> | Caused by:
>> |   Unable to update https://github.com/gtk-rs/glib?rev=c9ee583cea0
>> |
>> | Caused by:
>> |   can't checkout from 'https://github.com/gtk-rs/glib': you are in the
>> offline mode (--offline)
>>
>> I looked at the patching process of cargo_common.class and it is
>> correctly applied and the cargo config file contains the following content:
>>
>> [patch."https://github.com/gtk-rs/glib";]
>> glib = { path =
>> "/home/jenkins/yocto-poky-master/poky/build/tmp/work/core2-64-poky-linux/zbus/3.11.0-r0/glib"
>> }
>> glib-macros = { path =
>> "/home/jenkins/yocto-poky-master/poky/build/tmp/work/core2-64-poky-linux/zbus/3.11.0-r0/glib-macros"
>> }
>>
>> [patch."https://github.com/gtk-rs/sys";]
>> glib-sys = { path =
>> "/home/jenkins/yocto-poky-master/poky/build/tmp/work/core2-64-poky-linux/zbus/3.11.0-r0/glib-sys"
>> }
>> gobject-sys = { path =
>> "/home/jenkins/yocto-poky-master/poky/build/tmp/work/core2-64-poky-linux/zbus/3.11.0-r0/gobject-sys"
>> }
>>
>> I first think about what @Alex Kiernan <[email protected]> said on
>> its commit message (
>> https://git.openembedded.org/openembedded-core/commit/?id=684a8af41c5bb70db68e75f72bdc4c9b09630810)
>> about patching not working with virtual manifest since the zbus project use
>> of this.
>>
>> But I managed to make this patching work with the zbus project locally
>> (by the way I notified the upstream about that:
>> https://github.com/rust-lang/cargo/issues/4934).
>>
>> I cannot understand why this does not work under yocto despite the
>> correct cargo config file for patching.
>>
>> On my ubuntu, I used cargo 1.67.1 and oe has 1.68.2, will try a downgrade
>> but I feel that this is not the issue.
>>
>> Any ideas ?
>>
>>
>>
>>
>>
>>
>>
>>
>>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#179986): 
https://lists.openembedded.org/g/openembedded-core/message/179986
Mute This Topic: https://lists.openembedded.org/mt/98238501/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to