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

GNU Hurd compilation failure: no field st_fsid on type &stat64 #133401

Open
newpavlov opened this issue Nov 24, 2024 · 1 comment
Open

GNU Hurd compilation failure: no field st_fsid on type &stat64 #133401

newpavlov opened this issue Nov 24, 2024 · 1 comment
Labels
C-bug Category: This is a bug. O-hurd Operating system: GNU/Hurd T-libs Relevant to the library team, which will review and decide on the PR/issue.

Comments

@newpavlov
Copy link
Contributor

newpavlov commented Nov 24, 2024

Compiling a project for the i686-unknown-hurd-gnu target using rustc 1.85.0-nightly (a475551 2024-11-22) results in the following compilation error:

error[E0609]: no field `st_fsid` on type `&stat64`
   --> /home/runner/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/hurd/fs.rs:301:36
    |
301 |         self.as_inner().as_inner().st_fsid as u64
    |                                    ^^^^^^^ unknown field
    |
help: a field with a similar name exists
    |
301 |         self.as_inner().as_inner().st_uid as u64
    |           

We previously had a similar issue (see #123032). Maybe it's worth to add a CI check for this target as was discussed in it?

@newpavlov newpavlov added the C-bug Category: This is a bug. label Nov 24, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Nov 24, 2024
@saethlin saethlin added T-libs Relevant to the library team, which will review and decide on the PR/issue. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Nov 24, 2024
@Noratrieb Noratrieb added the O-hurd Operating system: GNU/Hurd label Nov 24, 2024
@saethlin
Copy link
Member

Maybe it's worth to add a CI check for this target as was discussed in it?

This was already responded to in the other issue that you linked.

newpavlov added a commit to rust-random/getrandom that referenced this issue Nov 25, 2024
Rust CI does not test `std` build for tier 3 targets, which means that
breakage can go unnoticed for a long time (see rust-lang/rust#123032 and
rust-lang/rust#133401). This results in unrelated CI breakages on our
side.

Additionally, removes OpenBSD from the tier3 build-only job since we
test this target properly using VM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-hurd Operating system: GNU/Hurd T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants