All of lore.kernel.org
 help / color / mirror / Atom feed
* cargo-native do_fetch error
@ 2021-11-06 12:49 Zoltan Boszormenyi
  2021-11-06 13:02 ` [OE-core] " Konrad Weihmann
  0 siblings, 1 reply; 3+ messages in thread
From: Zoltan Boszormenyi @ 2021-11-06 12:49 UTC (permalink / raw)
  To: openembedded-core

I tried building my custom OS rebased on current master.

I got this error:

ERROR: cargo-native-1.56.0-r0 do_fetch: No checksum specified for 
'/data/genericx86-64-yocto-3.5/downloads/rustc-1.56.0-src.tar.xz', please add at least one 
to the recipe:
SRC_URI[rust.sha256sum] = "f13468889833c88e744ad579c5d8fbb7ecb53216159b54481a90e5dcdaa9e320"
ERROR: cargo-native-1.56.0-r0 do_fetch: Bitbake Fetcher Error: NoChecksumError('Missing 
SRC_URI checksum', 'https://static.rust-lang.org/dist/rustc-1.56.0-src.tar.xz;name=rust')
ERROR: Logfile of failure stored in: 
/data/genericx86-64-yocto-3.5/tmp-sicom-glibc/work/x86_64-linux/cargo-native/1.56.0-r0/temp/log.do_fetch.3495409
ERROR: Task 
(virtual:native:/data/genericx86-64-yocto-3.5/conf/../layers/openembedded-core/meta/recipes-devtools/cargo/cargo_1.56.0.bb:do_fetch) 
failed with exit code '1'

I found no bbappend for cargo or rust in any layers I currently use
so it must be a genuine bug in Yocto 3.5 at the moment.

Best regards,
Zoltán Böszörményi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] cargo-native do_fetch error
  2021-11-06 12:49 cargo-native do_fetch error Zoltan Boszormenyi
@ 2021-11-06 13:02 ` Konrad Weihmann
  2021-11-06 18:30   ` Zoltan Boszormenyi
  0 siblings, 1 reply; 3+ messages in thread
From: Konrad Weihmann @ 2021-11-06 13:02 UTC (permalink / raw)
  To: zboszor, openembedded-core



On 06.11.21 13:49, Zoltan Boszormenyi via lists.openembedded.org wrote:
> I tried building my custom OS rebased on current master.
> 
> I got this error:
> 
> ERROR: cargo-native-1.56.0-r0 do_fetch: No checksum specified for 
> '/data/genericx86-64-yocto-3.5/downloads/rustc-1.56.0-src.tar.xz', 
> please add at least one to the recipe:
> SRC_URI[rust.sha256sum] = 
> "f13468889833c88e744ad579c5d8fbb7ecb53216159b54481a90e5dcdaa9e320"
> ERROR: cargo-native-1.56.0-r0 do_fetch: Bitbake Fetcher Error: 
> NoChecksumError('Missing SRC_URI checksum', 
> 'https://static.rust-lang.org/dist/rustc-1.56.0-src.tar.xz;name=rust')
> ERROR: Logfile of failure stored in: 
> /data/genericx86-64-yocto-3.5/tmp-sicom-glibc/work/x86_64-linux/cargo-native/1.56.0-r0/temp/log.do_fetch.3495409 

Could you kindly double check your setup, because at 
meta/recipes-devtools/rust/rust-source.inc one will find

SRC_URI += 
"https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust"
SRC_URI[rust.sha256sum] = 
"f13468889833c88e744ad579c5d8fbb7ecb53216159b54481a90e5dcdaa9e320"

which looks okayish to me.
And this include is direct injected in 
meta/recipes-devtools/cargo/cargo_1.56.0.bb right at the first line

Maybe this file went missing or was otherwise masked in your setup


> 
> ERROR: Task 
> (virtual:native:/data/genericx86-64-yocto-3.5/conf/../layers/openembedded-core/meta/recipes-devtools/cargo/cargo_1.56.0.bb:do_fetch) 
> failed with exit code '1'
> 
> I found no bbappend for cargo or rust in any layers I currently use
> so it must be a genuine bug in Yocto 3.5 at the moment.
> 
> Best regards,
> Zoltán Böszörményi
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#157937): https://lists.openembedded.org/g/openembedded-core/message/157937
> Mute This Topic: https://lists.openembedded.org/mt/86862283/3647476
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [kweihmann@outlook.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OE-core] cargo-native do_fetch error
  2021-11-06 13:02 ` [OE-core] " Konrad Weihmann
@ 2021-11-06 18:30   ` Zoltan Boszormenyi
  0 siblings, 0 replies; 3+ messages in thread
From: Zoltan Boszormenyi @ 2021-11-06 18:30 UTC (permalink / raw)
  To: Konrad Weihmann, openembedded-core

2021. 11. 06. 14:02 keltezéssel, Konrad Weihmann írta:
> 
> 
> On 06.11.21 13:49, Zoltan Boszormenyi via lists.openembedded.org wrote:
>> I tried building my custom OS rebased on current master.
>>
>> I got this error:
>>
>> ERROR: cargo-native-1.56.0-r0 do_fetch: No checksum specified for 
>> '/data/genericx86-64-yocto-3.5/downloads/rustc-1.56.0-src.tar.xz', please add at least 
>> one to the recipe:
>> SRC_URI[rust.sha256sum] = 
>> "f13468889833c88e744ad579c5d8fbb7ecb53216159b54481a90e5dcdaa9e320"
>> ERROR: cargo-native-1.56.0-r0 do_fetch: Bitbake Fetcher Error: NoChecksumError('Missing 
>> SRC_URI checksum', 'https://static.rust-lang.org/dist/rustc-1.56.0-src.tar.xz;name=rust')
>> ERROR: Logfile of failure stored in: 
>> /data/genericx86-64-yocto-3.5/tmp-sicom-glibc/work/x86_64-linux/cargo-native/1.56.0-r0/temp/log.do_fetch.3495409 
> 
> 
> Could you kindly double check your setup, because at 
> meta/recipes-devtools/rust/rust-source.inc one will find
> 
> SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust"
> SRC_URI[rust.sha256sum] = "f13468889833c88e744ad579c5d8fbb7ecb53216159b54481a90e5dcdaa9e320"
> 
> which looks okayish to me.
> And this include is direct injected in meta/recipes-devtools/cargo/cargo_1.56.0.bb right 
> at the first line

I saw that file and that's why I wondered.

> Maybe this file went missing or was otherwise masked in your setup

No, it's there and not masked.

The problem was that I didn't realize that oe-core master has merged meta-rust.
I still had the standalone meta-rust in my repo manifest xml.
After removing it, cargo(-native) can be fetched and built just fine.

Sorry for the noise.

> 
> 
>>
>> ERROR: Task 
>> (virtual:native:/data/genericx86-64-yocto-3.5/conf/../layers/openembedded-core/meta/recipes-devtools/cargo/cargo_1.56.0.bb:do_fetch) 
>> failed with exit code '1'
>>
>> I found no bbappend for cargo or rust in any layers I currently use
>> so it must be a genuine bug in Yocto 3.5 at the moment.
>>
>> Best regards,
>> Zoltán Böszörményi
>>
>>
>> 
>>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-06 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-06 12:49 cargo-native do_fetch error Zoltan Boszormenyi
2021-11-06 13:02 ` [OE-core] " Konrad Weihmann
2021-11-06 18:30   ` Zoltan Boszormenyi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.