-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
virtual/rust: Add 1.75.0 and add new maintainers #35085
Conversation
Pull Request assignmentSubmitter: @bowlofeggs dev-lang/rust: @gyakovlev, @gentoo/rust Linked bugsBugs linked: 922880 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Note that I haven't completed all the steps mentioned at https://wiki.gentoo.org/wiki/User:GYakovlev/Rust_bump. In particular, I don't have hardware other than x86_64 to check with, so I've only run tests with that arch. I also don't have a musl system handy to test with, so I didn't perform that step either. |
I can sympathize since I also only have x86_64, but this is probably a good way to inadvertently introduce regressions. |
0010f9d
to
277d6d6
Compare
Pull request CI reportReport generated at: 2024-01-30 00:13 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2024-01-30 01:02 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Could you split it up into one commit per package? Same PR is fine (and desirable here). |
fwiw, testing on ppc64le atm |
2851f54
to
e4f6331
Compare
I've pushed up this change. |
Pull request CI reportReport generated at: 2024-01-31 02:33 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Not sure if I'm missing something or if CI auto generates manifests, but it looked like you used thin manifests, and my rsync repo expects thick. just an fyi, idk if its an issue |
I have since set up a musl system and tested Rust there. rpick and ripgrep both build and run, with the exception of the known ripgrep issue https://bugs.gentoo.org/922372 which isn't a regression here. |
I used |
Can you please add profiler support for rust-bin, and the virtual/rust, please? chromium-122 needs it, the implementation ist trivial. I can paste you the patch later the day when I'm back home, or you can copy & paste from the dev-lang/rust ebuild. |
git assures the integrity of files within the repository, so thin manifests are used within the git repo. The rest is generated for rsync down the line, so the PR is fine. |
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev> Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev> Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev> Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev> Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Bug: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Bug: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Bug: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Closes: https://bugs.gentoo.org/922880 Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
e4f6331
to
ee18e97
Compare
I have rebased on |
Pull request CI reportReport generated at: 2024-02-01 02:37 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
I like the suggestion. I don't have time to tinker with or test it today, but if you have some time feel free to post up a patch here (or you can PR into my branch on GitHub if you like that workflow). |
lets not overcomplicate this, it is really trivial:
and for virtual/rust:
|
Better don't. If you force push an that branch this is a recipe for disaster if he bases his branch on it. |
"lets not overcomplicate this" - he did say you could post a patch here, which you did. |
Please don't make wild assumptions about users intentions, I'm sure anyone will agree the part about not overcomplicating things was about to not PR into the private branch. Also unsubbed myself from thread. |
No assumptions were made, just pointing out that the comment was unnecessary and could be read wrongly. The patch method was mentioned, one could've just posted a patch in response. |
@stefson your patch isn't git formatted and definitely doesn't link to https://bugs.gentoo.org/923010, which feels pretty problematic. (I'm also not actually sure why it's so important to make this change as part of this specific PR, just submitting a followup PR isn't hard...) |
@thesamesam would you prefer it if I did a later PR to add this new feature flag, or would you rather it be part of this change? Either way is OK by me. If we do it in this PR, I'd probably opt to make it self-contained commits (one per ebuild). |
Let's do it separately (new PR later), because we actually need to do it for older Rust anyway - as stable Chromium will either soon, or does already, need this, and it wouldn't be appropriate to rush stabling 1.75.0. |
wrt this PR: have y'all done testing of say, everything using Rust on your machines ( If so, we can probably go ahead, if ppc64 was fine. |
I am still compiling right now... |
Hi @thesamesam! I tested a whole bunch of combinations of USE flags and built a handful of rust packages with each of them successfully. Frustratingly, however, I have found a problem. I have
I haven't yet dug into the eselect Rust module to learn what might be happening here. I also haven't checked whether this is a regression in 1.75.0, or if this issue is also present in 1.74.1. Once again it is late so I will need to look at this more later. I welcome debugging from anyone who has time and interest! As an aside, I have been pondering on the idea of automating this testing as it takes quite a lot of time and is probably rather error prone since it is human-driven. Thanks for all the input on this pull request so far from everyone! |
Can you try
Yes, quite right. Especially given we know there's parts of maintenance which are necessarily human-intensive, it'd be way better to free up time for that. |
Ah that does seem to get it working again. I also noticed something curious which is that if I simply eselect rust-bin and then immediately eselect back to the source rust, it will work. It seems to break only if I build something while I have the rust-bin one selected. Curious. Since the env-update dance seems to work, would we take that to indicate that perhaps the rust eselect module should itself be doing that for the user when switching providers? I also should mention that I don't know if anyone has yet tested something other than x86_64. I have personally done my testing on x86_64. I did test musl (though not as heavily - I mostly just did one build and made sure the result could build and run |
Ok I did a full @rust-rebuild on my machine and everything compiles with 1.75. / also everything on x86_64 only. Sorry, but I don't have access to any other architecture // also
maybe we can fix that down the line in a later bump. |
@Richard-Rogalski Did you test it? |
Parallel to dev-lang/rust's IUSE=profiler. See: gentoo#35085 (comment) Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
See: gentoo#35085 (comment) Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Parallel to dev-lang/rust's IUSE=profiler. See: gentoo#35085 (comment) Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
See: gentoo#35085 (comment) Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Parallel to dev-lang/rust's IUSE=profiler. See: #35085 (comment) Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
See: #35085 (comment) Closes: #35272 Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
No description provided.