Request to merge rust-team

  • Done
  • quality assurance status badge
Details
4 participants
  • Efraim Flashner
  • Ludovic Courtès
  • Maxim Cournoyer
  • Csepp
Owner
unassigned
Submitted by
Efraim Flashner
Severity
normal
E
E
Efraim Flashner wrote on 15 Oct 2023 08:43
(address . bug-guix@gnu.org)
ZSuKI832DE3EVDdZ@3900XT
IMO rust-team branch is ready to merge. We've updated rust to 1.70,
librsvg to 2.56.4 and many new and updated packages. We've added a phase
to the cargo-build-system to fail if it detects pre-built files and
we've set the cargo-build-system to skip the test phase by default,
allowing us to make sure that the packages have the correct inputs. With
these changes I've gotten 100% of the packages built using the
cargo-build-system to build successfully.

We're looking forward to this merge so we can continue bumping the rust
version, work on cross-compilation and try to reduce the number of
packages which skip the build phase entirely.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUriiAACgkQQarn3Mo9
g1F2VBAAlGv+qXacssrOUqd0YUg3R/6LzSa7947E8V5XZmec5vY3QAZ5NUzPClsq
H41knidh7ub+J2arAmxNd9aVKNF1cgyRyndoCb+FFFYMtJcQjN1RCy5YETUtIGQ3
2QXVyxdV1rOTNEwaF6sIWSEKrh9/fdrJsWI0eRbHCX0RJY84mlTs/TdY/D5H4wVp
ajuVt2zA05TvnyZphCB24akM7rd+O3WYp/Cp1pRZtcvnMIHINl1csmPThZ1Zf6w0
NIhOMmrhgQD1IWE0/5u+vIaaEBec3V+l3pWaPQGSODWHVNaXBdHn4PAFmB/tZI06
uboC9Xs+4xhJDnlP79jhATP4a40mYeuWealu+cTFj6VuiSF5Smei4wZGzVLeABTI
5RjgFlFBovbul7l7CsWoVvZoy4l3fuVx+SgnEPdbvCRGM2VVqtM4gGJduBgKGv1+
eJy/plBjnvd818EVWAKBIeV1hVRiUIEAVqDLInM92DBYoY8J8DBTGEEdkrYZi477
eIOz39u/a02xshbVRjU2L0vgFC4tw8ZwL9KT0SlNR5McC7h00AVTo5TaFjf9exF1
aLscfd8YXRZiD6QLhKVIk26G5djeDnSeI52DmdqPpIul0AKqs4AfFmNTQlwHqJR3
oi8SdiXs/fdvZzdP7AUKvDwG88Wtm0jZzuT2nJKCq2PXhn1UkS8=
=upWA
-----END PGP SIGNATURE-----


C
(name . Efraim Flashner)(address . efraim@flashner.co.il)
cuclec4gj9r.fsf@riseup.net
Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (16 lines)
> [[PGP Signed Part:Undecided]]
> IMO rust-team branch is ready to merge. We've updated rust to 1.70,
> librsvg to 2.56.4 and many new and updated packages. We've added a
> phase
> to the cargo-build-system to fail if it detects pre-built files and
> we've set the cargo-build-system to skip the test phase by default,
> allowing us to make sure that the packages have the correct inputs.
> With
> these changes I've gotten 100% of the packages built using the
> cargo-build-system to build successfully.
>
> We're looking forward to this merge so we can continue bumping the
> rust
> version, work on cross-compilation and try to reduce the number of
> packages which skip the build phase entirely.

Is the new build system still being worked on?
E
E
Efraim Flashner wrote on 15 Oct 2023 14:37
(name . Csepp)(address . raingloom@riseup.net)
ZSvdGvi23nJwxjZx@3900XT
On Sun, Oct 15, 2023 at 02:30:07PM +0200, Csepp wrote:
Toggle quote (21 lines)
>
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > [[PGP Signed Part:Undecided]]
> > IMO rust-team branch is ready to merge. We've updated rust to 1.70,
> > librsvg to 2.56.4 and many new and updated packages. We've added a
> > phase
> > to the cargo-build-system to fail if it detects pre-built files and
> > we've set the cargo-build-system to skip the test phase by default,
> > allowing us to make sure that the packages have the correct inputs.
> > With
> > these changes I've gotten 100% of the packages built using the
> > cargo-build-system to build successfully.
> >
> > We're looking forward to this merge so we can continue bumping the
> > rust
> > version, work on cross-compilation and try to reduce the number of
> > packages which skip the build phase entirely.
>
> Is the new build system still being worked on?

I haven't started working on integrating it yet.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUr3RoACgkQQarn3Mo9
g1GcVQ/+PFgWDZPDkHrniMc4ahsovKDIP93XlPKzDX+BwubmBGhFYAAFPnD4dvuU
zdo9L1+brZ3LD9nh1KXDSekO3pF4dbzYnLRIkQ+MfounnRBU+zN6AlJI34eGXDbM
vkRdS4NFvAhYyvF5p4DJFfe31Y80rmQXnDN10elPmO3E5OLUVQU4VTxYMFDRTiOk
eziBXWFpIteXDXejOJJZ7tEFaF0h7i8EQN9UspxUTaX5qPK8u1E8EjJ56rcdam52
/zZmeAK51fXKD1AuMyEWrejATRkzn29NL5rYLxGWWialcrrSkpil7ylZ1+758Lcf
cILFCv09tl8uYpxXZmxKC7+cUvB6DGTNmLtyO5H/xC3qK8PHSf9pGuyxkQBQNX3R
3y6HXL/DH4XMEdh4Y9CiQ69MasMpaqd7FVAkopT4F02lAsSFQlewGcRfKYO8IU7P
v0O6SEOy9lv+3VDnaKklbP3KpJXuF0NgcQP5iy9Kcc/VZg4ulwpiZfuYYlkABR9V
nI7/UppwEYC2Cq0tBYVhFZAR0Wuo1PflS+HBqeVr0ionlrq0UiaKKlN/s5CEJiM+
bTuGZyGUq1VhKWz8BJQzF5qBUQkq877QRbvenPQcNXZm71wxdNuJUlyzTyaFY0Vr
JI4YBHKxn7rM5HVjfk9UIwMfVCNqCtdS1t5em3J5yHpYlKI3KVE=
=mTCE
-----END PGP SIGNATURE-----


E
E
Efraim Flashner wrote on 16 Oct 2023 14:30
Request for merging "rust-team" branch
4D6214A4-E59F-4166-B4D0-2CCCE42F5DB4@flashner.co.il
IMO rust-team branch is ready to merge. We've updated rust to 1.70,
librsvg to 2.56.4 and many new and updated packages. We've added a phase
to the cargo-build-system to fail if it detects pre-built files and
we've set the cargo-build-system to skip the test phase by default,
allowing us to make sure that the packages have the correct inputs. With
these changes I've gotten 100% of the packages built using the
cargo-build-system to build successfully.

We're looking forward to this merge so we can continue bumping the rust
version, work on cross-compilation and try to reduce the number of
packages which skip the build phase entirely.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Closed
M
M
Maxim Cournoyer wrote on 17 Oct 2023 17:41
(name . Efraim Flashner)(address . efraim@flashner.co.il)
87y1g1tfxk.fsf@gmail.com
Hi Efraim,

Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (8 lines)
> IMO rust-team branch is ready to merge. We've updated rust to 1.70,
> librsvg to 2.56.4 and many new and updated packages. We've added a phase
> to the cargo-build-system to fail if it detects pre-built files and
> we've set the cargo-build-system to skip the test phase by default,
> allowing us to make sure that the packages have the correct inputs. With
> these changes I've gotten 100% of the packages built using the
> cargo-build-system to build successfully.

This sounds good except I don't understand how disabling the tests by
default help to "make sure that the packages have the correct inputs" ?

You've explained the rationale here:
saying we sometimes use a newer Rust than the package tests are
expecting; how does it work in the Rust world? Don't they always build
even older versions against the most recent compiler? What about the
test suites then? Are these not typically run by users/distributions?

For one thing the 'guix lint' command would need to be told that
cargo-build-system has #:tests? set to #f by default to not warn without
reasons that '#:tests? #t' is unnecessary.

--
Thanks,
Maxim
Closed
L
L
Ludovic Courtès wrote on 18 Oct 2023 00:56
(name . Efraim Flashner)(address . efraim@flashner.co.il)
871qds7t8m.fsf@gnu.org
Hello!

Efraim Flashner <efraim@flashner.co.il> skribis:

Toggle quote (8 lines)
> IMO rust-team branch is ready to merge. We've updated rust to 1.70,
> librsvg to 2.56.4 and many new and updated packages. We've added a phase
> to the cargo-build-system to fail if it detects pre-built files and
> we've set the cargo-build-system to skip the test phase by default,
> allowing us to make sure that the packages have the correct inputs. With
> these changes I've gotten 100% of the packages built using the
> cargo-build-system to build successfully.

The ‘rust-team’ jobset at https://ci.guix.gnu.orgis now at 78%, which
is actually better than ‘master’ (74%). There are still ~6K
aarch64-linux builds queued but from the numbers it seems ready to be
merged.

(Besides, I’m curious about the answers to the questions Maxim asked
earlier in this thread regarding skipping tests.)

Ludo’.
Closed
E
E
Efraim Flashner wrote on 18 Oct 2023 10:36
(name . Ludovic Courtès)(address . ludo@gnu.org)
ZS-ZEhr-iXBTLIcv@pbp
On Wed, Oct 18, 2023 at 12:56:57AM +0200, Ludovic Courtès wrote:
Toggle quote (17 lines)
> Hello!
>
> Efraim Flashner <efraim@flashner.co.il> skribis:
>
> > IMO rust-team branch is ready to merge. We've updated rust to 1.70,
> > librsvg to 2.56.4 and many new and updated packages. We've added a phase
> > to the cargo-build-system to fail if it detects pre-built files and
> > we've set the cargo-build-system to skip the test phase by default,
> > allowing us to make sure that the packages have the correct inputs. With
> > these changes I've gotten 100% of the packages built using the
> > cargo-build-system to build successfully.
>
> The ‘rust-team’ jobset at https://ci.guix.gnu.org is now at 78%, which
> is actually better than ‘master’ (74%). There are still ~6K
> aarch64-linux builds queued but from the numbers it seems ready to be
> merged.

I'm going to rebase it on master to get the changes over the past month
or so, including the qt-team branch, and let that build out a bit before
merging it.

Toggle quote (3 lines)
> (Besides, I’m curious about the answers to the questions Maxim asked
> earlier in this thread regarding skipping tests.)

I'm going to refer everyone back to the RFC thread on guix-devel to try
to keep everything in one place. I've reverted it for now while we
discuss it further.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUvmQsACgkQQarn3Mo9
g1HWdA//b+BnVu6gti1lU+idN/KKR1AxdBdoysmLyiqlnWKyNfIeC1eFmzj41k2m
JmMYsl4hK4Sof5AHZ6+GzkwT+sG/zCYWtMr58cTYsgn+wTJ2k4TW6AUyptlNlaVo
cEAdUrmhWY0Dqa4m4kIhTnccER6wG1llHeG+bzkKiWdCY11fxv7WFXH7H2gec6mq
d7VUqUbrZXi/5mKmX1CCAL+FD0JT9nQfQvMjzdoYZHut2xNPsrXULeHQI83V0exs
f0z2o81B0DAnYLDcbse2qu5VEEpRysu4uVU/mz734UT5r587/LIQ0oNrG31bvPLO
HQ0OG45yRyOmtbbTWsgrt06lvV3+rwjt4AXOv4iHwsNl8Du5H7nq5AG/ptvXfqQD
FNDSs4JMfsHFbjBQF/W68s/zl24PGX36Tgv0n6rfJKdKQ7golWEHrR9aqqIl1Dfd
KdrnSruVN0yqxCl9guUEt2OelNOzZjJG60HWN8t505a5ZimA8zHJFPQnowx8t2fS
s4BgYV7YK5v0gZb7FiV5z2N2YEPWLysIcB5BmhDR7bjS6zt7FLvua0ImFxsWUy5C
h61013rdk5Teiv8MSzkV91iA2ZHOGSZex2vpBq/0+o6tWoxQsH0W97GolXN7xbDt
A+AwvFBPvhRoUp2ShBVgwOC9dnnolrqflXmRKs0439yBRpPeDm8=
=1YUy
-----END PGP SIGNATURE-----


Closed
E
E
Efraim Flashner wrote on 18 Oct 2023 10:36
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
ZS-ZGbsH0gx40DBU@pbp
On Tue, Oct 17, 2023 at 11:41:11AM -0400, Maxim Cournoyer wrote:
Toggle quote (22 lines)
> Hi Efraim,
>
> Efraim Flashner <efraim@flashner.co.il> writes:
>
> > IMO rust-team branch is ready to merge. We've updated rust to 1.70,
> > librsvg to 2.56.4 and many new and updated packages. We've added a phase
> > to the cargo-build-system to fail if it detects pre-built files and
> > we've set the cargo-build-system to skip the test phase by default,
> > allowing us to make sure that the packages have the correct inputs. With
> > these changes I've gotten 100% of the packages built using the
> > cargo-build-system to build successfully.
>
> This sounds good except I don't understand how disabling the tests by
> default help to "make sure that the packages have the correct inputs" ?
>
> You've explained the rationale here:
> <https://lists.gnu.org/archive/html/guix-devel/2023-10/msg00182.html>,
> saying we sometimes use a newer Rust than the package tests are
> expecting; how does it work in the Rust world? Don't they always build
> even older versions against the most recent compiler? What about the
> test suites then? Are these not typically run by users/distributions?

I've copied your questions to the thread above and answered them there
so we can keep the discussion in one place.

Toggle quote (4 lines)
> For one thing the 'guix lint' command would need to be told that
> cargo-build-system has #:tests? set to #f by default to not warn without
> reasons that '#:tests? #t' is unnecessary.

I've reverted it for now so we can get the rust-team branch merged and
continue discussing if this is a good idea or not.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmUvmRkACgkQQarn3Mo9
g1HN0Q/9FCUXHCwVTmGa23Hy1Fhb8nSEoQvBJT1cxXJmM5zJ7ARxIx/3v3lr01qv
g17YCugvl60RO15L7BhjOjIciJuYd9wZlGNUJPr6rxxF+PO7ar1+czpX54XI96tk
2MWd4m+relYfUBcpQk9JT/Gz+n7xZuwbwhtX4+evvvo59D57Rc11uOvvz+51EBoR
OD6VAJc910o8KtMBe0aAa3lAIJl1fJyeUEqflYYPqNxzlQWv6wCWIdMEY1SqbXar
uMRwt9r9NWmSteHGndb5uj76fv/sCLvgCpeoVKrEBxz/x2nvSPYaMO036xVs+utS
hIEE1k8+PT5I3VzzuuqE0VZafCAIJECcQYbC6MaFH+I2nrWjUlKfYMAyIZDqJrOA
Bhpb6EiZK9awqshmqd19K2pAnAXnF2iHXFx9EByMPP8ThOGbh99E4fVU8a0enxxC
YGlZK2gtQoyusOUtEu6ina/rQEOnT8HJ1Ww9/R3h+XE6xUmIJvc+3ENrCXin4pl/
IiwSSzyKJCMVpnLhG/RjNI9+yG1UZcmuCzwN3PLI36+O0CG2F5ouvuJC39iW7Kel
83jPqs54x+K5OsiClrKNHQzqvVLgOJHsv+iHRuxWp5rNRJ6eJc//JEwu5nwOOs7h
F75JUxqlvARFq3/Cn+nvZoCGTN0uXXo8iO6tI/shUOMTIFaoAfQ=
=u29A
-----END PGP SIGNATURE-----


Closed
M
M
Maxim Cournoyer wrote on 18 Oct 2023 18:57
(name . Efraim Flashner)(address . efraim@flashner.co.il)
87edhruav2.fsf@gmail.com
Hi Efraim,

Efraim Flashner <efraim@flashner.co.il> writes:

Toggle quote (26 lines)
> On Tue, Oct 17, 2023 at 11:41:11AM -0400, Maxim Cournoyer wrote:
>> Hi Efraim,
>>
>> Efraim Flashner <efraim@flashner.co.il> writes:
>>
>> > IMO rust-team branch is ready to merge. We've updated rust to 1.70,
>> > librsvg to 2.56.4 and many new and updated packages. We've added a phase
>> > to the cargo-build-system to fail if it detects pre-built files and
>> > we've set the cargo-build-system to skip the test phase by default,
>> > allowing us to make sure that the packages have the correct inputs. With
>> > these changes I've gotten 100% of the packages built using the
>> > cargo-build-system to build successfully.
>>
>> This sounds good except I don't understand how disabling the tests by
>> default help to "make sure that the packages have the correct inputs" ?
>>
>> You've explained the rationale here:
>> <https://lists.gnu.org/archive/html/guix-devel/2023-10/msg00182.html>,
>> saying we sometimes use a newer Rust than the package tests are
>> expecting; how does it work in the Rust world? Don't they always build
>> even older versions against the most recent compiler? What about the
>> test suites then? Are these not typically run by users/distributions?
>
> I've copied your questions to the thread above and answered them there
> so we can keep the discussion in one place.

OK!

Toggle quote (7 lines)
>> For one thing the 'guix lint' command would need to be told that
>> cargo-build-system has #:tests? set to #f by default to not warn without
>> reasons that '#:tests? #t' is unnecessary.
>
> I've reverted it for now so we can get the rust-team branch merged and
> continue discussing if this is a good idea or not.

OK, thanks for giving it some extra time.

--
Thanks,
Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 66553@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 66553
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch