mbox series

[kirkstone,0/2] Failure for rust-cross for arm(v5)

Message ID 20231130101010.1696-1-jermain.horsman@nedap.com
Headers show
Series Failure for rust-cross for arm(v5) | expand

Message

jhatnedap@gmail.com Nov. 30, 2023, 10:08 a.m. UTC
From: Jermain Horsman <jermain.horsman@nedap.com>

I ran into the following when trying to compile rust for arm (on kirkstone):

Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

After some investigation I notices some patches on master which were not
available on kirkstone.
Using the patches included here I am able to compile successfully.

However, some additional patches are not on kirkstone,
I am unsure whether or not these should be backported too,
maybe someone, who has a better understanding of these, can comment on that.

It's about the following patches:
https://git.openembedded.org/openembedded-core/commit/?id=0f83d959465e0d99f98ade6803281585931d1b02
https://git.openembedded.org/openembedded-core/commit/?id=2d4b35a0db1220e7a7f1b6776223aa4d40a3f246

The following patch is also not on kirkstone,
based on the commit message I think it might be desired to have this one as well:
https://git.openembedded.org/openembedded-core/commit/?id=d554161a045d12411f288394e253c54aa4c1257c



Richard Purdie (2):
  rust-cross/rust-common: Merge arm target handling code to fix
    cross-canadian
  rust-cross: Simplfy the rust_gen_target calls

 meta/recipes-devtools/rust/rust-common.inc | 18 ++++++++++++------
 meta/recipes-devtools/rust/rust-cross.inc  | 21 ++++-----------------
 2 files changed, 16 insertions(+), 23 deletions(-)

Comments

Steve Sakoman Dec. 1, 2023, 10:35 p.m. UTC | #1
Unfortunately this series breaks oe-selftest for all distros on the autobuilder.

Here is a sample failure log:

https://errors.yoctoproject.org/Errors/Details/745002/

Steve

On Thu, Nov 30, 2023 at 12:10 AM Jermain Horsman
<jermain.horsman@nedap.com> wrote:
>
> From: Jermain Horsman <jermain.horsman@nedap.com>
>
> I ran into the following when trying to compile rust for arm (on kirkstone):
>
> Exception: TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
>
> After some investigation I notices some patches on master which were not
> available on kirkstone.
> Using the patches included here I am able to compile successfully.
>
> However, some additional patches are not on kirkstone,
> I am unsure whether or not these should be backported too,
> maybe someone, who has a better understanding of these, can comment on that.
>
> It's about the following patches:
> https://git.openembedded.org/openembedded-core/commit/?id=0f83d959465e0d99f98ade6803281585931d1b02
> https://git.openembedded.org/openembedded-core/commit/?id=2d4b35a0db1220e7a7f1b6776223aa4d40a3f246
>
> The following patch is also not on kirkstone,
> based on the commit message I think it might be desired to have this one as well:
> https://git.openembedded.org/openembedded-core/commit/?id=d554161a045d12411f288394e253c54aa4c1257c
>
>
>
> Richard Purdie (2):
>   rust-cross/rust-common: Merge arm target handling code to fix
>     cross-canadian
>   rust-cross: Simplfy the rust_gen_target calls
>
>  meta/recipes-devtools/rust/rust-common.inc | 18 ++++++++++++------
>  meta/recipes-devtools/rust/rust-cross.inc  | 21 ++++-----------------
>  2 files changed, 16 insertions(+), 23 deletions(-)
>
> --
> 2.42.0.windows.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#191490): https://lists.openembedded.org/g/openembedded-core/message/191490
> Mute This Topic: https://lists.openembedded.org/mt/102891103/3620601
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [steve@sakoman.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>