🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: org.yoctoproject.lists.yocto-patches
1 messages
1 total messages Started by Randy MacLeod Thu, 08 May 2025 20:31
Re: [yocto-patches] [meta-lts-mixins][kirkstone/rust][PATCH 00/38] Update to Rust 1.85.1
#1
Author: Randy MacLeod
Date: Thu, 08 May 2025 20:31
704 lines
43152 bytes
--------------fvh8qAZ2Nhb1O4tmlyTzwR6M
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 548HqNM3028371

On 2025-05-08 3:51 p.m., Scott Murray wrote:
> On Thu, 8 May 2025, Sambu, Soumya wrote:
>
>> Hi Scott,
>>
>> I have observed the following build failures which appear to be caused=
 by the commit<https://git.yoctoproject.org/meta-lts-mixins/commit/?h=3Dk=
irkstone/rust&id=3D5b33fe5072c224b9f644272175ff4e3ea73166f9> - "Backport =
newer Python setuptools-rust and setuptools":
> I'm curious how widely you tested, i.e. is this all that came out of a
> world build?
>
>>    1.
>> systemtap do_configure failure:
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82ERROR: QA Issue: This autoconf log=
 indicates errors, it looked at host include and/or library paths while d=
etermining system capabilities.
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82Rerun configure task after fixing =
this. [configure-unsafe]
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82NOTE: Checking configure output fo=
r unrecognised options ERROR: Fatal QA errors were found, failing task.
>>    2.
>> python3-grpcio do_compile failure:
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82distutils.errors.CompileError: com=
mand '.../x86_64-poky-linux-gcc' failed with exit code 1
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82...
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82cc1plus: warning: include location=
 "/usr/include/..." is unsafe for cross-compilation [-Wpoison-system-dire=
ctories]
>>    3.
>> python3-strict-rfc3339 do_compile failure:
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82error: invalid command 'bdist_whee=
l'
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82ERROR: 'python3 setup.py bdist_whe=
el ' execution failed.
>>    4.
>> python3-cson do_compile failure:
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82File ".../site-packages/setuptools=
/dist.py", line 350, in _normalize_version
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82normalized =3D str(Version(version=
))
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82File ".../packaging/version.py", l=
ine 198, in __init__
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82raise InvalidVersion(f"Invalid ver=
sion: '{version}'")
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82setuptools.extern.packaging.versio=
n.InvalidVersion: Invalid version: 'b'1.0.9-16-gf3f2898''
>> =E2=80=82=E2=80=82=E2=80=82=E2=80=82ERROR: 'python3 setup.py bdist_whe=
el ' execution failed.
>>
>> Regards,
>> Soumya
> I'm not sure what you'd like me to do here.  A lot of things depend on
> python3-cryptography, so it's not like I can revert the change and leav=
e
> it broken.  I could go back and make another attempt to hack the
> kirkstone setuptools-rust to try to make it work for python3-cryptograp=
hy
> and pray I don't break someone's downstream usecase.  There's enough
> entangled change history in setuptools-rust that that did not look like=
 a
> great idea the first time, hence backporting a known to work, widely
> tested version.  I'm willing to look at making systemtap build, since
> it's in oe-core, but jumping through hoops for everything in meta-pytho=
n
> is not something I can commit to.
Sure.
>   I would take patches for the
> dynamic-layers to fix them, or backports of their scarthgap branch
> version if that's what it'd take...


Great, that's our plan.

I had asked Soumya to let you know what we found out.
Stay tuned...


./Randy


>
> Scott
>
>
>> ________________________________
>> From:yocto-patches@lists.yoctoproject.org <yocto-patches@lists.yoctopr=
oject.org> on behalf of Scott Murray via lists.yoctoproject.org<scott.mur=
ray=3Dkonsulko.com@lists.yoctoproject.org>
>> Sent: Tuesday, May 6, 2025 12:05 AM
>> To:yocto-patches@lists.yoctoproject.org <yocto-patches@lists.yoctoproj=
ect.org>
>> Subject: Re: [yocto-patches] [meta-lts-mixins][kirkstone/rust][PATCH 0=
0/38] Update to Rust 1.85.1
>>
>> CAUTION: This email comes from a non Wind River email account!
>> Do not click links or open attachments unless you recognize the sender=
 and know the content is safe.
>>
>> On Thu, 1 May 2025, Scott Murray via lists.yoctoproject.org wrote:
>>
>>> After more of a delay than I would like, here is the patch series to
>>> backport the various Rust toolchain changes for the 1.81.0 -> 1.85.1
>>> updates that have landed in oe-core master branch in the last several
>>> months.
>>>
>>> The likely most impactful change for users is that in order to fix be=
ing
>>> able to build python3-cryptography with Rust >=3D 1.83, I have had to
>>> backport newer versions of python3-setuptools-rust, and more importan=
tly,
>>> python3-setuptools.  Extracting the required fixes in setuptools-rust
>>> seems potentially possible, but untangling the change history in it g=
ot
>>> to the point where I lost confidence in not accidentally breaking som=
e
>>> behavior relied upon by downstream users.  As such, using the tested
>>> version from scarthgap branch seems a better solution for now.
>>> That said, if you are a heavy Python module user, there may be some
>>> potential for breakage due to the unexpected setuptools upgrade.  I h=
ave
>>> not seen issues in my testing with oe-core recipes, but have not yet =
tried
>>> a world build of all of meta-python.
>>>
>>> I have also included a README.me update to document my requirements /
>>> guidelines for submissions of bbappends in dynamic layers.  They are
>>> for the most part what I posted a few weeks back.
>>>
>>> I intend to push this series to kirkstone/rust in about 48 hours
>>> unless a serious showstopper is pointed out.
>> Sorry for the delay, I have now pushed this to kirkstone/rust, along w=
ith
>> backporting these handful of newer commits to catch up:
>>
>> 83ce817 rust: Fix build with GCC-15 on aarch64/musl
>> aad06c9 ptest-cargo: fix incorrect FAIL count when multiple tests are =
run
>> 98dd739 ptest-cargo: refactor run-ptest generation to remove redundanc=
y
>> 398374c ptest-cargo: handle packageconfig arguments
>>
>> Hopefully this addresses the ptest-cargo issue that Peter Marko pointe=
d
>> out.  Please let me know if you see any issues.
>>
>> Scott
>>
>>> Changes:
>>>
>>> Alexander Kanavin (1):
>>>    rust: restore parallel builds, disable lto only for rustdoc
>>>
>>> Deepesh Varatharajan (13):
>>>    rust: Upgrade 1.81.0->1.82.0
>>>    rust: oe-selftest issue fix with v1.82
>>>    rust: Oe-selftest changes for rust v1.82.0
>>>    rust: Upgrade 1.82.0->1.83.0
>>>    rust: Fix build break because of download-ci-llvm
>>>    rust: Oe-selftest changes for rust v1.83.0
>>>    rust: Fix bloat issue in recent rust updates
>>>    rust: Fix build break because of "download-rustc" and "llvm-tools"
>>>    rust: Upgrade 1.83.0->1.84.1
>>>    rust: Fix build failure when multilibs are enabled
>>>    rust: Oe-selftest changes for rust v1.84.1
>>>    rust: re-enable the unit tests that are ignored
>>>    rust: re-enable the unit tests that are ignored
>>>
>>> Enrico Scholz (1):
>>>    cargo_common: use 'config.toml' instead of plain 'config'
>>>
>>> Harish Sadineni (2):
>>>    rust: fix for rust multilib sdk configuration
>>>    rust: remove redundant cargo config file
>>>
>>> Igor Opaniuk (1):
>>>    rust/README-rust.md: fix markdown style issues
>>>
>>> Jean-Pierre Geslin (1):
>>>    cargo: pass PACKAGECONFIG_CONFARGS to cargo build
>>>
>>> Khem Raj (3):
>>>    rust-llvm: Fix build break found with clang
>>>    rust-llvm: Disable benchmarks by cmake options
>>>    cargo-c,rust: Fix build on risv32
>>>
>>> Martin Jansa (1):
>>>    cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote
>>>
>>> Pedro Ferreira (1):
>>>    rust-common.bbclass: soft assignment for RUSTLIB path
>>>
>>> Peter Kjellerstedt (1):
>>>    libstd-rs: Correct the license to use Unicode-3.0
>>>
>>> Richard Purdie (5):
>>>    meta/meta-selftest: Fix variable assignment whitespace
>>>    recipes: Drop ld-is-gold support
>>>    rust-source: Fix remove_gcc_directory
>>>    rust-llvm: Compile llvm to use dynamic libraries
>>>    rust-llvm: Disable libedit
>>>
>>> Scott Murray (3):
>>>    Add selftest backport to ease maintenance
>>>    Backport newer Python setuptools-rust and setuptools
>>>    Update README.md wrt dynamic layer submissions
>>>
>>> Sean Nyekjaer (1):
>>>    rust-cross-canadian: set CC_<triple> for nativesdk
>>>
>>> Yash Shinde (3):
>>>    rust: Update "do_update_snapshot" task for rust-snapshot.inc
>>>    rust: Upgrade 1.84.1->1.85.0
>>>    rust: Upgrade 1.85.0->1.85.1
>>>
>>> Yoann Congal (1):
>>>    cargo-c: Update patch Upstream-Status
>>>
>>>   README.md                                     |  49 ++-
>>>   classes/cargo.bbclass                         |   6 +-
>>>   classes/cargo_common.bbclass                  |  20 +-
>>>   classes/rust-common.bbclass                   |   2 +-
>>>   classes/rust-target-config.bbclass            |   5 +
>>>   classes/rust.bbclass                          |   8 +-
>>>   conf/layer.conf                               |   8 +-
>>>   files/common-licenses/Unicode-3.0             |  39 +++
>>>   lib/oeqa/selftest/cases/rust_mixin.py         | 134 ++++++++
>>>   meta/lib/oeqa/selftest/cases/rust.py          |  85 -----
>>>   .../packagegroup-rust-cross-canadian.bb       |   2 +-
>>>   .../python/python3-setuptools-rust_1.9.0.bb   |  35 ++
>>>   .../python3-setuptools-scm_6.4.2.bbappend     |   2 +
>>>   ...nfig.py-make-it-possible-to-substite.patch |  58 ++++
>>>   ...ly-do-not-fetch-code-by-easy_install.patch |  31 ++
>>>   .../python3-setuptools/CVE-2024-6345.patch    | 312 +++++++++++++++=
+++
>>>   .../python/python3-setuptools_69.1.1.bb       |  58 ++++
>>>   recipes-devtools/rust/README-rust.md          |  24 +-
>>>   ...l-codes-on-riscv32gc-unknown-linux-g.patch |  38 +++
>>>   .../rust/cargo-c_0.10.5+cargo-0.83.0.bb       |   1 +
>>>   .../rust/{cargo_1.81.0.bb =3D> cargo_1.85.1.bb} |  13 +
>>>   ...l-codes-on-riscv32gc-unknown-linux-g.patch | 112 +++++++
>>>   ...teps-tool.rs-switch-off-lto-for-rust.patch |  46 +++
>>>   .../Zdual-proc-macros-additional-check.patch  |  31 ++
>>>   ...epro-issue-fix-with-cc-crate-hashmap.patch |  90 ++++-
>>>   ...d-statically-in-rustc_driver-feature.patch | 228 +++++++++++++
>>>   .../rust/files/rust-oe-selftest.patch         | 279 +++++----------=
-
>>>   ...ue-fix-cargo-config-for-codegenunits.patch |  26 --
>>>   .../files/rv32-cargo-rustix-0.38.28-fix.patch |  70 ----
>>>   .../rust/files/rv32-rustix-libc-backend.patch |  33 --
>>>   .../rust/files/zlib-off64_t.patch             |  31 --
>>>   ...ibstd-rs_1.81.0.bb =3D> libstd-rs_1.85.1.bb} |  11 +-
>>>   recipes-devtools/rust/rust-cross-canadian.inc |  24 +-
>>>   ....81.0.bb =3D> rust-cross-canadian_1.85.1.bb} |   0
>>>   .../0003-llvm-fix-include-benchmarks.patch    |  25 --
>>>   ...ust-llvm_1.81.0.bb =3D> rust-llvm_1.85.1.bb} |   8 +-
>>>   recipes-devtools/rust/rust-snapshot.inc       |  81 ++---
>>>   recipes-devtools/rust/rust-source.inc         |  10 +-
>>>   .../rust/{rust_1.81.0.bb =3D> rust_1.85.1.bb}   |  76 +++--
>>>   39 files changed, 1492 insertions(+), 619 deletions(-)
>>>   create mode 100644 files/common-licenses/Unicode-3.0
>>>   create mode 100644 lib/oeqa/selftest/cases/rust_mixin.py
>>>   delete mode 100644 meta/lib/oeqa/selftest/cases/rust.py
>>>   create mode 100644 recipes-devtools/python/python3-setuptools-rust_=
1.9.0.bb
>>>   create mode 100644 recipes-devtools/python/python3-setuptools-scm_6=
.4.2.bbappend
>>>   create mode 100644 recipes-devtools/python/python3-setuptools/0001-=
_distutils-sysconfig.py-make-it-possible-to-substite.patch
>>>   create mode 100644 recipes-devtools/python/python3-setuptools/0001-=
conditionally-do-not-fetch-code-by-easy_install.patch
>>>   create mode 100644 recipes-devtools/python/python3-setuptools/CVE-2=
024-6345.patch
>>>   create mode 100644 recipes-devtools/python/python3-setuptools_69.1.=
1.bb
>>>   create mode 100644 recipes-devtools/rust/cargo-c/0001-Define-more-i=
octl-codes-on-riscv32gc-unknown-linux-g.patch
>>>   rename recipes-devtools/rust/{cargo_1.81.0.bb =3D> cargo_1.85.1.bb}=
 (87%)
>>>   create mode 100644 recipes-devtools/rust/files/0001-Define-more-ioc=
tl-codes-on-riscv32gc-unknown-linux-g.patch
>>>   create mode 100644 recipes-devtools/rust/files/0001-src-core-build_=
steps-tool.rs-switch-off-lto-for-rust.patch
>>>   create mode 100644 recipes-devtools/rust/files/Zdual-proc-macros-ad=
ditional-check.patch
>>>   create mode 100644 recipes-devtools/rust/files/revert-link-std-stat=
ically-in-rustc_driver-feature.patch
>>>   delete mode 100644 recipes-devtools/rust/files/rustdoc-repro-issue-=
fix-cargo-config-for-codegenunits.patch
>>>   delete mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.=
38.28-fix.patch
>>>   delete mode 100644 recipes-devtools/rust/files/rv32-rustix-libc-bac=
kend.patch
>>>   delete mode 100644 recipes-devtools/rust/files/zlib-off64_t.patch
>>>   rename recipes-devtools/rust/{libstd-rs_1.81.0.bb =3D> libstd-rs_1.=
85.1.bb} (76%)
>>>   rename recipes-devtools/rust/{rust-cross-canadian_1.81.0.bb =3D> ru=
st-cross-canadian_1.85.1.bb} (100%)
>>>   delete mode 100644 recipes-devtools/rust/rust-llvm/0003-llvm-fix-in=
clude-benchmarks.patch
>>>   rename recipes-devtools/rust/{rust-llvm_1.81.0.bb =3D> rust-llvm_1.=
85.1.bb} (94%)
>>>   rename recipes-devtools/rust/{rust_1.81.0.bb =3D> rust_1.85.1.bb} (=
81%)
>>>
>>>
>> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#1515):https://lists.yoctoproject.org/g/yocto-patch=
es/message/1515
>> Mute This Topic:https://lists.yoctoproject.org/mt/112569336/7320427
>> Group Owner:yocto-patches+owner@lists.yoctoproject.org
>> Unsubscribe:https://lists.yoctoproject.org/g/yocto-patches/leave/14043=
740/7320427/1891404428/xyzzy [soumya.sambu@windriver.com]
>> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>>
>>
> >


--=20
# Randy MacLeod
# Wind River Linux

--------------fvh8qAZ2Nhb1O4tmlyTzwR6M
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx0a-0064b401.pphosted.com id 548HqNM3028371

<!DOCTYPE html><html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
  </head>
  <body>
    <div class=3D"moz-cite-prefix">On 2025-05-08 3:51 p.m., Scott Murray
      wrote:<br>
    </div>
    <blockquote type=3D"cite" cite=3D"mid:9d7b5b76-2368-a7f0-58be-e32e890=
d32ee@konsulko.com">
      <pre wrap=3D"" class=3D"moz-quote-pre">On Thu, 8 May 2025, Sambu, S=
oumya wrote:

</pre>
      <blockquote type=3D"cite">
        <pre wrap=3D"" class=3D"moz-quote-pre">Hi Scott,

I have observed the following build failures which appear to be caused by=
 the commit<a class=3D"moz-txt-link-rfc2396E" href=3D"https://git.yoctopr=
oject.org/meta-lts-mixins/commit/?h=3Dkirkstone/rust&amp;id=3D5b33fe5072c=
224b9f644272175ff4e3ea73166f9">&lt;https://git.yoctoproject.org/meta-lts-=
mixins/commit/?h=3Dkirkstone/rust&amp;id=3D5b33fe5072c224b9f644272175ff4e=
3ea73166f9&gt;</a> - &quot;Backport newer Python setuptools-rust and setu=
ptools&quot;:
</pre>
      </blockquote>
      <pre wrap=3D"" class=3D"moz-quote-pre">I'm curious how widely you t=
ested, i.e. is this all that came out of a
world build?

</pre>
      <blockquote type=3D"cite">
        <pre wrap=3D"" class=3D"moz-quote-pre">  1.
systemtap do_configure failure:
=E2=80=82=E2=80=82=E2=80=82=E2=80=82ERROR: QA Issue: This autoconf log in=
dicates errors, it looked at host include and/or library paths while dete=
rmining system capabilities.
=E2=80=82=E2=80=82=E2=80=82=E2=80=82Rerun configure task after fixing thi=
s. [configure-unsafe]
=E2=80=82=E2=80=82=E2=80=82=E2=80=82NOTE: Checking configure output for u=
nrecognised options ERROR: Fatal QA errors were found, failing task.
  2.
python3-grpcio do_compile failure:
=E2=80=82=E2=80=82=E2=80=82=E2=80=82distutils.errors.CompileError: comman=
d '.../x86_64-poky-linux-gcc' failed with exit code 1
=E2=80=82=E2=80=82=E2=80=82=E2=80=82...
=E2=80=82=E2=80=82=E2=80=82=E2=80=82cc1plus: warning: include location &q=
uot;/usr/include/...&quot; is unsafe for cross-compilation [-Wpoison-syst=
em-directories]
  3.
python3-strict-rfc3339 do_compile failure:
=E2=80=82=E2=80=82=E2=80=82=E2=80=82error: invalid command 'bdist_wheel'
=E2=80=82=E2=80=82=E2=80=82=E2=80=82ERROR: 'python3 setup.py bdist_wheel =
' execution failed.
  4.
python3-cson do_compile failure:
=E2=80=82=E2=80=82=E2=80=82=E2=80=82File &quot;.../site-packages/setuptoo=
ls/dist.py&quot;, line 350, in _normalize_version
=E2=80=82=E2=80=82=E2=80=82=E2=80=82normalized =3D str(Version(version))
=E2=80=82=E2=80=82=E2=80=82=E2=80=82File &quot;.../packaging/version.py&q=
uot;, line 198, in __init__
=E2=80=82=E2=80=82=E2=80=82=E2=80=82raise InvalidVersion(f&quot;Invalid v=
ersion: '{version}'&quot;)
=E2=80=82=E2=80=82=E2=80=82=E2=80=82setuptools.extern.packaging.version.I=
nvalidVersion: Invalid version: 'b'1.0.9-16-gf3f2898''
=E2=80=82=E2=80=82=E2=80=82=E2=80=82ERROR: 'python3 setup.py bdist_wheel =
' execution failed.

Regards,
Soumya
</pre>
      </blockquote>
      <pre wrap=3D"" class=3D"moz-quote-pre">I'm not sure what you'd like=
 me to do here.  A lot of things depend on
python3-cryptography, so it's not like I can revert the change and leave
it broken.  I could go back and make another attempt to hack the
kirkstone setuptools-rust to try to make it work for python3-cryptography
and pray I don't break someone's downstream usecase.  There's enough
entangled change history in setuptools-rust that that did not look like a
great idea the first time, hence backporting a known to work, widely
tested version.  I'm willing to look at making systemtap build, since
it's in oe-core, but jumping through hoops for everything in meta-python
is not something I can commit to. </pre>
    </blockquote>
    Sure.<br>
    <blockquote type=3D"cite" cite=3D"mid:9d7b5b76-2368-a7f0-58be-e32e890=
d32ee@konsulko.com">
      <pre wrap=3D"" class=3D"moz-quote-pre"> I would take patches for th=
e
dynamic-layers to fix them, or backports of their scarthgap branch
version if that's what it'd take...</pre>
    </blockquote>
    <p><br>
    </p>
    <p>Great, that's our plan.</p>
    <p>I had asked Soumya to let you know what we found out.<br>
      Stay tuned...</p>
    <p><br>
    </p>
    <p>../Randy</p>
    <p><br>
    </p>
    <blockquote type=3D"cite" cite=3D"mid:9d7b5b76-2368-a7f0-58be-e32e890=
d32ee@konsulko.com">
      <pre wrap=3D"" class=3D"moz-quote-pre">

Scott


</pre>
      <blockquote type=3D"cite">
        <pre wrap=3D"" class=3D"moz-quote-pre">__________________________=
______
From: <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:yocto-patches@=
lists.yoctoproject.org">yocto-patches@lists.yoctoproject.org</a> <a class=
=3D"moz-txt-link-rfc2396E" href=3D"mailto:yocto-patches@lists.yoctoprojec=
t.org">&lt;yocto-patches@lists.yoctoproject.org&gt;</a> on behalf of Scot=
t Murray via lists.yoctoproject.org <a class=3D"moz-txt-link-rfc2396E" hr=
ef=3D"mailto:scott.murray=3Dkonsulko.com@lists.yoctoproject.org">&lt;scot=
t.murray=3Dkonsulko.com@lists.yoctoproject.org&gt;</a>
Sent: Tuesday, May 6, 2025 12:05 AM
To: <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:yocto-patches@li=
sts.yoctoproject.org">yocto-patches@lists.yoctoproject.org</a> <a class=3D=
"moz-txt-link-rfc2396E" href=3D"mailto:yocto-patches@lists.yoctoproject.o=
rg">&lt;yocto-patches@lists.yoctoproject.org&gt;</a>
Subject: Re: [yocto-patches] [meta-lts-mixins][kirkstone/rust][PATCH 00/3=
8] Update to Rust 1.85.1

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender an=
d know the content is safe.

On Thu, 1 May 2025, Scott Murray via lists.yoctoproject.org wrote:

</pre>
        <blockquote type=3D"cite">
          <pre wrap=3D"" class=3D"moz-quote-pre">After more of a delay th=
an I would like, here is the patch series to
backport the various Rust toolchain changes for the 1.81.0 -&gt; 1.85.1
updates that have landed in oe-core master branch in the last several
months.

The likely most impactful change for users is that in order to fix being
able to build python3-cryptography with Rust &gt;=3D 1.83, I have had to
backport newer versions of python3-setuptools-rust, and more importantly,
python3-setuptools.  Extracting the required fixes in setuptools-rust
seems potentially possible, but untangling the change history in it got
to the point where I lost confidence in not accidentally breaking some
behavior relied upon by downstream users.  As such, using the tested
version from scarthgap branch seems a better solution for now.
That said, if you are a heavy Python module user, there may be some
potential for breakage due to the unexpected setuptools upgrade.  I have
not seen issues in my testing with oe-core recipes, but have not yet trie=
d
a world build of all of meta-python.

I have also included a README.me update to document my requirements /
guidelines for submissions of bbappends in dynamic layers.  They are
for the most part what I posted a few weeks back.

I intend to push this series to kirkstone/rust in about 48 hours
unless a serious showstopper is pointed out.
</pre>
        </blockquote>
        <pre wrap=3D"" class=3D"moz-quote-pre">Sorry for the delay, I hav=
e now pushed this to kirkstone/rust, along with
backporting these handful of newer commits to catch up:

83ce817 rust: Fix build with GCC-15 on aarch64/musl
aad06c9 ptest-cargo: fix incorrect FAIL count when multiple tests are run
98dd739 ptest-cargo: refactor run-ptest generation to remove redundancy
398374c ptest-cargo: handle packageconfig arguments

Hopefully this addresses the ptest-cargo issue that Peter Marko pointed
out.  Please let me know if you see any issues.

Scott

</pre>
        <blockquote type=3D"cite">
          <pre wrap=3D"" class=3D"moz-quote-pre">Changes:

Alexander Kanavin (1):
  rust: restore parallel builds, disable lto only for rustdoc

Deepesh Varatharajan (13):
  rust: Upgrade 1.81.0-&gt;1.82.0
  rust: oe-selftest issue fix with v1.82
  rust: Oe-selftest changes for rust v1.82.0
  rust: Upgrade 1.82.0-&gt;1.83.0
  rust: Fix build break because of download-ci-llvm
  rust: Oe-selftest changes for rust v1.83.0
  rust: Fix bloat issue in recent rust updates
  rust: Fix build break because of &quot;download-rustc&quot; and &quot;l=
lvm-tools&quot;
  rust: Upgrade 1.83.0-&gt;1.84.1
  rust: Fix build failure when multilibs are enabled
  rust: Oe-selftest changes for rust v1.84.1
  rust: re-enable the unit tests that are ignored
  rust: re-enable the unit tests that are ignored

Enrico Scholz (1):
  cargo_common: use 'config.toml' instead of plain 'config'

Harish Sadineni (2):
  rust: fix for rust multilib sdk configuration
  rust: remove redundant cargo config file

Igor Opaniuk (1):
  rust/README-rust.md: fix markdown style issues

Jean-Pierre Geslin (1):
  cargo: pass PACKAGECONFIG_CONFARGS to cargo build

Khem Raj (3):
  rust-llvm: Fix build break found with clang
  rust-llvm: Disable benchmarks by cmake options
  cargo-c,rust: Fix build on risv32

Martin Jansa (1):
  cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote

Pedro Ferreira (1):
  rust-common.bbclass: soft assignment for RUSTLIB path

Peter Kjellerstedt (1):
  libstd-rs: Correct the license to use Unicode-3.0

Richard Purdie (5):
  meta/meta-selftest: Fix variable assignment whitespace
  recipes: Drop ld-is-gold support
  rust-source: Fix remove_gcc_directory
  rust-llvm: Compile llvm to use dynamic libraries
  rust-llvm: Disable libedit

Scott Murray (3):
  Add selftest backport to ease maintenance
  Backport newer Python setuptools-rust and setuptools
  Update README.md wrt dynamic layer submissions

Sean Nyekjaer (1):
  rust-cross-canadian: set CC_&lt;triple&gt; for nativesdk

Yash Shinde (3):
  rust: Update &quot;do_update_snapshot&quot; task for rust-snapshot.inc
  rust: Upgrade 1.84.1-&gt;1.85.0
  rust: Upgrade 1.85.0-&gt;1.85.1

Yoann Congal (1):
  cargo-c: Update patch Upstream-Status

 README.md                                     |  49 ++-
 classes/cargo.bbclass                         |   6 +-
 classes/cargo_common.bbclass                  |  20 +-
 classes/rust-common.bbclass                   |   2 +-
 classes/rust-target-config.bbclass            |   5 +
 classes/rust.bbclass                          |   8 +-
 conf/layer.conf                               |   8 +-
 files/common-licenses/Unicode-3.0             |  39 +++
 lib/oeqa/selftest/cases/rust_mixin.py         | 134 ++++++++
 meta/lib/oeqa/selftest/cases/rust.py          |  85 -----
 .../packagegroup-rust-cross-canadian.bb       |   2 +-
 .../python/python3-setuptools-rust_1.9.0.bb   |  35 ++
 .../python3-setuptools-scm_6.4.2.bbappend     |   2 +
 ...nfig.py-make-it-possible-to-substite.patch |  58 ++++
 ...ly-do-not-fetch-code-by-easy_install.patch |  31 ++
 .../python3-setuptools/CVE-2024-6345.patch    | 312 ++++++++++++++++++
 .../python/python3-setuptools_69.1.1.bb       |  58 ++++
 recipes-devtools/rust/README-rust.md          |  24 +-
 ...l-codes-on-riscv32gc-unknown-linux-g.patch |  38 +++
 .../rust/cargo-c_0.10.5+cargo-0.83.0.bb       |   1 +
 .../rust/{cargo_1.81.0.bb =3D&gt; cargo_1.85.1.bb} |  13 +
 ...l-codes-on-riscv32gc-unknown-linux-g.patch | 112 +++++++
 ...teps-tool.rs-switch-off-lto-for-rust.patch |  46 +++
 .../Zdual-proc-macros-additional-check.patch  |  31 ++
 ...epro-issue-fix-with-cc-crate-hashmap.patch |  90 ++++-
 ...d-statically-in-rustc_driver-feature.patch | 228 +++++++++++++
 .../rust/files/rust-oe-selftest.patch         | 279 +++++-----------
 ...ue-fix-cargo-config-for-codegenunits.patch |  26 --
 .../files/rv32-cargo-rustix-0.38.28-fix.patch |  70 ----
 .../rust/files/rv32-rustix-libc-backend.patch |  33 --
 .../rust/files/zlib-off64_t.patch             |  31 --
 ...ibstd-rs_1.81.0.bb =3D&gt; libstd-rs_1.85.1.bb} |  11 +-
 recipes-devtools/rust/rust-cross-canadian.inc |  24 +-
 ....81.0.bb =3D&gt; rust-cross-canadian_1.85.1.bb} |   0
 .../0003-llvm-fix-include-benchmarks.patch    |  25 --
 ...ust-llvm_1.81.0.bb =3D&gt; rust-llvm_1.85.1.bb} |   8 +-
 recipes-devtools/rust/rust-snapshot.inc       |  81 ++---
 recipes-devtools/rust/rust-source.inc         |  10 +-
 .../rust/{rust_1.81.0.bb =3D&gt; rust_1.85.1.bb}   |  76 +++--
 39 files changed, 1492 insertions(+), 619 deletions(-)
 create mode 100644 files/common-licenses/Unicode-3.0
 create mode 100644 lib/oeqa/selftest/cases/rust_mixin.py
 delete mode 100644 meta/lib/oeqa/selftest/cases/rust.py
 create mode 100644 recipes-devtools/python/python3-setuptools-rust_1.9.0=
.bb
 create mode 100644 recipes-devtools/python/python3-setuptools-scm_6.4.2.=
bbappend
 create mode 100644 recipes-devtools/python/python3-setuptools/0001-_dist=
utils-sysconfig.py-make-it-possible-to-substite.patch
 create mode 100644 recipes-devtools/python/python3-setuptools/0001-condi=
tionally-do-not-fetch-code-by-easy_install.patch
 create mode 100644 recipes-devtools/python/python3-setuptools/CVE-2024-6=
345.patch
 create mode 100644 recipes-devtools/python/python3-setuptools_69.1.1.bb
 create mode 100644 recipes-devtools/rust/cargo-c/0001-Define-more-ioctl-=
codes-on-riscv32gc-unknown-linux-g.patch
 rename recipes-devtools/rust/{cargo_1.81.0.bb =3D&gt; cargo_1.85.1.bb} (=
87%)
 create mode 100644 recipes-devtools/rust/files/0001-Define-more-ioctl-co=
des-on-riscv32gc-unknown-linux-g.patch
 create mode 100644 recipes-devtools/rust/files/0001-src-core-build_steps=
-tool.rs-switch-off-lto-for-rust.patch
 create mode 100644 recipes-devtools/rust/files/Zdual-proc-macros-additio=
nal-check.patch
 create mode 100644 recipes-devtools/rust/files/revert-link-std-staticall=
y-in-rustc_driver-feature.patch
 delete mode 100644 recipes-devtools/rust/files/rustdoc-repro-issue-fix-c=
argo-config-for-codegenunits.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.28=
-fix.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-rustix-libc-backend.=
patch
 delete mode 100644 recipes-devtools/rust/files/zlib-off64_t.patch
 rename recipes-devtools/rust/{libstd-rs_1.81.0.bb =3D&gt; libstd-rs_1.85=
.1.bb} (76%)
 rename recipes-devtools/rust/{rust-cross-canadian_1.81.0.bb =3D&gt; rust=
-cross-canadian_1.85.1.bb} (100%)
 delete mode 100644 recipes-devtools/rust/rust-llvm/0003-llvm-fix-include=
-benchmarks.patch
 rename recipes-devtools/rust/{rust-llvm_1.81.0.bb =3D&gt; rust-llvm_1.85=
.1.bb} (94%)
 rename recipes-devtools/rust/{rust_1.81.0.bb =3D&gt; rust_1.85.1.bb} (81=
%)


</pre>
        </blockquote>
        <pre wrap=3D"" class=3D"moz-quote-pre">
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
View/Reply Online (#1515): <a class=3D"moz-txt-link-freetext" href=3D"htt=
ps://lists.yoctoproject.org/g/yocto-patches/message/1515">https://lists.y=
octoproject.org/g/yocto-patches/message/1515</a>
Mute This Topic: <a class=3D"moz-txt-link-freetext" href=3D"https://lists=
.yoctoproject.org/mt/112569336/7320427">https://lists.yoctoproject.org/mt=
/112569336/7320427</a>
Group Owner: <a class=3D"moz-txt-link-abbreviated" href=3D"mailto:yocto-p=
atches+owner@lists.yoctoproject.org">yocto-patches+owner@lists.yoctoproje=
ct.org</a>
Unsubscribe: <a class=3D"moz-txt-link-freetext" href=3D"https://lists.yoc=
toproject.org/g/yocto-patches/leave/14043740/7320427/1891404428/xyzzy">ht=
tps://lists.yoctoproject.org/g/yocto-patches/leave/14043740/7320427/18914=
04428/xyzzy</a> [<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:sou=
mya.sambu@windriver.com">soumya.sambu@windriver.com</a>]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-


</pre>
      </blockquote>
      <pre wrap=3D"" class=3D"moz-quote-pre">&gt;</pre>
    </blockquote>
    <p><br>
    </p>
    <pre class=3D"moz-signature" cols=3D"72">--=20
# Randy MacLeod
# Wind River Linux</pre>
  </body>
</html>

--------------fvh8qAZ2Nhb1O4tmlyTzwR6M--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads