Skip to content
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

Migrate run-make/c-link-to-rust-staticlib to rmake #125027

Merged
merged 3 commits into from May 15, 2024

Conversation

Oneirical
Copy link
Contributor

@Oneirical Oneirical commented May 11, 2024

Part of #121876.

r? @jieyouxu

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels May 11, 2024
@rustbot
Copy link
Collaborator

rustbot commented May 11, 2024

Some changes occurred in run-make tests.

cc @jieyouxu

// See https://github.com/rust-lang/rust/issues/10434

//@ ignore-cross-compile
//@ ignore-freebsd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a good reason for ignore-freebsd?

Copy link
Contributor Author

@Oneirical Oneirical May 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this commit which added the FreeBSD ignore. Seems linked to #12460, which was a looooong time ago and had a different-looking Makefile back then. Let's see if we can remove it.

You can see how cursed this really is, because in another issue, they fix a test on FreeBSD... by adding one second to the sleep command.

@jieyouxu
Copy link
Contributor

Unless there's a good reason for ignore-freebsd, we can try to land this port without that ignore that see if it fails in full build. Let me know if there's a good reason for that ignore, or remove that ignore and we can try to merge.

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 13, 2024
@Oneirical
Copy link
Contributor Author

Ignore statement removed.

and we can try to merge.

Would it be pertinent to follow the "try builds" section in this page to force the CI to use FreeBSD, and see what happens?

@rustbot review

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 14, 2024
@jieyouxu
Copy link
Contributor

Yes please give this PR a try on a FreeBSD CI job if possible

@jieyouxu
Copy link
Contributor

@bors rollup=iffy

@jieyouxu
Copy link
Contributor

You'll want to follow this https://rustc-dev-guide.rust-lang.org/tests/ci.html?highlight=CI#testing-with-ci not the infra page

@rustbot rustbot added the T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. label May 14, 2024
@rust-log-analyzer

This comment has been minimized.

@Oneirical
Copy link
Contributor Author

Oneirical commented May 14, 2024

Looks like the FreeBSD ignore was there for a reason. Ignore statement restored.

Though, looking at the logs, the build passed, it's just the upload of artifacts which failed? Does this have anything to do with the test?

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Contributor

bors commented May 14, 2024

☔ The latest upstream changes (presumably #125026) made this pull request unmergeable. Please resolve the merge conflicts.

@jieyouxu
Copy link
Contributor

jieyouxu commented May 14, 2024

Looks like the FreeBSD ignore was there for a reason. Ignore statement restored.

Though, looking at the logs, the build passed, it's just the upload of artifacts which failed? Does this have anything to do with the test?

CI looks unrelated, can you remove the ignore-freebsd? We'll try merging without ignore-freebsd

@rustbot rustbot added has-merge-commits PR has merge commits, merge with caution. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 14, 2024
@rustbot
Copy link
Collaborator

rustbot commented May 14, 2024

There are merge commits (commits with multiple parents) in your changes. We have a no merge policy so these commits will need to be removed for this pull request to be merged.

You can start a rebase with the following commands:

$ # rebase
$ git pull --rebase https://github.com/rust-lang/rust.git master
$ git push --force-with-lease

The following commits are merge commits:

@jieyouxu
Copy link
Contributor

You'll probably have to rebase :3

@Oneirical
Copy link
Contributor Author

You'll probably have to rebase :3

Yep, I accidentally clicked the wrong button on the Github website while looking at the merge conflict.
In order to avoid a repeat of The Incident, I'll go get access to my laptop in a bit and amend that merge.

@jieyouxu
Copy link
Contributor

GitHub's merge UI is almost always a trap. I just do merge conflict resolution offline.

@jieyouxu
Copy link
Contributor

Let us give arbitrary try jobs a try (heh)

@bors try

@bors
Copy link
Contributor

bors commented May 14, 2024

⌛ Trying commit b1e5e51 with merge bb99ac5...

bors added a commit to rust-lang-ci/rust that referenced this pull request May 14, 2024
Migrate `run-make/c-link-to-rust-staticlib` to `rmake`

Part of rust-lang#121876.

r? `@jieyouxu`

try-job: dist-x86_64-freebsd
@bors
Copy link
Contributor

bors commented May 14, 2024

☀️ Try build successful - checks-actions
Build commit: bb99ac5 (bb99ac56df05c0b1af9ab7e1d78a9ddd98705f46)

@jieyouxu
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented May 14, 2024

📌 Commit b1e5e51 has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 14, 2024
jieyouxu added a commit to jieyouxu/rust that referenced this pull request May 14, 2024
…eyouxu

Migrate `run-make/c-link-to-rust-staticlib` to `rmake`

Part of rust-lang#121876.

r? `@jieyouxu`

try-job: dist-x86_64-freebsd
bors added a commit to rust-lang-ci/rust that referenced this pull request May 14, 2024
Rollup of 5 pull requests

Successful merges:

 - rust-lang#124746 (`rustc --explain E0582` additional example)
 - rust-lang#124975 (Use an helper to move the files)
 - rust-lang#125027 (Migrate `run-make/c-link-to-rust-staticlib` to `rmake`)
 - rust-lang#125084 (`rustc_hir_typeck`: Account for `skipped_ref_pats` in `expr_use_visitor`)
 - rust-lang#125104 (Migrate `run-make/no-cdylib-as-rdylib` to `rmake`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
Copy link
Contributor

bors commented May 14, 2024

⌛ Testing commit b1e5e51 with merge 5107b5c...

bors added a commit to rust-lang-ci/rust that referenced this pull request May 14, 2024
…ouxu

Migrate `run-make/c-link-to-rust-staticlib` to `rmake`

Part of rust-lang#121876.

r? `@jieyouxu`

try-job: dist-x86_64-freebsd
@bors
Copy link
Contributor

bors commented May 14, 2024

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 14, 2024
@rust-log-analyzer

This comment has been minimized.

@jieyouxu
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 15, 2024

📌 Commit 91a3f04 has been approved by jieyouxu

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 15, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request May 15, 2024
Rollup of 6 pull requests

Successful merges:

 - rust-lang#124307 (Optimize character escaping.)
 - rust-lang#124975 (Use an helper to move the files)
 - rust-lang#125027 (Migrate `run-make/c-link-to-rust-staticlib` to `rmake`)
 - rust-lang#125038 (Invert comparison in `uN::checked_sub`)
 - rust-lang#125104 (Migrate `run-make/no-cdylib-as-rdylib` to `rmake`)
 - rust-lang#125137 (MIR operators: clarify Shl/Shr handling of negative offsets)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 2804d42 into rust-lang:master May 15, 2024
6 checks passed
@rustbot rustbot added this to the 1.80.0 milestone May 15, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request May 15, 2024
Rollup merge of rust-lang#125027 - Oneirical:c-test-with-remove, r=jieyouxu

Migrate `run-make/c-link-to-rust-staticlib` to `rmake`

Part of rust-lang#121876.

r? `@jieyouxu`
@Oneirical Oneirical deleted the c-test-with-remove branch May 15, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants