Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

nix dependency fails to compile for AIX targets

Closed
#15,083 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
build-system

Research direction

Start by checking how the repository resolves the nix and libc versions, then reproduce the AIX target build with libc 0.2.190 and 0.2.189. The reported failure is in nix's src/sys/statvfs.rs at filesystem_id; compare that code with the libc change linked in the issue. Done means the affected AIX target builds successfully with the newer libc.

Written by the indexing model from the issue text.

Description

awaiting upstream dependencies

nix does not build successfully for AIX targets with libc 0.2.190, but does with libc 0.2.189.

error[E0308]: mismatched types
   --> ~/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.31.3/src/sys/statvfs.rs:109:9
    |
108 |     pub fn filesystem_id(&self) -> c_ulong {
    |                                    ------- expected `u64` because of return type
109 |         self.0.f_fsid
    |         ^^^^^^^^^^^^^ expected `u64`, found `fsid_t`

failure first occurs with https://github.com/rust-lang/libc/commit/061f61b2344cb0513436f6839d31933f61387de0 from https://github.com/rust-lang/libc/pull/5380

Dominant language
Rust
Stars
24.3k
Forks
2.1k
Avg merge
2d 1h
Merged PRs (30d)
327

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uutils/coreutils

All issues in uutils/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.